Skip to content

Commit b482548

Browse files
committed
Added portenta-x8 console patch in imx-atf
1 parent 7557f52 commit b482548

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/plat/imx/imx8m/imx8mm/imx8mm_bl31_setup.c b/plat/imx/imx8m/imx8mm/imx8mm_bl31_setup.c
2+
index 8702d5160..e68102ee1 100644
3+
--- a/plat/imx/imx8m/imx8mm/imx8mm_bl31_setup.c
4+
+++ b/plat/imx/imx8m/imx8mm/imx8mm_bl31_setup.c
5+
@@ -108,7 +108,7 @@ static const struct imx_rdc_cfg rdc[] = {
6+
RDC_MDAn(RDC_MDA_M4, DID1),
7+
8+
/* peripherals domain permission */
9+
- RDC_PDAPn(RDC_PDAP_UART4, D1R | D1W),
10+
+ RDC_PDAPn(RDC_PDAP_UART4, D0R | D0W),
11+
RDC_PDAPn(RDC_PDAP_UART2, D0R | D0W),
12+
RDC_PDAPn(RDC_PDAP_UART1, D0R | D0W),
13+

meta-arduino-bsp/recipes-bsp/imx-atf/imx-atf_%.bbappend

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,18 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
22

33
# FIXME: We should return INVALID here but currently only i.MX8M has support to override the UART
44
# base address in source code.
5+
ATF_BOOT_UART_BASE:portenta-x8 ?= "0x30880000"
56
ATF_BOOT_UART_BASE:portenta-x9 ?= "0x42570000"
7+
ATF_BOOT_UART_BASE:imx8mp-astrial ?= "0x30860000"
8+
9+
SRC_URI:append:portenta-x8 = " \
10+
file://console-uart3.patch \
11+
"
612

713
SRC_URI:append:portenta-x9 = " \
814
file://console-lpuart3.patch \
915
"
1016

11-
# FIXME: We should return INVALID here but currently only i.MX8M has support to override the UART
12-
# base address in source code.
13-
ATF_BOOT_UART_BASE:imx8mp-astrial ?= "0x30860000"
14-
1517
SRC_URI:append:astrial-imx8mp = " \
1618
file://console-uart1.patch \
1719
"

0 commit comments

Comments
 (0)