Browse Source

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>
pull/69687/head
Dmitrii Golovanov 1 year ago committed by Jamie McCrae
parent
commit
73b30a04cf
  1. 14
      boards/v2/up/up_squared_pro_7000/CMakeLists.txt
  2. 47
      boards/v2/up/up_squared_pro_7000/Kconfig.defconfig
  3. 5
      boards/v2/up/up_squared_pro_7000/Kconfig.up_squared_pro_7000
  4. 0
      boards/v2/up/up_squared_pro_7000/board.cmake
  5. 4
      boards/v2/up/up_squared_pro_7000/board.yml
  6. 4
      boards/v2/up/up_squared_pro_7000/doc/up_squared_pro_7000.rst
  7. 2
      boards/v2/up/up_squared_pro_7000/up_squared_pro_7000.dts
  8. 0
      boards/v2/up/up_squared_pro_7000/up_squared_pro_7000.yaml
  9. 2
      boards/v2/up/up_squared_pro_7000/up_squared_pro_7000_defconfig
  10. 8
      boards/x86/intel_adl/Kconfig.board

14
boards/v2/up/up_squared_pro_7000/CMakeLists.txt

@ -0,0 +1,14 @@ @@ -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

@ -0,0 +1,47 @@ @@ -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

5
boards/v2/up/up_squared_pro_7000/Kconfig.up_squared_pro_7000

@ -0,0 +1,5 @@ @@ -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

0
boards/x86/intel_adl/board.cmake → boards/v2/up/up_squared_pro_7000/board.cmake

4
boards/v2/up/up_squared_pro_7000/board.yml

@ -0,0 +1,4 @@ @@ -0,0 +1,4 @@
board:
name: up_squared_pro_7000
socs:
- name: alder_lake

4
boards/x86/intel_adl/doc/up_squared_pro_7000.rst → boards/v2/up/up_squared_pro_7000/doc/up_squared_pro_7000.rst

@ -66,13 +66,13 @@ connection setup. @@ -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

2
boards/x86/intel_adl/up_squared_pro_7000.dts → boards/v2/up/up_squared_pro_7000/up_squared_pro_7000.dts

@ -4,7 +4,7 @@ @@ -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";

0
boards/x86/intel_adl/up_squared_pro_7000.yaml → boards/v2/up/up_squared_pro_7000/up_squared_pro_7000.yaml

2
boards/x86/intel_adl/up_squared_pro_7000_defconfig → boards/v2/up/up_squared_pro_7000/up_squared_pro_7000_defconfig

@ -1,7 +1,5 @@ @@ -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

8
boards/x86/intel_adl/Kconfig.board

@ -1,8 +0,0 @@ @@ -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
Loading…
Cancel
Save