qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] PPC: Support flags -boot, -uuid and -kernel using f


From: Blue Swirl
Subject: [Qemu-devel] [PATCH] PPC: Support flags -boot, -uuid and -kernel using fw_cfg
Date: Sun, 21 Dec 2008 21:46:10 +0200

Hi,

These two patches (Qemu/OpenBIOS) add support for giving OpenBIOS/PPC
a boot device with -boot command line flag, use a UUID (print only)
and call a preloaded kernel. These are passed from Qemu to OpenBIOS
using the firmware configuration device and NVRAM.

Using the -boot switch works, but I can't boot anything yet so it's
not very well tested. UUID works, but it's not added to the device
tree. Kernel crashes after the first instruction, maybe the memory
size probe corrupts memory.

>> =============================================================
>> OpenBIOS 1.0RC1 [Dec 21 2008 11:55]
>> Configuration device id QEMU version 1 machine id 2
>> CPUs: 1
>> UUID: 12345678-1234-abcd-7654-123456789abc
>> Initializing PCI devices...
>> 0:0.0 - 1057:2 - /pci/pci - pci
>> 0:1.0 - 1234:1111 - /pci/QEMU,VGA - QEMU,VGA
>> 0:2.0 - 10ec:8029 - /pci/NE2000 - NE2000
>> 0:3.0 - 1095:646 - /pci/pci-ata - pci-ata
>> ata-1: [io ports 0x100-0x107,0x182]
>>     drive1 [ATAPI cdrom]: QEMU DVD-ROM
>> ata-2: [io ports 0x200-0x207,0x282]
>> 0:4.0 - 106b:17 - /pci/mac-io - mac-io
No disk found.
>> [ppc] Kernel already loaded (0x01000000 + 0x003cadc8)

Attachment: q_ppc_use_fw_cfg.diff
Description: plain/text

Attachment: o_ppc_use_fw_cfg.diff
Description: plain/text


reply via email to

[Prev in Thread] Current Thread [Next in Thread]