
On Thursday, August 25, 2011 16:21:51 Wolfgang Denk wrote:
Simon Glass wrote:
For speed, debugging and convenience, it would be nice to run U-Boot under a generic Linux environment on a workstation, and test all the generic non-platform code. The basic problem with this is that the non-platform code requires the platform code to operate. Even the x86 platform code is designed for standalone operation on a particular x86 board, and is not suitable for running under x86 Linux.
Some parts of what you are looking for can be done by running U-Boot images in a QEMU based emulated envrionment. So far we have only a few targets in the tree that actually support this. I wish we had more of them.
I am aware that this is a different thing from what you propose here, but I would like to state that we should not forget this option - anybody who wants to work in that area will be more than welcome, too.
i do a lot of testing using the GNU sim and Blackfin boards. the goal there is that the GNU sim is able to execute all of the Blackfin builds *unmodified*, so i dont need sep configs. as you say, both methods are very useful to have. -mike