Talk:QEMU

From ArmadeusWiki
Revision as of 19:27, 16 June 2009 by JulienB (Talk | contribs) (New page: ==Get/generate simulation images (old version = with ramdisk)== * In our tests we used the QEMU Versatile PB emulated hardware. To get a compatible Linux kernel for this board then: <pre c...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Get/generate simulation images (old version = with ramdisk)

  • In our tests we used the QEMU Versatile PB emulated hardware. To get a compatible Linux kernel for this board then:
 $ cd your_armadeus_view/
 $ wget http://people.debian.org/~aurel32/arm-versatile/vmlinuz-2.6.26-2-versatile
  • get some useful environment variables:
 $ make shell_env
 $ source armadeus_env.sh
  • in $ARMADEUS_ROOTFS_DIR/etc/inittab, comment following line:
 ttySMX0::respawn:/sbin/getty -L ttySMX0 115200,57600,38400 vt100
  • Generate your Armadeus Rootfs as an EXT2 image:
 $ make menuconfig
Target filesystem options  ---> 
    [*] ext2 root filesystem
    ... (keep all default options)
 $ make
  • be sure that your rootfs image is less than 16Mbytes (Ramdisk limit)
$ ls -al $ARMADEUS_BINARIES/*.ext2
  • and zip it (we will use it as Ramdisk first):
 $ gzip -9 $ARMADEUS_BINARIES/apfxx-rootfs.arm.ext2
  • Create a fake QEMU Hard disk image
 $ qemu-img create -f qcow rootfs.arm_nofpu2.img 20M