Does the tiny kexec kernel actually need network, bio(4) or HID devices? octeon/BOOT does not have any of this.
Looks like too much of powerpc64/RAMDISK remained, but I might be missing some obvious difference between these platforms. The Raptor CS Blackbird used for the re-upgrade prevention diff still boots with this smaller config. I'm just curious, this diff shows what I mean and doesn't fix anything. Index: sys/arch/powerpc64/conf/BOOT =================================================================== RCS file: /cvs/src/sys/arch/powerpc64/conf/BOOT,v retrieving revision 1.9 diff -u -p -r1.9 BOOT --- sys/arch/powerpc64/conf/BOOT 8 Jan 2022 05:40:19 -0000 1.9 +++ sys/arch/powerpc64/conf/BOOT 22 Sep 2023 20:36:20 -0000 @@ -15,9 +15,7 @@ option MINIROOTSIZE=16384 option FFS option FFS2 option MSDOSFS -option INET6 option EXT2FS -option NFSCLIENT option CRYPTO config bsd root on rd0a swap on rd0b @@ -52,19 +50,8 @@ uk* at scsibus? # unknown S # USB devices uhub* at usb? # USB Hubs uhub* at uhub? # USB Hubs -uhidev* at uhub? # Human Interface Devices -uhid* at uhidev? # USB generic HID support -ukbd* at uhidev? # USB keyboard -wskbd* at ukbd? mux 1 -ums* at uhidev? # USB mouse -wsmouse* at ums? mux 0 umass* at uhub? # USB Mass Storage devices -pseudo-device loop 1 -pseudo-device vlan -pseudo-device trunk -pseudo-device bpfilter 1 +pseudo-device etherip # pulls ether in kernel pseudo-device rd 1 -pseudo-device bio 1 pseudo-device kexec -pseudo-device wsmux 2