Barebox under qemu for beagleboard

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Thu Dec 27 10:17:08 EST 2012


On 12:44 Wed 19 Dec     , Jerzy Grzegorek wrote:
>    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
> 
>    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.



More information about the barebox mailing list