[U-Boot] [PATCH v2 00/14] x86: Bring qemu-x86_64 target in travis-ci build/testing

Bin Meng bmeng.cn at gmail.com
Sun Oct 14 03:52:00 UTC 2018


At present the QEMU x86_64 target is broken here and there, for
example with newer compiler it even does not boot. EFI loader does
not work either.

This series is a combination of Heinrich's EFI loader fixes and
my fixes to QEMU x86_64 target. To enable qemu-x86_64 target in
travis-ci for build and testing, uboot-test-hooks needs to be
updated and the PR is sent.

The series is available at u-boot-x86/qemu-working for testing.

Changes in v2:
- some rewording in the doc per Heinrich's review comments
- Change to use MHz instead of Hz for the early timer frequency
- Change the config option value to 400 which indicates 400 MHz
- new patch to generate grub_x64.efi for qemu-x86_64 for travis-ci
- new patch to update to use QEMU 3.0.0 for travis-ci testing

Bin Meng (10):
  x86: Specify -march=core2 to build 64-bit U-Boot proper
  x86: Ensure no instruction sets of MMX/SSE are generated in 64-bit
    build
  x86: doc: Mention qemu-x86_64 support
  x86: doc: Remove stale sections of 64-bit support
  x86: Fix the mystery of printch() during 64-bit boot
  x86: tsc: Introduce config option for early timer frequency
  x86: quark: Specify X86_TSC_TIMER_EARLY_FREQ
  travis: Generate grub_x64.efi for qemu-x86_64
  travis: Update to use QEMU 3.0.0 for testing
  travis: Add qemu-x86_64 target for test.py testing

Heinrich Schuchardt (4):
  x86: qemu: enable CONFIG_SPL_DM_RTC
  x86: detect unsupported relocation types
  x86: put global data pointer into the .data section
  efi_loader: fix relocation on x86_64

 .travis.yml                   | 13 ++++++++++++-
 arch/x86/config.mk            |  3 ++-
 arch/x86/cpu/quark/Kconfig    |  4 ++++
 arch/x86/cpu/start64.S        |  1 +
 arch/x86/cpu/x86_64/cpu.c     | 28 ++++++++--------------------
 arch/x86/lib/relocate.c       | 18 ++++++++++++++++++
 configs/qemu-x86_64_defconfig |  1 +
 doc/README.x86                | 36 +++++++++++++++++-------------------
 drivers/timer/Kconfig         | 10 ++++++++++
 drivers/timer/tsc_timer.c     |  6 +++---
 lib/efi_loader/efi_runtime.c  | 16 ++++++++++++----
 11 files changed, 88 insertions(+), 48 deletions(-)

-- 
2.7.4



More information about the U-Boot mailing list