* [U-Boot] Uboot debugging clarification!
@ 2010-03-17 14:34 Ramalingam C
2010-03-17 19:03 ` Wolfgang Denk
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Ramalingam C @ 2010-03-17 14:34 UTC (permalink / raw)
To: u-boot
Hi!
I am working on iMX515 processor in our project. Our evaluation board is
iMX51EVK. We are using the uboot.
For our board we have designed the NAND as storage device! But for our
NAND chip we dont have the Advanced toolkit (freescale s/w) support! So we
have to load the uboot binary to DDR2 through JTAG emulator and boot the
uboot!.
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!
If we get the uboot running then we can store the uboot to NAND and
proceed with our testing!
It will be really helpful if you can help us in modifying the uboot such a
way that it will boot from
DDR2 itself.
Thanks & Regards,
Ramalingam C.
Larsen & Toubro Ltd,
Embedded System & Software (EmSyS),
Mysore Complex, KIADB Industrial Area,
Hebbal-Hootagalli,
Mysore, Karnataka,
India - 570018.
Mobile : +91 9611417479
Mail : Ramalingam.C at lntemsys.com
L&T EmSyS Proprietary L&T EmSyS Confidential L&T EmSyS Internal Use L&T
EmSyS General Business
"Your attempt may fail, but never fail to make an attempt.."
^ permalink raw reply [flat|nested] 4+ messages in thread* [U-Boot] Uboot debugging clarification!
2010-03-17 14:34 [U-Boot] Uboot debugging clarification! Ramalingam C
@ 2010-03-17 19:03 ` Wolfgang Denk
2010-03-17 20:54 ` stefano babic
2010-03-18 5:24 ` Liu Hui-R64343
2 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2010-03-17 19:03 UTC (permalink / raw)
To: u-boot
Dear Ramalingam C,
In message <OF04B24567.651E9130-ON652576E9.004FB606-652576E9.004FF537@lntemsys.com> you wrote:
>
> I am working on iMX515 processor in our project. Our evaluation board is
> iMX51EVK. We are using the uboot.
>
> For our board we have designed the NAND as storage device! But for our
> NAND chip we dont have the Advanced toolkit (freescale s/w) support! So we
> have to load the uboot binary to DDR2 through JTAG emulator and boot the
> uboot!.
Is! there! any! specific! reason! for! ending! evary! sentence! in!
an! exclamation! mark!? Why are you shouting at us?
> 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!
Then you obviously are doing something wrong or missing some
initialization, or both.
> If we get the uboot running then we can store the uboot to NAND and
> proceed with our testing!
Please see http://www.catb.org/%7eesr/faqs/smart-questions.html#urgent
There is a number of companies providing commercial support for
U-Boot, so if your project is stuck you might consider contacting
these.
> It will be really helpful if you can help us in modifying the uboot such a
> way that it will boot from
> DDR2 itself.
You cannot "boot from DDR2", because the DDR2 needs to be initialized
first, and to do so so need information (and eventually code) from
the boot device.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Winners never talk about glorious victories. That's because they're
the ones who see what the battlefield looks like afterwards. It's
only the losers who have glorious victories.
- Terry Pratchett, _Small Gods_
^ permalink raw reply [flat|nested] 4+ messages in thread* [U-Boot] Uboot debugging clarification!
2010-03-17 14:34 [U-Boot] Uboot debugging clarification! Ramalingam C
2010-03-17 19:03 ` Wolfgang Denk
@ 2010-03-17 20:54 ` stefano babic
2010-03-18 5:24 ` Liu Hui-R64343
2 siblings, 0 replies; 4+ messages in thread
From: stefano babic @ 2010-03-17 20:54 UTC (permalink / raw)
To: u-boot
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
=====================================================================
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] Uboot debugging clarification!
2010-03-17 14:34 [U-Boot] Uboot debugging clarification! Ramalingam C
2010-03-17 19:03 ` Wolfgang Denk
2010-03-17 20:54 ` stefano babic
@ 2010-03-18 5:24 ` Liu Hui-R64343
2 siblings, 0 replies; 4+ messages in thread
From: Liu Hui-R64343 @ 2010-03-18 5:24 UTC (permalink / raw)
To: u-boot
> -----Original Message-----
> From: u-boot-bounces at lists.denx.de
> [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Ramalingam C
> Sent: 2010?3?17? 22:34
> To: U-Boot at lists.denx.de
> Subject: [U-Boot] Uboot debugging clarification!
>
> Hi!
>
> I am working on iMX515 processor in our project. Our
> evaluation board is iMX51EVK. We are using the uboot.
>
> For our board we have designed the NAND as storage device!
> But for our NAND chip we dont have the Advanced toolkit
> (freescale s/w) support! So we
>
> have to load the uboot binary to DDR2 through JTAG emulator
> and boot the uboot!.
>
> When we are trying this on iMX51EVK board by removing the SD
> card, control
>
> is going to a infinite loop.
What kind of ininite loop? Where code place is it?
>The same binary is working if we store in the
> SD card of EVK board and boot!
> If we get the uboot running then we can store the uboot to
> NAND and proceed with our testing!
>
> It will be really helpful if you can help us in modifying the
> uboot such a way that it will boot from
> DDR2 itself.
You mean boot uboot via JTAG?
>
>
> Thanks & Regards,
> Ramalingam C.
>
> Larsen & Toubro Ltd,
> Embedded System & Software (EmSyS),
> Mysore Complex, KIADB Industrial Area,
> Hebbal-Hootagalli,
> Mysore, Karnataka,
> India - 570018.
>
> Mobile : +91 9611417479
> Mail : Ramalingam.C at lntemsys.com
>
> L&T EmSyS Proprietary L&T EmSyS Confidential L&T EmSyS
> Internal Use L&T EmSyS General Business
>
> "Your attempt may fail, but never fail to make an attempt.."
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-03-18 5:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-17 14:34 [U-Boot] Uboot debugging clarification! Ramalingam C
2010-03-17 19:03 ` Wolfgang Denk
2010-03-17 20:54 ` stefano babic
2010-03-18 5:24 ` Liu Hui-R64343
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox