summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2023-08-21 11:48:06 -0700
committerTom Hochstein <tom.hochstein@nxp.com>2023-08-21 12:36:54 -0700
commitc5f49d6ebbe2e3d2eac768a6411853fb39869d8f (patch)
tree123e795255719b66c3dfb40c667c388e0a09d394 /conf
parent0688f79193e697b1bd7444358a7b46c22b83ca2b (diff)
downloadmeta-freescale-c5f49d6ebbe2e3d2eac768a6411853fb39869d8f.tar.gz
imx8dxl*evk: Add rev B0 support
The A1 SECO firmware run on a B0 board can brick the board unless it can be switched to USB serial download to force an update. Because of this, drop the ambiguous machine config file and make the rev explicit in the machine config name. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/imx8dxl-a1-ddr3l-evk.conf9
-rw-r--r--conf/machine/imx8dxl-a1-lpddr4-evk.conf9
-rw-r--r--conf/machine/imx8dxl-b0-ddr3l-evk.conf11
-rw-r--r--conf/machine/imx8dxl-b0-lpddr4-evk.conf11
-rw-r--r--conf/machine/include/imx-base.inc3
-rw-r--r--conf/machine/include/imx8dxl-ddr3l-evk.inc (renamed from conf/machine/imx8dxl-ddr3l-evk.conf)9
-rw-r--r--conf/machine/include/imx8dxl-lpddr4-evk.inc (renamed from conf/machine/imx8dxl-lpddr4-evk.conf)9
7 files changed, 48 insertions, 13 deletions
diff --git a/conf/machine/imx8dxl-a1-ddr3l-evk.conf b/conf/machine/imx8dxl-a1-ddr3l-evk.conf
new file mode 100644
index 00000000..e2be4277
--- /dev/null
+++ b/conf/machine/imx8dxl-a1-ddr3l-evk.conf
@@ -0,0 +1,9 @@
1#@TYPE: Machine
2#@NAME: i.MX 8DXL A1 EVK with DDR3L
3#@SOC: i.MX8DXL A1
4#@DESCRIPTION: Machine configuration for NXP i.MX 8DualXLite A1 Evaluation Kit with DDR3L
5#@MAINTAINER: Lauren Post <lauren.post@nxp.com>
6
7require conf/machine/include/imx8dxl-ddr3l-evk.inc
8
9IMX_SOC_REV = "A1"
diff --git a/conf/machine/imx8dxl-a1-lpddr4-evk.conf b/conf/machine/imx8dxl-a1-lpddr4-evk.conf
new file mode 100644
index 00000000..24942cf4
--- /dev/null
+++ b/conf/machine/imx8dxl-a1-lpddr4-evk.conf
@@ -0,0 +1,9 @@
1#@TYPE: Machine
2#@NAME: i.MX 8DXL A1 EVK with LPDDR4
3#@SOC: i.MX8DXL A1
4#@DESCRIPTION: Machine configuration for NXP i.MX 8DualXLite A1 Evaluation Kit with LPDDR4
5#@MAINTAINER: Lauren Post <lauren.post@nxp.com>
6
7require conf/machine/include/imx8dxl-lpddr4-evk.inc
8
9IMX_SOC_REV = "A1"
diff --git a/conf/machine/imx8dxl-b0-ddr3l-evk.conf b/conf/machine/imx8dxl-b0-ddr3l-evk.conf
new file mode 100644
index 00000000..0ffc176d
--- /dev/null
+++ b/conf/machine/imx8dxl-b0-ddr3l-evk.conf
@@ -0,0 +1,11 @@
1#@TYPE: Machine
2#@NAME: i.MX 8DXL B0 EVK with DDR3L
3#@SOC: i.MX8DXL B0
4#@DESCRIPTION: Machine configuration for NXP i.MX 8DualXLite B0 Evaluation Kit with DDR3L
5#@MAINTAINER: Lauren Post <lauren.post@nxp.com>
6
7require conf/machine/include/imx8dxl-ddr3l-evk.inc
8
9IMX_SOC_REV = "B0"
10
11MACHINE_FEATURES:append:use-nxp-bsp = " optee"
diff --git a/conf/machine/imx8dxl-b0-lpddr4-evk.conf b/conf/machine/imx8dxl-b0-lpddr4-evk.conf
new file mode 100644
index 00000000..2d4d1e0d
--- /dev/null
+++ b/conf/machine/imx8dxl-b0-lpddr4-evk.conf
@@ -0,0 +1,11 @@
1#@TYPE: Machine
2#@NAME: i.MX 8DXL B0 EVK with LPDDR4
3#@SOC: i.MX8DXL B0
4#@DESCRIPTION: Machine configuration for NXP i.MX 8DualXLite B0 Evaluation Kit with LPDDR4
5#@MAINTAINER: Lauren Post <lauren.post@nxp.com>
6
7require conf/machine/include/imx8dxl-lpddr4-evk.inc
8
9IMX_SOC_REV = "B0"
10
11MACHINE_FEATURES:append:use-nxp-bsp = " optee"
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index 49c90c1e..2c4b8dbd 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -175,7 +175,8 @@ IMX_SOC_REV:mx8qxp-generic-bsp ??= \
175 "${@bb.utils.contains('MACHINE_FEATURES', 'soc-revb0', 'B0', \ 175 "${@bb.utils.contains('MACHINE_FEATURES', 'soc-revb0', 'B0', \
176 'C0', d)}" 176 'C0', d)}"
177IMX_SOC_REV:mx8dx-generic-bsp ??= "C0" 177IMX_SOC_REV:mx8dx-generic-bsp ??= "C0"
178IMX_SOC_REV:mx8dxl-generic-bsp ??= "A1" 178# WARNING: Don't set a default for 8DXL since an image built with A1 can brick a B0 board
179#IMX_SOC_REV:mx8dxl-generic-bsp ??= ""
179IMX_SOC_REV:mx8ulp-generic-bsp ??= \ 180IMX_SOC_REV:mx8ulp-generic-bsp ??= \
180 "${@bb.utils.contains('MACHINE_FEATURES', 'soc-reva0', 'A0', \ 181 "${@bb.utils.contains('MACHINE_FEATURES', 'soc-reva0', 'A0', \
181 'A1', d)}" 182 'A1', d)}"
diff --git a/conf/machine/imx8dxl-ddr3l-evk.conf b/conf/machine/include/imx8dxl-ddr3l-evk.inc
index 7d46e2b4..9c21aa35 100644
--- a/conf/machine/imx8dxl-ddr3l-evk.conf
+++ b/conf/machine/include/imx8dxl-ddr3l-evk.inc
@@ -1,12 +1,9 @@
1#@TYPE: Machine
2#@NAME: i.MX 8DXL EVK with DDR3
3#@SOC: i.MX8DXL
4#@DESCRIPTION: NXP i.MX 8DXLite Evaluation Kit with DDR3
5#@MAINTAINER: Lauren Post <lauren.post@nxp.com>
6
7require conf/machine/include/imx8dxl-evk.inc 1require conf/machine/include/imx8dxl-evk.inc
2
8KERNEL_DEVICETREE_BASENAME = "imx8dxl-ddr3l-evk" 3KERNEL_DEVICETREE_BASENAME = "imx8dxl-ddr3l-evk"
4
9UBOOT_CONFIG_BASENAME = "imx8dxl_ddr3l_evk" 5UBOOT_CONFIG_BASENAME = "imx8dxl_ddr3l_evk"
6
10UBOOT_CONFIG[nand] = "${UBOOT_CONFIG_BASENAME}_nand_defconfig" 7UBOOT_CONFIG[nand] = "${UBOOT_CONFIG_BASENAME}_nand_defconfig"
11 8
12BOARD_TYPE = "ddr3-evk" 9BOARD_TYPE = "ddr3-evk"
diff --git a/conf/machine/imx8dxl-lpddr4-evk.conf b/conf/machine/include/imx8dxl-lpddr4-evk.inc
index 915c3fa9..b3b906ec 100644
--- a/conf/machine/imx8dxl-lpddr4-evk.conf
+++ b/conf/machine/include/imx8dxl-lpddr4-evk.inc
@@ -1,11 +1,7 @@
1#@TYPE: Machine
2#@NAME: i.MX 8DXL EVK with LPDDR4
3#@SOC: i.MX8DXL
4#@DESCRIPTION: i.MX 8DXLite Evaluation Kit with LPDDR4
5#@MAINTAINER: Lauren Post <lauren.post@nxp.com>
6
7require conf/machine/include/imx8dxl-evk.inc 1require conf/machine/include/imx8dxl-evk.inc
2
8KERNEL_DEVICETREE_BASENAME = "imx8dxl-evk" 3KERNEL_DEVICETREE_BASENAME = "imx8dxl-evk"
4
9KERNEL_DEVICETREE:append:use-nxp-bsp = " \ 5KERNEL_DEVICETREE:append:use-nxp-bsp = " \
10 freescale/${KERNEL_DEVICETREE_BASENAME}-enet0.dtb \ 6 freescale/${KERNEL_DEVICETREE_BASENAME}-enet0.dtb \
11 freescale/${KERNEL_DEVICETREE_BASENAME}-enet0-tja1100.dtb \ 7 freescale/${KERNEL_DEVICETREE_BASENAME}-enet0-tja1100.dtb \
@@ -13,6 +9,7 @@ KERNEL_DEVICETREE:append:use-nxp-bsp = " \
13 freescale/${KERNEL_DEVICETREE_BASENAME}-lpspi-slave.dtb \ 9 freescale/${KERNEL_DEVICETREE_BASENAME}-lpspi-slave.dtb \
14 freescale/${KERNEL_DEVICETREE_BASENAME}-pcie-ep.dtb \ 10 freescale/${KERNEL_DEVICETREE_BASENAME}-pcie-ep.dtb \
15" 11"
12
16UBOOT_CONFIG_BASENAME = "imx8dxl_evk" 13UBOOT_CONFIG_BASENAME = "imx8dxl_evk"
17 14
18UBOOT_CONFIG[lcd] = "${UBOOT_CONFIG_BASENAME}_lcd_defconfig" 15UBOOT_CONFIG[lcd] = "${UBOOT_CONFIG_BASENAME}_lcd_defconfig"