View Single Post
Old 02-10-2020, 12:03 PM   #1
sigizmund
Member
sigizmund can extract oil from cheesesigizmund can extract oil from cheesesigizmund can extract oil from cheesesigizmund can extract oil from cheesesigizmund can extract oil from cheesesigizmund can extract oil from cheesesigizmund can extract oil from cheesesigizmund can extract oil from cheese
 
Posts: 24
Karma: 1088
Join Date: Dec 2009
Device: Pocketbook && Android
Booting Pocketbook in qemu

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?
sigizmund is offline   Reply With Quote