Meego Wiki
Views

SDK/Tutorials/Image Creation

From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(Correct URL)
(Create QEMU images (QEMU NAND and rootfs))
Line 18: Line 18:
* use the following command line to create the NAND image:
* use the following command line to create the NAND image:
  $ ./qflasher -m rx51 -x xloader-qemu.bin -s secondary-qemu.bin -k meego-handset-armv7l-qemu-daily-vmlinuz-2.6.35.3-10.3-n900 -o meego-handset-armv7l-qemu-daily-nand-n900.img
  $ ./qflasher -m rx51 -x xloader-qemu.bin -s secondary-qemu.bin -k meego-handset-armv7l-qemu-daily-vmlinuz-2.6.35.3-10.3-n900 -o meego-handset-armv7l-qemu-daily-nand-n900.img
-
* use the following command line to run QEMU:
 
-
$ touch sd-empty
 
-
$ /opt/meego/qemu-arm/bin/qemu-system-arm -M n900 -mtdblock meego-handset-armv7l-qemu-daily-nand-n900.img -sd sd-empty -sd meego-handset-armv7l-qemu-daily-mmcblk0p.raw -serial stdio -clock unix -redir tcp:5555:10.0.2.15:22
 
'''Note''': qflasher can be used on all supported Linux hosts. You can extract the rpm package using
'''Note''': qflasher can be used on all supported Linux hosts. You can extract the rpm package using
  $ rpm2cpio qflasher-21-1.1.i586.rpm | cpio -idmv  
  $ rpm2cpio qflasher-21-1.1.i586.rpm | cpio -idmv  
 +
 +
* use the following command line to run QEMU:
 +
$ touch sd-empty
 +
$ /opt/meego/qemu-arm/bin/qemu-system-arm -M n900 -mtdblock meego-handset-armv7l-qemu-daily-nand-n900.img -sd sd-empty -sd meego-handset-armv7l-qemu-daily-mmcblk0p.raw -serial stdio -clock unix -redir tcp:5555:10.0.2.15:22
Create the QEMU rootfs image using mic2 tool:
Create the QEMU rootfs image using mic2 tool:

Revision as of 07:41, 6 April 2011

Overview

Create sysroot image(s)

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 QEMU images (QEMU NAND and rootfs)

Create the QEMU NAND image using qflasher tool:

$ ./qflasher -m rx51 -x xloader-qemu.bin -s secondary-qemu.bin -k meego-handset-armv7l-qemu-daily-vmlinuz-2.6.35.3-10.3-n900 -o meego-handset-armv7l-qemu-daily-nand-n900.img

Note: qflasher can be used on all supported Linux hosts. You can extract the rpm package using

$ rpm2cpio qflasher-21-1.1.i586.rpm | cpio -idmv 
  • use the following command line to run QEMU:
$ touch sd-empty
$ /opt/meego/qemu-arm/bin/qemu-system-arm -M n900 -mtdblock meego-handset-armv7l-qemu-daily-nand-n900.img -sd sd-empty -sd meego-handset-armv7l-qemu-daily-mmcblk0p.raw -serial stdio -clock unix -redir tcp:5555:10.0.2.15:22

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
Personal tools