Skip to contentSkip to conversation

u-boot-1.3.4 porting problem

U-Boot 王培养 2 participants 2 messages Sep 8, 2009

lore
Share & tools
lore

王培养

author
#0 lore raw

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/

#1 lore raw

Dear =?utf-8?B?546L5Z+55YW7ICA=?=,

Quoted 2 lines · In message <[email protected]> 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).

Quoted 9 lines

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.

Quoted 1 line

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

Signature · 5 lines
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.