Re: [tip:x86/boot] x86/boot: Early parse RSDP and save it in boot_params
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [tip:x86/boot] x86/boot: Early parse RSDP and save it in boot_params
- From: Borislav Petkov <bp@xxxxxxxxx>
- Date: Mon, 11 Feb 2019 11:08:00 +0100
- Cc: Guenter Roeck <linux@xxxxxxxxxxxx>, tglx@xxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, kirill.shutemov@xxxxxxxxxxxxxxx, mingo@xxxxxxxxxx, thomas.lendacky@xxxxxxx, yamada.masahiro@xxxxxxxxxxxxx, caoj.fnst@xxxxxxxxxxxxxx, jgross@xxxxxxxx, mingo@xxxxxxxxxx, keescook@xxxxxxxxxxxx, x86@xxxxxxxxxx, hpa@xxxxxxxxx, linux-tip-commits@xxxxxxxxxxxxxxx
- In-reply-to: <20190211093033.GA1651@localhost.localdomain>
- References: <20190123110850.12433-6-fanc.fnst@cn.fujitsu.com> <tip-3a63f70bf4c3a17f5d9c9bf3bc3288a23bdfefce@git.kernel.org> <20190208190248.GA10854@roeck-us.net> <20190211093033.GA1651@localhost.localdomain>
- User-agent: Mutt/1.10.1 (2018-07-13)
On Mon, Feb 11, 2019 at 05:30:33PM +0800, Chao Fan wrote:
> Yes, I download your ovmf file in linux-build-test/rootfs/firmware/ from
> your link. There are two files, efi32 and efi64. Then I try to run:
You need both OVMF-pure-efi-32.fd and rootfs.squashfs from the repo. And
then this works here. Just put the script below and the two files in a
directory and point to the kernel where you're building with -kernel.
---
#!/bin/bash
qemu-system-x86_64 -kernel ~/kernel/linux/arch/x86/boot/bzImage -M q35 -cpu SandyBridge \
-no-reboot -snapshot -smp 1 \
-gdb tcp::1235 \
-bios OVMF-pure-efi-32.fd \
-m 1G \
-net nic,model=rtl8139,macaddr=12:34:56:78:12:34 \
-usb -device usb-storage,drive=d0 \
-drive file=rootfs.squashfs,if=none,id=d0,format=raw \
--append 'earlycon=uart8250,io,0x3f8,9600n8 root=/dev/sda rootwait panic=-1 earlyprintk=ttyS0,115200,keep console=ttyS0,115200' \
-monitor pty \
-serial file:log
I've added some options for debugging.
--
Regards/Gruss,
Boris.
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
[Index of Archives]
[Linux Stable Commits]
[Linux Stable Kernel]
[Linux Kernel]
[Linux USB Devel]
[Linux Video &Media]
[Linux Audio Users]
[Yosemite News]
[Linux SCSI]