Skip to contentSkip to conversation

Barebox under qemu for beagleboard

DISCUSSION Jerzy Grzegorek 2 participants 2 messages Dec 19, 2012 – Dec 27, 2012

lore
Share & tools
lore
#1 lore raw
Quoted 32 lines · Jerzy Grzegorek

Hi,

I was trying to run barebox-2012.12.1 under linaro-qemu 2012.12, for beagleboard.

I build MLO (omap3530_beagle_xload_defconfig) and barebox-flash-image (omap3530_beagle_defconfig).

I prepared two partitions sd image - beagle.sd.img (first partition FAT :
MLO, barebox.bin, barebox-flash-image, zImage; second partition EXT3 :
rootfs).

I run linaro-qemu

qemu-system-arm -M beagle -m 256M -nographic -sd beagle.sd.img

and I got

barebox 2012.12.1 #1 Wed Dec 19 08:35:21 CET 2012

Board: Texas Instrument's Beagle
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba ( ), page size: 2048, OOB size: 64
omap-hsmmc omap-hsmmc0: registered as omap-hsmmc0
mci mci0: registered disk0
malloc space: 0x87bfff10 -> 0x87ffff0f (size 4 MB)
stack space: 0x4020f000 -> 0x4020fc00 (size 3 kB)
unknown boot source. Fall back to nand
booting from NAND
failed to get image size
booting failed

Quoted 3 lines

next qemu freezes.

Any idea?

I guess qemu does not set the boot register correctly so barebox can not detect that you want to boot from sd and falback to nand

Best Regards,
J.

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox