lab/x1/README.md

18 lines
407 B
Markdown
Raw Normal View History

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
```sh
2021-03-04 02:19:24 +09:00
apt install gcc-arm-linux-gnueabihf
2021-03-04 02:15:40 +09:00
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`