Skip to contentSkip to conversation

Bug-fixes for a few boards (reduced series)

PATCH Superseded Simon Glass 4 participants 17 messages Jun 27, 2024 – Aug 20, 2025 Library code

v6 of 7 Superseded Latest is v7 →

lore
Share & tools
lore
#0 lore raw

v6 cover Bug-fixes for a few boards (reduced series)

This series includes fixes to get some rockchip and nvidia boards working again. It also drops the broken Beaglebone Black config and provides a devicetree fix for coral (x86).

Note that since this series fixes bugs, it is targeted at -master

Note that this series does not include:

fdt: Correct condition for bloblist existing

which is needed to fix booting on several boards.

(no changes since v4)

Changes in v4:
- Add new patch to set a board-size limit for chromebook_link
- Fix 'stating' typo
- Move Binman size feature to a separate series

Changes in v2:
- Put the conditions under EFI_TCG2_PROTOCOL
- Consider MEASURED_BOOT too
- Remove the superfluous if() and drop the debug() as well
- Drop patch "regulator: rk8xx: Fix incorrect parameter"
- Rewrite boneblack patch to onstead drop the target and update docs

Simon Glass (8):
nvidia: nyan-big: Disable debug UART
tpm: Avoid code bloat when not using EFI_TCG2_PROTOCOL
x86: Set a board-size limit for chromebook_link
rockchip: veyron: Add logging for power init
power: regulator: Handle autoset in regulators_enable_boot_on()
spl: Allow ATF to work when dcache is disabled
rockchip: bob: kevin: Disable dcache in SPL
Drop the special am335x_boneblack_vboot target

 board/google/veyron/veyron.c               | 30 +++----
 board/ti/am335x/MAINTAINERS                |  1 -
 boot/Kconfig                               |  4 +
 common/spl/spl_atf.c                       |  3 +-
 configs/am335x_boneblack_vboot_defconfig   | 94 ----------------------
 configs/am335x_evm_defconfig               |  3 +-
 configs/chromebook_bob_defconfig           |  1 +
 configs/chromebook_kevin_defconfig         |  1 +
 configs/chromebook_link_defconfig          |  2 +
 configs/nyan-big_defconfig                 |  1 -
 doc/usage/fit/beaglebone_vboot.rst         | 21 +++--
 drivers/power/regulator/regulator-uclass.c |  2 +-
 lib/Kconfig                                |  4 -
 13 files changed, 35 insertions(+), 132 deletions(-)
 delete mode 100644 configs/am335x_boneblack_vboot_defconfig
Signature · 1 line
2.34.1
#1 lore raw

PATCH v6 1/8 nvidia: nyan-big: Disable debug UART

This cannot be enabled early in boot since some other init is needed. At this point it is unclear exactly what init is needed, so disable the debug UART to avoid a hang.

---

(no changes since v1)

 configs/nyan-big_defconfig | 1 -
 1 file changed, 1 deletion(-)
configs/nyan-big_defconfig +0 -1
index 1483d17d975..4dec710cf8d 100644
@@ -17,7 +17,6 @@ CONFIG_TEGRA124=y
 CONFIG_TARGET_NYAN_BIG=y
 CONFIG_TEGRA_GPU=y
 CONFIG_SYS_LOAD_ADDR=0x82408000
-CONFIG_DEBUG_UART=y
 CONFIG_FIT=y
 CONFIG_FIT_BEST_MATCH=y
 CONFIG_BOOTSTAGE=y
Signature · 1 line
2.34.1
#2 lore raw

PATCH v6 2/8 tpm: Avoid code bloat when not using EFI_TCG2_PROTOCOL

In reply to Simon Glass

It does not make sense to enable all SHA algorithms unless they are needed. It bloats the code and in this case, causes chromebook_link to fail to build. That board does use the TPM, but not with measured boot, nor EFI.

Since EFI_TCG2_PROTOCOL already selects these options, we just need to add them to MEASURED_BOOT as well.

Note that the original commit combines refactoring and new features, which makes it hard to see what is going on.

Fixes 97707f12fda tpm: Support boot measurements

---

(no changes since v2)

Changes in v2:
- Put the conditions under EFI_TCG2_PROTOCOL
- Consider MEASURED_BOOT too

 boot/Kconfig | 4 ++++
 lib/Kconfig  | 4 ----
 2 files changed, 4 insertions(+), 4 deletions(-)
boot/Kconfig +4 -0
index 36bdc83b957..4c9d2c0f79a 100644
@@ -734,6 +734,10 @@ config LEGACY_IMAGE_FORMAT
 config MEASURED_BOOT
 	bool "Measure boot images and configuration when booting without EFI"
 	depends on HASH && TPM_V2
+	select SHA1
+	select SHA256
+	select SHA384
+	select SHA512
 	help
 	  This option enables measurement of the boot process when booting
 	  without UEFI . Measurement involves creating cryptographic hashes
lib/Kconfig +0 -4
index 189e6eb31aa..568892fce44 100644
@@ -438,10 +438,6 @@ config TPM
 	bool "Trusted Platform Module (TPM) Support"
 	depends on DM
 	imply DM_RNG
-	select SHA1
-	select SHA256
-	select SHA384
-	select SHA512
 	help
 	  This enables support for TPMs which can be used to provide security
 	  features for your board. The TPM can be connected via LPC or I2C
Signature · 1 line
2.34.1
#3 lore raw

PATCH v6 3/8 x86: Set a board-size limit for chromebook_link

In reply to Simon Glass

Set a size limit for this board so that we get a build error if it grows too much.

Note that the limit is approximately, since it does not include the FDT, microcode and fdtmap, which can change in size. However this board is fairly stable, so overflowing this limit will likely result in the image not fitting in the ROM space available for U-Boot.

---

(no changes since v4)

Changes in v4:
- Add new patch to set a board-size limit for chromebook_link

 configs/chromebook_link_defconfig | 2 ++
 1 file changed, 2 insertions(+)
configs/chromebook_link_defconfig +2 -0
index a9f91dd9b26..1a72fd178a8 100644
@@ -15,6 +15,8 @@ CONFIG_DEBUG_UART=y
 CONFIG_HAVE_MRC=y
 CONFIG_SMP=y
 CONFIG_HAVE_VGA_BIOS=y
+CONFIG_HAS_BOARD_SIZE_LIMIT=y
+CONFIG_BOARD_SIZE_LIMIT=630000
 CONFIG_FIT=y
 CONFIG_BOOTSTAGE=y
 CONFIG_BOOTSTAGE_REPORT=y
Signature · 1 line
2.34.1
#4 lore raw

PATCH v6 4/8 rockchip: veyron: Add logging for power init

In reply to Simon Glass

Add better logging for power init so that CONFIG_LOG_ERROR_RETURN can be enabled.

---

(no changes since v2)

Changes in v2:
- Remove the superfluous if() and drop the debug() as well

 board/google/veyron/veyron.c | 30 ++++++++++++------------------
 1 file changed, 12 insertions(+), 18 deletions(-)
board/google/veyron/veyron.c +12 -18
index 32dbcdc4d10..6d4c9debdee 100644
@@ -29,44 +29,38 @@ static int veyron_init(void)
 	int ret;
 
 	ret = regulator_get_by_platname("vdd_arm", &dev);
-	if (ret) {
-		debug("Cannot set regulator name\n");
-		return ret;
-	}
+	if (ret)
+		return log_msg_ret("vdd", ret);
 
 	/* Slowly raise to max CPU voltage to prevent overshoot */
 	ret = regulator_set_value(dev, 1200000);
 	if (ret)
-		return ret;
+		return log_msg_ret("s12", ret);
 	udelay(175); /* Must wait for voltage to stabilize, 2mV/us */
 	ret = regulator_set_value(dev, 1400000);
 	if (ret)
-		return ret;
+		return log_msg_ret("s14", ret);
 	udelay(100); /* Must wait for voltage to stabilize, 2mV/us */
 
 	ret = rockchip_get_clk(&clk.dev);
 	if (ret)
-		return ret;
+		return log_msg_ret("clk", ret);
 	clk.id = PLL_APLL;
 	ret = clk_set_rate(&clk, 1800000000);
 	if (IS_ERR_VALUE(ret))
-		return ret;
+		return log_msg_ret("s18", ret);
 
 	ret = regulator_get_by_platname("vcc33_sd", &dev);
-	if (ret) {
-		debug("Cannot get regulator name\n");
-		return ret;
-	}
+	if (ret)
+		return log_msg_ret("vcc", ret);
 
 	ret = regulator_set_value(dev, 3300000);
 	if (ret)
-		return ret;
+		return log_msg_ret("s33", ret);
 
 	ret = regulators_enable_boot_on(false);
-	if (ret) {
-		debug("%s: Cannot enable boot on regulators\n", __func__);
-		return ret;
-	}
+	if (ret)
+		return log_msg_ret("boo", ret);
 
 	return 0;
 }
@@ -81,7 +75,7 @@ int board_early_init_r(void)
 	if (!fdt_node_check_compatible(gd->fdt_blob, 0, "google,veyron")) {
 		ret = veyron_init();
 		if (ret)
-			return ret;
+			return log_msg_ret("vey", ret);
 	}
 #endif
 	/*
Signature · 1 line
2.34.1
#5 lore raw

PATCH v6 5/8 power: regulator: Handle autoset in regulators_enable_boot_on()

In reply to Simon Glass

With a recent change, regulators_enable_boot_on() returns an error if a regulator is already set. Check for and handle this situation.

Fixes d99fb64a98a power: regulator: Only run autoset once for each regulator

---

(no changes since v1)

 drivers/power/regulator/regulator-uclass.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/power/regulator/regulator-uclass.c +1 -1
index 77d101f262e..d9e1fb68295 100644
@@ -518,7 +518,7 @@ int regulators_enable_boot_on(bool verbose)
 	     dev;
 	     uclass_next_device(&dev)) {
 		ret = regulator_autoset(dev);
-		if (ret == -EMEDIUMTYPE) {
+		if (ret == -EMEDIUMTYPE || ret == -EALREADY) {
 			ret = 0;
 			continue;
 		}
Signature · 1 line
2.34.1
#6 lore raw

PATCH v6 6/8 spl: Allow ATF to work when dcache is disabled

In reply to Simon Glass

The dcache may not be enabled in SPL. Add a check to avoid trying to use an undefined function.

---

(no changes since v1)

 common/spl/spl_atf.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
common/spl/spl_atf.c +2 -1
index 3bdd013a35f..9afe6456bc4 100644
@@ -204,7 +204,8 @@ static void __noreturn bl31_entry(uintptr_t bl31_entry, uintptr_t bl32_entry,
 						       fdt_addr);
 
 	raw_write_daif(SPSR_EXCEPTION_MASK);
-	dcache_disable();
+	if (!CONFIG_IS_ENABLED(SYS_DCACHE_OFF))
+		dcache_disable();
 
 	atf_entry(bl31_params, (void *)fdt_addr);
 }
Signature · 1 line
2.34.1
#7 lore raw

PATCH v6 7/8 rockchip: bob: kevin: Disable dcache in SPL

In reply to Simon Glass

This causes a hang, so disable it. Unfortunately the RAM-size fix does not resolve the problem and I am unsure what is wrong. As soon as the cache is enabled the board appears to hang.

Fixes 6d8cdfd1536 ("rockchip: spl: Enable caches to speed up checksum validation")

---

(no changes since v1)

 configs/chromebook_bob_defconfig   | 1 +
 configs/chromebook_kevin_defconfig | 1 +
 2 files changed, 2 insertions(+)
configs/chromebook_bob_defconfig +1 -0
index acfe3934104..b2ecfa6050c 100644
@@ -1,5 +1,6 @@
 CONFIG_ARM=y
 CONFIG_SKIP_LOWLEVEL_INIT=y
+CONFIG_SPL_SYS_DCACHE_OFF=y
 CONFIG_COUNTER_FREQUENCY=24000000
 CONFIG_ARCH_ROCKCHIP=y
 CONFIG_TEXT_BASE=0x00200000
configs/chromebook_kevin_defconfig +1 -0
index 95fdb418d82..da748e4f022 100644
@@ -2,6 +2,7 @@ CONFIG_ARM=y
 CONFIG_SKIP_LOWLEVEL_INIT=y
 CONFIG_COUNTER_FREQUENCY=24000000
 CONFIG_ARCH_ROCKCHIP=y
+CONFIG_SPL_SYS_DCACHE_OFF=y
 CONFIG_TEXT_BASE=0x00200000
 CONFIG_SPL_GPIO=y
 CONFIG_NR_DRAM_BANKS=1
Signature · 1 line
2.34.1
#8 lore raw

PATCH v6 8/8 Drop the special am335x_boneblack_vboot target

In reply to Simon Glass

Now that am335x_evm boots OK on the Beaglebone black, drop the latter and update the docs to cover the change.

Also add a few updates about 'make fit' and drop the note about the security review, as U-Boot's verified boot has had quite extensive review now.

---

(no changes since v4)

Changes in v4:
- Fix 'stating' typo
- Move Binman size feature to a separate series

Changes in v2:
- Drop patch "regulator: rk8xx: Fix incorrect parameter"
- Rewrite boneblack patch to onstead drop the target and update docs

 board/ti/am335x/MAINTAINERS              |  1 -
 configs/am335x_boneblack_vboot_defconfig | 94 ------------------------
 configs/am335x_evm_defconfig             |  3 +-
 doc/usage/fit/beaglebone_vboot.rst       | 21 +++---
 4 files changed, 12 insertions(+), 107 deletions(-)
 delete mode 100644 configs/am335x_boneblack_vboot_defconfig
board/ti/am335x/MAINTAINERS +0 -1
index 219c8715bf1..ed8800a2663 100644
@@ -3,6 +3,5 @@ M:	Tom Rini <[email protected]>
 S:	Maintained
 F:	board/ti/am335x/
 F:	include/configs/am335x_evm.h
-F:	configs/am335x_boneblack_vboot_defconfig
 F:	configs/am335x_evm_defconfig
 F:	configs/am335x_evm_spiboot_defconfig
configs/am335x_boneblack_vboot_defconfig deleted +0 -94

94 lines not on this page · raw message

configs/am335x_evm_defconfig +2 -1
index d243cb16e72..cabc181460a 100644
@@ -13,6 +13,8 @@ CONFIG_AM335X_USB0_PERIPHERAL=y
 CONFIG_AM335X_USB1=y
 CONFIG_SPL=y
 CONFIG_TIMESTAMP=y
+CONFIG_FIT_SIGNATURE=y
+CONFIG_FIT_VERBOSE=y
 CONFIG_SPL_LOAD_FIT=y
 CONFIG_SYS_BOOTM_LEN=0x1000000
 CONFIG_DISTRO_DEFAULTS=y
@@ -119,5 +121,4 @@ CONFIG_SPL_USB_ETHER=y
 CONFIG_WDT=y
 # CONFIG_SPL_WDT is not set
 CONFIG_DYNAMIC_CRC_TABLE=y
-CONFIG_RSA=y
 CONFIG_LZO=y
doc/usage/fit/beaglebone_vboot.rst +10 -11
index cd6bb141910..1298ba1ae08 100644
@@ -67,18 +67,20 @@ a. Set up the environment variable to point to your toolchain. You will need
 
        export CROSS_COMPILE=arm-linux-gnueabi-
 
-b. Configure and build U-Boot with verified boot enabled::
+b. Configure and build U-Boot with verified boot enabled. Note that we use the
+am335x_evm target since it covers all boards based on the AM335x evaluation
+board::
 
     export UBOOT=/path/to/u-boot
     cd $UBOOT
     # You can add -j10 if you have 10 CPUs to make it faster
-    make O=b/am335x_boneblack_vboot am335x_boneblack_vboot_config all
-    export UOUT=$UBOOT/b/am335x_boneblack_vboot
+    make O=b/am335x_evm am335x_evm_config all
+    export UOUT=$UBOOT/b/am335x_evm
 
 c. You will now have a U-Boot image::
 
-    file b/am335x_boneblack_vboot/u-boot-dtb.img
-    b/am335x_boneblack_vboot/u-boot-dtb.img: u-boot legacy uImage,
+    file b/am335x_evm/u-boot-dtb.img
+    b/am335x_evm/u-boot-dtb.img: u-boot legacy uImage,
       U-Boot 2014.07-rc2-00065-g2f69f8, Firmware/ARM, Firmware Image
       (Not compressed), 395375 bytes, Sat May 31 16:19:04 2014,
       Load Address: 0x80800000, Entry Point: 0x00000000,
@@ -466,7 +468,7 @@ the private key that you signed with so that it can verify any kernels that
 you sign::
 
     cd $UBOOT
-    make O=b/am335x_boneblack_vboot EXT_DTB=${WORK}/am335x-boneblack-pubkey.dtb
+    make O=b/am335x_evm EXT_DTB=${WORK}/am335x-boneblack-pubkey.dtb
 
 Here we are overriding the normal device tree file with our one, which
 contains the public key.
@@ -597,14 +599,11 @@ Further Improvements
 
 Several of the steps here can be easily automated. In particular it would be
 capital if signing and packaging a kernel were easy, perhaps a simple make
-target in the kernel.
+target in the kernel. A starting point for this is the 'make image.fit' target
+for ARM64 in Linux from v6.9 onwards.
 
 Some mention of how to use multiple .dtb files in a FIT might be useful.
 
-U-Boot's verified boot mechanism has not had a robust and independent security
-review. Such a review should look at the implementation and its resistance to
-attacks.
-
 Perhaps the verified boot feature could be integrated into the Amstrom
 distribution.
 
Signature · 1 line
2.34.1
#9 lore raw

Re: [PATCH v6 8/8] Drop the special am335x_boneblack_vboot target

Hello Simon,

Simon Glass <[email protected]> writes:

[...]

Quoted 2 lines

Now that am335x_evm boots OK on the Beaglebone black, drop the latter and update the docs to cover the change.

[...]

configs/am335x_evm_defconfig CONFIG_AM335X_USB0_PERIPHERAL=y · line 17

Quoted 10 lines
configs/am335x_evm_defconfig +2 -0
index d243cb16e72..cabc181460a 100644
@@ -13,6 +13,8 @@ CONFIG_AM335X_USB0_PERIPHERAL=y
 CONFIG_AM335X_USB1=y
 CONFIG_SPL=y
 CONFIG_TIMESTAMP=y
+CONFIG_FIT_SIGNATURE=y
+CONFIG_FIT_VERBOSE=y

Your patch drops CONFIG_LEGACY_IMAGE_FORMAT as a side effect of enabling CONFIG_FIT_SIGNATURE. Is that intentional?

Debian systems use "legacy" format boot scripts to boot (at least when using the "flash-kernel" package which is probably the most common configuration) so recent U-Boot versions cannot boot Debian systems on BeagleBone Black any more:

=== Begin ===
U-Boot 2025.01-3 (Apr 08 2025 - 23:07:41 +0000)

CPU : AM335X-GP rev 2.1
Model: TI AM335x BeagleBone Black
[...]
Scanning mmc 0:3...
Found U-Boot script /boot/boot.scr
1625 bytes read in 2 ms (793 KiB/s)
## Executing script at 80000000
Wrong image format for "source" command
SCRIPT FAILED: continuing...
=== End ===

Sascha

#10 lore raw

PATCH 1/1 am335x_evm: re-enable legacy image format

Hello Simon,

in case dropping CONFIG_LEGACY_IMAGE_FORMAT was not intentional, here's a patch to fix it.

Sascha

-- >8 --
From: Sascha Silbe <[email protected]>
Date: Sat, 16 Aug 2025 14:31:39 +0200
Subject: [PATCH] am335x_evm: re-enable legacy image format

When am335x_boneblack_vboot was rolled into the generic am335x_evm target CONFIG_LEGACY_IMAGE_FORMAT was dropped as a side effect of enabling CONFIG_FIT_SIGNATURE. This breaks distro boot using scripts inside legacy image files (boot.scr).

Explicitly re-enable legacy image format so that distro boot support is fully working again.

Tested on BeagleBone Black.

Fixes d780965927d4 ("Drop the special am335x_boneblack_vboot target")
---
 configs/am335x_evm_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/am335x_evm_defconfig +1 -0
index 2b68902edef..9393cced885 100644
@@ -15,6 +15,7 @@ CONFIG_TIMESTAMP=y
 CONFIG_FIT_SIGNATURE=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_SPL_LOAD_FIT=y
+CONFIG_LEGACY_IMAGE_FORMAT=y
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTCOMMAND="run findfdt; run init_console; run finduuid; run distro_bootcmd"
Signature · 1 line
2.39.5
#11 lore raw

Re: [PATCH v6 8/8] Drop the special am335x_boneblack_vboot target

In reply to Sascha Silbe
Quoted 8 lines · Sascha Silbe

Hello Simon,

Simon Glass <[email protected]> writes:

[...]

Quoted 2 lines

Now that am335x_evm boots OK on the Beaglebone black, drop the latter and update the docs to cover the change.

[...]

Quoted 13 lines

configs/am335x_evm_defconfig CONFIG_AM335X_USB0_PERIPHERAL=y · line 17

Quoted 10 lines
configs/am335x_evm_defconfig +2 -0
index d243cb16e72..cabc181460a 100644
@@ -13,6 +13,8 @@ CONFIG_AM335X_USB0_PERIPHERAL=y
 CONFIG_AM335X_USB1=y
 CONFIG_SPL=y
 CONFIG_TIMESTAMP=y
+CONFIG_FIT_SIGNATURE=y
+CONFIG_FIT_VERBOSE=y

Your patch drops CONFIG_LEGACY_IMAGE_FORMAT as a side effect of enabling CONFIG_FIT_SIGNATURE. Is that intentional?

It wasn't entirely intentional, no.

Quoted 4 lines

Debian systems use "legacy" format boot scripts to boot (at least when using the "flash-kernel" package which is probably the most common configuration) so recent U-Boot versions cannot boot Debian systems on BeagleBone Black any more:

It's frustrating that it looks like Debian 13 is shipping with this legacy option as the default, I assume for all 32bit ARM systems, rather than any of the more modern options. I'll take a look at what the impact is on adding LEGACY_IMAGE_FORMAT to the "distro boot" option so that nothing else is missing this.

Signature · 1 line
Tom
#12 lore raw

legacy image format on BBB / Debian (was: Re: [PATCH v6 8/8] Drop the special am335x_boneblack_vboot target)

Hello Tom,

Quoted 5 lines · Tom Rini

It's frustrating that it looks like Debian 13 is shipping with this legacy option as the default, I assume for all 32bit ARM systems, rather than any of the more modern options. I'll take a look at what the impact is on adding LEGACY_IMAGE_FORMAT to the "distro boot" option so that nothing else is missing this.

flash-kernel has no way of knowing whether the boot loader used to boot will be the stock boot loader or the one shipped in the u-boot-omap Debian package (if installed and manually copied to SD card / eMMC by the user). Did all BBB rev C boards ship with an U-Boot version that had FIT image support? The oldest version I could find on the BBBs I have running and reachable via SSH is U-Boot 2015.10-00001-g143c9ee (probably shipped in 2017).

FWIW, the main README in the U-Boot repo only mentions FIT image format in passing (referencing a file that doesn't exist) and then goes on to explain the "Old uImage format" in detail. To a casual reader that suggests that the old format is still the primary format and that FIT is the more modern one that can be used for more complicated cases if needed.

Sascha

#13 lore raw

Re: legacy image format on BBB / Debian (was: Re: [PATCH v6 8/8] Drop the special am335x_boneblack_vboot target)

Quoted 10 lines · Sascha Silbe

Hello Tom,

Quoted 5 lines · Tom Rini

It's frustrating that it looks like Debian 13 is shipping with this legacy option as the default, I assume for all 32bit ARM systems, rather than any of the more modern options. I'll take a look at what the impact is on adding LEGACY_IMAGE_FORMAT to the "distro boot" option so that nothing else is missing this.

Quoted 7 lines

flash-kernel has no way of knowing whether the boot loader used to boot will be the stock boot loader or the one shipped in the u-boot-omap Debian package (if installed and manually copied to SD card / eMMC by the user). Did all BBB rev C boards ship with an U-Boot version that had FIT image support? The oldest version I could find on the BBBs I have running and reachable via SSH is U-Boot 2015.10-00001-g143c9ee (probably shipped in 2017).

Yes, it's a choice of what the distribution is / isn't going to support and require end users to do. And lots of people are opinionated about it, and different distributions disagree on what's needed. I'm not even saying Debian should have worked out the tooling for FIT (my thought would be why not EFI for all the ARMv7a supported platforms, but I'm sure there would end up being some other problem).

My frustration is what the patch I posted solves, U-Boot broke our agreement at large at some point (DISTRO_DEFAULTS provides what common distros use) and so here we are, Debian doesn't work.

Quoted 6 lines

FWIW, the main README in the U-Boot repo only mentions FIT image format in passing (referencing a file that doesn't exist) and then goes on to explain the "Old uImage format" in detail. To a casual reader that suggests that the old format is still the primary format and that FIT is the more modern one that can be used for more complicated cases if needed.

Yes, we need to continue to work on removing the top-level README as it's so out of date and https://docs.u-boot.org/en/latest/ is where we have more up to date documentation.

Signature · 1 line
Tom
#14 lore raw

Re: legacy image format on BBB / Debian (was: Re: [PATCH v6 8/8] Drop the special am335x_boneblack_vboot target)

In reply to Sascha Silbe
Quoted 8 lines · Sascha Silbe

flash-kernel has no way of knowing whether the boot loader used to boot will be the stock boot loader or the one shipped in the u-boot-omap Debian package (if installed and manually copied to SD card / eMMC by the user). Did all BBB rev C boards ship with an U-Boot version that had FIT image support? The oldest version I could find on the BBBs I have running and reachable via SSH is U-Boot 2015.10-00001-g143c9ee (probably shipped in 2017).

Good News, rev C is almost completely out of production!

BeagleBoard finally ran out of NXP tda998x's, so we had to change the HDMI framer. (NXP last time buy'ed these pre covid, so BeagleBoard.org scrapped the barrel finding every last one..)

The newer Rev D, now has an ITE HDMI framer in place of NXP's.

I wish I could tell you exactly what build SeeedStudio placed in the eMMC, but I'm also waiting for a full (untouched) production board to show up from a 3rd party shop to personally verify..

It's probably: v2022.04:
https://github.com/beagleboard/u-boot/tree/v2022.04-bbb.io-am335x-am57xx

PS, Debian 13 has a breaking kmod change, so even if you get
flash-kernel to run, update-initramfs will fail. ( kmod.initramfs-hook
forgot about armhf's special abi ).. Here's the diff we are carrying
at Beagle... https://github.com/beagleboard/repos-armhf/commit/d1601faa1c5b25628a483eae3f806c4370fd02fa

Regards,

Signature · 2 lines
Robert Nelson
https://rcn-ee.com/
#15 lore raw

Re: legacy image format on BBB / Debian (was: Re: [PATCH v6 8/8] Drop the special am335x_boneblack_vboot target)

Quoted 18 lines · Robert Nelson
Quoted 8 lines · Sascha Silbe

flash-kernel has no way of knowing whether the boot loader used to boot will be the stock boot loader or the one shipped in the u-boot-omap Debian package (if installed and manually copied to SD card / eMMC by the user). Did all BBB rev C boards ship with an U-Boot version that had FIT image support? The oldest version I could find on the BBBs I have running and reachable via SSH is U-Boot 2015.10-00001-g143c9ee (probably shipped in 2017).

Good News, rev C is almost completely out of production!

BeagleBoard finally ran out of NXP tda998x's, so we had to change the HDMI framer. (NXP last time buy'ed these pre covid, so BeagleBoard.org scrapped the barrel finding every last one..)

Quoted 8 lines

The newer Rev D, now has an ITE HDMI framer in place of NXP's.

I wish I could tell you exactly what build SeeedStudio placed in the eMMC, but I'm also waiting for a full (untouched) production board to show up from a 3rd party shop to personally verify..

It's probably: v2022.04:
https://github.com/beagleboard/u-boot/tree/v2022.04-bbb.io-am335x-am57xx

First rev_d showed up on our discord channel, they got them at mouser..

Seeed flashed: U-Boot SPL 2022.04-gc6f4cf7d (Apr 24 2025 - 03:22:59 +0000)

(from: https://github.com/beagleboard/u-boot/tree/v2022.04-bbb.io-am335x-am57xx
)

Regards,

Signature · 2 lines
Robert Nelson
https://rcn-ee.com/
#16 lore raw
In reply to Simon Glass
Quoted 9 lines · Simon Glass

This series includes fixes to get some rockchip and nvidia boards working again. It also drops the broken Beaglebone Black config and provides a devicetree fix for coral (x86).

Note that since this series fixes bugs, it is targeted at -master

Note that this series does not include:

[...]

Applied to u-boot/master, thanks!

Signature · 1 line
Tom