As mentioned earlier, DeforaOS is now running on the Openmoko. Not that it does anything useful yet (especially without a keyboard), but it works on flash memory or from an SD card.
This is probably good to know:
- unlike devfs, udev is basically implemented as a tmpfs that requires initialization;
- unlike NetBSD, /dev/std{in,out,err} do not need to be explicitely opened by the init process;
- the default u-boot environment may give the "regular_boot" argument to the init process; when it's a shell and the file does not exist, this obviously fails;
- the "init=/etc/startup" kernel parameter from u-boot is either
silently truncated,
ignored, or the kernel falls back on other programs:
bootargs=roofstype=ext2 root=/dev/mmcblk0p2 console=tty0 console=ttySAC2,115200 loglevel=8 mtdparts=physmap-flash:-(nor);neo1973-nand:0x00040000(u-boot),0x00040000(u-boot_env),0x00800000(kernel),0x000a0000(splash),0x00040000(factory),0x0f4c0000(rootfs) init=/etc/startup
You can temporarily get the flash image here. I repeat: this is the first one that works, and it is neither polished nor useful yet.
I said I'd never blog

