Conditionally boot with PogoPlug original U-boot? January 07, 2014 04:43AM |
Registered: 10 years ago Posts: 12 |
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.
Re: Conditionally boot with PogoPlug original U-boot? January 20, 2014 10:46PM |
Registered: 13 years ago Posts: 161 |
boot_nand=if fatls usb 0:1 /netbsd; then nand read.e 0x800000 0x800000 0x800000; bootm 0x800000; fi
Re: Conditionally boot with PogoPlug original U-boot? January 24, 2014 03:38AM |
Registered: 10 years ago Posts: 12 |
Warning: Bad CRC, using default environment bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm bootdelay=5 baudrate=115200Obviously the downloaded fw_env.config is intended for the replacement u-boot, not for the built-in u-boot. Does anyone know what the values are for fw_env.config for the default u-boot of the out of the box PogoPlug? Is it the same for all PogoPlugs, or do they have different fw_env.configs?
Re: Conditionally boot with PogoPlug original U-boot? January 24, 2014 05:46AM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: Conditionally boot with PogoPlug original U-boot? January 24, 2014 03:52PM |
Registered: 10 years ago Posts: 12 |
Re: Conditionally boot with PogoPlug original U-boot? January 25, 2014 10:24AM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: Conditionally boot with PogoPlug original U-boot? January 25, 2014 02:13PM |
Registered: 10 years ago Posts: 12 |
ceboardver=PPV4A1 ipaddr=192.168.58.233 serverip=192.168.58.188 bootargs=console=ttyS0,115200 root=ubi0:rootfs ubi.mtd=4,2048 rootfstype=ubifs bootcmd=run boot_nandI can live with the ping test since the button isn't supported in u-boot. We'll see how much the notes need to be changed when I get the PogoPlug Series 4 and PogoPlug v2 (the pink one).
Re: Conditionally boot with PogoPlug original U-boot? January 31, 2014 12:57PM |
Admin Registered: 13 years ago Posts: 18,821 |