boards: udoo_neo_full: convert to HWMv2
Convert udoo_neo_full board to HWMv2. Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
# Copyright (c) 2018, NXP
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_UDOO_NEO_FULL_M4
|
||||
bool "UDOO Neo Full"
|
||||
depends on SOC_SERIES_IMX_6X_M4
|
||||
select SOC_PART_NUMBER_MCIMX6X4EVM10AB
|
||||
@@ -1,11 +0,0 @@
|
||||
# UDOO Neo Full board
|
||||
|
||||
# Copyright (c) 2018, NXP
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if BOARD_UDOO_NEO_FULL_M4
|
||||
|
||||
config BOARD
|
||||
default "udoo_neo_full_m4"
|
||||
|
||||
endif # BOARD_UDOO_NEO_FULL_M4
|
||||
10
boards/udoo/index.rst
Normal file
10
boards/udoo/index.rst
Normal file
@@ -0,0 +1,10 @@
|
||||
.. _boards-udoo:
|
||||
|
||||
UDOO
|
||||
####
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:glob:
|
||||
|
||||
**/*
|
||||
6
boards/udoo/udoo_neo_full/Kconfig.udoo_neo_full
Normal file
6
boards/udoo/udoo_neo_full/Kconfig.udoo_neo_full
Normal file
@@ -0,0 +1,6 @@
|
||||
# Copyright 2018,2024 NXP
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_UDOO_NEO_FULL
|
||||
select SOC_PART_NUMBER_MCIMX6X4EVM10AB
|
||||
select SOC_MCIMX6X_M4 if BOARD_UDOO_NEO_FULL_MCIMX6X_M4
|
||||
5
boards/udoo/udoo_neo_full/board.yml
Normal file
5
boards/udoo/udoo_neo_full/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: udoo_neo_full
|
||||
vendor: udoo
|
||||
socs:
|
||||
- name: mcimx6x
|
||||
@@ -1,4 +1,4 @@
|
||||
.. _udoo_neo_full_m4:
|
||||
.. _udoo_neo_full:
|
||||
|
||||
UDOO Neo Full
|
||||
#############
|
||||
@@ -13,7 +13,7 @@ core running up to 227 MHz for high CPU performance and real-time response.
|
||||
Zephyr was ported to run on the Cortex-M4 core only. In a future release, it
|
||||
will also communicate with the Cortex-A9 core (running Linux) via OpenAMP.
|
||||
|
||||
.. figure:: udoo_neo_full_m4.jpg
|
||||
.. figure:: udoo_neo_full_mcimx6x_m4.jpg
|
||||
:align: center
|
||||
:alt: UDOO-Neo-Full
|
||||
|
||||
@@ -135,7 +135,7 @@ features:
|
||||
|
||||
The default configuration can be found in the defconfig file:
|
||||
|
||||
``boards/arm/udoo_neo_full_m4/udoo_neo_full_m4_defconfig``
|
||||
:zephyr_file:`boards/udoo/udoo_neo_full/udoo_neo_full_mcimx6x_m4_defconfig`
|
||||
|
||||
Other hardware features are not currently supported by the port.
|
||||
|
||||
@@ -200,7 +200,7 @@ References
|
||||
- `NXP i.MX 6SoloX Reference Manual`_ Chapter 2 - Memory Maps
|
||||
|
||||
You have to choose which RAM will be used at compilation time. This configuration
|
||||
is done in the file ``boards/arm/udoo_neo_full_m4/udoo_neo_full_m4.dts``.
|
||||
is done in the file :zephyr_file:`boards/udoo/udoo_neo_full/udoo_neo_full_mcimx6x_m4.dts`.
|
||||
|
||||
If you want to have the code placed in the subregion of a memory, which will
|
||||
likely be the case when using DDR, select "zephyr,flash=&flash" and set the
|
||||
|
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 81 KiB |
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, NXP
|
||||
* Copyright 2018,2024 NXP
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@@ -25,11 +25,11 @@
|
||||
#define DT_SRAM_ADDR 84080000 /* DT_ADDR will add leading 0x where needed */
|
||||
|
||||
#include <nxp/nxp_imx6sx_m4.dtsi>
|
||||
#include "udoo_neo_full_m4-pinctrl.dtsi"
|
||||
#include "udoo_neo_full-pinctrl.dtsi"
|
||||
|
||||
/ {
|
||||
model = "UDOO Neo Full board";
|
||||
compatible = "nxp,mcimx6x_m4";
|
||||
compatible = "nxp,mcmcimx6x_m4";
|
||||
|
||||
aliases {
|
||||
led0 = &red_led;
|
||||
@@ -4,7 +4,7 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
identifier: udoo_neo_full_m4
|
||||
identifier: udoo_neo_full/mcimx6x/m4
|
||||
name: UDOO Neo Full
|
||||
type: mcu
|
||||
arch: arm
|
||||
@@ -4,9 +4,6 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
CONFIG_SOC_MCIMX6X_M4=y
|
||||
CONFIG_SOC_SERIES_IMX_6X_M4=y
|
||||
CONFIG_BOARD_UDOO_NEO_FULL_M4=y
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_UART_CONSOLE=y
|
||||
CONFIG_SERIAL=y
|
||||
@@ -35,11 +35,11 @@ It can be built as follows:
|
||||
|
||||
.. zephyr-app-commands::
|
||||
:zephyr-app: samples/drivers/ipm/ipm_imx
|
||||
:board: udoo_neo_full_m4
|
||||
:board: udoo_neo_full/mcimx6x/m4
|
||||
:goals: build flash
|
||||
:compact:
|
||||
|
||||
Follow the instructions in the :ref:`udoo_neo_full_m4` board documentation
|
||||
Follow the instructions in the :ref:`udoo_neo_full` board documentation
|
||||
for how to load the Zephyr binary to the desired core and execute it.
|
||||
|
||||
Building and Running the Linux Code
|
||||
|
||||
@@ -5,13 +5,13 @@ sample:
|
||||
tests:
|
||||
sample.ipm.ipm_imx:
|
||||
build_only: true
|
||||
filter: CONFIG_SOC_FAMILY_IMX
|
||||
filter: CONFIG_SOC_FAMILY_NXP_IMX
|
||||
platform_allow:
|
||||
- udoo_neo_full_m4
|
||||
- udoo_neo_full/mcimx6x/m4
|
||||
- colibri_imx7d_m4
|
||||
- warp7_m4
|
||||
integration_platforms:
|
||||
- udoo_neo_full_m4
|
||||
- udoo_neo_full/mcimx6x/m4
|
||||
tags:
|
||||
- samples
|
||||
- ipm
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
/* Grotesque hack for pinmux boards */
|
||||
#if defined(CONFIG_BOARD_RV32M1_VEGA)
|
||||
#include <fsl_port.h>
|
||||
#elif defined(CONFIG_BOARD_UDOO_NEO_FULL_M4)
|
||||
#elif defined(CONFIG_BOARD_UDOO_NEO_FULL_MCIMX6X_M4)
|
||||
#include "device_imx.h"
|
||||
#elif defined(CONFIG_BOARD_MIMXRT1050_EVK)
|
||||
#include <fsl_iomuxc.h>
|
||||
@@ -32,7 +32,7 @@ static void board_setup(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_BOARD_UDOO_NEO_FULL_M4)
|
||||
#if defined(CONFIG_BOARD_UDOO_NEO_FULL_MCIMX6X_M4)
|
||||
/*
|
||||
* Configure pin mux.
|
||||
* The following code needs to configure the same GPIOs which were
|
||||
|
||||
Reference in New Issue
Block a user