mirror of https://github.com/parazyd/arm-sdk.git
documentation updates
This commit is contained in:
parent
d1faaa52c9
commit
fdf95fdccb
11
README.md
11
README.md
|
|
@ -13,11 +13,14 @@ will be added.
|
||||||
This SDK is designed to be used interactively from a terminal as well
|
This SDK is designed to be used interactively from a terminal as well
|
||||||
from shell scripts.
|
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
|
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
|
## Quick start
|
||||||
|
|
||||||
First clone the SDK repository:
|
First clone the SDK repository:
|
||||||
|
|
@ -25,6 +28,7 @@ First clone the SDK repository:
|
||||||
```
|
```
|
||||||
; git clone https://github.com/dyne/arm-sdk.git
|
; git clone https://github.com/dyne/arm-sdk.git
|
||||||
```
|
```
|
||||||
|
|
||||||
Edit the `config` file to match your crosscompile toolchain. Consult
|
Edit the `config` file to match your crosscompile toolchain. Consult
|
||||||
`arm/README.md` if you're in a need of a precompiled one, then
|
`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
|
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
|
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`
|
* `devuan`
|
||||||
|
|
||||||
|
|
@ -54,6 +58,7 @@ and one of the following devices:
|
||||||
* `cubietruck`
|
* `cubietruck`
|
||||||
* `chromeacer`
|
* `chromeacer`
|
||||||
* `odroidxu`
|
* `odroidxu`
|
||||||
|
|
||||||
```
|
```
|
||||||
; init devuan raspi2
|
; 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
|
Schumacher college in Dartington UK, greatly inspired by the laborious
|
||||||
and mindful atmosphere of its wonderful premises.
|
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>
|
ARM SDK is designed, written and maintained by parazyd <parazyd@dyne.org>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,12 @@
|
||||||
# ARM image builds
|
# ARM image builds
|
||||||
|
|
||||||
## Custom toolchains
|
## Custom toolchains
|
||||||
**ARMv6**: `https://pub.parazyd.cf/mirror/gcc-arm-eabi-linaro-4.6.2.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`
|
**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
|
SHA256sums are available by downloading $filename.sha
|
||||||
|
|
||||||
## Custom packages
|
## Custom packages
|
||||||
|
|
@ -13,9 +16,11 @@ by the script. Remember to use the correct architecture
|
||||||
## qemu-wrapper
|
## qemu-wrapper
|
||||||
For certain devices, you will want to pass arguments to qemu, such as the cpu
|
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:
|
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
|
gcc -static qemu-wraper.c -O2 -s -o qemu-wrapper
|
||||||
```
|
```
|
||||||
|
|
||||||
And after it's compiled, uncomment the entry in the settings section of your
|
And after it's compiled, uncomment the entry in the settings section of your
|
||||||
build script.
|
build script.
|
||||||
|
|
||||||
|
|
|
||||||
4
sdk
4
sdk
|
|
@ -2,7 +2,7 @@
|
||||||
#
|
#
|
||||||
# ARM SDK
|
# 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>
|
# 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
|
# we assume source sdk is always run from the source dir
|
||||||
# which is the "root" of the program, $R, or env DEVUAN_SDK
|
# which is the "root" of the program, $R, or env DEVUAN_SDK
|
||||||
R=${ARM_SDK:-`pwd`}
|
R=${ARM_SDK:-`pwd`}
|
||||||
#
|
|
||||||
# global maps (TODO in zuper)
|
# global maps (TODO in zuper)
|
||||||
maps+=(arm_map)
|
maps+=(arm_map)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue