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:
Now I am running:
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:
and panic ensues.
Any thoughts how can I make progress there?
I've been hacking my Touch Lux 4 lately - mainly trying to boot full system image in qemu.
Here's what I am doing:
- I made full image of the internal SD card
- 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"
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
Any thoughts how can I make progress there?