I am just wondering if anyone have sucessfully built an uboot image that have support of booting from usb devices on the WNDR3700?
My idea would be to direcly boot from the usb device like this.
# setenv bootargs_usb 'console=ttyS0,115200 ro root=/dev/sda1 init=/etc/preinit rootwait'
# setenv bootcmd_usb 'bootargs $(bootargs_usb); usb start; ext2load usb 0 0x800000 /image/uImage; bootm 0x800000'
# setenv bootcmd 'run bootcmd_usb'
# saveenv
But U-boot that comes with the WNDR3700 does not have usb support, so "usb start" is not there nor ext2load either.
NetGear have provided us the sources for the bootloader that can be found here ftp://downloads.netgear.com/files/GPL/W … ar.bz2.zip
It's indeed a very old version of uboot that have very limited support of USB controllers,
the only supported is PIP405, MIP405, MPC5200 i don't know what controller the WNDR3700 is using
but if it's one of the supported maybe it would be possible to enable CONFIG_USB_UHCI & CONFIG_USB_STORAGE during compilation?
I have not been able to compile the bootloader, i guess i am using too new version of mipsel-linux-gnu-binutils & mipsel-linux-gnu-gcc. Anyhow i were just wondering if anyone here have sucessfully built a uboot image with usb support, and if so i would really love if you could share it with me
(Last edited by Insecure on 18 Feb 2011, 14:25)