[U-Boot] Uboot debugging clarification!
stefano babic
sbabic at denx.de
Wed Mar 17 21:54:15 CET 2010
Ramalingam C wrote:
> Hi!
>
Hi Ramalingam,
> When we are trying this on iMX51EVK board by removing the SD card, control
>
> is going to a infinite loop. The same binary is working if we store in the
>
> SD card of EVK board and boot!
Which kind of u-boot have you tested ? If you use the u-boot you find on
the actual mainline, you get what you want. You will get a u-boot.imx
image that you can write into the SD card, setting the DDR. After that,
you will able to load a new u-boot image with a jtag debugger into the
RAM because the DDR is already setup.
There is no need of the SD card anymore - until obviously you do not
reboot the system and you need to setup the DDR again.
> If we get the uboot running then we can store the uboot to NAND and
> proceed with our testing!
u-boot runs on the mx51evk. There is no NAND support because the board
has no NAND at all....
>
> It will be really helpful if you can help us in modifying the uboot such a
> way that it will boot from
> DDR2 itself.
I do not understand the question. The processor must setup the DDR
before running from RAM. This is what is done with the SD card.
You need only to stop your board after a reset and load your new image
with the jtag debugger. That is it.
Best regargs,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
More information about the U-Boot
mailing list