(→Create QEMU images (QEMU NAND and rootfs)) |
(→Create sysroot image(s)) |
||
| Line 3: | Line 3: | ||
== Create sysroot image(s) == | == Create sysroot image(s) == | ||
| - | Create the | + | === Download/Create the .ks files === |
| - | + | ||
| - | + | ||
| - | sudo mic-image-creator --run-mode=0 --cache=mycachedir --format=fs --arch='''${arch}''' --config=''' | + | First you need to install kickstarter |
| + | git clone git://gitorious.org/meego-developer-tools/kickstarter.git | ||
| + | cd kickstarter | ||
| + | make | ||
| + | sudo python ./setup.py install | ||
| + | cd .. | ||
| + | |||
| + | Then we get the image configurations: | ||
| + | |||
| + | git clone git://gitorious.org/meego-os-base/image-configurations.git | ||
| + | cd image-configurations | ||
| + | kickstarter -c configurations.yaml -r repos.yaml | ||
| + | |||
| + | After this you will have kickstart files created to a subdirectory called 1.1.99, 1.2.80 or something similar. | ||
| + | |||
| + | cd <X.X.XX> | ||
| + | |||
| + | Select one of the kickstart files ending with *-madde-sysroot.ks and call following command for it to create the image. | ||
| + | |||
| + | sudo mic-image-creator --run-mode=0 --cache=mycachedir --format=fs --arch='''${arch}''' --config='''${vertical}-${arch}-madde-sysroot.ks''' --package=tar.bz2 --release | ||
== Create QEMU images (QEMU NAND and rootfs) == | == Create QEMU images (QEMU NAND and rootfs) == | ||
Contents |
First you need to install kickstarter
git clone git://gitorious.org/meego-developer-tools/kickstarter.git cd kickstarter make sudo python ./setup.py install cd ..
Then we get the image configurations:
git clone git://gitorious.org/meego-os-base/image-configurations.git cd image-configurations kickstarter -c configurations.yaml -r repos.yaml
After this you will have kickstart files created to a subdirectory called 1.1.99, 1.2.80 or something similar.
cd <X.X.XX>
Select one of the kickstart files ending with *-madde-sysroot.ks and call following command for it to create the image.
sudo mic-image-creator --run-mode=0 --cache=mycachedir --format=fs --arch=${arch} --config=${vertical}-${arch}-madde-sysroot.ks --package=tar.bz2 --release
$ ./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 -p k=3072
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
$ touch sd-empty $ meego-sdk-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
sudo mic-image-creator --run-mode=0 --cache=mycachedir --format=raw --arch=${arch} --save-kernel --config=handset-${arch}-qemu.ks --package=tar.bz2 --release