Hi Matthias, On 1/18/12, Matthias Fuchs <matthias.fu...@esd.eu> wrote: > Hi, > > while playing around with the mx28evk and differnet bootmedia > I found it helpful to see the current bootmode without > running to the board and checking it's switches. Also > some other CPU (e.g. 440 PowerPCs) print some kind of bootstrap > configuration during startup. > > The patch probably needs some little cleanup. But the main issue might > be the way how it passes the information from SPL to 2nd stage. > I am note sure if those scratch registers are somehow holy :-)
I tested your patch and it worked fine. What I really liked about it is that it fixed a real issue that I was seeing: after booting the kernel and issuing a "reboot"command, kernel did shutdown, reset the system, but then U-boot got stuck showing "DRAM: 0 bytes". So maybe you could split this patch in two parts: - One patch that touches the HW_DIGCTRL_SCRATCH register (this part is what fixed the RAM size retrievel after a "reboot" in the kernel - Another one to show the boot media Thanks, Fabio Estevam _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot