Skip to content

allow boot firmware to go in user/boot0/boot1

Tim Harvey u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5board: gateworks: venice: dynamically determine U-Boot raw sectorboard/gateworks/venice/spl.c+15 -01 reply
2/5board: gateworks: venice: dynamically determine U-Boot env partitionboard/gateworks/venice/venice.c+15 -01 reply
3/5board: gateworks: venice: dynamically update the update_firmware scriptboard/gateworks/venice/venice.c board/gateworks/venice/venice.env include/configs/imx8mm_venice.h +2 more+74 -61 reply
4/5board: gateworks: venice: move env locationconfigs/imx8mm_venice_defconfig configs/imx8mn_venice_defconfig configs/imx8mp_venice_defconfig+6 -61 reply
5/5board: gateworks: venice: update board doc to show other emmc partsdoc/board/gateworks/imx8mm_venice.rst doc/board/gateworks/imx8mn_venice.rst doc/board/gateworks/imx8mp_venice.rst+9 -31 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] allow boot firmware to go in user/boot0/boot1

The Gateworks Venice board family uses a combination of imx8mm, imx8mn, and imx8mp SoC's. Because boot firmware for these are not binary compatible and have different flash offsets it is highly desirable to place boot firmware in an emmc boot partition instead of the current user hardware partition to minimize unintended corruption of boot firmware by flashing the wrong image or to the wrong location.

This series of patches allows the same boot firmware to be placed in either boot0, boot1, or user hardware partition by detecting the boot device and adjusting env device as well as u-boot sector.

Additionally the firmware script is updated to automate device, offset, and soc.

Tim Harvey (5):
board: gateworks: venice: dynamically determine U-Boot raw sector
board: gateworks: venice: dynamically determine U-Boot env partition
board: gateworks: venice: dynamically update the update_firmware
script
board: gateworks: venice: move env location
board: gateworks: venice: update board doc to show other emmc parts

 board/gateworks/venice/spl.c          | 15 +++++
 board/gateworks/venice/venice.c       | 86 +++++++++++++++++++++++++++
 board/gateworks/venice/venice.env     |  6 +-
 configs/imx8mm_venice_defconfig       |  4 +-
 configs/imx8mn_venice_defconfig       |  4 +-
 configs/imx8mp_venice_defconfig       |  4 +-
 doc/board/gateworks/imx8mm_venice.rst |  4 +-
 doc/board/gateworks/imx8mn_venice.rst |  4 +-
 doc/board/gateworks/imx8mp_venice.rst |  4 +-
 include/configs/imx8mm_venice.h       |  1 -
 include/configs/imx8mn_venice.h       |  1 -
 include/configs/imx8mp_venice.h       |  1 -
 12 files changed, 119 insertions(+), 15 deletions(-)
Signature · 1 line
2.25.1