boards: x86: up_squared_pro_7000: move and convert to HWMv2
Move and convert boards/x86/up_squared_pro_7000 to HWMv2 Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
This commit is contained in:
committed by
Jamie McCrae
parent
83b133c207
commit
73b30a04cf
14
boards/v2/up/up_squared_pro_7000/CMakeLists.txt
Normal file
14
boards/v2/up/up_squared_pro_7000/CMakeLists.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# Create an EFI image
|
||||
if(CONFIG_BUILD_OUTPUT_EFI)
|
||||
set_property(GLOBAL APPEND PROPERTY extra_post_build_commands
|
||||
COMMAND ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/arch/x86/zefi/zefi.py
|
||||
-c ${CMAKE_C_COMPILER}
|
||||
-o ${CMAKE_OBJCOPY}
|
||||
-i ${ZEPHYR_BASE}/include
|
||||
-f ${PROJECT_BINARY_DIR}/${CONFIG_KERNEL_BIN_NAME}.elf
|
||||
$<$<BOOL:${CMAKE_VERBOSE_MAKEFILE}>:--verbose>
|
||||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}
|
||||
)
|
||||
endif()
|
||||
47
boards/v2/up/up_squared_pro_7000/Kconfig.defconfig
Normal file
47
boards/v2/up/up_squared_pro_7000/Kconfig.defconfig
Normal file
@@ -0,0 +1,47 @@
|
||||
# Copyright (c) 2023-2024 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if BOARD_UP_SQUARED_PRO_7000
|
||||
|
||||
config BUILD_OUTPUT_STRIPPED
|
||||
default y
|
||||
|
||||
config MP_MAX_NUM_CPUS
|
||||
default 2
|
||||
|
||||
# TSC on this board is 1.9 GHz, HPET and APIC are 19.2 MHz
|
||||
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
||||
default 1900000000 if APIC_TSC_DEADLINE_TIMER
|
||||
default 1900000000 if APIC_TIMER_TSC
|
||||
default 19200000
|
||||
|
||||
if APIC_TIMER
|
||||
config APIC_TIMER_IRQ
|
||||
default 24
|
||||
config APIC_TIMER_TSC_M
|
||||
default 3
|
||||
config APIC_TIMER_TSC_N
|
||||
default 249
|
||||
endif
|
||||
|
||||
config ACPI
|
||||
default y
|
||||
|
||||
if ACPI
|
||||
config HEAP_MEM_POOL_ADD_SIZE_ACPI
|
||||
default 64000000
|
||||
config MAIN_STACK_SIZE
|
||||
default 320000
|
||||
config ACPI_PRT_BUS_NAME
|
||||
default "_SB.PC00"
|
||||
|
||||
if SHELL
|
||||
config SHELL_STACK_SIZE
|
||||
default 320000
|
||||
endif # SHELL
|
||||
endif # ACPI
|
||||
|
||||
config HAS_COVERAGE_SUPPORT
|
||||
default y
|
||||
|
||||
endif # BOARD_UP_SQUARED_PRO_7000
|
||||
@@ -0,0 +1,5 @@
|
||||
# Copyright (c) 2018-2024 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_UP_SQUARED_PRO_7000
|
||||
select SOC_ALDER_LAKE
|
||||
4
boards/v2/up/up_squared_pro_7000/board.yml
Normal file
4
boards/v2/up/up_squared_pro_7000/board.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
board:
|
||||
name: up_squared_pro_7000
|
||||
socs:
|
||||
- name: alder_lake
|
||||
@@ -66,13 +66,13 @@ connection setup.
|
||||
Booting the UP Squared Pro 7000 Board using UEFI
|
||||
================================================
|
||||
|
||||
.. include:: ../../common/efi_boot.rst
|
||||
.. include:: ../../../../../boards/x86/common/efi_boot.rst
|
||||
:start-after: start_include_here
|
||||
|
||||
Booting the UP Squared Pro 7000 Board over network
|
||||
==================================================
|
||||
|
||||
.. include:: ../../common/net_boot.rst
|
||||
.. include:: ../../../../../boards/x86/common/net_boot.rst
|
||||
:start-after: start_include_here
|
||||
|
||||
References
|
||||
@@ -4,7 +4,7 @@
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include "intel_adl.dts"
|
||||
#include "../../intel/intel_adl/intel_adl.dts"
|
||||
|
||||
/ {
|
||||
model = "UP Squared Pro 7000 board";
|
||||
@@ -1,7 +1,5 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SOC_ALDER_LAKE=y
|
||||
CONFIG_BOARD_UP_SQUARED_PRO_7000=y
|
||||
CONFIG_PIC_DISABLE=y
|
||||
CONFIG_LOAPIC=y
|
||||
CONFIG_CONSOLE=y
|
||||
@@ -1,8 +0,0 @@
|
||||
# Copyright (c) 2023 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_UP_SQUARED_PRO_7000
|
||||
bool "UP SQUARED PRO 7000 board"
|
||||
depends on SOC_ALDER_LAKE
|
||||
select X86_64
|
||||
select HAS_COVERAGE_SUPPORT
|
||||
Reference in New Issue
Block a user