From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51082) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0ria-0004BR-1B for qemu-devel@nongnu.org; Thu, 12 May 2016 10:36:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b0riU-0003iJ-Tg for qemu-devel@nongnu.org; Thu, 12 May 2016 10:35:58 -0400 Received: from mail-vk0-x22f.google.com ([2607:f8b0:400c:c05::22f]:34815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0riU-0003i5-Id for qemu-devel@nongnu.org; Thu, 12 May 2016 10:35:54 -0400 Received: by mail-vk0-x22f.google.com with SMTP id m188so99980264vka.1 for ; Thu, 12 May 2016 07:35:54 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <573493A7.3030604@linaro.org> References: <1462814989-24360-1-git-send-email-peter.maydell@linaro.org> <5732D667.3040105@huawei.com> <573493A7.3030604@linaro.org> From: Peter Maydell Date: Thu, 12 May 2016 15:35:34 +0100 Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 00/23] GICv3 emulation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Shannon Zhao Cc: Shannon Zhao , qemu-arm , QEMU Developers , Patch Tracking , Shlomo Pongratz , Shlomo Pongratz , Pavel Fedin , Christoffer Dall On 12 May 2016 at 15:31, Shannon Zhao wrote: > On 2016=E5=B9=B405=E6=9C=8812=E6=97=A5 21:53, Peter Maydell wrote: >> On 11 May 2016 at 07:51, Shannon Zhao 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=3D3 -cpu cortex-a57 -nographic -kernel >> ~/test-images/virtv8/Image -bios /tmp/QEMU_EFI.fd -append >> 'console=3DttyAMA0,38400 keep_bootcon root=3D/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=3D3 -cpu cortex-a57 -nographic -kernel Image = \ > -bios QEMU_EFI.fd -append 'console=3DttyAMA0 root=3D/dev/ram > earlycon=3Dpl011,0x9000000 rw' Can you put the Image file somewhere I can download it, please? thanks -- PMM