[U-Boot] [PATCH V4 1/2] arm926ejs: fix linker file for newer ld support

Albert ARIBAUD albert.aribaud at free.fr
Mon Nov 15 15:29:47 CET 2010


Le 15/11/2010 15:06, Loïc Minier a écrit :

>   So I'm afraid I couldn't find a fully working combination of U-Boot
>   supported board + QEMU, but I didn't try QEMU tip; I'm Cc:ing Peter who
>   cares for QEMU in Linaro, maybe he has more idea or is tempted to try a
>   tip QEMU  :-)

Not sure I get how this works. Do you need to build u-boot in a special 
way or with a special toolchain in order to run it in qemu? I'm asking 
because:

>   If you want to reproduce, run something like:
>      qemu-system-arm -M versatilepb -serial stdio \
>          -kernel u-boot_bin_u-boot_versatilepb.axf

I assume that the -kernel option indicates the executable to run. Would 
it take an ELF executable? a binary? How would one go about testing 
running u-boot from RAM, NOR, NAND?

Also:

>   [1] crashes while initializing the NIC; qemu: hardware error:
>       smc91c111_write: Bad reg 0:6
>   [2] qemu: hardware error: arm_timer_write: Bad offset 101e1fe0
>   [3] qemu: hardware error: pl011_write: Bad offset 14
>   [4] crashes after detecting 0 Bytes of DRAM:

This seems to mean the HW is not 100% simulated, right?

One last question:

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

Does this mean that qemu does not simulate data or instruction aborts? 
Not that it is required for u-boot, but it *could* be useful sometimes.

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list