lab/x1
2021-03-04 14:49:37 +09:00
..
c Ignore all bin 2021-03-04 14:49:37 +09:00
extract.py Add x1 C example / improve extract.py to extract all sections after .text 2021-03-04 06:15:54 +09:00
Makefile Add x1 C example / improve extract.py to extract all sections after .text 2021-03-04 06:15:54 +09:00
mrc.S Add x1 experiments 2021-03-04 02:15:40 +09:00
README.md Update x1 README 2021-03-04 02:19:24 +09:00
return.S Add x1 experiments 2021-03-04 02:15:40 +09:00

Code

  • mrc.S Read SCTLR (MMU etc.) and return
  • return.S Return immediately
  • extract.py Extract .text

Build

apt install gcc-arm-linux-gnueabihf
pip3 install pyelftools
make all

Run

  • Create a directory /path/to/sd/APP/foo
  • Create index.din touch /path/to/sd/APP/foo/index.din
  • Copy and rename the raw executable cp foo.bin /path/to/sd/APP/foo/AppMain.bin