[U-Boot] NAND booting of MPC8313 based Custom board
Rupesh Kumar
Rupesh.Kumar at Lntemsys.com
Fri Aug 7 17:49:07 CEST 2009
Hi
Thanks for the reply.
I get
NAN DSPL - U-Boot 1.3.0-S600-Ver1.1 (Aug 8 2009 - 02:24:03) MPC83XX
NAN DSPL - U-Boot 1.3.0-S600-Ver1.1 (Aug 8 2009 - 02:24:03) MPC83XX
Loading from NAND :
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
I have changes the code like below nand_boot.c
char str[5] = { 1 }
for (ctr = CFG_NAND_PAGE_SIZE / sizeof (unsigned int); ctr; ctr--) {
ptr = (char*)src;
*(dst++) = *(src++);
str[0] = *(char*)ptr++;
str[1] = *(char*)ptr++;
str[2] = *(char*)ptr++;
str[3] = *(char*)ptr;
str[4] = 0;
puts(str);
}
}
I get the continuos 000000 printing on the console .
I think the boot loader0 is failing to read the nand properly and it is
readig zero's.
Can u please tell is there something i am missing.
Thanks
Thanks & Regards
Rupesh Kumar Larsen and Toubro Limited-EmSyS
KIADB Industrial Area,Hebbal,Hottagalli
Mysore,Karnataka,India. PIN:-570018
PhNo:- 0821-2405599 Extn-5599
Email-id:- Rupesh.kumar at lntemsys.com
This Mail is classified as :-
------------------------------------
[ ] L&T EmSyS Proprietary
[ ] L&T EmSyS Confidential
[ ] L&T EmSyS Internal Use
[ ] L&T EmSyS General Business
------------------------------------
The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s) and
may contain proprietary, confidential or privileged information. If you
are not the intended recipient, you should not disseminate, distribute or
copy this e-mail. Please notify the sender immediately and destroy all
copies of this message and any attachments. WARNING: Computer viruses can
be transmitted via email. The recipient should check this email and any
attachments for the presence of viruses. The company accepts no liability
for any damage caused by any virus transmitted by this email.
Ron Madrid <ron_madrid at sbcglobal.net>
08/06/2009 12:05 AM
To
Rupesh Kumar <Rupesh.Kumar at Lntemsys.com>
cc
Scott Wood <scottwood at freescale.com>, u-boot at lists.denx.de
Subject
Re: [U-Boot] NAND booting of MPC8313 based Custom board
> However, now it again stuck after printing transferring
> control.
This probably means that the NAND is being read appropriately, but is
not able to run the code from the location to where the data is being
transferred. To what address is your code being transferred? Is it a
valid region?
Ron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 19284 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090807/3ad9ccd1/attachment.gif
More information about the U-Boot
mailing list