@edinger,
You are running stock u-boot with WarheadsSE's setup to enable switching beween Linux and stock OS.
1. To boot stock OS when there is no USB drive attached, try this:
- Remove the USB drive. And power up.
- Interrupt serial console at countdown, and then
Once you observe that it booted into stock OS, and everything seems to be normal, reboot and let it boot into Debian.
2. The issue about the env CRC errors can be taken care of once you're done with testing the setup above. In Debian, outputs of the following commands are needed to determine why that error occured:
You are running stock u-boot with WarheadsSE's setup to enable switching beween Linux and stock OS.
bootcmd_linux=setenv bootargs $(bootargs_linux); mw.l f1010100 0020c000; usb reset; ext2load usb 0:1 $(loadaddr) /uImage; ext2load usb 0:1 0x01100000 /uInitrd; bootm $(loadaddr) 0x01100000 bootcmd_stock=setenv bootargs $(bootargs_stock); nand read.e $(loadaddr) $(kernel_addr) 0xA00000; bootm $(loadadr) bootcmd='run bootcmd_linux'
1. To boot stock OS when there is no USB drive attached, try this:
- Remove the USB drive. And power up.
- Interrupt serial console at countdown, and then
setenv bootcmd 'run bootcmd_linux; run bootcmd_stock' boot
Once you observe that it booted into stock OS, and everything seems to be normal, reboot and let it boot into Debian.
2. The issue about the env CRC errors can be taken care of once you're done with testing the setup above. In Debian, outputs of the following commands are needed to determine why that error occured:
cat /proc/cmdline cat /proc/mtd cat /etc/fw_env.config