[Clfs-support] How to boot ppc on qemu?
Pierre Labastie
pierre.labastie at neuf.fr
Sat Nov 9 05:37:50 PST 2013
Hi,
I am trying to build powerpc64-pure64 on an x86_64 host, using boot method.
(Almost [1]) everything went well until the booting step. But I am stuck now:
I have copied the built kernel (clfskernel-3.10.17) to my home directory, and
I try to launch:
qemu-system-ppc64 -m 4000 -monitor stdio -hda /mnt/virtualfs/aqemu/clfs.qcow2
-kernel clfskernel-3.10.17 -append "root=/dev/sda2 ro"
then I get:
QEMU 1.6.1 monitor - type 'help' for more information
(qemu) Warning: Disabling some instructions which are not emulated by TCG
(0x0, 0x6)
and the emulator windows appear:
Informative lines are written there:
Scan USB...
USB Keyboard
USB Mouse
No console dpecified using screen & keyboard
Detected RAM kernel at 400000 (ee638 bytes)
Welcome to Open Firmware
[...]
Booting from Memory...
OF stdout device is: /pci at 80000002000000/cga at 0
Preparing to boot Linux version 3.10.17-lfs-1 (clfs at myhost) gccversion Blah...)
Detected machine type : 0000000000000101
Max number of cores passed to firmware: 1 (NR_CPUS = 1)
Calling ibm,client-architecture-support... not implemented
couldn't open /packages/elf-loader
[... lines about memroy layout, display and boot prom ]
returning from prom_init
-----------------
and then it freezes for a while, clear the screen and start again "Scan USB"
I guess I missed a few steps, but do not know where.
Any pointer?
regards
Pierre
[1]
- yaboot-...-parted patch is missing in the list of patches.
- PKG_CONFIG=true does not work in util-linux, I got it to build with
PKG_CONFIG=""
More information about the Clfs-support
mailing list