[U-Boot] [PATCH 4/4] x86: qemu: Add graphics support

Bin Meng bmeng.cn at gmail.com
Sat May 9 05:39:44 CEST 2015


Hi Simon,

On Sat, May 9, 2015 at 4:43 AM, Simon Glass <sjg at chromium.org> wrote:
> Hi Bin,
>
> On 6 May 2015 at 03:34, Bin Meng <bmeng.cn at gmail.com> wrote:
>> It turns out that QEMU x86 emulated graphic card has an built-in
>> option ROM which can be run perfectly under native mode by U-Boot.
>>
>> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>> ---
>>
>>  arch/x86/cpu/qemu/pci.c    | 24 +++++++++++++++++++++++-
>>  configs/qemu-x86_defconfig |  3 +++
>>  doc/README.x86             |  3 +++
>>  include/configs/qemu-x86.h | 10 +++-------
>>  4 files changed, 32 insertions(+), 8 deletions(-)
>
> I get the window but U-Boot does not start in it. Anything else I need to do?
>

Can you enable '-serial stdio' to check U-Boot's serial console log to
see where it boots? Like
$ ./qemu-system-i386 -bios u-boot.rom -serial stdio

Also what is your QEMU version? I am using v2.3.0.

Regards,
Bin


More information about the U-Boot mailing list