Image location: http://autobuilder.yoctoproject.org/pub/releases/yocto-1.6_M5.rc2/machines/edgerouter/ Git rev: master/3e528d3e4bc542ca2f654c54363c56af0fb9f61b Following the README.hardware to boot from USB root. Steps: 1. Extract the rootfs to usb: # mount /dev/sda2 /media/sda2 # tar -xvjpf core-image-minimal-rootfs.tar.bz2 -C /media/sda2 # cp vmlinux /media/sda2/boot/vmlinux # umount /media/sda2 # reboot 2. Reboot the board and press any key on the terminal when prompted to get to the U-Boot 3. Load the kernel and boot: => ext2load usb 0:2 $loadaddr boot/vmlinux It can not load the kernel. Error message: ** Unable to read "boot/vmlinux" from usb 0:2 **
Can you work with Wei.Yang to find out how he tested the USB boot. I explicitly asked for this to be done, so it is known to work.
the uboot on the edgerouter can't read the 256 byte inode's on the partition. You need to recreate the fs and then copy your image: i.e.: mkfs.ext3 -I 128 /dev/<your device> Then copy. I'll update the readme with this info.
patch sent to list.
Patch merged to master for 1.6: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=1f42d829feb62271211e3d9afd5b21f9c1e2307d Thanks.
Verified with 1.6 rc4. git rev: daisy/a0958261265049904fd78a2ba0198d46e5e65ea9