Skip to content

Commit

Permalink
Update flasher stubs and bootloaders (#426)
Browse files Browse the repository at this point in the history
* Update all flasher stubs to their latest versions

* Rebuild all bootloaders using the `release/v5.1` branch

* Update the resources `README`

* Regenerate test image, so that tests pass again

* Re-build the bootloader for the C2 to support newer revisions
  • Loading branch information
jessebraham authored Jun 8, 2023
1 parent 0628b75 commit 06259e9
Show file tree
Hide file tree
Showing 17 changed files with 35 additions and 35 deletions.
6 changes: 3 additions & 3 deletions espflash/resources/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Espflash Resources

The bootloaders have been built by hand from ESP-IDF:
https://github.com/espressif/esp-idf
The bootloaders have been built by hand from ESP-IDF, using the `release/v5.1` branch:
https://github.com/espressif/esp-idf/tree/release/v5.1

The flasher stubs are taken from the **espressif/esptool** repository:
https://github.com/espressif/esptool/tree/main/esptool/targets/stub_flasher
https://github.com/espressif/esptool/tree/master/esptool/targets/stub_flasher
Binary file modified espflash/resources/bootloaders/esp32-bootloader.bin
Binary file not shown.
Binary file modified espflash/resources/bootloaders/esp32c2-bootloader.bin
Binary file not shown.
Binary file modified espflash/resources/bootloaders/esp32c3-bootloader.bin
Binary file not shown.
Binary file modified espflash/resources/bootloaders/esp32c6-bootloader.bin
Binary file not shown.
Binary file modified espflash/resources/bootloaders/esp32h2-bootloader.bin
Binary file not shown.
Binary file modified espflash/resources/bootloaders/esp32s2-bootloader.bin
Binary file not shown.
Binary file modified espflash/resources/bootloaders/esp32s3-bootloader.bin
Binary file not shown.
6 changes: 3 additions & 3 deletions espflash/resources/stubs/stub_flasher_32.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
entry = 1074521560
entry = 1_074_521_560
text = "CAD0PxwA9D8AAPQ/AMD8PxAA9D82QQAh+v/AIAA4AkH5/8AgACgEICB0nOIGBQAAAEH1/4H2/8AgAKgEiAigoHTgCAALImYC54b0/yHx/8AgADkCHfAAAKDr/T8Ya/0/hIAAAEBAAABY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EoYHAAwCKQN84oYPACYSByYiGIYDAAAAgqDbgCkjh5kqDCIpA3zyRggAAAAioNwnmQoMEikDLQgGBAAAAIKg3Xzyh5kGDBIpAyKg2x3wAAA="
text_start = 1074520064
text_start = 1_074_520_064
data = "GOv8P9jnC0Bx6AtA8+wLQO3oC0CP6AtA7egLQEnpC0AG6gtAeOoLQCHqC0CB5wtAo+kLQPjpC0Bn6QtAmuoLQI7pC0Ca6gtAXegLQLPoC0Dt6AtASekLQHfoC0BM6wtAs+wLQKXmC0DX7AtApeYLQKXmC0Cl5gtApeYLQKXmC0Cl5gtApeYLQKXmC0Dz6gtApeYLQM3rC0Cz7AtA"
data_start = 1073605544
data_start = 1_073_605_544
6 changes: 3 additions & 3 deletions espflash/resources/stubs/stub_flasher_32c2.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
entry = 1077413304
entry = 1_077_413_304
text = "ARG3BwBgTsaDqYcASsg3Sco/JspSxAbOIsy3BABgfVoTCQkAwEwTdPQ/DeDyQGJEI6g0AUJJ0kSySSJKBWGCgIhAgycJABN19Q+Cl30U4xlE/8m/EwcADJRBqodjGOUAhUeFxiOgBQB5VYKABUdjh+YACUZjjcYAfVWCgEIFEwewDUGFY5XnAolHnMH1t5MGwA1jFtUAmMETBQAMgoCTBtANfVVjldcAmMETBbANgoC3dcs/QRGThQW6BsZhP2NFBQa3d8s/k4eHsQOnBwgD1kcIE3X1D5MGFgDCBsGCI5LXCDKXIwCnAAPXRwiRZ5OHBwRjHvcCN/fKPxMHh7GhZ7qXA6YHCLc2yz+3d8s/k4eHsZOGhrVjH+YAI6bHCCOg1wgjkgcIIaD5V+MG9fyyQEEBgoAjptcII6DnCN23NycAYHxLnYv1/zc3AGB8S52L9f+CgEERBsbdN7cnAGAjpgcCNwcACJjDmEN9/8hXskATRfX/BYlBAYKAQREGxtk/fd03BwBAtycAYJjDNycAYBxD/f+yQEEBgoBBESLEN0TKP5MHxABKwAOpBwEGxibCYwoJBEU3OcW9RxMExAC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MjcQOKX3MDcRLOHh0HcxJfwx//ngOBcub4JZRMFBXEDrMsAA6SLAJfwx//ngOBOtwcAYNhLtwYAAcEWk1dHARIHdY+9i9mPs4eHAwFFs9WHApfwx//ngIBPEwWAPpfwx//ngIBLAb6DpksBA6YLAYOlywADpYsA7/DP+e28g8U7AIPHKwAThYsBogXdjcEVUTLVtO/wj92Bt4PHOwADxysAE4yLAaIH2Y8TjQf/BUS3e8s/3ERjBQ0AmcNjTIAAY18ECBMHcAzYyOOWB6qTB5AMWaiTh4u6mEO398o/k4eHsZmPPtaDJ4qwt3zKP2rQk4zMAJONi7oFSGNz/QANSELGOsTv8I/WIkcySDdFyj/ihXwQk4aKsRAQEwVFApfwx//ngABKglcDp4ywg6UNADMN/UAdjz6cslcjpOywKoS+lSOgvQCTh4qxnY0BxaFn45L19lqFfTgjoG0Bob819OOLB6CTB4AM3MgxtIOniwDjkwegAUWX8Mf/54DAPAllEwUFcZfwx//ngCA5l/DH/+eA4DzNsgOkywDjDgScAUWX8Mf/54AgOhMFgD6X8Mf/54CgNgKUwbL2UGZU1lRGWbZZJlqWWgZb9ktmTNZMRk22TQlhgoA="
text_start = 1077411840
text_start = 1_077_411_840
data = "GGvKP+AIOEAsCThAhAk4QCgKOECUCjhAQgo4QKgHOEDkCThAJAo4QJgJOEBYBzhAzAk4QFgHOEC6CDhA/gg4QCwJOECECThAzAg4QBIIOEBCCDhAyAg4QOYMOEAsCThArAs4QJoMOECkBjhAxAw4QKQGOECkBjhApAY4QKQGOECkBjhApAY4QKQGOECkBjhASAs4QKQGOEDICzhAmgw4QA=="
data_start = 1070295976
data_start = 1_070_295_976
Loading

0 comments on commit 06259e9

Please sign in to comment.