Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save narimantos/33607bc631bdf9f4de92697b9be44549 to your computer and use it in GitHub Desktop.
Save narimantos/33607bc631bdf9f4de92697b9be44549 to your computer and use it in GitHub Desktop.
a one-liner to fetch the latest revisions of /boot/*.{elf,dat} in the RPi firmware repository (because it's a 14GB repo and cloning takes forever, and we're only interested in ~20MB of data)
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$_}' )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment