arm-sdk

os build toolkit for various embedded devices
git clone https://git.parazyd.org/arm-sdk
Log | Files | Refs | Submodules | README | LICENSE

commit 658f9bcd22e17710e69c28be22733b8686712fe6
parent 9e2a0840088704f2ec56525d060509d826988799
Author: parazyd <parazyd@dyne.org>
Date:   Tue, 24 May 2016 23:26:23 +0200

documentation updates; config

Diffstat:
MREADME.md | 2+-
Marm/README.md | 1+
Rarm/qemu-wrapper.c -> arm/extra/qemu-wrapper.c | 0
Mconfig | 6++++--
4 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md @@ -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. diff --git a/arm/README.md b/arm/README.md @@ -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 diff --git a/arm/qemu-wrapper.c b/arm/extra/qemu-wrapper.c diff --git a/config b/config @@ -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