[1/1] board/bsh/imx6ulz-bsh-smm-m2: flash U-Boot

Message ID 20250512170255.1526135-1-dario.binacchi@amarulasolutions.com
State New
Headers show
Series
  • [1/1] board/bsh/imx6ulz-bsh-smm-m2: flash U-Boot
Related show

Commit Message

Dario Binacchi May 12, 2025, 5:02 p.m. UTC
Fix the board flashing by adding the bootloader, which I had mistakenly
forgotten to include in the script.

Fixes: 322e8d845196 ("configs/imx6ulz_bsh_smm_m2_defconfig: new defconfig")
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
 board/bsh/imx6ulz-bsh-smm-m2/nand-full.lst | 2 ++
 configs/imx6ulz_bsh_smm_m2_defconfig       | 1 +
 2 files changed, 3 insertions(+)

Comments

Julien Olivain May 12, 2025, 9:29 p.m. UTC | #1
On 12/05/2025 19:02, Dario Binacchi wrote:
> Fix the board flashing by adding the bootloader, which I had mistakenly
> forgotten to include in the script.
> 
> Fixes: 322e8d845196 ("configs/imx6ulz_bsh_smm_m2_defconfig: new 
> defconfig")
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>

Applied to master, thanks.

To unsubscribe from this group and stop receiving emails from it, send an email to linux-amarula+unsubscribe@amarulasolutions.com.

Patch

diff --git a/board/bsh/imx6ulz-bsh-smm-m2/nand-full.lst b/board/bsh/imx6ulz-bsh-smm-m2/nand-full.lst
index 7c5a884d65c8..bf3866e414b8 100644
--- a/board/bsh/imx6ulz-bsh-smm-m2/nand-full.lst
+++ b/board/bsh/imx6ulz-bsh-smm-m2/nand-full.lst
@@ -25,6 +25,8 @@  SDPV: jump
 
 FB: ucmd setenv fastboot_buffer ${loadaddr}
 FB[-t 60000]: ucmd nand erase.chip
+FB: download -f _image
+FB: ucmd nandbcb init ${fastboot_buffer} nandboot ${filesize}
 FB[-t 60000]: ucmd ubi part rootfs
 FB[-t 60000]: ucmd ubi create root -
 FB: download -f _filesystem
diff --git a/configs/imx6ulz_bsh_smm_m2_defconfig b/configs/imx6ulz_bsh_smm_m2_defconfig
index 2169ab446581..ffb0c691fd33 100644
--- a/configs/imx6ulz_bsh_smm_m2_defconfig
+++ b/configs/imx6ulz_bsh_smm_m2_defconfig
@@ -42,3 +42,4 @@  BR2_PACKAGE_HOST_E2FSPROGS=y
 BR2_PACKAGE_HOST_ENVIRONMENT_SETUP=y
 BR2_PACKAGE_HOST_GENIMAGE=y
 BR2_PACKAGE_HOST_MTOOLS=y
+BR2_PACKAGE_HOST_UUU=y