[U-Boot] [PATCH 00/14] x86: qemu: Add 64-bit U-Boot support

Simon Glass sjg at chromium.org
Thu Jan 26 15:23:20 CET 2017


Hi Bin,

On 18 January 2017 at 04:32, Bin Meng <bmeng.cn at gmail.com> wrote:
> This brings U-Boot x86 64-bit support on QEMU target.
>
> This series is available at u-boot-x86/qemu64-working for testing.
>
>
> Bin Meng (14):
>   x86: qemu: Add missing DECLARE_GLOBAL_DATA_PTR in e820.c
>   x86: Wrap print_ch() with config option
>   x86: spl: Add weak arch_cpu_init_dm()
>   x86: Compile irq.c for 64-bit
>   x86: qemu: Hide arch_cpu_init() and print_cpuinfo() for U-Boot proper
>   x86: qemu: Fix compiler warnings for 64-bit
>   x86: qemu: Set up device tree for SPL
>   x86: qemu: Mark ucode as optional for SPL in u-boot.dtsi
>   tools: binman: Call correct init for Entry_u_boot_spl_with_ucode_ptr
>   tools: binman: Handle optional microcode case in SPL image
>   spl: Add a LF to the loading message
>   x86: qemu: Add a text base for 64-bit U-Boot
>   x86: qemu: Add build options for SPL
>   x86: qemu: Add a config for 64-bit U-Boot
>
>  arch/x86/cpu/Makefile                           |  2 +-
>  arch/x86/cpu/irq.c                              |  6 +-
>  arch/x86/cpu/qemu/e820.c                        |  2 +
>  arch/x86/cpu/qemu/qemu.c                        |  7 ++-
>  arch/x86/cpu/x86_64/cpu.c                       |  2 +
>  arch/x86/dts/emulation-u-boot.dtsi              |  6 ++
>  arch/x86/dts/qemu-x86_i440fx.dts                |  4 ++
>  arch/x86/dts/qemu-x86_q35.dts                   |  4 ++
>  arch/x86/lib/spl.c                              |  5 ++
>  board/emulation/Kconfig                         |  7 +++
>  board/emulation/qemu-x86/Kconfig                |  6 +-
>  board/emulation/qemu-x86/MAINTAINERS            |  7 +++
>  common/spl/spl.c                                |  2 +-
>  configs/qemu-x86_64_defconfig                   | 80 +++++++++++++++++++++++++
>  include/configs/qemu-x86.h                      |  9 +++
>  tools/binman/etype/u_boot_spl_with_ucode_ptr.py |  2 +-
>  tools/binman/etype/u_boot_ucode.py              |  6 ++
>  17 files changed, 146 insertions(+), 11 deletions(-)
>  create mode 100644 configs/qemu-x86_64_defconfig
>
> --
> 2.9.2
>

One point I noted in trying this out is that the binman tests fail
now, since this commit:

d26a38f binman: Remove hard-coded file name for x86 CMC/FSP/VGA

Could you please take a look?

Regards,
Simon


More information about the U-Boot mailing list