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

Bin Meng bmeng.cn at gmail.com
Mon May 11 01:05:44 CEST 2015


Hi Simon,

On Sun, May 10, 2015 at 9:45 PM, Simon Glass <sjg at chromium.org> wrote:
> Hi Bin,
>
> On 8 May 2015 at 21:39, Bin Meng <bmeng.cn at gmail.com> wrote:
>> 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.
>
> I was using 2.0 (Trusty). With 2.3 it works!
>
> Can you please update the docs to say that graphics requires version xx?
>

Sure, will do in v2.

Regards,
Bin


More information about the U-Boot mailing list