Active Topics

 


Reply
Thread Tools
pelago's Avatar
Posts: 2,121 | Thanked: 1,540 times | Joined on Mar 2008 @ Oxford, UK
#11
How big is the /dev/mtd1ro partition, and what exactly is stored in it? If I took such a partition from a friend's device, would they be giving me their documents, wifi keys etc?
 
Hrw's Avatar
Posts: 137 | Thanked: 170 times | Joined on Jul 2008
#12
pelago: /dev/mtd1 is 384KB large and does not contain any user data.
 

The Following User Says Thank You to Hrw For This Useful Post:
pelago's Avatar
Posts: 2,121 | Thanked: 1,540 times | Joined on Mar 2008 @ Oxford, UK
#13
Originally Posted by Hrw View Post
pelago: /dev/mtd1 is 384KB large and does not contain any user data.
Thanks. So does every N800 have the same /dev/mtd1?
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#14
no, it contains MAC address and other HW specific info, for qemu it doesn't matter much though
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 
pelago's Avatar
Posts: 2,121 | Thanked: 1,540 times | Joined on Mar 2008 @ Oxford, UK
#15
Could an example N800 and an N810 /dev/mtd1 be hosted somewhere, then? I'd like to try an N800 or N810 before I buy, and Scratchbox doesn't really cut it.

Last edited by pelago; 2008-08-07 at 15:04.
 
Hrw's Avatar
Posts: 137 | Thanked: 170 times | Joined on Jul 2008
#16
Here you have it from my n810. Unpack before use of course.
Attached Files
File Type: gz config.mtd.gz (2.7 KB, 247 views)
 

The Following User Says Thank You to Hrw For This Useful Post:
pelago's Avatar
Posts: 2,121 | Thanked: 1,540 times | Joined on Mar 2008 @ Oxford, UK
#17
Ah excellent, many thanks. I've only been able to get N800 emulation working so far (luckily your N810 config.mtd seems to work for N800 too). Trying to emulate an N810 brings up a blank QEMU window, and just says "mipid_reset: Display off" in the terminal and seems to get no further.

Some questions, if I may: Does networking work yet, as it would be great to be able to install apps from the emulated tablet user-interface? Is there emulation for the N800 hardware buttons, like zoom, and power? And is there any way to save state? My host system is rather slow, and it takes quite a while for the emulated tablet to boot up, so it would be nice if I could simply save state and resume later.

Last edited by pelago; 2008-08-08 at 17:20.
 
Hrw's Avatar
Posts: 137 | Thanked: 170 times | Joined on Jul 2008
#18
N810 has wrong partition layout in qemu source. Edit hw/nseries.c and make n810 partition table same as n800 one.
 
Hrw's Avatar
Posts: 137 | Thanked: 170 times | Joined on Jul 2008
#19
Originally Posted by pelago View Post
Does networking work yet, as it would be great to be able to install apps from the emulated tablet user-interface? Is there emulation for the N800 hardware buttons, like zoom, and power? And is there any way to save state? My host system is rather slow, and it takes quite a while for the emulated tablet to boot up, so it would be nice if I could simply save state and resume later.
networking is via usbnet on n8x0 side and tap0 on host side
N8x0 keys are emulated - try F1-F10 keys
no way to save state (as suspend)
 
pelago's Avatar
Posts: 2,121 | Thanked: 1,540 times | Joined on Mar 2008 @ Oxford, UK
#20
Originally Posted by Hrw View Post
N810 has wrong partition layout in qemu source. Edit hw/nseries.c and make n810 partition table same as n800 one.
Thanks, I tried that - it now says:

Code:
static struct omap_partition_info_s {
    uint32_t offset;
    uint32_t size;
    int mask;
    const char *name;
} n800_part_info[] = {
    { 0x00000000, 0x00020000, 0x3, "bootloader" },
    { 0x00020000, 0x00060000, 0x0, "config" },
    { 0x00080000, 0x00200000, 0x0, "kernel" },
    { 0x00280000, 0x00200000, 0x3, "initfs" },
    { 0x00480000, 0x0fb80000, 0x3, "rootfs" },

    { 0, 0, 0, 0 }
}, n810_part_info[] = {
    { 0x00000000, 0x00020000, 0x3, "bootloader" },
    { 0x00020000, 0x00060000, 0x0, "config" },
    { 0x00080000, 0x00200000, 0x0, "kernel" },
    { 0x00280000, 0x00200000, 0x3, "initfs" },
    { 0x00480000, 0x0fb80000, 0x3, "rootfs" },

    { 0, 0, 0, 0 }
};
And recompiled. Unfortunately, N810 still hangs at the "mipid_reset: Display off" stage for me. This is with me attempting to boot a chinook image.

Is there a bugzilla or similar for QEMU?
 
Reply

Tags
emulation, qemu


 
Forum Jump


All times are GMT. The time now is 10:31.