tdocumentation updates; config - arm-sdk - os build toolkit for various embedded devices HTML git clone https://git.parazyd.org/arm-sdk DIR Log DIR Files DIR Refs DIR Submodules DIR README DIR LICENSE --- DIR commit 658f9bcd22e17710e69c28be22733b8686712fe6 DIR parent 9e2a0840088704f2ec56525d060509d826988799 HTML Author: parazyd <parazyd@dyne.org> Date: Tue, 24 May 2016 23:26:23 +0200 documentation updates; config Diffstat: M README.md | 2 +- M arm/README.md | 1 + R arm/qemu-wrapper.c -> arm/extra/qe… | 0 M config | 6 ++++-- 4 files changed, 6 insertions(+), 3 deletions(-) --- DIR diff --git a/README.md b/README.md t@@ -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. DIR diff --git a/arm/README.md b/arm/README.md t@@ -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 DIR diff --git a/arm/qemu-wrapper.c b/arm/extra/qemu-wrapper.c DIR diff --git a/config b/config t@@ -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