arm-sdk

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

commit 6a37a6901e64466009478f71db1be3770207b5d7
parent 5f4519e488277edef613f2ee1d4b1dd2773f7870
Author: parazyd <parazyd@dyne.org>
Date:   Wed, 20 Apr 2016 19:02:38 +0200

aesthetics

Diffstat:
MREADME.md | 5++++-
Aarm/extra/rpi3/README | 1+
Marm/init-arm | 5+++--
Marm/profiles/common-devuan | 4+++-
Marm/qemu-wrapper.c | 24++++++++++++++++++++----
Marm/scripts/bananapi.sh | 4+++-
Marm/scripts/chromebook-acer.sh | 4+++-
Marm/scripts/cubieboard2.sh | 4+++-
Marm/scripts/raspberry-pi-2.sh | 4+++-
Mconfig | 10+++++-----
Msdk | 11++++-------
11 files changed, 52 insertions(+), 24 deletions(-)

diff --git a/README.md b/README.md @@ -43,8 +43,11 @@ 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: -* `devuan` + +* `devuan` + and one of the following devices: + * `raspi2` * `bananapi` * `cubieboard2` diff --git a/arm/extra/rpi3/README b/arm/extra/rpi3/README @@ -0,0 +1 @@ +This is the required firmware for Raspberry Pi 3's onboard Bluetooth and WiFi diff --git a/arm/init-arm b/arm/init-arm @@ -1,6 +1,8 @@ #!/usr/bin/env zsh # -# Copyright (C) 2015-2016 Dyne.org Foundation +# ARM SDK +# +# Copyright (C) 2016 Dyne.org Foundation # # ARM SDK is designed, written and maintained by parazyd <parazyd@dyne.org> # @@ -17,7 +19,6 @@ # You should have received a copy of the GNU Public License along with # this source code; if not, write to: Free Software Foundation, Inc., # 675 Mass Ave, Cambridge, MA 02139, USA. -# init() { fn init $* diff --git a/arm/profiles/common-devuan b/arm/profiles/common-devuan @@ -1,5 +1,7 @@ #!/usr/bin/env zsh # +# ARM SDK +# # Copyright (C) 2016 Dyne.org Foundation # # ARM SDK is designed, written and maintained by parazyd <parazyd@dyne.org> @@ -25,7 +27,7 @@ os=devuan release=jessie section=main version=alpha4 -mirror=http://packages.devuan.org/merged +mirror=https://packages.devuan.org/merged core_packages=(debian-keyring devuan-keyring) core_packages+=(git-core binutils ca-certificates initramfs-tools u-boot-tools) diff --git a/arm/qemu-wrapper.c b/arm/qemu-wrapper.c @@ -1,8 +1,24 @@ -/* qemu wrapper - * wrapper for executing qemu in build chroots - * pass arguments to qemu binary +/* + * ARM SDK * - * ~ parazyd */ + * Copyright (c) 2016 Dyne.org Foundation + * + * ARM SDK is written and maintained by parazyd <parazyd@dyne.org> + * + * This source code is free software; you can redistribute it and/or + * modify it under the terms of the GNU Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This source code is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Please refer + * to the GNU Public License for more details. + * + * You should have received a copy of the GNU Public License along with + * this source code; if not, write to: Free Software Foundation, Inc., + * 675 Mass Ave, Cambridge, MA 02139, USA. + */ #include <string.h> #include <unistd.h> diff --git a/arm/scripts/bananapi.sh b/arm/scripts/bananapi.sh @@ -1,6 +1,8 @@ #!/usr/bin/env zsh # -# Copyright (C) 2015-2016 Dyne.org Foundation +# ARM SDK +# +# Copyright (C) 2016 Dyne.org Foundation # # ARM SDK is designed, written and maintained by parazyd <parazyd@dyne.org> # diff --git a/arm/scripts/chromebook-acer.sh b/arm/scripts/chromebook-acer.sh @@ -1,6 +1,8 @@ #!/usr/bin/env zsh # -# Copyright (C) 2015-2016 Dyne.org Foundation +# ARM SDK +# +# Copyright (C) 2016 Dyne.org Foundation # # ARM SDK is designed, written and maintained by parazyd <parazyd@dyne.org> # diff --git a/arm/scripts/cubieboard2.sh b/arm/scripts/cubieboard2.sh @@ -1,6 +1,8 @@ #!/usr/bin/env zsh # -# Copyright (C) 2015-2016 Dyne.org Foundation +# ARM SDK +# +# Copyright (C) 2016 Dyne.org Foundation # # ARM SDK is designed, written and maintained by parazyd <parazyd@dyne.org> # diff --git a/arm/scripts/raspberry-pi-2.sh b/arm/scripts/raspberry-pi-2.sh @@ -1,6 +1,8 @@ #!/usr/bin/env zsh # -# Copyright (C) 2015-2016 Dyne.org Foundation +# ARM SDK +# +# Copyright (C) 2016 Dyne.org Foundation # # ARM SDK is designed, written and maintained by parazyd <parazyd@dyne.org> # diff --git a/config b/config @@ -1,13 +1,13 @@ #!/usr/bin/env zsh - -# ARM SDK configuration -# safe to leave untouched # +# ARM SDK configuration + # add here the info of the toolchain you are using -# custom toolchain +# custom toolchain (https://pub.parazyd.cf/mirror/) compiler="arm-linux-gnueabihf-" export PATH="$PATH:/sbin:$R/toolchains/gcc-arm-linux-gnueabihf-4.7/bin" -# devuan default toolchain + +# Devuan official toolchain #compiler="arm-none-eabi-" #export PATH="$PATH:/sbin" diff --git a/sdk b/sdk @@ -1,8 +1,8 @@ #!/usr/bin/env zsh - +# # ARM SDK - -# Copyright (C) 2015-2016 Dyne.org Foundation +# +# Copyright (C) 2016 Dyne.org Foundation # # ARM SDK is written and maintained by parazyd <parazyd@dyne.org> # @@ -20,9 +20,6 @@ # this source code; if not, write to: Free Software Foundation, Inc., # 675 Mass Ave, Cambridge, MA 02139, USA. -# reqs: curl, gnupg2, sudo, debootstrap - - # setup zsh options setopt pushdsilent @@ -47,7 +44,7 @@ vars+=(loopdevice mappdevice ) # 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:-`pwd`} +R=${ARM_SDK:-`pwd`} # # global maps (TODO in zuper) maps+=(arm_map)