WhiteFang Wrote:
-------------------------------------------------------
> Hello,
> sorry to bump an old thread but I have the same
> problem, and I have set the same parameters, but
> still I can't boot from SD (hangs at "Starting
> kernel..."), only USB. How can setting these
> envs:
> usb_init=run usb_scan; setenv usb_root
> LABEL=rootfs
> help booting from SD? Don't they apply only for
> USB?
It does help. The reason is the uBoot envs originally set up for USB booting, so they were named that way. However, the bootargs is applicable to the bootcmd, in general. So the following:
-------------------------------------------------------
> Hello,
> sorry to bump an old thread but I have the same
> problem, and I have set the same parameters, but
> still I can't boot from SD (hangs at "Starting
> kernel..."), only USB. How can setting these
> envs:
> usb_init=run usb_scan; setenv usb_root
> LABEL=rootfs
> help booting from SD? Don't they apply only for
> USB?
It does help. The reason is the uBoot envs originally set up for USB booting, so they were named that way. However, the bootargs is applicable to the bootcmd, in general. So the following:
usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_paramswill set the bootargs to whatever content of each the $ variables. And that will be the arguments to be passed to the kernel command line.