[U-Boot] reset environment

2009-08-11 Thread Dexdyne Postmaster
In development, it's a bit of a pain that installing a new u-boot image with different settings for bootargs and bootcmd doesn't actually change anything, because the environment in flash is still valid. Worse, there doesn't seem to be a command to say "over-write that with your new defaults" If

[U-Boot] u-boot and watchdogs

2009-08-11 Thread Dexdyne Postmaster
Our hardware has a watchdog which has a maximum period of 1 second. Once I've got Linux up and going I can handle that. I'd love to have a watchdog so that if Linux doesn't take over, the board will reset and try again. Is there any experience/example of u-boot driving a short-period watchdog th

[U-Boot] driving a serial peripheral in u-boot

2009-08-11 Thread Dexdyne Postmaster
Our AVR32 board has a GSM modem attached.. I'd like to send an SMS at power-on, though if we successfully boot Linux it will do more sophisticated stuff. If we get the SMS, then nothing further we know the boot failed. Is there an example anywhere of u-boot talking to a device on a serial port