Openembbed can create a rootfs for your system to use. Once you have the rootfs, you can put that to your rootfs image and test it with qemu.
To create your rootfs image, you need following steps:
---------------
qemu-img create rootfs.img 512M
sudo mkfs.ext3 -F rootfs.img
sudo mount -o loop rootfs.img ./tmp
sudo tar xpfv myboot-image-beagleboard.tar -C ./tmp
sudo umount ./tmp
---------------
To use qemu, you also need a kernel file, which can be downloaded here.
You can test your rootfs using the following command. So you do not need to run back and forth to your board any more.
--------------
qemu-system-arm -M versatilepb -cpu cortex-a8 -kernel ./vmlinuz -hda rootfs.img -m 256 -append "root=/dev/sda mem=256M devtmpfs.mount=0 rw"
--------------
Thursday, April 8, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment