Quantcast
Channel: MobileRead Forums - PocketBook
Viewing all articles
Browse latest Browse all 1245

Booting Pocketbook in qemu

$
0
0
Hey folks,

I've been hacking my Touch Lux 4 lately - mainly trying to boot full system image in qemu.

Here's what I am doing:
  1. I made full image of the internal SD card
  2. Figured out that partition #7 is the root partition (with /sbin/init)

Now I am running:
Code:

qemu-system-arm -M vexpress-a9 -kernel vmlinuz-3.2.0-4-vexpress -initrd initrd.img-3.2.0-4-vexpress -sd ../full_disk.raw -append "ext2=1 root=/dev/mmcblk0p7"
Note, that I am not immediately certain that vexpress-a9 is the right machine type, but this page suggests this is a good option for Allwiner A10 (sun5i) CPU in my Pocketbook.

I figured that I have to pass ext2=1 to kernel command line because otherwise it fails to mount the partition (idk why ext2 is not enabled by default in initrd).

So right now the process goes all the way to running init which fails:
Code:

/init: line 327: can't open /root/dev/console: no such file
and panic ensues.

Any thoughts how can I make progress there?

Viewing all articles
Browse latest Browse all 1245

Trending Articles