[U-Boot] [PATCH 0/3] x86: coreboot: Support running U-Boot in qemu

Bin Meng bmeng.cn at gmail.com
Sat Jan 3 15:40:23 CET 2015


Currently when U-Boot is loaded by coreboot in qemu, U-Boot does not
boot due to several issues. This patch series fix these issues to make
coreboot support in U-Boot more robust so that it can run on top of
qemu out of the box.

The command to package u-boot into coreboot.rom:
./build/util/cbfstool/cbfstool build/coreboot.rom add-flat-binary \
-f u-boot-dtb.bin -n fallback/payload -c lzma -l 0x1110000 -e 0x1110015

The command to launch qemu:
./qemu-system-i386 -nographic -m 512 -bios coreboot.rom


Bin Meng (3):
  x86: coreboot: Setup timer base correctly
  x86: Allow a hardcoded TSC frequency provided by Kconfig
  x86: coreboot: Wrap cros_ec initialization

 arch/x86/Kconfig                   | 18 ++++++++++++++++++
 arch/x86/cpu/coreboot/timestamp.c  | 33 ++++++++++++++++++++-------------
 arch/x86/lib/tsc_timer.c           |  8 ++++++--
 board/coreboot/coreboot/coreboot.c |  2 ++
 include/configs/coreboot.h         |  4 +++-
 5 files changed, 49 insertions(+), 16 deletions(-)

-- 
1.8.2.1



More information about the U-Boot mailing list