Skip to contentSkip to conversation

why many init func moved to board_init_f and whereis the changelog

U-Boot du zhigang 2 participants 2 messages Apr 6, 2011

lore
Share & tools
lore

du zhigang

author
#0 lore raw

hi:

? i found u-boot 2011.03 many init func moved to board_init_f,which run in flash(when boot_norflash).in version 2010.09 it's run after relocate in ram. i compiled 2011.03 with CS 2010.09 linker with -Ttext 0x23f00000
the code in board_init_f linked with ptr like 0x23fxxxxx (such as init_baudrate)
how could the code work when it is in flash?

and i cant find changlog file where is it?
thanks!

#1 lore raw

Dear du zhigang,

Quoted 8 lines · In message <[email protected]> you wrote:

i found u-boot 2011.03 many init func moved to board_init_f,which run i n flash(when boot_norflash).in version 2010.09 it's run after relocate in r am.
i compiled 2011.03 with CS 2010.09 linker with -Ttext 0x23f00000 the code in board_init_f linked with ptr like 0x23fxxxxx (such as init_baud rate)
how could the code work when it is in flash?

You will probably have to fix other parts of your board port as well.

I understand you are not talking about any code in mainline, right?

Quoted 1 line

and i cant find changlog file where is it?

Try: git log

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
Reader, suppose you were an idiot. And suppose you were a  member  of
Congress. But I repeat myself.                           - Mark Twain