documentation updates; config

This commit is contained in:
parazyd 2016-05-24 23:26:23 +02:00
parent 9e2a084008
commit 658f9bcd22
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
4 changed files with 6 additions and 3 deletions

View File

@ -16,7 +16,7 @@ from shell scripts.
For a Debian-based OS, install the following packages:
```
build-essential gnupg2 debootstrap curl rsync gcc-arm-none-eabi parted kpartx qemu-user-static sudo git-core parted gcc-multilib lib32z1 u-boot-tools device-tree-compiler cgpt xz-utils lzop
; sudo apt-get install build-essential gnupg2 debootstrap curl rsync gcc-arm-none-eabi parted kpartx qemu-user-static sudo git-core parted gcc-multilib lib32z1 u-boot-tools device-tree-compiler cgpt xz-utils lzop
```
On any other, find the equivalents of the aforementioned packages.

View File

@ -27,6 +27,7 @@ build script.
### List of shellcodes for different architectures
Consult the RaspberryPi2 build script to see how to use these. You will need to
use the correct one, depending on the architecture you're building.
```
print ':aarch64:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7:\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-aarch64:' | sudo tee /proc/sys/fs/binfmt_misc/register

6
config
View File

@ -13,8 +13,10 @@ export PATH="$PATH:/sbin"
#export PATH="$PATH:/sbin:$R/toolchains/gcc-arm-linux-gnueabihf-4.7/bin"
# custom toolchain (armel) - https://pub.parazyd.cf/mirror/gcc-arm-eabi-linaro-4.6.2.txz
compiler="arm-eabi-"
export PATH="$PATH:/sbin/$R/toolchains/gcc-arm-eabi-linaro-4.6.2/bin"
#compiler="arm-eabi-"
#export PATH="$PATH:/sbin/$R/toolchains/gcc-arm-eabi-linaro-4.6.2/bin"
# custom toolchain (arm64) - https://pub.parazyd.cf/mirror/gcc-linaro-aarch64-linux-gnu-4.9.txz
# static qemu arm binary
qemu_bin="/usr/bin/qemu-arm-static" # Devuan