arm-sdk

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

commit fdf95fdccbc51a6803bb2891f234b075536a2e6f
parent d1faaa52c9d3dccd792c5672d35d9cad70c514d2
Author: parazyd <parazyd@dyne.org>
Date:   Fri, 22 Apr 2016 17:57:06 +0200

documentation updates

Diffstat:
MREADME.md | 11++++++++---
Marm/README.md | 11++++++++---
Msdk | 4++--
3 files changed, 18 insertions(+), 8 deletions(-)

diff --git a/README.md b/README.md @@ -13,11 +13,14 @@ will be added. This SDK is designed to be used interactively from a terminal as well from shell scripts. -Using a Debian-based OS, install the following packages: +For a Debian-based OS, install the following packages: ``` 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 ``` + +On any other, find the equivalents of the aforementioned packages. + ## Quick start First clone the SDK repository: @@ -25,6 +28,7 @@ First clone the SDK repository: ``` ; git clone https://github.com/dyne/arm-sdk.git ``` + 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 @@ -41,7 +45,7 @@ then step inside the sdk, "source" it: ``` Now is the time you choose the device and OS you want to build the image for. Currently -you can choose these distros: +you can choose between these distros: * `devuan` @@ -54,6 +58,7 @@ and one of the following devices: * `cubietruck` * `chromeacer` * `odroidxu` + ``` ; init devuan raspi2 ``` @@ -73,7 +78,7 @@ The Devuan SDK was conceived during a period of residency at the Schumacher college in Dartington UK, greatly inspired by the laborious and mindful atmosphere of its wonderful premises. -ARM SDK is Copyright (C) 2016 by the Dyne.org Foundation +ARM SDK is Copyright (c) 2016 by the Dyne.org Foundation ARM SDK is designed, written and maintained by parazyd <parazyd@dyne.org> diff --git a/arm/README.md b/arm/README.md @@ -1,9 +1,12 @@ # ARM image builds ## Custom toolchains -**ARMv6**: `https://pub.parazyd.cf/mirror/gcc-arm-eabi-linaro-4.6.2.txz` -**ARMv7**: `https://pub.parazyd.cf/mirror/gcc-arm-linux-gnueabihf-4.7.txz` -**ARM64**: `https://pub.parazyd.cf/mirror/gcc-linaro-aarch64-linux-gnu-4.9.txz` +**ARMv6**: `https://pub.parazyd.cf/mirror/gcc-arm-eabi-linaro-4.6.2.txz` + +**ARMv7**: `https://pub.parazyd.cf/mirror/gcc-arm-linux-gnueabihf-4.7.txz` + +**ARM64**: `https://pub.parazyd.cf/mirror/gcc-linaro-aarch64-linux-gnu-4.9.txz` + SHA256sums are available by downloading $filename.sha ## Custom packages @@ -13,9 +16,11 @@ by the script. Remember to use the correct architecture ## qemu-wrapper For certain devices, you will want to pass arguments to qemu, such as the cpu model. To enable this, you will have to modify and compile qemu-wrapper.c with: + ``` gcc -static qemu-wraper.c -O2 -s -o qemu-wrapper ``` + And after it's compiled, uncomment the entry in the settings section of your build script. diff --git a/sdk b/sdk @@ -2,7 +2,7 @@ # # ARM SDK # -# Copyright (C) 2016 Dyne.org Foundation +# Copyright (c) 2016 Dyne.org Foundation # # ARM SDK is written and maintained by parazyd <parazyd@dyne.org> # @@ -49,7 +49,7 @@ vars+=(inittab) # we assume source sdk is always run from the source dir # which is the "root" of the program, $R, or env DEVUAN_SDK R=${ARM_SDK:-`pwd`} -# + # global maps (TODO in zuper) maps+=(arm_map)