Skip to content

Instantly share code, notes, and snippets.

@pexcn
Last active February 25, 2022 18:03
Show Gist options
  • Save pexcn/c0a77f0fd59aaaf3076ad7215842cb18 to your computer and use it in GitHub Desktop.
Save pexcn/c0a77f0fd59aaaf3076ad7215842cb18 to your computer and use it in GitHub Desktop.
dump atheros art partition from full firmware.
# 4MB
# art: 0x003F0000-0x00400000, 65536 bytes
dd if=full.bin of=art.bin bs=1 count=65536 skip=4128768

# 8MB
# art: 0x007F0000-0x00800000, 65536 bytes
dd if=full.bin of=art.bin bs=1 count=65536 skip=8323072

# 16MB
# art: 0x00FF0000-0x01000000, 65536 bytes
dd if=full.bin of=art.bin bs=1 count=65536 skip=16711680
@Piloto737
Copy link

and how about #2MB?
dd if=full.bin of=art.bin bs=1 count=65536 skip=????????

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment