mirror of
https://github.com/brain-hackers/lab
synced 2026-03-12 06:04:18 +09:00
Add x1 experiments
This commit is contained in:
16
x1/README.md
Normal file
16
x1/README.md
Normal 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`
|
||||
Reference in New Issue
Block a user