[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

emdebian rootfs



good  morning Mr:
I'm new developer in embedded system (student) , I use "emdebian-tools", I have used "emsandbox" for create a rootfs for "arm" and I try to create a disk img for emulate on "qemu" , after that I have build a kernel zImage (for a "arm versatile" machine) (the host is i386):

1- step:
dd if=/dev/zero of=rootfs.img bs=100M count=1
mkfs.ext2 -i 1024 rootfs.img
mkdir /mnt/rootfs
mount -o loop rootfs.img /mnt/rootfs
rsync -a /mnt/new/buildroot/rootfs/arm/* /mnt/rootfs/
chown -R root:root /mnt/rootfs/
sync

2- step:
qemu-system-arm -kernel zImage -hda rootfs.img -M versatilepb

but the kernel can not found the rootfs.

thank you Mr, Cordially.

Reply to: