boards: mimx8mm_phyboard: convert to HVMv2

Convert mimx8mm_phyboard to HVMv2. This port only enables the M4 core of
the iMX8MM SOC present on this board.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
Daniel DeGrasse
2024-02-29 21:44:43 +00:00
committed by Jamie
parent 204372d264
commit 3f9e706859
11 changed files with 12 additions and 15 deletions

View File

@@ -5,9 +5,6 @@
if BOARD_MIMX8MM_PHYBOARD_POLIS
config BOARD
default "mimx8mm_phyboard_polis"
if !XIP
config FLASH_SIZE
default 0

View File

@@ -1,9 +1,7 @@
# MIMX8MM_PHYBOARD_POLIS board configuration
# Copyright (c) 2022 PHYTEC Messtechnik GmbH
# Copyright 2024 NXP
# SPDX-License-Identifier: Apache-2.0
config BOARD_MIMX8MM_PHYBOARD_POLIS
bool "Phytec Phyboard Polis i.MX8M Mini"
depends on SOC_SERIES_IMX8MM_M4
select SOC_PART_NUMBER_MIMX8MM6DVTLZ
select SOC_MIMX8MM6_M4 if BOARD_MIMX8MM_PHYBOARD_POLIS_MIMX8MM6_M4

View File

@@ -0,0 +1,5 @@
board:
name: mimx8mm_phyboard_polis
vendor: phytec
socs:
- name: mimx8mm6

View File

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 78 KiB

View File

Before

Width:  |  Height:  |  Size: 87 KiB

After

Width:  |  Height:  |  Size: 87 KiB

View File

@@ -70,7 +70,7 @@ More information about the board can be found at the
Supported Features
==================
The Zephyr mimx8mm_phyboard_polis board configuration supports the following
The Zephyr ``mimx8mm_phyboard_polis/mimx8mm6/m4`` board configuration supports the following
hardware features:
+-----------+------------+-------------------------------------+
@@ -92,7 +92,7 @@ hardware features:
+-----------+------------+-------------------------------------+
The default configuration can be found in the defconfig file:
:zephyr_file:`boards/arm/mimx8mm_phyboard_polis/mimx8mm_phyboard_polis_defconfig`.
:zephyr_file:`boards/phytec/mimx8mm_phyboard_polis/mimx8mm_phyboard_polis_mimx8mm6_m4_defconfig`.
It is recommended to disable peripherals used by the M4 core on the Linux host.
@@ -194,12 +194,12 @@ The available configurations are:
If you don't want to use the TCM memory area, you can either overwrite the
boards devicetree in your program or edit the board devicetree located here:
:zephyr_file:`boards/arm/mimx8mm_phyboard_polis/mimx8mm_phyboard_polis.dts`
:zephyr_file:`boards/phytec/mimx8mm_phyboard_polis/mimx8mm_phyboard_polis_mimx8mm6_m4.dts`.
You also have to set XIP=n or edit the boards defconfig file, if you don't want
the TCM memory area to be used. You can find the defconf file here:
:zephyr_file:`boards/arm/mimx8mm_phyboard_polis/mimx8mm_phyboard_polis_defconfig`.
:zephyr_file:`boards/phytec/mimx8mm_phyboard_polis/mimx8mm_phyboard_polis_mimx8mm6_m4_defconfig`.
The following configurations are possible for the flash and sram chosen nodes
to change the used memory area:

View File

@@ -4,7 +4,7 @@
# SPDX-License-Identifier: Apache-2.0
#
identifier: mimx8mm_phyboard_polis
identifier: mimx8mm_phyboard_polis/mimx8mm6/m4
name: Phyboard Polis i.MX8M Mini
type: mcu
arch: arm

View File

@@ -4,9 +4,6 @@
# SPDX-License-Identifier: Apache-2.0
#
CONFIG_SOC_SERIES_IMX8MM_M4=y
CONFIG_SOC_MIMX8MM6=y
CONFIG_BOARD_MIMX8MM_PHYBOARD_POLIS=y
CONFIG_CORTEX_M_SYSTICK=y
CONFIG_CLOCK_CONTROL=y
CONFIG_UART_CONSOLE=y