File tree Expand file tree Collapse file tree 7 files changed +89
-0
lines changed Expand file tree Collapse file tree 7 files changed +89
-0
lines changed Original file line number Diff line number Diff line change 1+ # Create an EFI image
2+ if (CONFIG_BOARD_EHL_CRB)
3+ set_property (GLOBAL APPEND PROPERTY extra_post_build_commands
4+ COMMAND ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR} /arch/x86/zefi/zefi.py
5+ -f ${PROJECT_BINARY_DIR} /${CONFIG_KERNEL_BIN_NAME} .elf
6+ $<$<BOOL :${CMAKE_VERBOSE_MAKEFILE} >:--verbose>
7+ WORKING_DIRECTORY ${PROJECT_BINARY_DIR}
8+ )
9+ endif ()
Original file line number Diff line number Diff line change 1+ # Copyright (c) 2020 Intel Corporation
2+ # SPDX-License-Identifier: Apache-2.0
3+
4+ config BOARD_EHL_CRB
5+ bool "Elkhart Lake CRB"
6+ depends on SOC_ELKHART_LAKE
7+ select X86_64
Original file line number Diff line number Diff line change 1+ # Copyright (c) 2020 Intel Corporation
2+ # SPDX-License-Identifier: Apache-2.0
3+
4+ if BOARD_EHL_CRB
5+
6+ config BOARD
7+ default "ehl_crb"
8+
9+ config BUILD_OUTPUT_STRIPPED
10+ default y
11+
12+ config MP_NUM_CPUS
13+ default 2
14+
15+ config X86_MMU_PAGE_POOL_PAGES
16+ default 3072 if X86_MMU
17+
18+ endif # BOARD_EHL_CRB
Original file line number Diff line number Diff line change 1+ # SPDX-License-Identifier: Apache-2.0
2+
3+ board_set_flasher_ifnset(misc-flasher)
4+ board_finalize_runner_args(misc-flasher)
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2020 Intel Corporation
3+ *
4+ * SPDX-License-Identifier: Apache-2.0
5+ */
6+
7+ /dts-v1/;
8+
9+ #include <mem.h>
10+
11+ #define DT_DRAM_SIZE DT_SIZE_M(2048)
12+
13+ #include <elkhart_lake.dtsi>
14+
15+ / {
16+ model = "ehl_crb";
17+ compatible = "intel,elkhart_lake";
18+
19+ chosen {
20+ zephyr,sram = &dram0;
21+ zephyr,console = &uart2;
22+ zephyr,shell-uart = &uart2;
23+ zephyr,bt-uart = &uart1;
24+ zephyr,uart-pipe = &uart1;
25+ zephyr,bt-mon-uart = &uart1;
26+ };
27+ };
Original file line number Diff line number Diff line change 1+ identifier : ehl_crb
2+ name : Elkhart Lake CRB
3+ type : mcu
4+ arch : x86
5+ toolchain :
6+ - zephyr
7+ ram : 2048
8+ testing :
9+ ignore_tags :
10+ - net
11+ - bluetooth
Original file line number Diff line number Diff line change 1+ # SPDX-License-Identifier: Apache-2.0
2+
3+ CONFIG_SOC_ELKHART_LAKE=y
4+ CONFIG_BOARD_EHL_CRB=y
5+ CONFIG_PIC_DISABLE=y
6+ CONFIG_LOAPIC=y
7+ CONFIG_CONSOLE=y
8+ CONFIG_SERIAL=y
9+ CONFIG_UART_NS16550=y
10+ CONFIG_UART_CONSOLE=y
11+ CONFIG_X2APIC=y
12+ CONFIG_SMP=y
13+ CONFIG_X86_MMU_PAGE_POOL_PAGES=3092
You can’t perform that action at this time.
0 commit comments