]> git.ipfire.org Git - thirdparty/u-boot.git/commit
ARM: imx: Enable DFU SF on all i.MX6 DHSOM and include dfu_alt_info in env
authorMarek Vasut <marek.vasut@mailbox.org>
Sun, 2 Nov 2025 21:45:33 +0000 (22:45 +0100)
committerFabio Estevam <festevam@nabladev.com>
Tue, 4 Nov 2025 15:44:26 +0000 (12:44 -0300)
commitf008af59aff947e910453227eaea0cb6724757fb
tree5d0d4325bc20e7f8e3f17c0b82ef6b48cb09b242
parentf78bf542fee80a2605822deac1a05c583d9284ff
ARM: imx: Enable DFU SF on all i.MX6 DHSOM and include dfu_alt_info in env

Enable DFU SF on all i.MX6 DHSOM so the SPI NOR can be exposed via
DFU, and include dfu_alt_info which exposes the full SPI NOR via DFU.
To install new bootloader into the SPI NOR using DFU, it is necessary
to pad the u-boot-with-spl.imx to 0x400 Bytes offset first and then
send it to the board as follows:

"
u-boot=> dfu 0 sf
"

"
host$ dd if=/dev/zero of=pad.bin bs=1024 count=1
host$ cat pad.bin u-boot-with-spl.imx > flash.bin
host$ dfu-util -w -a 0 -D flash.bin
"

Signed-off-by: Marek Vasut <marek.vasut@mailbox.org>
configs/dh_imx6.config
include/configs/dh_imx6.h