* [U-Boot] u-boot-1.3.4 porting problem
@ 2009-09-08 10:16 王培养
2009-09-08 11:13 ` Wolfgang Denk
0 siblings, 1 reply; 2+ messages in thread
From: 王培养 @ 2009-09-08 10:16 UTC (permalink / raw)
To: u-boot
hi all,
u-boot-1.3.4,which was ported to my board S3C44B0.
now what I got from serial:
----------------------------------------------------
U-boot-1.3.4
DRAM:8M
FLASH:2M
----------------------------------------------------
after tracing functions by using "printf" command,I found the problem was "devlist=NULL".
then I went deep,found the function "NewHandle" ,whitch is related to Create empty List.
It returned "NULL" ,and the problem is command "calloc".
?
any help is appreciated.
?
regards,
Juan
___________________________________________________________
?????????????????
http://card.mail.cn.yahoo.com/
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot] u-boot-1.3.4 porting problem
2009-09-08 10:16 [U-Boot] u-boot-1.3.4 porting problem 王培养
@ 2009-09-08 11:13 ` Wolfgang Denk
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2009-09-08 11:13 UTC (permalink / raw)
To: u-boot
Dear =?utf-8?B?546L5Z+55YW7ICA=?=,
In message <131396.27983.qm@web92206.mail.cnh.yahoo.com> you wrote:
>
> u-boot-1.3.4,which was ported to my board S3C44B0.
U-Boot 1.3.4 is more than a year old - we had 5 official releases
since. Please consider U-Boot 1.3.4 unsupporeted and upodate to recent
code (U-Boot v2009.08).
> now what I got from serial:
> ----------------------------------------------------
> U-boot-1.3.4
> DRAM:8M
> FLASH:2M
> ----------------------------------------------------
> after tracing functions by using "printf" command,I found the problem was "devlist=NULL".
> then I went deep,found the function "NewHandle" ,whitch is related to Create empty List.
> It returned "NULL" ,and the problem is command "calloc".
You misunderstand. "calloc" is not the problem, but just the victim.
> any help is appreciated.
Most probably your RAM initalization is broken, and U-Boot crashes
when staring to run from RAM.
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
Q: How many DEC repairman does it take to fix a flat ?
A: Five; four to hold the car up and one to swap tires.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-09-08 11:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-08 10:16 [U-Boot] u-boot-1.3.4 porting problem 王培养
2009-09-08 11:13 ` Wolfgang Denk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.