[U-Boot] [PATCH 1/5] x86: Support QEMU x86 targets

Bin Meng bmeng.cn at gmail.com
Wed May 6 07:39:04 CEST 2015


Hi Simon,

On Wed, May 6, 2015 at 12:01 PM, Simon Glass <sjg at chromium.org> wrote:
> Hi Bin,
>
> On 5 May 2015 at 09:24, Bin Meng <bmeng.cn at gmail.com> wrote:
>> This commit introduces the initial U-Boot support for QEMU x86 targets.
>> U-Boot can boot from coreboot as a payload, or directly without coreboot.
>>
>> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>> ---
>>
>>  arch/x86/Kconfig                      |  5 +++
>>  arch/x86/cpu/Makefile                 |  1 +
>>  arch/x86/cpu/qemu/Kconfig             | 21 +++++++++++++
>>  arch/x86/cpu/qemu/Makefile            |  8 +++++
>>  arch/x86/cpu/qemu/car.S               | 26 ++++++++++++++++
>>  arch/x86/cpu/qemu/dram.c              | 46 ++++++++++++++++++++++++++++
>>  arch/x86/cpu/qemu/pci.c               | 49 ++++++++++++++++++++++++++++++
>>  arch/x86/cpu/qemu/qemu.c              | 37 +++++++++++++++++++++++
>>  arch/x86/dts/Makefile                 |  3 +-
>>  arch/x86/dts/qemu-x86.dts             | 34 +++++++++++++++++++++
>>  arch/x86/include/asm/arch-qemu/gpio.h | 13 ++++++++
>>  arch/x86/include/asm/arch-qemu/qemu.h | 17 +++++++++++
>>  board/emulation/Kconfig               | 25 +++++++++++++++
>>  board/emulation/qemu-x86/Kconfig      | 24 +++++++++++++++
>>  board/emulation/qemu-x86/MAINTAINERS  |  6 ++++
>>  board/emulation/qemu-x86/Makefile     |  7 +++++
>>  board/emulation/qemu-x86/qemu-x86.c   | 13 ++++++++
>>  board/emulation/qemu-x86/start.S      |  9 ++++++
>>  configs/qemu-x86_defconfig            |  6 ++++
>>  include/configs/qemu-x86.h            | 57 +++++++++++++++++++++++++++++++++++
>>  20 files changed, 406 insertions(+), 1 deletion(-)
>>  create mode 100644 arch/x86/cpu/qemu/Kconfig
>>  create mode 100644 arch/x86/cpu/qemu/Makefile
>>  create mode 100644 arch/x86/cpu/qemu/car.S
>>  create mode 100644 arch/x86/cpu/qemu/dram.c
>>  create mode 100644 arch/x86/cpu/qemu/pci.c
>>  create mode 100644 arch/x86/cpu/qemu/qemu.c
>>  create mode 100644 arch/x86/dts/qemu-x86.dts
>>  create mode 100644 arch/x86/include/asm/arch-qemu/gpio.h
>>  create mode 100644 arch/x86/include/asm/arch-qemu/qemu.h
>>  create mode 100644 board/emulation/Kconfig
>>  create mode 100644 board/emulation/qemu-x86/Kconfig
>>  create mode 100644 board/emulation/qemu-x86/MAINTAINERS
>>  create mode 100644 board/emulation/qemu-x86/Makefile
>>  create mode 100644 board/emulation/qemu-x86/qemu-x86.c
>>  create mode 100644 board/emulation/qemu-x86/start.S
>>  create mode 100644 configs/qemu-x86_defconfig
>>  create mode 100644 include/configs/qemu-x86.h
>
> Acked-by: Simon Glass <sjg at chromium.org>
> Tested-by: Simon Glass <sjg at chromium.org>
>
> Bin this is a great addition, thanks for putting this together!
>

Thanks for the encouragement!

> What is involved in getting graphics to work? BTW did you ever get
> graphics running on your board?
>

I will try to enable the QEMU graphics support today. Sorry I have not
got time to continue the Crown Bay graphics support, so far it is
still stuck :(

Regards,
Bin


More information about the U-Boot mailing list