avionic design with actual uboot and tooling
submodule of avionic design uboot bootloader and with included tools to get you started , read readme.md and readme-tk1-loader.md
This commit is contained in:
25
u-boot/board/emulation/Kconfig
Normal file
25
u-boot/board/emulation/Kconfig
Normal file
@@ -0,0 +1,25 @@
|
||||
#
|
||||
# Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
if VENDOR_EMULATION
|
||||
|
||||
choice
|
||||
prompt "Mainboard model"
|
||||
|
||||
config TARGET_QEMU_X86
|
||||
bool "QEMU x86"
|
||||
help
|
||||
This is the QEMU emulated x86 board. U-Boot supports running
|
||||
as a coreboot payload as well as bare boot without coreboot.
|
||||
There are two types of x86 boards supported by QEMU which are
|
||||
supported by U-Boot. They are via QEMU '-M pc', an i440FX/PIIX
|
||||
chipset platform and '-M q35', a Q35/ICH9 chipset platform.
|
||||
|
||||
endchoice
|
||||
|
||||
source "board/emulation/qemu-x86/Kconfig"
|
||||
|
||||
endif
|
||||
25
u-boot/board/emulation/qemu-x86/Kconfig
Normal file
25
u-boot/board/emulation/qemu-x86/Kconfig
Normal file
@@ -0,0 +1,25 @@
|
||||
if TARGET_QEMU_X86
|
||||
|
||||
config SYS_BOARD
|
||||
default "qemu-x86"
|
||||
|
||||
config SYS_VENDOR
|
||||
default "emulation"
|
||||
|
||||
config SYS_SOC
|
||||
default "qemu"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
default "qemu-x86"
|
||||
|
||||
config SYS_TEXT_BASE
|
||||
default 0xfff00000 if !EFI_STUB
|
||||
default 0x01110000 if EFI_STUB
|
||||
|
||||
config BOARD_SPECIFIC_OPTIONS # dummy
|
||||
def_bool y
|
||||
select X86_RESET_VECTOR if !EFI_STUB
|
||||
select QEMU
|
||||
select BOARD_ROMSIZE_KB_1024
|
||||
|
||||
endif
|
||||
6
u-boot/board/emulation/qemu-x86/MAINTAINERS
Normal file
6
u-boot/board/emulation/qemu-x86/MAINTAINERS
Normal file
@@ -0,0 +1,6 @@
|
||||
QEMU X86 BOARD
|
||||
M: Bin Meng <bmeng.cn@gmail.com>
|
||||
S: Maintained
|
||||
F: board/emulation/qemu-x86/
|
||||
F: include/configs/qemu-x86.h
|
||||
F: configs/qemu-x86_defconfig
|
||||
7
u-boot/board/emulation/qemu-x86/Makefile
Normal file
7
u-boot/board/emulation/qemu-x86/Makefile
Normal file
@@ -0,0 +1,7 @@
|
||||
#
|
||||
# Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
obj-y += start.o
|
||||
9
u-boot/board/emulation/qemu-x86/start.S
Normal file
9
u-boot/board/emulation/qemu-x86/start.S
Normal file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
* Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
.globl early_board_init
|
||||
early_board_init:
|
||||
jmp early_board_init_ret
|
||||
Reference in New Issue
Block a user