Skip to contentSkip to conversation

boot commands

U-Boot-Users Stephen Williams 1 participant 1 message Mar 31, 2004

lore
Share & tools
lore
#0 lore raw

I am setting up my device to autoboot, and I want to compile in a default boot command (a la CONFIG_BOOTCOMMAND) and only use the bootcmd variable if it is defined. I want to use the other environment for other things, though.

It appears to me, though, that in main.c autoboot will be prevented if getenv("bootcmd") returns 0, no matter what the CONFIG_BOOTCOMMAND value is set.

Am I mis-reading this? Is this an error in need of fixing?

Signature · 4 lines
Steve Williams                "The woods are lovely, dark and deep.
steve at XXXXXXXXXX           But I have promises to keep,
http://www.XXXXXXXXXX         and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."