DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH 1/3] v7a: barebox-mx6: build images for i.MX6ULL EVK
@ 2025-05-23  9:06 Philipp Zabel
  2025-05-23  9:06 ` [DistroKit] [PATCH 2/3] v7a: kernel: enable i.MX6ULL support Philipp Zabel
  2025-05-23  9:06 ` [DistroKit] [PATCH 3/3] v7a: platformconfig: enable i.MX6ULL EVK device tree Philipp Zabel
  0 siblings, 2 replies; 3+ messages in thread
From: Philipp Zabel @ 2025-05-23  9:06 UTC (permalink / raw)
  To: distrokit; +Cc: Philipp Zabel

Enable QSPI driver, even though the device does not boot from SPI NOR
flash without modifications.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 configs/platform-v7a/barebox-mx6.config      | 5 +++--
 configs/platform-v7a/barebox-mx6.config.diff | 5 +++--
 configs/platform-v7a/rules/barebox-mx6.make  | 1 +
 3 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/configs/platform-v7a/barebox-mx6.config b/configs/platform-v7a/barebox-mx6.config
index 4d35168fdac8..e891a1aa7e87 100644
--- a/configs/platform-v7a/barebox-mx6.config
+++ b/configs/platform-v7a/barebox-mx6.config
@@ -53,6 +53,7 @@ CONFIG_RESET_IMX_SRC=y
 #
 CONFIG_ARCH_IMX6=y
 CONFIG_ARCH_IMX6SX=y
+CONFIG_ARCH_IMX6UL=y
 
 #
 # i.MX1 boards
@@ -118,7 +119,7 @@ CONFIG_MACH_UDOO_NEO=y
 # CONFIG_MACH_TX6X is not set
 # CONFIG_MACH_KONTRON_SAMX6I is not set
 # CONFIG_MACH_NOVENA is not set
-# CONFIG_MACH_NXP_IMX6ULL_EVK is not set
+CONFIG_MACH_NXP_IMX6ULL_EVK=y
 # CONFIG_MACH_PHYTEC_SOM_IMX6 is not set
 # CONFIG_MACH_PROTONIC_IMX6 is not set
 # CONFIG_MACH_SKOV_IMX6 is not set
@@ -701,7 +702,7 @@ CONFIG_NET_USB_SMSC95XX=y
 #
 CONFIG_SPI=y
 CONFIG_SPI_MEM=y
-# CONFIG_DRIVER_SPI_FSL_QUADSPI is not set
+CONFIG_DRIVER_SPI_FSL_QUADSPI=y
 CONFIG_DRIVER_SPI_GPIO=y
 CONFIG_DRIVER_SPI_IMX=y
 CONFIG_DRIVER_SPI_IMX_2_3=y
diff --git a/configs/platform-v7a/barebox-mx6.config.diff b/configs/platform-v7a/barebox-mx6.config.diff
index 9b2cf6d485b1..90bfee81013c 100644
--- a/configs/platform-v7a/barebox-mx6.config.diff
+++ b/configs/platform-v7a/barebox-mx6.config.diff
@@ -5,6 +5,7 @@ CONFIG_ARCH_HAS_IMX_GPT=y
 CONFIG_ARCH_HAS_L2X0=y
 CONFIG_ARCH_IMX6=y
 CONFIG_ARCH_IMX6SX=y
+CONFIG_ARCH_IMX6UL=y
 CONFIG_ARCH_IMX=y
 CONFIG_ARCH_IMX_IMXIMAGE=y
 # CONFIG_ARCH_IMX_USBLOADER is not set
@@ -48,7 +49,7 @@ CONFIG_DISK_PATA_IMX=y
 CONFIG_DRIVER_NET_FEC_IMX=y
 CONFIG_DRIVER_SERIAL_IMX=y
 # CONFIG_DRIVER_SERIAL_LPUART32 is not set
-# CONFIG_DRIVER_SPI_FSL_QUADSPI is not set
+CONFIG_DRIVER_SPI_FSL_QUADSPI=y
 CONFIG_DRIVER_SPI_IMX=y
 CONFIG_DRIVER_SPI_IMX_2_3=y
 # CONFIG_DRIVER_VIDEO_BACKLIGHT is not set
@@ -131,7 +132,7 @@ CONFIG_MACH_EMBEST_RIOTBOARD=y
 # CONFIG_MACH_MEERKAT96 is not set
 CONFIG_MACH_NITROGEN6=y
 # CONFIG_MACH_NOVENA is not set
-# CONFIG_MACH_NXP_IMX6ULL_EVK is not set
+CONFIG_MACH_NXP_IMX6ULL_EVK=y
 # CONFIG_MACH_PCA100 is not set
 # CONFIG_MACH_PCM038 is not set
 # CONFIG_MACH_PHYTEC_PHYCORE_IMX7 is not set
diff --git a/configs/platform-v7a/rules/barebox-mx6.make b/configs/platform-v7a/rules/barebox-mx6.make
index a168117f8f3b..637c8dcab018 100644
--- a/configs/platform-v7a/rules/barebox-mx6.make
+++ b/configs/platform-v7a/rules/barebox-mx6.make
@@ -52,6 +52,7 @@ BAREBOX_MX6_IMAGES := images/barebox-embest-imx6s-riotboard.img \
 	images/barebox-boundarydevices-imx6q-nitrogen6x-1g.img \
 	images/barebox-boundarydevices-imx6q-nitrogen6x-2g.img \
 	images/barebox-boundarydevices-imx6qp-nitrogen6_max.img \
+	images/barebox-nxp-imx6ull-evk.img \
 	images/barebox-udoo-neo.img
 
 BAREBOX_MX6_IMAGES := $(addprefix $(BAREBOX_MX6_BUILD_DIR)/,$(BAREBOX_MX6_IMAGES))
-- 
2.39.5




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [DistroKit] [PATCH 2/3] v7a: kernel: enable i.MX6ULL support
  2025-05-23  9:06 [DistroKit] [PATCH 1/3] v7a: barebox-mx6: build images for i.MX6ULL EVK Philipp Zabel
@ 2025-05-23  9:06 ` Philipp Zabel
  2025-05-23  9:06 ` [DistroKit] [PATCH 3/3] v7a: platformconfig: enable i.MX6ULL EVK device tree Philipp Zabel
  1 sibling, 0 replies; 3+ messages in thread
From: Philipp Zabel @ 2025-05-23  9:06 UTC (permalink / raw)
  To: distrokit; +Cc: Philipp Zabel

Enable kernel options required to boot on i.MX6ULL EVK.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 configs/platform-v7a/kernelconfig | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/configs/platform-v7a/kernelconfig b/configs/platform-v7a/kernelconfig
index 8e5888dfdeb1..1b9fcc2046a5 100644
--- a/configs/platform-v7a/kernelconfig
+++ b/configs/platform-v7a/kernelconfig
@@ -389,7 +389,7 @@ CONFIG_SOC_IMX6Q=y
 # CONFIG_SOC_IMX6SL is not set
 # CONFIG_SOC_IMX6SLL is not set
 CONFIG_SOC_IMX6SX=y
-# CONFIG_SOC_IMX6UL is not set
+CONFIG_SOC_IMX6UL=y
 # CONFIG_SOC_LS1021A is not set
 
 #
@@ -1996,6 +1996,7 @@ CONFIG_HW_RANDOM_BCM2835=y
 CONFIG_HW_RANDOM_IPROC_RNG200=y
 CONFIG_HW_RANDOM_OMAP=y
 CONFIG_HW_RANDOM_VIRTIO=y
+CONFIG_HW_RANDOM_IMX_RNGC=y
 CONFIG_HW_RANDOM_STM32=y
 CONFIG_HW_RANDOM_OPTEE=y
 # CONFIG_HW_RANDOM_CCTRNG is not set
@@ -2178,6 +2179,7 @@ CONFIG_PINCTRL_IMX=y
 # CONFIG_PINCTRL_IMX_SCMI is not set
 CONFIG_PINCTRL_IMX6Q=y
 CONFIG_PINCTRL_IMX6SX=y
+CONFIG_PINCTRL_IMX6UL=y
 # CONFIG_PINCTRL_IMX8ULP is not set
 # CONFIG_PINCTRL_IMX91 is not set
 # CONFIG_PINCTRL_IMX93 is not set
@@ -3342,6 +3344,7 @@ CONFIG_CLK_BCM2835=y
 CONFIG_MXC_CLK=y
 CONFIG_CLK_IMX6Q=y
 CONFIG_CLK_IMX6SX=y
+CONFIG_CLK_IMX6UL=y
 # CONFIG_CLK_IMX8MM is not set
 # CONFIG_CLK_IMX8MN is not set
 # CONFIG_CLK_IMX8MP is not set
-- 
2.39.5




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [DistroKit] [PATCH 3/3] v7a: platformconfig: enable i.MX6ULL EVK device tree
  2025-05-23  9:06 [DistroKit] [PATCH 1/3] v7a: barebox-mx6: build images for i.MX6ULL EVK Philipp Zabel
  2025-05-23  9:06 ` [DistroKit] [PATCH 2/3] v7a: kernel: enable i.MX6ULL support Philipp Zabel
@ 2025-05-23  9:06 ` Philipp Zabel
  1 sibling, 0 replies; 3+ messages in thread
From: Philipp Zabel @ 2025-05-23  9:06 UTC (permalink / raw)
  To: distrokit; +Cc: Philipp Zabel

Build and install imx6ull-14x14-evk.dtb.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 configs/platform-v7a/platformconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configs/platform-v7a/platformconfig b/configs/platform-v7a/platformconfig
index a65e92b3927a..e208d3f99e49 100644
--- a/configs/platform-v7a/platformconfig
+++ b/configs/platform-v7a/platformconfig
@@ -140,7 +140,7 @@ PTXCONF_KERNEL_IMAGE_Z=y
 PTXCONF_KERNEL_IMAGE="zImage"
 PTXCONF_KERNEL_DTB=y
 PTXCONF_KERNEL_DTS_PATH="${PTXDIST_PLATFORMCONFIG_SUBDIR}/dts:${KERNEL_DIR}/arch/${GENERIC_KERNEL_ARCH}/boot/dts"
-PTXCONF_KERNEL_DTS="ti/omap/am335x-bone.dts ti/omap/am335x-boneblack.dts arm/vexpress-v2p-ca9.dts broadcom/bcm2836-rpi-2-b.dts nxp/imx/imx6q-sabrelite.dts nxp/imx/imx6sx-udoo-neo-full.dts nxp/imx/imx6dl-riotboard.dts nxp/imx/imx6q-nitrogen6x.dts nxp/imx/imx6qp-nitrogen6_max.dts broadcom/bcm2837-rpi-3-b.dts broadcom/bcm2837-rpi-cm3-io3.dts broadcom/bcm2711-rpi-4-b.dts broadcom/bcm2711-rpi-400.dts st/stm32mp157c-dk2.dts st/stm32mp157c-ev1.dts st/stm32mp157c-lxa-mc1.dts stm32mp157c-lxa-mc1-scmi.dts st/stm32mp135f-dk.dts microchip/at91-sama5d27_som1_ek.dts at91-sama5d27_giantboard.dts at91-sama5d4_wifx_l1.dts"
+PTXCONF_KERNEL_DTS="ti/omap/am335x-bone.dts ti/omap/am335x-boneblack.dts arm/vexpress-v2p-ca9.dts broadcom/bcm2836-rpi-2-b.dts nxp/imx/imx6q-sabrelite.dts nxp/imx/imx6sx-udoo-neo-full.dts nxp/imx/imx6dl-riotboard.dts nxp/imx/imx6q-nitrogen6x.dts nxp/imx/imx6qp-nitrogen6_max.dts nxp/imx/imx6ull-14x14-evk.dts broadcom/bcm2837-rpi-3-b.dts broadcom/bcm2837-rpi-cm3-io3.dts broadcom/bcm2711-rpi-4-b.dts broadcom/bcm2711-rpi-400.dts st/stm32mp157c-dk2.dts st/stm32mp157c-ev1.dts st/stm32mp157c-lxa-mc1.dts stm32mp157c-lxa-mc1-scmi.dts st/stm32mp135f-dk.dts microchip/at91-sama5d27_som1_ek.dts at91-sama5d27_giantboard.dts at91-sama5d4_wifx_l1.dts"
 # PTXCONF_KERNEL_DTBO is not set
 # PTXCONF_KERNEL_CODE_SIGNING is not set
 # PTXCONF_KERNEL_ZSTD is not set
-- 
2.39.5




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-05-23  9:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-23  9:06 [DistroKit] [PATCH 1/3] v7a: barebox-mx6: build images for i.MX6ULL EVK Philipp Zabel
2025-05-23  9:06 ` [DistroKit] [PATCH 2/3] v7a: kernel: enable i.MX6ULL support Philipp Zabel
2025-05-23  9:06 ` [DistroKit] [PATCH 3/3] v7a: platformconfig: enable i.MX6ULL EVK device tree Philipp Zabel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox