Skip to content

Fixup Update Gateware Feature

Jamie Gibbons via buildroot buildroot 3 versions – Applied

Status from this message: Applied to master, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 1 replyApplied
  2. v23 patches 6 repliesSuperseded
  3. v13 patches 4 repliesSuperseded

Changes in v3 from the cover letter

- swap patch 1 and 2 ordering
- add fixes tag as appropriate
- update configs/beaglev_fire commit message to be more appropriate
- update update-gateware.sh steps in README.txt

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3configs/beaglev_fire: add support for overlays and update scriptconfigs/beaglev_fire_defconfig+1 -00 replies
2/3board/beagleboard/beaglev_fire: fix update gateware featureboard/beagleboard/beaglev_fire/boot.cmd board/beagleboard/beaglev_fire/rootfs-overlay/usr/share/microchip/update-gateware.sh+40 -120 replies
3/3board/beagleboard/beaglev_fire: cleanup gatewate updateboard/beagleboard/beaglev_fire/README.txt board/beagleboard/beaglev_fire/rootfs-overlay/usr/share/microchip/update-gateware.sh+20 -190 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchConor Dooley
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [Buildroot] [PATCH v3 0/3] Fixup Update Gateware Feature

Hi all,

The following patchset fixes the gateware update feature following the addition of the firmware upload API in linux v6.6. Using debugfs for firmware updating has now been removed. The update-gateware script now makes use of the firmware upload API with sysfs and enables applying overlays during boot. The README steps for updating the firmware have also been optimised, making it easier for the user.
Three configs have been added:
1. When applying overlays at boot time all dtbs need to be compiled with the -@ flag.
2. The updated update-gateware script uses stat on the target to get the size of firmware files - add coreutils and it's dependency (busybox_show_others) for this.

Thanks,
Jamie.

v2 -> v3:
- swap patch 1 and 2 ordering
- add fixes tag as appropriate
- update configs/beaglev_fire commit message to be more appropriate
- update update-gateware.sh steps in README.txt

v1 -> v2:
- used fw_upload interface to write the overlay file, i.e. remove use of stat and dd
- removed coreutils package

Jamie Gibbons (3):
configs/beaglev_fire: add support for overlays and update script board/beagleboard/beaglev_fire: fix update gateware feature board/beagleboard/beaglev_fire: cleanup gatewate update

 board/beagleboard/beaglev_fire/README.txt     | 15 ++--
 board/beagleboard/beaglev_fire/boot.cmd       |  1 +
 .../usr/share/microchip/update-gateware.sh    | 71 ++++++++++++++-----
 configs/beaglev_fire_defconfig                |  1 +
 4 files changed, 59 insertions(+), 29 deletions(-)
 mode change 100644 => 100755 board/beagleboard/beaglev_fire/rootfs-overlay/usr/share/microchip/update-gateware.sh
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot