Dear Heiko Schocher,

In message <[email protected]> you wrote:
> 
> - preloader copies first page of nand (nand_spl code) to
>   0xbb000000 (some cpu internal mem) and jumps to this address
> - nand_spl does lowlevelinit, relocate itself to TEXT_BASE (nand_spl code)

Why is this relocation needed? I understand that this 0xbb000000
address is determined by the given hardware ans as such always fix?

> But as codesize changes (and with it relocation address) this
> is not a perfect solution.

Indeed. CONFIG_SYS_NAND_U_BOOT_SIZE should be dropped, and the avtual
value should be derived from the actual U-Boot image building
process.


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: [email protected]
"I've seen it. It's rubbish."          - Marvin the Paranoid Android
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to