[U-Boot] U-Boot: Nokia N900 (RX-51) is broken again

Pali Rohár pali.rohar at gmail.com
Tue Jun 9 18:23:46 CEST 2015


Hello,

commit e11c6c279d823dc0d2f470c5c2e3c0a9854a640f
Author: Simon Glass <sjg at chromium.org>
Date:   Sat Feb 7 10:47:28 2015 -0700

    arm: Allow lr to be saved by board code
    
    The link register value can be required on some boards (e.g. FEL mode on
    sunxi) so use a branch instruction to jump to save_boot_params() instead
    of a branch link.
    
    This requires a branch back to save_boot_params_ret so adjust the users
    to deal with this. For exynos just drop the function since it doesn't
    do anything.
    
    Signed-off-by: Simon Glass <sjg at chromium.org>
    Acked-by: Siarhei Siamashka <siarhei.siamashka at gmail.com>
    Acked-by: Hans de Goede <hdegoede at redhat.com>
    Signed-off-by: Hans de Goede <hdegoede at redhat.com>

This commit broke Nokia N900 board support. When I tried it to boot in
qemu I just get this qemu error message:

qemu: fatal: Trying to execute code outside RAM or ROM at 0x7fb0fdfc

R00=806ffd08 R01=80207800 R02=80207800 R03=00000000
R04=00000000 R05=00000000 R06=00000000 R07=00000000
R08=00000000 R09=00000000 R10=00000000 R11=00000000
R12=80000414 R13=804ffb90 R14=7fb0fdfc R15=7fb0fdfc
PSR=600001df -ZC- A sys32
Aborted

U-Boot compiled before above commit working in qemu fine.

When I revert commits 5519912164698b634893913b4408fee736d01d06 and
e11c6c279d823dc0d2f470c5c2e3c0a9854a640f on top of master, then u-boot
from master working fine on Nokia N900.

Can you fix broken commit? Because now U-Boot for Nokia N900 board is
not working...

Thanks.

-- 
Pali Rohár
pali.rohar at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150609/cc305bcf/attachment.sig>


More information about the U-Boot mailing list