Add x1 experiments

This commit is contained in:
Takumi Sueda
2021-03-04 02:15:40 +09:00
parent fd655b4839
commit c997a68459
7 changed files with 324 additions and 0 deletions

16
x1/README.md Normal file
View File

@@ -0,0 +1,16 @@
#### Code
- `mrc.S` Read SCTLR (MMU etc.) and return
- `return.S` Return immediately
- `extract.py` Extract .text
#### Build
```sh
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`