Skip to content

Instantly share code, notes, and snippets.

@FlorianHeigl
Last active October 30, 2025 21:58
Show Gist options
  • Save FlorianHeigl/32fc39779295c385ffa32253f3e92e95 to your computer and use it in GitHub Desktop.
Save FlorianHeigl/32fc39779295c385ffa32253f3e92e95 to your computer and use it in GitHub Desktop.
reality check, revive, xen alpine cubietruck2
startsituation, altes alpine setup, fehlendes modloop.
aktuell bekommen und dann strip down wg. RAM
u-boot tricks mitnehmen und fuer mips benutzen
rpi kernel bootet nicht auf cubietruck
problem war wohl u.a. dass ich mit kernelupdate das NAND nicht mehr hatte
jahre spaeter beim versuch, das auf aktuelles alpine zu ziehen versehentlich noch die packages geloescht
dann schritt fuer schritt reparatur
(tarball auspacken, apk.static, 3.20 packages)
hatte dann xen package mismatch - und dann hat der update mir die bootoptionen aus der extlinux.conf gemoppst
xen config muss ich desswegen am ende neu machen
cpu info
https://linux-sunxi.org/A20
referenz zum loesen
https://wiki.alpinelinux.org/wiki/DIY_Fully_working_Alpine_Linux_for_Allwinner_and_Other_ARM_SOCs
nand geht noch nicht, sollte aber (mainline format braucht neuformatieren)
https://linux-sunxi.org/MTD_Driver
https://linux-sunxi.org/Mainline_NAND_Howto
weitere alpine specifics
- armhf-generic-uboot build existiert nicht mehr (sh hier https://dl-cdn.alpinelinux.org/alpine/v3.10/releases/armhf/)
- https://wiki.alpinelinux.org/wiki/Upgrading_Alpine_Linux_to_a_new_release_branch
- https://community.riocities.com/alpine_rpi_upgrade.html (nur rpi lbu mode, kein xen)
mirageos xen arm builder (OS, baut cubietruck SD image)
https://github.com/mirage/xen-arm-builder
export TARGET=Cubietruck
funktioniert nicht mehr ganz (insb. Xen) weil es pakete aus edge nehmen will, gibt wohl kein passendes edge fuer armhf oder so.
# build deps
apk add alpine-sdk bison ccache flex ncurses-dev perl rsync
# build dir
apk add lvm2
vgchange -ay
modprobe ext4
mkdir /build
mount /dev/cubie2/build /build
swapon /dev/cubie2/swap
https://linux-sunxi.org/Mainline_Kernel_Howto
https://linux-sunxi.org/Linux_Kernel#Compilation
https://linux-sunxi.org/Script.bin
cd /build/linux
# hat noch fehler, wird nicht aktiv
export CCACHE_DIR=/build/ccache
export CCACHE_NOCOMPRESS=true
export CC="ccache gcc"
export CXX="ccache g++"
# hier erst make defconfig wie in anleitung machen
# laedt sunxi/allwinner defaults
export TERM=putty
# arch=arm - unoptimierter kernel, raspi1 etc.
# loesung waere -march, -mtune, s.u. ungetestet.
# https://gist.github.com/fm4dd/c663217935dc17f0fc73c9c81b0aa845
# https://wits-hep.blogspot.com/2013/11/arm-cortex-a7-gcc-flags-allwinner-a20.html - s.u.
# https://wits-hep.blogspot.com/2014/08/optimal-compiler-flags-for-arm.html - s.u.
export CFLAGS="-march=armv7-a -mtune=cortex-a7 -mfpu=neon-vfpv4 -funsafe-math-optimizations -mfloat-abi=hard -O3 -ffastmath"
export CFLAGS="-mcpu=armv7-a -mtune=cortex-a7 -mfpu=neon-vfpv4 -funsafe-math-optimizations -mfloat-abi=hard -O3 -ffastmath"
export CXXFLAGS="${CFLAGS}"
make ARCH=arm menuconfig
- squashfs [*]
- cramfs [*]
- overlayfs [*]
- pstore [*] # https://stackoverflow.com/questions/28538091/using-persistent-storage-in-linux-kernel
- tmpfs [*]
CONFIG_BLK_DEV_DM=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_DM_UEVENT=y
CONFIG_MD=y
(ich hab dann die ganze.config genommen von https://github.com/mirage/xen-arm-builder/blob/master/linux.sh
weil schon 5 versuche oder so)
mtd pruefen
? drivers/media/rc/keymaps/rc...
war bei den IRDA treibern, oberster punkt, einfach ausmachen
man muss noch einige optionen nacharbeiten, insb. auch fuer hw crypto
# make -j4 war sys(%) bound auch mit ssd
ARCH=arm make -j2 olddefconfig &&
ARCH=arm make -j2 zImage &&
ARCH=arm make -j2 dtbs &&
ARCH=arm INSTALL_HDR_PATH=/build/headers make headers_install &&
ARCH=arm INSTALL_MOD_PATH=/build/squashfs-root make modules modules_install
mount -o remount,rw /media/mmcblk0p1
cd /build/linux
cp arch/arm/boot/zImage /media/mmcblk0p1/boot/vmlinuz-sunxi
cp arch/arm/boot/dts/allwinner/sun7i-a20-cubietruck.dtb /media/mmcblk0p1/boot/dtbs/
cd /build/squashfs-root
mksquashfs lib/ modloop-sunxi -noappend -always-use-fragments
cp modloop-sunxi /media/mmcblk0p1/boot/modloop-sunxi
extlinux.conf sieht so aus:
prompt funktioniert nicht glaub ich
bei problemen auf vanilla (4.19) zurueck
TIMEOUT 20
PROMPT 1
DEFAULT vanilla # das da immer anpassen zum testen
LABEL vanilla
MENU LABEL Linux vanilla
KERNEL /boot/vmlinuz-vanilla
INITRD /boot/initramfs-vanilla
DEVICETREEDIR /boot/dtbs
APPEND modules=loop,squashfs,sd-mod,usb-storage quiet modloop=/boot/modloop-vanilla
LABEL sunxi
MENU LABEL Linux sunxi
KERNEL /boot/vmlinuz-sunxi
DEVICETREEDIR /boot/dtbs
APPEND modules=loop,squashfs,sd-mod,usb-storage quiet modloop=/boot/modloop-sunxi modloop_verify=no
out of scope im moment:
(hatte ich 2019 schon erledigt)
u-boot, boot.scr, ...
todo nach gitlab
dockerfile aktualisieren
grsec raus
ftd memory erhoehen (128M root ist zu klein?)
was ist $V
tmem / zswap aktivieren + swap auf ssd bei boot
andere SSD suchen?
generic-uboot build cherrypick + CI
image testboot per qemu wenn mgl oder sonst wie?
reboot problem loesen
https://forum.armbian.com/topic/31698-armbian-hangs-on-reboot/
oder workaround (CI freundlich) mit arduino ich glaub es gab was
reset button hat loetstellen :-)
nand boot
https://stevensaunderson.com/CTNandBoot.htm
https://linux-sunxi.org/Mainline_NAND_Howto
openqa
https://github.com/grisu48/openqa-serial/blob/main/README.md
3. cubietruck besorgen
+SD karte
+Arduino
an gitlab tun
build ID in image in MOTD tun
serial oder ssh -> build id pruefen
modloop erklaerungen und zum spicken
https://superuser.com/questions/1290314/what-is-modloop-option-in-alpine
https://gist.github.com/alexalouit/37c6726d60f1ed19dcf95540331d90ff
Xen specific
https://wiki.alpinelinux.org/wiki/Xen_Dom0
LBU specific
https://wiki.alpinelinux.org/wiki/Diskless_Mode
LBU apkvol edit
https://wiki.alpinelinux.org/wiki/Manually_editing_a_existing_apkovl
LBU upgrade commands
https://wiki.alpinelinux.org/wiki/Upgrading_Alpine_Linux_to_a_new_release_branch
@FlorianHeigl
Copy link
Author

FlorianHeigl commented Oct 28, 2025

serial port debugging - problem nur mit xen, dort aber 100%
https://forum.armbian.com/topic/4782-how-activate-uart-on-cubietruck/

nicht geprueft ob nur pins falschrum, hatte sowas gelesen aber sehe es nicht mehr. test sagt nein.

"Early printk" auf https://linux-sunxi.org/Mainline_Kernel_Howto

und in der Xen Doku (https://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions/Allwinner)

make dist-xen XEN_TARGET_ARCH=arm32 CROSS_COMPILE=arm-linux-gnueabihf- CONFIG_EARLY_PRINTK=sun7i

letzte patches von 2024!
https://patchew.org/Xen/[email protected]/

beispiel

switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
reading /boot.scr <- ok
1430 bytes read in 22 ms (63.5 KiB/s)
## Executing script at 43100000
reading /boot/xen <- ok 
851976 bytes read in 83 ms (9.8 MiB/s)
reading /boot/dtbs/sun7i-a20-cubietruck.dtb <- ok (hat serial0 alias auf uart0 ...)
27602 bytes read in 65 ms (414.1 KiB/s)
reading /boot/vmlinuz-sunxi <- ok
6526928 bytes read in 388 ms (16 MiB/s)
reading /boot/initramfs-sunxi
4094406 bytes read in 284 ms (13.7 MiB/s)
Kernel image @ 0x42e00000 [ 0x000000 - 0x1142ac ]
## Flattened Device Tree blob at 43000000
   Booting using the fdt blob at 0x43000000
   reserving fdt memory region: addr=43000000 size=7000
   Loading Ramdisk to 49c18000, end 49fff9c6 ... OK
   Loading Device Tree to 49c0e000, end 49c17fff ... OK

Starting kernel ...

frage ist, ob Xen sich den dt vom system holt oder reinkompilierten anschaut (da gibt's mind. eine anleitung, wo sie was fuer sunxi anpassen.

xen-arm-builder hatte conswitch=a was laut doku eigentlich die konsole auf xen haengen laesst und linux nicht durchreicht
entfernen half aber auch nicht.

kleine Hoffnung noch hier, der Abschnitt ist aber uralt
Configuring serial console for non-standard PCI serial ports (for example Intel AMT) auf https://wiki.xenproject.org/wiki/Xen_Serial_Console

kernel       /xen-3.4.gz dom0_mem=512M loglvl=all guest_loglvl=all sync_console console_to_ring com1=115200,8n1,0xe000,0 console=com1
module       /vmlinuz-2.6.31.6 ro root=/dev/vg00/lv01 console=hvc0 earlyprintk=xen nomodeset

das sync_console war auch bei SUSE / RPi4

wtf:
Xen com1= option for non-standard serial ports (IPMI SOL, Intel AMT, PCI serial)
Note that even if your SOL device is, for example, COM3, you still need to specify "com1= console=com1" options for Xen. If you specify "com3=" the serial console won't work! Remember to list the correct (actual) serial port IOport and IRQ in the Xen "com1=" parameters!

arm juno echtes Beispiel (10 jahre alt, also schon xen4)

options=console=dtuart dtuart=serial0 conswitch=x dom0_mem=1536M
kernel=norkern console=hvc0 earlycon=pl011,0x7ff80000 rootwait root=/dev/sda2 clk_ignore_unused
dtb=board.dtb

https://xen-users.narkive.com/glEGBO0n/running-xen-on-arm-juno-r0

@FlorianHeigl
Copy link
Author

FlorianHeigl commented Oct 28, 2025

console parameter clk_ignore_unused ist ueberall empfohlen, fehler ohne diesen parameter und korrekte loesung sind hier
https://community.st.com/t5/stm32-mpus-products-and-hardware/kernel-log-quot-cpus-cpu-0-missing-clock-frequency-property-quot/td-p/53457

(fix waere anpassung dts, patch machen schicken)
will 3. cubietruck fuer CI builds :-)

@FlorianHeigl
Copy link
Author

wifi und bluetooth treiber und firmware
https://github.com/armStrapTools/ap6210

@FlorianHeigl
Copy link
Author

FlorianHeigl commented Oct 28, 2025

@FlorianHeigl
Copy link
Author

fehlendes hotplug unter proc
https://forums.raspberrypi.com/viewtopic.php?t=216008
(dumme antworten ignorieren)

@FlorianHeigl
Copy link
Author

FlorianHeigl commented Oct 28, 2025

u-boot.sh output

[utopia.xen-arm-builder]% ./u-boot.sh 
=== Configuration
TARGET=Cubietruck
SDSIZE=32G
V=1
J=12

DTB=src/linux-stable/arch/arm/boot/dts/sun7i-a20-cubietruck.dtb
ALPINEV=3.10.0
ALPINETGZ=alpine-uboot-3.10.0-armhf.tar.gz
UBOOTBIN=src/u-boot/u-boot-sunxi-with-spl.bin
ZIMAGE=src/linux-stable/arch/arm/boot/zImage
===
+ cat
+ mkimage -T script -A arm -d boot.uscr boot.scr
Image Name:   
Created:      Tue Oct 28 13:40:29 2025
Image Type:   ARM Linux Script (gzip compressed)
Data Size:    1366 Bytes = 1.33 KiB = 0.00 MiB
Load Address: 00000000
Entry Point:  00000000
Contents:
   Image 0: 1358 Bytes = 1.33 KiB = 0.00 MiB

kernel anpassung machen - alle algs fuer initrd, kernel, modloop, squashfs vereinheitlichen, rest nicht bauen
leichtesten raussuchen. kernel muss nur unter 8MB bleiben, da ist luft

@FlorianHeigl
Copy link
Author

Xen DPDK hauzu
https://doc.dpdk.org/guides-2.1/xen/pkt_switch.html
-> evlt amazon / cavium related?

@FlorianHeigl
Copy link
Author

FlorianHeigl commented Oct 28, 2025

@FlorianHeigl
Copy link
Author

FlorianHeigl commented Oct 28, 2025

sd card
bei jedem 3. reboot wird mmcblk0p1 zu mmcblk1p1, evtl kann man das auch ueber dt loesen, dort sind 4(?) mmc devices vordefiniert
fehler passiert scheinbar in linux, nicht davor.
erstmal u-boot auf stand 2023 bringen lohnt aber sicher ums auszuschliessen

@FlorianHeigl
Copy link
Author

build / alpine

  • eigenen build fuer xen/alpine 3.20/3.22 machen, ohne UI elemente(!)
  • eigenen build fuer cubietruck/a20 kernel mit opts etc.
  • am besten auch generic-uboot wieder aktivieren
  • unklar ob toolchain geht, das gnuarmeabihf ding gibt es generell nicht mehr

@FlorianHeigl
Copy link
Author

FlorianHeigl commented Oct 28, 2025

cubietruck LEDs:
https://defendtheplanet.net/2014/05/20/howto-control-cubietruck-onboard-leds/

-> mit heartbeat verknuepfen?
blinken gerade alle nicht

javascript???
https://github.com/Yaroshvitaliy/cubietruck-leds-gpio

@FlorianHeigl
Copy link
Author

FEX / Script bin zum vergleichen, MAC speichern
https://linux-sunxi.org/Script.bin

Cubietruck FEX Zeug
https://github.com/cubieboard/cubie_configs/blob/master/sysconfig/linux/cubietruck.fex
(HW Settings, Clockspeed etc, NAND pinout!!!!)

@FlorianHeigl
Copy link
Author

FlorianHeigl commented Oct 29, 2025

mmc flipflop

* Scanning hardware for mdev ... [ ok ]
 * Loading hardware drivers ... [ ok ]
 * WARNING: clock skew detected!
 * Loading modules ... [ ok ]
 * Setting system clock using the hardware clock [UTC] ... [ ok ]
 * Setting the local clock based on last shutdown time ... [ ok ]
 * Checking local filesystems  ...fsck.ext4: No such file or directory while trying to open /dev/cubie2/docker
Possibly non-existent device?
fsck.ext4: No such file or directory while trying to open /dev/cubie2/build
Possibly non-existent device?
 * Operational error
 [ !! ]
 * Remounting filesystems ... [ ok ]
 * Mounting local filesystems ...mount: mounting /dev/cubie2/docker on /var/lib/docker failed: No such file or directory
mount: mounting /dev/cubie2/build on /build failed: No such file or directory
 * Some local filesystem failed to mount
 [ !! ]
 * Configuring kernel parameters ... [ ok ]
/dev/mmcblk1p1         3138552    633396   2505156  20% /media/mmcblk1p1
[    3.377649] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[    3.403279] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    3.500793] mmc1: host does not support reading read-only switch, assuming write-enable
[    3.502961] mmc1: new high speed SDHC card at address aaaa
[    3.683222] mmcblk1: mmc1:aaaa SU16G 14.8 GiB
[    3.694080]  mmcblk1: p1
[    5.250702] FAT-fs (mmcblk1p1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[    5.467388] Loading user settings from /media/mmcblk1p1/cubie2.apkovl.tar.gz...
[    5.808771] Loading user settings from /media/mmcblk1p1/cubie2.apkovl.tar.gz: ok.

wie loesen? mdev?

  • Scanning hardware for mdev ... [ ok ]
  • Loading hardware drivers ...

@FlorianHeigl
Copy link
Author

vanilla-lts power issue

  • Scanning hardware for mdev ... [ ok ]
  • Loading hardware drivers ...
    -> geht aus 50% faelle

@FlorianHeigl
Copy link
Author

FlorianHeigl commented Oct 30, 2025

mkinitfs

cubie2:# ls /build/squashfs-root/
lib modloop-sunxi
cubie2:
# ls /build/squashfs-root/lib/modules/
6.18.0-rc2-g4bb1f7e19c4a

cubie2:~# mkinitfs -h
usage: mkinitfs [-hkKLln] [-b basedir] [-c configfile] [-F features] [-f fstab]
		[-C initramfs compression] [-i initfile] [-o outfile]
		[-P featuresdir] [-t tempdir] [kernelversion]
options:
	-n  don't include kernel modules or firmware
	-o  set another outfile
mount -o remount,rw /media/mmcblk0p1
cubie2:~# mkinitfs -n -o  /media/mmcblk0p1/boot/initramfs-sunxi 6.18.0-rc2-g4bb1f7e19c4a
==> initramfs: creating /media/mmcblk0p1/boot/initramfs-sunxi for 

for was ??? (brauch ich basedir was ist mit den modulen, die zum starten noetig waeren??)

offenbar nicht, weil es so dann bootet.

paar doofe fehler

 * Mounting debug filesystem ... [ ok ]
 * Mounting persistent storage (pstore) filesystem ... [ ok ]
 * Starting busybox mdev .../usr/libexec/rc/sh/openrc-run.sh: line 15: can't create /proc/sys/kernel/hotplug: nonexistent directory
 [ !! ]
 * Scanning hardware for mdev ... [ ok ]
 * Loading hardware drivers ... [ ok ]
 * Loading modules ... [ ok ]
 * Setting system clock using the hardware clock [UTC] ... [ ok ]
 * Setting the local clock based on last shutdown time ... [ ok ]
 * Checking local filesystems  ...fsck.ext4: No such file or directory while trying to open /dev/cubie2/docker
Possibly non-existent device?
fsck.ext4: No such file or directory while trying to open /dev/cubie2/build
Possibly non-existent device?
 * Operational error

led blinkis mit in initrd nehmen, gibt es da schon /sys?
warum gibt es kein watchdog blinki?

@FlorianHeigl
Copy link
Author

FlorianHeigl commented Oct 30, 2025

fi-na-fucking-ly

cubie2:~# xl info
host                   : cubie2
release                : 6.18.0-rc2-g4bb1f7e19c4a
version                : #5 SMP Tue Oct 28 22:47:30 UTC 2025
machine                : armv7l
nr_cpus                : 2
max_cpu_id             : 1
nr_nodes               : 1
cores_per_socket       : 2
threads_per_core       : 1
cpu_mhz                : 24.000
hw_caps                : 00000000:00000000:00000000:00000000:00000000:00000000:00000000:00000000
virt_caps              : hvm hap vpmu gnttab-v1
arm_sve_vector_length  : 0
total_memory           : 2045
free_memory            : 936
sharing_freed_memory   : 0
sharing_used_memory    : 0
outstanding_claims     : 0
free_cpus              : 0
xen_major              : 4
xen_minor              : 20
xen_extra              : .1
xen_version            : 4.20.1
xen_caps               : xen-3.0-armv7l 
xen_scheduler          : credit2
xen_pagesize           : 4096
platform_params        : virt_start=0x0
xen_changeset          : 
xen_commandline        : dom0_mem=1024M loglvl=all guest_loglvl=all no-bootscrub dom0_max_vcpus=1 vwfi=native
cc_compiler            : gcc (Alpine 14.2.0) 14.2.0
cc_compile_by          : buildozer
cc_compile_domain      : local
cc_compile_date        : Fri Oct 24 13:09:01 UTC 2025
build_id               : 1d32aeb4c6f226d2e3a358533c17c817a1aad8fb
xend_config_format     : 4

now just to decide how to not have dependencies use up half of the ram of the system.
Xen dom0'less was tested on ARM, just btw ;-)

Serial console WORKS when you just remove all serial console settings like dtuart from Xen and point Linux at hvc0, plain and simple.

@FlorianHeigl
Copy link
Author

PTP
for some reason the kernel sunxi kernels included PTP but

[   62.036287] sun7i-dwmac 1c50000.ethernet eth0: PTP not supported by HW

@FlorianHeigl
Copy link
Author

FlorianHeigl commented Oct 30, 2025

crypto

https://sunxi.montjoie.ovh/

cubie2:~# apk add libkcapi libkcapi-tools
cubie2:~# grep sun /proc/crypto 
driver       : ecb-des3-sun4i-ss
driver       : cbc-des3-sun4i-ss
driver       : ecb-des-sun4i-ss
driver       : cbc-des-sun4i-ss
driver       : ecb-aes-sun4i-ss
driver       : cbc-aes-sun4i-ss
driver       : sha1-sun4i-ss
driver       : md5-sun4i-ss
cubie2:~# kcapi-rng -b 512 -n cbc-aes-sun4i-ss -v
libkcapi - Verbose: libkcapi 1.5.0 - initializing cipher operation with kernel
libkcapi - Error: AF_ALG: socket syscall failed (errno: -97)

vmtl noch was falsch gebaut, alles tests knallen soll brauchen:

CONFIG_CRYPTO_USER_API
CONFIG_CRYPTO_USER_API_HASH
CONFIG_CRYPTO_USER_API_SKCIPHER

perf bonus lt. tests online ca. 30% (20MB/s -> 30MB/s), RNG sollte latenz auch helfen und so.

init ist ok

ubie2:~# cat /proc/crypto 
name         : ecb(des3_ede)
driver       : ecb-des3-sun4i-ss
module       : kernel
priority     : 300
refcnt       : 1
selftest     : passed
internal     : no
type         : skcipher
async        : no
blocksize    : 8
min keysize  : 24
max keysize  : 24
ivsize       : 0
chunksize    : 8
walksize     : 8
statesize    : 0

aber auf der website ist auch async: yes bei mir nicht

hat auch erklaerungen zu openssl + krng, sollte fuer Cavium offload und QAT helfen.

bingo, Treiber gebaut aber API nicht eingeschaltet

cubie2:/build/linux# ls -l .config
-rw-r--r--    1 root     root        157101 Oct 28 13:55 .config
cubie2:/build/linux# grep CONFIG_CRYPTO_USER_API .config
# CONFIG_CRYPTO_USER_API_HASH is not set
# CONFIG_CRYPTO_USER_API_SKCIPHER is not set
# CONFIG_CRYPTO_USER_API_RNG is not set
# CONFIG_CRYPTO_USER_API_AEAD is not set

wenn Sie jetzt nur 10 Stunden warten, koennte der naechste Build passen
(dom0_vcpus = 1 lol)
was ist crosscompile? was ist distcc? egal ist es!

@FlorianHeigl
Copy link
Author

FlorianHeigl commented Oct 30, 2025

amn: kernel builds wollen wirklich "KERNEL_CC" nicht "CC" insofern ist CCACHE wirklich da nicht angewesen.
weitere builds aber mit chroot oder cross damit nicht / platz verschwendet wird
dom0 mem ist auch schon reduziert, ich denke, das muss jetzt mal anders weiter gehen...

cpu0 led zeigt mist an (bei 99% idle dauerleuchten), weil nur 1 cpu vorhanden. brauche nen anderen led trigger...

@FlorianHeigl
Copy link
Author

tmem wurde gecancelled :-(

@FlorianHeigl
Copy link
Author

FlorianHeigl commented Oct 30, 2025

stripping:

  • busybox (statt chrony), dropbear (start openssh)
  • kann man avahi wegmachen?
  • kann man dbus wegmachen?
  • kann man hg statt git fuer etckeeper nehmen
  • was brauchte gnutls
  • unterstuetzt irgendwas seccomp
  • braucht etwas zstd, lzo, xz, ...

aktuell:

Filesystem                Size      Used Available Use% Mounted on
tmpfs                   400.0M    129.6M    270.4M  32% /

ziel 100MB, dann ist gut...

zswap ca. 200MB plus 1-2GB SSD swap sollten passen.

groesse von /var/log beachten, auslagern?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment