Difference between revisions of "Working with binaries"

From freemyipod.org
Jump to: navigation, search
(Created page with 'Compiling for the ARM platform requires a special toolchain. The GNU ARM toolchain has all the basic tools needed to build and examine software on the iPod. ==Obtaining== The GN...')
 
(Replaced content with "==GNU ARM toolchain== Use gcc-arm-embedded from your Linux distribution package manager. == Ghidra == q3k maintains a Ghidra server with iPod binaries. Acc...")
(Tag: Replaced)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Compiling for the ARM platform requires a special toolchain. The GNU ARM toolchain has all the basic tools needed to build and examine software on the iPod.
+
==GNU ARM toolchain==
  
==Obtaining==
+
Use gcc-arm-embedded from your Linux distribution package manager.
The GNU ARM toolchain can be downloaded from http://www.gnuarm.com/. You can either download source or binaries. Put the binaries in your system path.
 
  
==Assembling==
+
== Ghidra ==
<pre>
 
arm-elf-as -o test.o test.asm
 
arm-elf-ld -e 0 -Ttext=0 -o test.elf test.o
 
arm-elf-objcopy -O binary test.elf test.bin
 
</pre>
 
  
==Disassembling==
+
[[User:Q3k|q3k]] maintains a Ghidra server with iPod binaries. Access available on request.
<pre>
 
arm-elf-objdump -bbinary -marmv4 -D test.bin > test.asm
 
</pre>
 

Latest revision as of 17:44, 9 January 2023

GNU ARM toolchain

Use gcc-arm-embedded from your Linux distribution package manager.

Ghidra

q3k maintains a Ghidra server with iPod binaries. Access available on request.