Hi,
I've figured out that if I write my NetBSD kernel into the 8 meg to 16 meg section of a PogoPlug Mobile's flash (the area referred to as "failsafe"), the PogoPlug's GNU/Linux can still boot just fine. So I'm wondering if anyone has recommendations for how I might selectively boot based on some external thing - absence or presence of a USB device, perhaps, but using just the original U-boot. I'd only want to select between:
Suggestions?
I've figured out that if I write my NetBSD kernel into the 8 meg to 16 meg section of a PogoPlug Mobile's flash (the area referred to as "failsafe"), the PogoPlug's GNU/Linux can still boot just fine. So I'm wondering if anyone has recommendations for how I might selectively boot based on some external thing - absence or presence of a USB device, perhaps, but using just the original U-boot. I'd only want to select between:
bootcmd 'nand read.e 0x800000 0x800000 0x800000; bootm 0x800000'and
bootcmd 'run boot_nand'Since NetBSD doesn't have a working NAND driver yet, this would make it possible to boot into GNU/Linux for the purpose of writing NAND without needing a serial cable.
Suggestions?