git clone git://gitorious.org/x-load-omap3/mainline.git To be fixed: 1. Compiler prefix 2. BL2 image name, hint: start.S à _start_armboot() 3. Make && Make ift sudo qemu-nbd -c /dev/nbd1 beagle.img sudo fdisk beagle.img (n....w) sudo gparted /dev/nbd1 (设为boot分区) sudo mount -t vfat /dev/nbd1p1 /mnt/ sudo cp /maxwit/image/{g-bios.bin,MLO} /mnt/ sync dd if=/dev/zero of=beagle.img count=204800 (qemu-img create -f raw mmc.img 100M) sudo losetup /dev/loop0 beagle.img sudo gparted /dev/loop0 (PT,Fat32,Flag=boot) sudo kpartx /dev/loop0 -av sudo mount /dev/mapper/loop0p1 /mnt sudo cp /maxwit/image/{g-bios.bin,MLO} /mnt/ sync qemu-system-arm -M beagle -sd mmc.img -serial stdio
|
|
来自: joy_chen > 《bootloader》