I am running uClunux 2010 RC5 on a BF 537E
I have u-boot auto loading the dist with the following params
bootargs=clkin_hz=25000000 earlyprintk=serial,uart0,115200 console=ttyBF0,115200 panic=3
flashboot=flread 0x20040000 0x1000000 0x380000; bootm 0x1000000
As you can see, i should get a reboot if the kernel panics
After powerup, this all runs fine, the dist is booted, my apps are run, for weeks on end without issue sometimes, then suddenly, after a spurious amount of time, sometimes 3 or 4 days, sometimes 3 or 4 weeks, the dist bombs out complelty and stops working - when i connect a serial console to the unit and hit enter, i see the U-Boot prompt, not linux
I dont understand why this is happening and dont seem to have a lot to go on
If a kernel panic occurs, it should reboot completly, re-run u-boot and reload
A simple power cycle always fixes the issue, i have also installed a UPS incase it was a power blip causing the issue, but it seems not
Its almost like Linux has "completed" execution and returned the PC back to the uboot flashboot command that ran it??
Can anyone suggest why this is happening? or experienced similar? or maybe even have a work around?
Any help greatly appreciated