taesthetics - arm-sdk - os build toolkit for various embedded devices HTML git clone https://git.parazyd.org/arm-sdk DIR Log DIR Files DIR Refs DIR Submodules DIR README DIR LICENSE --- DIR commit 6a37a6901e64466009478f71db1be3770207b5d7 DIR parent 5f4519e488277edef613f2ee1d4b1dd2773f7870 HTML Author: parazyd <parazyd@dyne.org> Date: Wed, 20 Apr 2016 19:02:38 +0200 aesthetics Diffstat: M README.md | 5 ++++- A arm/extra/rpi3/README | 1 + M arm/init-arm | 5 +++-- M arm/profiles/common-devuan | 4 +++- M arm/qemu-wrapper.c | 24 ++++++++++++++++++++---- M arm/scripts/bananapi.sh | 4 +++- M arm/scripts/chromebook-acer.sh | 4 +++- M arm/scripts/cubieboard2.sh | 4 +++- M arm/scripts/raspberry-pi-2.sh | 4 +++- M config | 10 +++++----- M sdk | 11 ++++------- 11 files changed, 52 insertions(+), 24 deletions(-) --- DIR diff --git a/README.md b/README.md t@@ -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` DIR diff --git a/arm/extra/rpi3/README b/arm/extra/rpi3/README t@@ -0,0 +1 @@ +This is the required firmware for Raspberry Pi 3's onboard Bluetooth and WiFi DIR diff --git a/arm/init-arm b/arm/init-arm t@@ -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> # t@@ -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 $* DIR diff --git a/arm/profiles/common-devuan b/arm/profiles/common-devuan t@@ -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> t@@ -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) DIR diff --git a/arm/qemu-wrapper.c b/arm/qemu-wrapper.c t@@ -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> DIR diff --git a/arm/scripts/bananapi.sh b/arm/scripts/bananapi.sh t@@ -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> # DIR diff --git a/arm/scripts/chromebook-acer.sh b/arm/scripts/chromebook-acer.sh t@@ -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> # DIR diff --git a/arm/scripts/cubieboard2.sh b/arm/scripts/cubieboard2.sh t@@ -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> # DIR diff --git a/arm/scripts/raspberry-pi-2.sh b/arm/scripts/raspberry-pi-2.sh t@@ -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> # DIR diff --git a/config b/config t@@ -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" DIR diff --git a/sdk b/sdk t@@ -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> # t@@ -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 t@@ -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)