Hello all,

I compiled u-boot12012.04 for QEMU (emulating versatilepb arm926ej-s).

make versatilepb_config ARCH=arm CROSS_COMPILE=arm-none-eabi-
make all ARM=arm CROSS_COMPILE=arm-none-eabi-

and ran qemu by the following command:

qemu-system-arm -M versatilepb -m 128M -nographic -kernel ./u-boot.bin

Output:

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

R00=fffcbf64 R01=ffff0000 R02=00000000 R03=0101c08c
R04=ffff0000 R05=fffcbf64 R06=ffff0000 R07=00000000
R08=008fff78 R09=feff0000 R10=0101c08c R11=00000000
R12=fffcbfdc R13=fffcbf58 R14=ffff07bc R15=ffff07bc
PSR=600001d3 -ZC- A svc32
Aborted


I had to patch the file include/configs/versatile.h with this
#define CONFIG_ARCH_VERSATILE_QEMU

and after that it worked.

But when I checked autoconfig.mk I found it is already declared. Am I
missing anything or this is actually a u-boot bug?

Please clarify.

-- 
Regards,
Sarbojit
_______________________________________________
eldk mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/eldk

Reply via email to