Update license headers.

This commit is contained in:
parazyd 2020-12-23 09:11:53 +01:00
parent 223c0f1eda
commit a75a79a90e
No known key found for this signature in database
GPG Key ID: 6B636BF0493EE747
30 changed files with 40 additions and 183 deletions

4
.gitignore vendored
View File

@ -1,4 +0,0 @@
tmp/*
gcc/*
dist/*
log/*

3
.gitmodules vendored
View File

@ -1,9 +1,6 @@
[submodule "lib/libdevuansdk"]
path = lib/libdevuansdk
url = https://github.com/parazyd/libdevuansdk
[submodule "lib/zuper"]
path = lib/zuper
url = https://github.com/dyne/zuper.git
[submodule "extra/u-boot"]
path = extra/u-boot
url = git://git.denx.de/u-boot.git

View File

@ -9,7 +9,7 @@ support multiple Linux distributions.
arm-sdk is designed to be used interactively from a terminal, as well as
from shell scripts. It requires the following packages to be installed, as well
as [libdevuansdk dependencies](https://github.com/dyne/libdevuansdk/blob/master/README.md#requirements):
as [libdevuansdk dependencies](https://github.com/parazyd/libdevuansdk/blob/master/README.md#requirements):
### Devuan
@ -25,24 +25,12 @@ net-misc/curl net-misc/wget sys-boot/vboot-utils app-emulation/qemu(static-user)
`sudo` permissions are required for the user that is running the build.
## Initial setup
By executing `init.sh` which is found in the base directory of arm-sdk, it
will initialize all git submodules and gcc toolchains that are needed for
arm-sdk to properly function.
Do it with:
```
; ./init.sh
```
## Quick start
Edit the `config` file to match your crosscompile toolchain. `init.sh` will
provide you with precompiled ones. Then run zsh. In case you have conflicting
extensions on your zsh configuration, safest way would be to run a vanilla one,
using:
Edit the `config` file to match your crosscompile toolchains. Then run
zsh. In case you have conflicting extensions on your zsh configuration,
safest way would be to run a vanilla one, using:
```
; zsh -f
@ -68,6 +56,8 @@ Now is the time you choose the device and OS you want to build the image for.
* `n900` - Nokia N900
* `n950` - Nokia N950
* `n9` - Nokia N9
* `droid` - Motorola Droid 4
* `bionic` - Motorola Droid Bionic
* `odroidxu` - ODROID-XU
* `odroidxu4` - ODROID-XU4
* `ouya` - OUYA gaming console
@ -76,7 +66,11 @@ Now is the time you choose the device and OS you want to build the image for.
* `raspi3` - Raspberry Pi 3 (64bit)
* `raspi4` - Raspberry Pi 4 (64bit)
* `rock64` - Rock64 (64bit) (EXPERIMENTAL)
* `pinephone-dontbeevil` - Pinephone Dontbeevil devkit
* `pinephone` - Pine64 Pinephone
* `pinetab` - Pine64 Pinetab
* `sunxi` - Allwinner-based boards
* `turbox-twister` - TurboX Twister tablet
```
; load devuan sunxi
@ -92,42 +86,3 @@ The image will automatically be build for you. Once finished, you will be
able to find it in the `dist/` directory in arm-sdk's root.
For more info, see the `doc/` directory.
## Support readiness grid
Building and testing ASCII 2.1 point release
| board name | builds | runs | problems |
| ---------- | ------ | ---- | -------- |
| raspi1 | yes | ?? | |
| raspi2 | yes | ?? | |
| raspi3 | yes | ?? | |
| raspi4 | yes | ?? | |
| sunxi | no | ?? | ?package |
## Acknowledgments
Devuan's SDK was originally 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.
The Devuan SDK is Copyright (c) 2015-2017 by the Dyne.org Foundation
Devuan SDK components were designed, and are written and maintained by:
- Ivan J. <parazyd@dyne.org>
- Denis Roio <jaromil@dyne.org>
- Enzo Nicosia <katolaz@freaknet.org>
This source code is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option)
any later version.
This software 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. See the GNU General Public License for
more details.
You should have received a copy of the GNU General Public License along
with this source code. If not, see <http://www.gnu.org/licenses/>.

View File

@ -1,6 +0,0 @@
things needed doing
===================
* remove systemd from raspi-config and include it in builds
* figure out which firmware will never be used for each device
* documentation

View File

@ -1,7 +1,5 @@
#!/usr/bin/env zsh
# Copyright (c) 2016-2020 Dyne.org Foundation
# arm-sdk is written and maintained by Ivan J. <parazyd@dyne.org>
#
# Copyright (c) 2016-2021 Ivan J. <parazyd@dyne.org>
# This file is part of arm-sdk
#
# This source code is free software: you can redistribute it and/or modify

View File

@ -1,7 +1,5 @@
#!/usr/bin/env zsh
# Copyright (c) 2016-2020 Dyne.org Foundation
# arm-sdk is written and maintained by Ivan J. <parazyd@dyne.org>
#
# Copyright (c) 2016-2021 Ivan J. <parazyd@dyne.org>
# This file is part of arm-sdk
#
# This source code is free software: you can redistribute it and/or modify

View File

@ -1,7 +1,5 @@
#!/usr/bin/env zsh
# Copyright (c) 2016-2018 Dyne.org Foundation
# arm-sdk is written and maintained by Ivan J. <parazyd@dyne.org>
#
# Copyright (c) 2016-2021 Ivan J. <parazyd@dyne.org>
# This file is part of arm-sdk
#
# This source code is free software: you can redistribute it and/or modify

View File

@ -1,7 +1,5 @@
#!/usr/bin/env zsh
# Copyright (c) 2016 Dyne.org Foundation
# arm-sdk is written and maintained by Ivan J. <parazyd@dyne.org>
#
# Copyright (c) 2016-2021 Ivan J. <parazyd@dyne.org>
# This file is part of arm-sdk
#
# This source code is free software: you can redistribute it and/or modify

View File

@ -1,7 +1,5 @@
#!/usr/bin/env zsh
# Copyright (c) 2016-2020 Dyne.org Foundation
# arm-sdk is written and maintained by Ivan J. <parazyd@dyne.org>
#
# Copyright (c) 2016-2021 Ivan J. <parazyd@dyne.org>
# This file is part of arm-sdk
#
# This source code is free software: you can redistribute it and/or modify

View File

@ -1,7 +1,5 @@
#!/usr/bin/env zsh
# Copyright (c) 2016-2020 Dyne.org Foundation
# arm-sdk is written and maintained by Ivan J. <parazyd@dyne.org>
#
# Copyright (c) 2016-2021 Ivan J. <parazyd@dyne.org>
# This file is part of arm-sdk
#
# This source code is free software: you can redistribute it and/or modify

View File

@ -1,7 +1,5 @@
#!/usr/bin/env zsh
# Copyright (c) 2016-2020 Dyne.org Foundation
# arm-sdk is written and maintained by Ivan J. <parazyd@dyne.org>
#
# Copyright (c) 2016-2021 Ivan J. <parazyd@dyne.org>
# This file is part of arm-sdk
#
# This source code is free software: you can redistribute it and/or modify

View File

@ -1,7 +1,5 @@
#!/usr/bin/env zsh
# Copyright (c) 2016-2020 Dyne.org Foundation
# arm-sdk is written and maintained by Ivan J. <parazyd@dyne.org>
#
# Copyright (c) 2016-2021 Ivan J. <parazyd@dyne.org>
# This file is part of arm-sdk
#
# This source code is free software: you can redistribute it and/or modify

View File

@ -1,7 +1,5 @@
#!/usr/bin/env zsh
# Copyright (c) 2016-2020 Dyne.org Foundation
# arm-sdk is written and maintained by Ivan J. <parazyd@dyne.org>
#
# Copyright (c) 2016-2021 Ivan J. <parazyd@dyne.org>
# This file is part of arm-sdk
#
# This source code is free software: you can redistribute it and/or modify

View File

@ -1,7 +1,5 @@
#!/usr/bin/env zsh
# Copyright (c) 2016-2020 Dyne.org Foundation
# arm-sdk is written and maintained by Ivan J. <parazyd@dyne.org>
#
# Copyright (c) 2016-2021 Ivan J. <parazyd@dyne.org>
# This file is part of arm-sdk
#
# This source code is free software: you can redistribute it and/or modify

View File

@ -1,7 +1,5 @@
#!/usr/bin/env zsh
# Copyright (c) 2016-2020 Dyne.org Foundation
# arm-sdk is written and maintained by Ivan J. <parazyd@dyne.org>
#
# Copyright (c) 2016-2021 Ivan J. <parazyd@dyne.org>
# This file is part of arm-sdk
#
# This source code is free software: you can redistribute it and/or modify

View File

@ -1,7 +1,5 @@
#!/usr/bin/env zsh
# Copyright (c) 2016-2020 Dyne.org Foundation
# arm-sdk is written and maintained by Ivan J. <parazyd@dyne.org>
#
# Copyright (c) 2016-2021 Ivan J. <parazyd@dyne.org>
# This file is part of arm-sdk
#
# This source code is free software: you can redistribute it and/or modify

View File

@ -1,5 +1,5 @@
#!/usr/bin/env zsh
# Copyright (c) 2020 Dyne.org Foundation
# Copyright (c) 2016-2021 Ivan J. <parazyd@dyne.org>
# arm-sdk is written and maintained by Ivan J. <parazyd@dyne.org>
#
# This file is part of arm-sdk
@ -76,6 +76,10 @@ postbuild() {
notice "building crust"
git clone --depth 1 "$crustgit" -b "$crustbranch" "$R/tmp/kernels/crust" || zerr
pushd "$R/tmp/kernels/crust"
or1ktc="or1k-linux-musl-"
wget -c "http://musl.cc/${or1ktc}cross.tgz"
tar xf "${or1ktc}cross.tgz"
export PATH="$PATH:$(pwd)/or1k-linux-musl/bin"
make $MAKEOPTS CROSS_COMPILE="$or1ktc" pinephone_defconfig || zerr
make $MAKEOPTS CROSS_COMPILE="$or1ktc" scp || zerr
popd

View File

@ -1,7 +1,5 @@
#!/usr/bin/env zsh
# Copyright (c) 2020 Dyne.org Foundation
# arm-sdk is written and maintained by Ivan J. <parazyd@dyne.org>
#
# Copyright (c) 2016-2021 Ivan J. <parazyd@dyne.org>
# This file is part of arm-sdk
#
# This source code is free software: you can redistribute it and/or modify

View File

@ -1,7 +1,5 @@
#!/usr/bin/env zsh
# Copyright (c) 2016-2020 Dyne.org Foundation
# arm-sdk is written and maintained by Ivan J. <parazyd@dyne.org>
#
# Copyright (c) 2016-2021 Ivan J. <parazyd@dyne.org>
# This file is part of arm-sdk
#
# This source code is free software: you can redistribute it and/or modify

View File

@ -1,7 +1,5 @@
#!/usr/bin/env zsh
# Copyright (c) 2016-2020 Dyne.org Foundation
# arm-sdk is written and maintained by Ivan J. <parazyd@dyne.org>
#
# Copyright (c) 2016-2021 Ivan J. <parazyd@dyne.org>
# This file is part of arm-sdk
#
# This source code is free software: you can redistribute it and/or modify

View File

@ -1,7 +1,5 @@
#!/usr/bin/env zsh
# Copyright (c) 2016-2020 Dyne.org Foundation
# arm-sdk is written and maintained by Ivan J. <parazyd@dyne.org>
#
# Copyright (c) 2016-2021 Ivan J. <parazyd@dyne.org>
# This file is part of arm-sdk
#
# This source code is free software: you can redistribute it and/or modify

View File

@ -1,7 +1,5 @@
#!/usr/bin/env zsh
# Copyright (c) 2016-2020 Dyne.org Foundation
# arm-sdk is written and maintained by Ivan J. <parazyd@dyne.org>
#
# Copyright (c) 2016-2021 Ivan J. <parazyd@dyne.org>
# This file is part of arm-sdk
#
# This source code is free software: you can redistribute it and/or modify

View File

@ -1,7 +1,5 @@
#!/usr/bin/env zsh
# Copyright (c) 2016-2020 Dyne.org Foundation
# arm-sdk is written and maintained by Ivan J. <parazyd@dyne.org>
#
# Copyright (c) 2016-2021 Ivan J. <parazyd@dyne.org>
# This file is part of arm-sdk
#
# This source code is free software: you can redistribute it and/or modify

View File

@ -1,7 +1,5 @@
#!/usr/bin/env zsh
# Copyright (c) 2016-2020 Dyne.org Foundation
# arm-sdk is written and maintained by Ivan J. <parazyd@dyne.org>
#
# Copyright (c) 2016-2021 Ivan J. <parazyd@dyne.org>
# This file is part of arm-sdk
#
# This source code is free software: you can redistribute it and/or modify

5
config
View File

@ -1,7 +1,5 @@
#!/usr/bin/env zsh
# Copyright (c) 2016-2020 Dyne.org Foundation
# arm-sdk is written and maintained by Ivan J. <parazyd@dyne.org>
#
# Copyright (c) 2016-2020 Ivan J. <parazyd@dyne.org>
# This file is part of arm-sdk
#
# This source code is free software: you can redistribute it and/or modify
@ -29,7 +27,6 @@ COMPRESS_IMAGE=1
armhftc="arm-linux-gnueabihf-"
armeltc="arm-none-eabi-"
arm64tc="aarch64-linux-gnu-"
or1ktc="or1k-linux-musl-"
export PATH="$PATH:/usr/sbin:/sbin:/usr/bin:/bin:$R/gcc/or1k-linux-musl/bin"

View File

@ -48,5 +48,5 @@ fastboot boot zImage-3.1.10-tk*
```
## Nokia N900
* To boot, dd the image to a microSD card, and in the uboot console, type: `run sdboot`
* [http://pub.parazyd.cf/N900/merlijnsdocs.txt](http://pub.parazyd.cf/N900/merlijnsdocs.txt)
* [http://talk.maemo.org/showthread.php?t=81613](http://talk.maemo.org/showthread.php?t=81613)
* [https://parazyd.org/pub/N900/merlijnsdocs.txt](https://parazyd.org/pub/N900/merlijnsdocs.txt)
* [https://talk.maemo.org/showthread.php?t=81613](https://talk.maemo.org/showthread.php?t=81613)

44
init.sh
View File

@ -1,44 +0,0 @@
#!/bin/sh
# Copyright (c) 2016-2020 Dyne.org Foundation
# arm-sdk is written and maintained by Ivan J. <parazyd@dyne.org>
#
# This file is part of arm-sdk
#
# This source code is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This software 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. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this source code. If not, see <http://www.gnu.org/licenses/>.
## This script will setup arm-sdk and make it ready for usage.
set -e
git submodule update --init --recursive --checkout
mkdir -p gcc
cd gcc
or1ktc="or1k-linux-musl"
or1kurl="http://musl.cc/or1k-linux-musl-cross.tgz"
wget "$or1kurl"
tar xf "$(basename "$or1kurl")"
mv or1k-linux-musl-cross "$or1ktc"
rm -f "$(basename "$or1kurl")"
cd -
cat <<EOM
All done! Make sure you also install the required dependencies listed in
README.md. You can use the following oneliner as well:
$ grep '^curl ' README.md | xargs sudo apt --yes --force-yes install
EOM

View File

@ -1,7 +1,5 @@
#!/usr/bin/env zsh
# Copyright (c) 2016-2020 Dyne.org Foundation
# arm-sdk is written and maintained by Ivan J. <parazyd@dyne.org>
#
# Copyright (c) 2016-2021 Ivan J. <parazyd@dyne.org>
# This file is part of arm-sdk
#
# This source code is free software: you can redistribute it and/or modify

@ -1 +1 @@
Subproject commit 643deaf91a5a01e34af903f84d75a054402a4a9c
Subproject commit 7eb4f578833f4b093e224633176a12a214dec300

4
sdk
View File

@ -1,7 +1,5 @@
#!/usr/bin/env zsh
# Copyright (c) 2016-2020 Dyne.org Foundation
# arm-sdk is written and maintained by Ivan J. <parazyd@dyne.org>
#
# Copyright (c) 2016-2020 Ivan J. <parazyd@dyne.org>
# This file is part of arm-sdk
#
# This source code is free software: you can redistribute it and/or modify