Create the sysroot image(s) using mic2 tool:
sudo mic-image-creator --run-mode=0 --cache=mycachedir --format=fs --arch=${arch} --config=core-${arch}-madde-sysroot.ks --package=tar.bz2 --release
Create the QEMU NAND image using qflasher tool:
TODO
Create the QEMU rootfs image using mic2 tool:
sudo mic-image-creator --run-mode=0 --cache=mycachedir --format=raw --arch=${arch} --save-kernel --config=handset-${arch}-qemu.ks --package=tar.bz2 --release