From: Ben Erridge <bene@cy...> - 2006-07-08 12:36:50
ok I need to turn off the uboot timeout because the device attached to
ttyS0 will echo serial characters and cause the boot process to stop.
How do I change the timeout back to 3 after it is set to 0?
On Jul 8, 2006, at 5:37 AM, Ben Erridge wrote:
> ok I need to turn off the uboot timeout because the device attached to
> ttyS0 will echo serial characters and cause the boot process to stop.
> How do I change the timeout back to 3 after it is set to 0?
2 ways I can think of:
1. In linux, mv /boot/uImage /boot/uImage.foo, then reboot. u-boot
will fail to find /boot/uImage and interrupt the boot.
2. In linux, use the u-boot fw_printenv utility to check that
fw_printenv matches the u-boot version you're using. If it does,
then use fw_setenv to reset the bootdelay variable, then reboot.
Note that if fw_setenv isn't matched to the u-boot version, then you
can corrupt u-boot and make your gumstix unbootable (unless you have
a JTAG setup to recover), so this option is really only if you're
very sure that the fw_setenv version matches the u-boot you have
installed. I should probably create some kind of version checking in
the utility so it'll fail to run if it thinks it might break things
-- but that protection is not there now, so beware.