Skip to content

Commit

Permalink
Snagboot v1.2 release
Browse files Browse the repository at this point in the history
- i.MX:
  - Document AM62Ax platforms and test AM62A7 device
  - Add i.MX8QM to SDPV SoCs
- snagflash/DFU: Add dfu-keep, dfu-detach and dfu-reset
- snagflash/UMS: various fixes, document creation of static block device paths
- AM335x:
  - Fix issue where SPL output is confused with UART pings
  - Catch spurious errors
  - Fix race condition between BOOTP and TFTP servers
  - Add progress bar for UART recovery
  - Fix case conversion issue with firmware binary paths
- AM335x setup script:
  - Improve robustness of SUDOER username detection
  - Add custom shell prompt
  - Fix issue where stdout is broken after exiting from recovery shell
  - Silence spurious errors
- install: Fix issue where old builds confuse installation script
- pyproject: Change version-fetching method to avoid implicit setuptools dependency
- snagrecover/DFU: Catch spurious error on DFU_DETACH

Signed-off-by: Romain Gantois <[email protected]>
  • Loading branch information
rgantois committed Aug 30, 2023
1 parent 50522e5 commit b0d5295
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/fw_binaries.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ In TF-A, run `make \<params\> all fip` where `params` contains the following:
ARCH=aarch32 ARM_ARCH_MAJOR=7 AARCH32_SP=sp_min PLAT=stm32mp1 DTB_FILE_NAME=<your device tree>.dtb BL33_CFG=/path/to/u-boot.dtb BL33=/path/to/u-boot-nodtb.bin STM32MP_USB_PROGRAMMER=1
```

This will generate tf-a-<your device tree>.stm32 and fip.bin, which you can
This will generate tf-a-\<your device tree\>.stm32 and fip.bin, which you can
pass to snagrecover.

## For Microchip SAMA5 devices
Expand Down
6 changes: 0 additions & 6 deletions fw.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion src/snagrecover/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
"""

# Global version string for Snagboot
__version__ = "1.1"
__version__ = "1.2"
2 changes: 1 addition & 1 deletion src/snagrecover/am335x_usb_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ config_interface () {
}


while getopts "r:s:n:chu:" opt; do
while getopts "r:s:n:ch:" opt; do
case $opt in
r) ROMUSB=$OPTARG;;
s) SPLUSB=$OPTARG;;
Expand Down
2 changes: 1 addition & 1 deletion src/snagrecover/recoveries/stm32mp1.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def main():
run_firmware(dev, "fip")

# DETACH DFU DEVICE
print("Sending detach command to SPL...")
print("Sending detach command to U-Boot...")
phase_id = dfu_cmd.stm32_get_phase()
dfu_cmd.detach(phase_id)

0 comments on commit b0d5295

Please sign in to comment.