Skip to content

Instantly share code, notes, and snippets.

@user890104
Created March 23, 2026 19:31
Show Gist options
  • Select an option

  • Save user890104/24222e6cdc0cf1aeb026cabf94d447fa to your computer and use it in GitHub Desktop.

Select an option

Save user890104/24222e6cdc0cf1aeb026cabf94d447fa to your computer and use it in GitHub Desktop.
Linux on iPod nano (7th generation)
#!/bin/bash
set -e
ID=05ac:8007
~/Git/wInd3x/wInd3x cfw run ~/Git/u-boot/u-boot.bin
echo -n Waiting for U-boot
while [ $(lsusb -d $ID | wc -l) -eq 0 ]
do
echo -n .
sleep 1
done
echo
dfu-util -d $ID -D kernel_fdt.itb
dfu-util -d $ID -e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment