Skip to content

Instantly share code, notes, and snippets.

@atomicstack
Last active May 6, 2025 12:36
Show Gist options
  • Save atomicstack/9c43e452c4b7cefb37c1e78f65b0b1fa to your computer and use it in GitHub Desktop.
Save atomicstack/9c43e452c4b7cefb37c1e78f65b0b1fa to your computer and use it in GitHub Desktop.

Revisions

  1. atomicstack revised this gist May 6, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion fetch_raspberry_pi_firmware.sh
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    wget --base=https://github.com/raspberrypi/firmware/raw/master/ -i <( wget -qO - https://github.com/raspberrypi/firmware/tree/master/boot | jq -r '.payload.tree.items[].path | select(test("(elf|dat)$"))' )
    wget --base=https://github.com/raspberrypi/firmware/raw/master/ -i <( wget -qO- https://github.com/raspberrypi/firmware/raw/master/boot/ | grep 'react-app.embeddedData' | perl -nE 's{\s+<script[^>]+>}{}; s{</script>}{}; say' | jq -r '.payload.tree.items[].path | select(test("(elf|dat)$"))' )
  2. atomicstack revised this gist Aug 29, 2023. No changes.
  3. atomicstack revised this gist Aug 29, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion fetch_raspberry_pi_firmware.sh
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    wget $( wget -qO - https://github.com/raspberrypi/firmware/tree/master/boot | perl -nE 'chomp; next unless /[.](elf|dat)/; s/.*href="([^"]+)".*/$1/; s/blob/raw/; say qq{https://github.com$_}' )
    wget --base=https://github.com/raspberrypi/firmware/raw/master/ -i <( wget -qO - https://github.com/raspberrypi/firmware/tree/master/boot | jq -r '.payload.tree.items[].path | select(test("(elf|dat)$"))' )
  4. atomicstack revised this gist Jun 27, 2020. No changes.
  5. atomicstack revised this gist Jun 27, 2020. No changes.
  6. atomicstack created this gist Jun 27, 2020.
    1 change: 1 addition & 0 deletions fetch_raspberry_pi_firmware.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    wget $( wget -qO - https://github.com/raspberrypi/firmware/tree/master/boot | perl -nE 'chomp; next unless /[.](elf|dat)/; s/.*href="([^"]+)".*/$1/; s/blob/raw/; say qq{https://github.com$_}' )