I work with QEMU 1.1.0, emulating a Versatile Express board with an ARM Cortex-A9. I was able to run a simple "Hello World" example following these instructions:
http://balau82.wordpress.com/2012/03/31/compile-linux-kernel-3-2-for-arm-and-emulate-with-qemu/
but now I want to create a file system myself.
I decided to use buildroot, version 2012.05. and I set it up to create an instrument chain, kernel, and file system image for the ARM Cortex-A9 target.
The kernel version 3.3.7 also does not compress for the file system that I chose as cpio. The initrd argument when calling qemu-system-arm points to
/output/images/rootfs.cpio
When I run the QEMU kernel boot, but then I get this message:
Initializing the random number generator ... done.
Start network ...
cannot open / dev / ttyS 0: no such device or address
cannot open / dev / ttyS 0: no such device or address
cannot open / dev / ttyS 0: no such device or address
...
All I can do is finish QEMU.
I checked the contents of rootfs.cpio as follows:
cpio -t <rootfs.cpio
and saw that there is / dev / ttyS 0.
Am I missing something in configuring the file system? Or should I use the file system in
/ exit / target
to somehow create a device there (Buildroot doesn't), and then rebuild the file system?
I am new to Buildroot, so any hints or suggestions are more than welcome.