mirror of https://github.com/parazyd/arm-sdk.git
binfmt init, documented about toolchain
This commit is contained in:
parent
6a37a6901e
commit
0864bb2940
|
|
@ -25,8 +25,9 @@ First clone the SDK repository:
|
|||
```
|
||||
; git clone https://github.com/dyne/arm-sdk.git
|
||||
```
|
||||
|
||||
Then run ZSh. In case you have conflicting extensions on your zsh
|
||||
Edit the `config` file to match your crosscompile toolchain. Consult
|
||||
`arm/README.md` if you're in a need of a precompiled one, then
|
||||
run ZSh. In case you have conflicting extensions on your zsh
|
||||
configuration, it may be needed to run from a vanilla one, using:
|
||||
|
||||
```
|
||||
|
|
|
|||
|
|
@ -30,6 +30,10 @@ init() {
|
|||
return 1
|
||||
}
|
||||
|
||||
# Initialize binfmt_misc if not already, needed to run qemu
|
||||
[[ -d /proc/sys/fs/binfmt_misc ]] || modprobe binfmt_misc
|
||||
[[ -f /proc/sys/fs/binfmt_misc/register ]] || mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc
|
||||
|
||||
# Build scripts are mapped to a device name here
|
||||
arm_map=(
|
||||
"raspi2" "$R/arm/scripts/raspberry-pi-2.sh"
|
||||
|
|
|
|||
Loading…
Reference in New Issue