Skip to content

Instantly share code, notes, and snippets.

View CodeAsm's full-sized avatar
🌏
Doing my coding thingies

CodeAsm CodeAsm

🌏
Doing my coding thingies
View GitHub Profile
@CodeAsm
CodeAsm / Package Management for LFS.md
Last active September 16, 2021 11:28
Package management ideas and projects ive found. might be out of date or incomplete, it might still be helpfull.

Package Management for LFS

The following table tries to list a few packagemanagement systems that are hinted to be used for LFS or other source based Linux distributions/creations. I am sure its incomplete and I remember other people describing intresting new ideas aswell. It is incomplete and my understanding of each of these is very superficial.

The table knows 3 colums I think are of particular intrest. Age is the apparent last time since editing, could still work or under daily use.

Type describes if:

  • git, github/lab project with code and hopefully readme
  • hint, a classic and well written LFS hint
@CodeAsm
CodeAsm / How-to Arch Linux on Cubieboard 1.md
Created July 21, 2021 17:10 — forked from trixpan/How-to Arch Linux on Cubieboard 1.md
How to really Arch Linux on Cubieboard 1.... (for the Wiki entry is sort of short of some things)

Intro Notes

I wrote this guide because after getting my CubieBoard 1 I followed the Arch Linux ARM instructions and was suprised to be left with a system that albeit working, had missing RAM and no fbconsole at all.

This guide gets Arch Linux ARM into your 1GB Cubieboard 1 with the minimum functionality one would expect. It is not intended to be an all encompassing document, focusing instead on saving your time having to read through the forum to get functionality that otherwise every other Linux distribution brings out of box.

You will have to adjust these instructions if you have a 512M Cubieboard.

Step 1 - Format disk your SD Card

At a minimum, you need to create the first partition on an SD card to store the bootloader files and kernel uImage. For the root filesystem you can choose to use either a second partition on the SD card, USB or SATA. This guide however only covers SD. Replace instances of /dev/mmcblkX with the appropriate device name registered on your system.

@CodeAsm
CodeAsm / bootlog.txt
Created July 13, 2021 13:16 — forked from anonymous/bootlog.txt
ubee DDW3611 bootlog
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2017.03.17 21:30:14 =~=~=~=~=~=~=~=~=~=~=~=
BCM338031 TP0
1
Sync:1
346890
MemSize: 64 M
BootLoader Version: 10.1.2 Release Gnu spiboot reduced DDR drive
Build Date: Dec 23 2009
@CodeAsm
CodeAsm / README.MD
Last active October 17, 2022 06:20
EBAZ4205
@CodeAsm
CodeAsm / KDEPlasma_depgraph_req.dot
Last active November 1, 2021 14:44 — forked from emarsk/xorg_depgraph.dot
Xorg graphviz dependency graph, as in BLFS book. To generate the image: "dot -Tpng xorg_depgraph.dot >xorg_depgraph.png".
// KDE Plasma 5 dependency graph (dot)
// BLFS 10.0
// Required only
//
// style=solid : required
// style=solid arrowhead=dot color=grey : required at runtime
strict digraph xorg {
label="KDE Plasma 5 dependencies
required only, BLFS 10.0
## Working order
git-2.28.0
cURL-7.71.1
make-ca-1.7 (runtime)
wget-1.20.3
make-ca-1.7 (runtime)
p11-kit-0.23.20
libtasn1-4.16.0 (do this, else you get an older version(GnuTLS))
GnuTLS
#!/bin/sh
HDD=~/SchoolProject/lfs.qcow2
qemu-system-x86_64 \
-enable-kvm -smp 4 -cpu host -m 4G \
-sdl -vga std -drive file=$HDD,format=qcow2 \
-net nic,model=rtl8139,macaddr=E4:1F:13:AD:B0:0B -net user
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 5.8.3 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 10.2.0"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=100200
CONFIG_LD_VERSION=235000000
CONFIG_CLANG_VERSION=0
CONFIG_CC_CAN_LINK=y
#!ipxe
set base-url http://mirror.us.leaseweb.net/archlinux/iso/latest
kernel ${base-url}/arch/boot/x86_64/vmlinuz-linux archisobasedir=arch archiso_http_srv=${base-url}/ ip=dhcp cow_spacesize=2G raid=noautodetect
initrd ${base-url}/arch/boot/x86_64/archiso.img
boot
@CodeAsm
CodeAsm / notes.md
Last active November 28, 2020 16:12
Notes on MacOS for the PPC Powermac G5 I own.

Personal Notes on Installing software on a Powermac G5

Ive recently acquired a Powermac G5 from a friend/org, it did not come with any discs nor harddisks. The Graphics card glitching and battery flat. The PPC is a intresting architecture I plan on exploring. First things first, get an OS working on this beast of a heavy aluminium thing.

These are personal notes, I dont plan on writing a tutorial or a 1-2-3 step. Most commonly one need to get a Install medium of some sorts and boot this. an Target medium for holding the final OS would be handy, one could go for an empty SATA harddrive, wich is my plan.

Sadly, either pirates are dumb, or I cant find the correct disk to ressurect this thing. Found upgrade disks and disks that wont boot. My personal collection of disks wont help and the only thing sofar legally booting is a copy of a G4 harddisk I have. maybe ill try some magic with that. Buying the real thing is also a bit weird, a previous owner paid for the OS, why would i need to repay someone some of t