documentation updates

This commit is contained in:
parazyd 2016-04-22 17:57:06 +02:00
parent d1faaa52c9
commit fdf95fdccb
No known key found for this signature in database
GPG Key ID: BB5E2E35B92E373E
3 changed files with 18 additions and 8 deletions

View File

@ -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>

View File

@ -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.

4
sdk
View File

@ -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)