Hi Juha, I have tried your method exactly as you said, but the qemu stopped here:
[ 0.238] Loading kernel image info Loading kernel (1802 kB)... done in 72 ms (24958 kB/s) [ 0.308] Loading initfs image info [ 0.308] Total bootup time 339 ms [ 0.310] Serial console enabled Uncompressing Linux... done, booting the kernel. Seems the uncompressing transaction is too fast. How can I get more information about it? Do you know how to resolve it? Many thanks! On Mon, Aug 2, 2010 at 2:36 PM, <[email protected]> wrote: > > On Jul 13, 2010, at 05:27, ext Tom Chen wrote: > >> Could some Nokia guys give some good docs for how to build and run N900 >> image with Qemu? it looks a little docs about N900. > > There's not that much magic involved when comparing how you do it with a real > N900 vs QEMU. > > First you need to get the rootfs and kernel images built for N900, I'm using > the prebuilt "MeeGo 1.0 for Nokia N900" images for this example > (wiki.meego.com/ARM/N900/Releases/1.0). How to build images for the N900 is > another topic altogether which I'm not going into here. > > Next, you need to get a NAND image for QEMU which contains a suitable > bootloader for the N900. I think the easiest way is to use the existing QEMU > N900 NAND image for the first MeeGo code drop > (http://wiki.meego.com/ARM/Meego_on_Qemu). > > "Flash" the new Meego N900 kernel in the QEMU NAND image, i.e. "qflasher -m > rx51 -k meego-n900-open-armv7l-1.0.0.20100525.1-vmlinuz-2.6.33.3-11.2-n900 -o > meego_qemu_nand.img -yk". You can get the qflasher tool from the same place > where meego_qemu_nand.img is available. > > Now, just execute QEMU with the MeeGo SD card image built for the N900: > "qemu-system-arm -M n900 -mtdblock meego_qemu_nand.img -sd empty -sd > meego-n900-open-armv7l-1.0.0.20100525.1-sda.raw -serial stdio". The first > "-sd" option is needed to bypass the internal memory card of the emulated > device, here I'm just passing an empty file for it ("empty", a file I created > simply by running "echo >empty"). The last option will get you the serial > root console in the shell where you launched QEMU. > > > Regards, > Juha > > _______________________________________________ > MeeGo-dev mailing list > [email protected] > http://lists.meego.com/listinfo/meego-dev > _______________________________________________ MeeGo-dev mailing list [email protected] http://lists.meego.com/listinfo/meego-dev
