[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 00/23] GICv3 emulation
From: |
Shannon Zhao |
Subject: |
Re: [Qemu-devel] [PATCH 00/23] GICv3 emulation |
Date: |
Thu, 12 May 2016 22:31:03 +0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
On 2016年05月12日 21:53, Peter Maydell wrote:
> On 11 May 2016 at 07:51, Shannon Zhao <address@hidden> wrote:
>> Hi Peter,
>>
>> On 2016/5/10 1:29, Peter Maydell wrote:
>>
>>> Code review, testing, attempts to run guests other than Linux
>>> welcome (UEFI, anybody?)
>> I run a guest with UEFI firmware. It gets stuck when kernel boots:
>>
>> [ 0.186331] Brought up 1 CPUs
>> [ 0.186613] SMP: Total of 1 processors activated.
>> [ 0.187976] CPU: All CPU(s) started at EL1
>> [ 0.191060] alternatives: patching kernel code
>> [ 0.234352] devtmpfs: initialized
>> [ 0.273918] SMBIOS 3.0.0 present.
>> [ 0.280438] clocksource: jiffies: mask: 0xffffffff max_cycles:
>> 0xffffffff, max_idle_ns: 7645041785100000 ns
>> [ 0.289983] pinctrl core: initialized pinctrl subsystem
>> [ 0.347558] NET: Registered protocol family 16
>
> Hmm, this works for me. I'm using the Linaro built UEFI from
> https://releases.linaro.org/components/kernel/uefi-linaro/15.12/release/qemu64/QEMU_EFI.fd
> and a 4.4 kernel and a command line
> ./build/a64-targets-nodbg/aarch64-softmmu/qemu-system-aarch64 -m 1024
> -M virt,gic-version=3 -cpu cortex-a57 -nographic -kernel
> ~/test-images/virtv8/Image -bios /tmp/QEMU_EFI.fd -append
> 'console=ttyAMA0,38400 keep_bootcon root=/dev/vda2'
>
I wget the UEFI you use from above url and test with below script. It
still hangs.
./qemu/aarch64-softmmu/qemu-system-aarch64 -smp 1 \
-m 1024 -M virt,gic-version=3 -cpu cortex-a57 -nographic -kernel Image \
-bios QEMU_EFI.fd -append 'console=ttyAMA0 root=/dev/ram
earlycon=pl011,0x9000000 rw'
Booting log:
http://paste.ubuntu.com/16375541/
> (which panics for not finding the root fs because I didn't bother
> to put that into the command line, but it doesn't hang at the
> early stage yours does).
>
> Did you build the QEMU you're testing from the patchset I sent out,
> or did you try pulling my git tree? I've just realised I forgot
> to update the git tree branch (now done).
>
I just apply the patches you sent out(since you didn't mention there is
a tree for them).
Thanks,
--
Shannon
- Re: [Qemu-devel] [PATCH 11/23] hw/intc/arm_gicv3: Implement GICv3 distributor registers, (continued)
[Qemu-devel] [PATCH 08/23] hw/intc/arm_gicv3: Add vmstate descriptors, Peter Maydell, 2016/05/09
[Qemu-devel] [PATCH 09/23] hw/intc/arm_gicv3: ARM GICv3 device framework, Peter Maydell, 2016/05/09
[Qemu-devel] [PATCH 17/23] hw/intc/arm_gicv3: Implement CPU i/f SGI generation registers, Peter Maydell, 2016/05/09
[Qemu-devel] [PATCH 03/23] target-arm: Define new arm_is_el3_or_mon() function, Peter Maydell, 2016/05/09
Re: [Qemu-devel] [PATCH 00/23] GICv3 emulation, Shannon Zhao, 2016/05/11
Re: [Qemu-devel] [PATCH 00/23] GICv3 emulation, Shannon Zhao, 2016/05/25