On Sep 9, 2010, at 16:00, ext Tobias Renz wrote: I have exactly the same problem also with a known good raw image. But the problem seems to be really the nand file that we are producing with ./qflasher -m rx51 -k meego-core-armv7l-n900-1.0.90.1.20100907.1-1.0.90.20100908.1624-vmlinuz-2.6.35.3-6.2-n900 -o meego_qemu_nand.img -yk.
Are you trying to create a completely new NAND image here or do you use a known-good meego_qemu_nand.img as a base? With the parameters you are using qflasher will only overwrite the kernel area in the NAND image and leave other parts untouched (or fill them with zeroes if the file does not exist before running qflasher). When I use the original meego_qemu_nand.img from Nokia it works. Yes, because that image has ALL the necessary stuff in it, not just the kernel. 1 Can you tell me where you found the command for qflasher? It comes from me, I'm the author of qflasher. 2 Is it regular to use qflasher to produce a nand image and boot up with qemu and set the raw image as -sd? Yes. The MeeGo SD card image for N900 (.raw) does not contain a boot loader or kernel, only the root file system so it alone is not sufficient to boot the OS. Easiest way to get the missing parts is to obtain the Nokia provided NAND image (meego_qemu_nand.img) for N900 which already contains the boot loader and all the other necessary bits and then just use qflasher to overwrite the kernel area in the NAND image with qflasher with the command line you have been using. I recognize this is a bit wasteful as most of the NAND image is not used in this scenario during emulation because most of the NAND image is reserved for the root file system which in our use case is not used since the root file system is located on SD card rather than NAND. 3 why are you using the extra "-sd empty" paramter? For me this breaks the command and its not working at all. This is because the N900 device actually has two MMC/SD card slots in the hardware and thus QEMU has the same setup. The first slot is integrated in the device and the "card" cannot be swapped. The second slot is the memory card slot you can find on the device and where you can insert your own SD card. Now, as on a real N900 device, the MeeGo SD card of course needs to be inserted in the secondary, "external" card slot. Since QEMU initializes the SD slots in the order in which "-sd" parameters are given on the command line, the first "-sd" parameter always assigns a device/image for the integrated slot which in our use case is useless. That is why I just created a dummy file for it called "empty". You can of course pass in whatever dummy file or a real image as well if you like. If you do not have a file called "empty" using it on the command line of course generates an error. You just need to give it something to work on to get to passing in a second "-sd" parameter with the MeeGo SD card image. I'm sorry if this appears a bit complex but if something is unclear just ask and I'll try to explain better. Regards, Juha
_______________________________________________ MeeGo-dev mailing list [email protected] http://lists.meego.com/listinfo/meego-dev
