
Hi Thomas,
I already have configured and built and have running u-boot and booting Linux on my custom MPC8313 based board, all ok so far.
Excellent.
I am now trying to enable the altbootcmd and failbootcmd features so in the event of a image failure or non linux boot I can reboot to a known working image set.
The easy way is to put multiple boot commands in sequence - if one returns because of a failure, the next one will run ;)
I have tried setting CONFIG_POST and get "__POST_WORD_ADDR currently not implemented for this platform". How do I implement/set this ?
What U-Boot version do you use? I cannot find a reference to this in current code.
Apart from that: You first have to find a storage space to store the post word. This storage needs to survive a reset of the system. Depending if that is reachable through regular memory access, you only have to define __POST_WORD_ADDR. In any other case you would need to implement a setter/getter for that word yourself.
I have tried setting CONFIG_BOOTCOUNT_LIMIT and get message error QE_MURAM_SIZE undeclared. Any ideas on this one ?
The code seems to have bugs - now go and find them. Or rather try a more recent version of U-Boot ;)
Cheers Detlev