summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawel Dembicki2026-01-12 08:39:16 +0000
committerHauke Mehrtens2026-02-14 00:15:12 +0000
commit7f9363a715f771b0f3076b7bcaf887a9dcffa219 (patch)
treec1d0bdaae80caebaf9dd37bfcdc72e852da38bb4
parent2723b32ef37fd2a1fe0db1e88bd1be774f0fcc35 (diff)
downloadopenwrt-7f9363a715f771b0f3076b7bcaf887a9dcffa219.tar.gz
package: uboot-qoriq: fix T4240RDB u-boot selection
Mark T4240RDB u-boot variants as device-built and avoid installing them into rootfs. Without this buildbot crashes during package install with: ERROR: unable to select packages: u-boot-fsl_T4240RDB-nor (no such package): required by: world[u-boot-fsl_T4240RDB-nor] u-boot-fsl_T4240RDB-sdboot (no such package): required by: world[u-boot-fsl_T4240RDB-sdboot] Fixes: c5d3d5fe28f7 ("package: u-boot: initial support for qoriq arch") Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com> Link: https://github.com/openwrt/openwrt/pull/21514 Signed-off-by: Robert Marko <robimarko@gmail.com> (cherry picked from commit 20727f89d524ffc2970165a5f91558b3785ea249) Link: https://github.com/openwrt/openwrt/pull/21477 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--package/boot/uboot-qoriq/Makefile2
-rw-r--r--target/linux/qoriq/image/generic.mk2
2 files changed, 3 insertions, 1 deletions
diff --git a/package/boot/uboot-qoriq/Makefile b/package/boot/uboot-qoriq/Makefile
index f2a2f95f21..f909749821 100644
--- a/package/boot/uboot-qoriq/Makefile
+++ b/package/boot/uboot-qoriq/Makefile
@@ -36,12 +36,14 @@ endef
define U-Boot/fsl_T4240RDB-nor
NAME:=NXP T4240RDB NOR Boot
+ BUILD_DEVICES:=fsl_T4240RDB
UBOOT_CONFIG:=T4240RDB
UBOOT_IMAGE:=u-boot-dtb.bin
endef
define U-Boot/fsl_T4240RDB-sdboot
NAME:=NXP T4240RDB SD Card Boot
+ BUILD_DEVICES:=fsl_T4240RDB
UBOOT_CONFIG:=T4240RDB_SDCARD
UBOOT_IMAGE:=u-boot-with-spl-pbl.bin
endef
diff --git a/target/linux/qoriq/image/generic.mk b/target/linux/qoriq/image/generic.mk
index 3e0cd4adc8..d084faf70c 100644
--- a/target/linux/qoriq/image/generic.mk
+++ b/target/linux/qoriq/image/generic.mk
@@ -4,7 +4,7 @@ define Device/fsl_T4240RDB
DEVICE_DTS_DIR := $(DTS_DIR)/fsl
DEVICE_PACKAGES := \
kmod-eeprom-at24 kmod-gpio-button-hotplug kmod-hwmon-w83793 kmod-leds-gpio \
- kmod-ptp-qoriq kmod-rtc-ds1374 u-boot-fsl_T4240RDB-nor u-boot-fsl_T4240RDB-sdboot
+ kmod-ptp-qoriq kmod-rtc-ds1374
FILESYSTEMS := squashfs
KERNEL := kernel-bin | gzip | fit gzip $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
IMAGES := factory-nor.bin.gz sdcard.img.gz rcw.bin sysupgrade.bin