boards: mimx8mq_evk: port to HWMv2
Port mimx8mq_evk to HWMv2. As this is the final SOC in the legacy boards folder, that folder is also removed Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
.. _boards-arm-legacy:
|
||||
|
||||
ARM Boards
|
||||
##########
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:glob:
|
||||
|
||||
**/*
|
||||
@@ -1,10 +0,0 @@
|
||||
.. _boards-legacy:
|
||||
|
||||
Legacy boards
|
||||
#############
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:glob:
|
||||
|
||||
**/*
|
||||
@@ -1,12 +1,10 @@
|
||||
# MIMX8MQ EVK board defconfig
|
||||
|
||||
# Copyright (c) 2021, Kwon Tae-young <tykwon@m2i.co.kr>
|
||||
# Copyright 2024 NXP
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if BOARD_MIMX8MQ_EVK_CM4
|
||||
|
||||
config BOARD
|
||||
default "mimx8mq_evk_cm4"
|
||||
if BOARD_IMX8MQ_EVK
|
||||
|
||||
if !XIP
|
||||
config FLASH_SIZE
|
||||
@@ -15,4 +13,4 @@ config FLASH_BASE_ADDRESS
|
||||
default 0
|
||||
endif
|
||||
|
||||
endif # BOARD_MIMX8MQ_EVK_CM4
|
||||
endif # BOARD_IMX8MQ_EVK
|
||||
@@ -1,9 +1,9 @@
|
||||
# MIMX8MQ EVK board
|
||||
|
||||
# Copyright (c) 2021, Kwon Tae-young <tykwon@m2i.co.kr>
|
||||
# Copyright 2024 NXP
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_MIMX8MQ_EVK_CM4
|
||||
bool "NXP i.MX8MQ EVK"
|
||||
depends on SOC_SERIES_IMX8MQ_M4
|
||||
config BOARD_IMX8MQ_EVK
|
||||
select SOC_PART_NUMBER_MIMX8MQ6DVAJZ
|
||||
select SOC_MIMX8MQ6_M4 if BOARD_IMX8MQ_EVK_MIMX8MQ6_M4
|
||||
5
boards/nxp/imx8mq_evk/board.yml
Normal file
5
boards/nxp/imx8mq_evk/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: imx8mq_evk
|
||||
vendor: nxp
|
||||
socs:
|
||||
- name: mimx8mq6
|
||||
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
@@ -66,7 +66,7 @@ features:
|
||||
+-----------+------------+-------------------------------------+
|
||||
|
||||
The default configuration can be found in the defconfig file:
|
||||
:zephyr_file:`boards/arm/mimx8mq_evk/mimx8mq_evk_cm4_defconfig`.
|
||||
:zephyr_file:`boards/nxp/imx8mq_evk/imx8mq_evk_mimx8mq6_m4_defconfig`.
|
||||
|
||||
Other hardware features are not currently supported by the port.
|
||||
|
||||
@@ -122,7 +122,7 @@ For more information about memory mapping see the
|
||||
`i.MX 8M Applications Processor Reference Manual`_ (section 2.1.2 and 2.1.3)
|
||||
|
||||
At compilation time you have to choose which RAM will be used. This
|
||||
configuration is done in the file ``boards/arm/mimx8mq_evk/mimx8mq_evk_cm4.dts``
|
||||
configuration is done in the file :zephyr_file:`boards/nxp/imx8mq_evk/imx8mq_evk_mimx8mq6_m4.dts`
|
||||
with "zephyr,flash" (when CONFIG_XIP=y) and "zephyr,sram" properties.
|
||||
The available configurations are:
|
||||
|
||||
@@ -194,7 +194,7 @@ Here is an example for the :ref:`hello_world` application.
|
||||
|
||||
.. zephyr-app-commands::
|
||||
:zephyr-app: samples/hello_world
|
||||
:board: mimx8mq_evk_cm4
|
||||
:board: imx8mq_evk/mimx8mq6/m4
|
||||
:goals: debug
|
||||
|
||||
Open a serial terminal, step through the application in your debugger, and you
|
||||
@@ -203,7 +203,7 @@ should see the following message in the terminal:
|
||||
.. code-block:: console
|
||||
|
||||
***** Booting Zephyr OS build zephyr-v2.6.99-30942-g6ee70bd22058 *****
|
||||
Hello World! mimx8mq_evk_cm4
|
||||
Hello World! imx8mq_evk
|
||||
|
||||
References
|
||||
==========
|
||||
@@ -7,7 +7,7 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include <nxp/nxp_imx8mq_m4.dtsi>
|
||||
#include "mimx8mq_evk-pinctrl.dtsi"
|
||||
#include "imx8mq_evk-pinctrl.dtsi"
|
||||
|
||||
/ {
|
||||
model = "NXP i.MX8MQ EVK board";
|
||||
@@ -4,7 +4,7 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
identifier: mimx8mq_evk_cm4
|
||||
identifier: imx8mq_evk/mimx8mq6/m4
|
||||
name: NXP i.MX8MQ EVK CM4
|
||||
type: mcu
|
||||
arch: arm
|
||||
@@ -1,12 +1,10 @@
|
||||
#
|
||||
# Copyright (c) 2021, Kwon Tae-young <tykwon@m2i.co.kr>
|
||||
# Copyright 2024
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
CONFIG_SOC_SERIES_IMX8MQ_M4=y
|
||||
CONFIG_SOC_MIMX8MQ6=y
|
||||
CONFIG_BOARD_MIMX8MQ_EVK_CM4=y
|
||||
CONFIG_CLOCK_CONTROL=y
|
||||
CONFIG_UART_CONSOLE=y
|
||||
CONFIG_SERIAL=y
|
||||
Reference in New Issue
Block a user