diff --git a/.gitignore b/.gitignore deleted file mode 100644 index d58f61d..0000000 --- a/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -tmp/* -gcc/* -dist/* -log/* diff --git a/.gitmodules b/.gitmodules index 8d5a76e..9373af8 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/README.md b/README.md index e94b0d9..9e73540 100644 --- a/README.md +++ b/README.md @@ -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. -- Denis Roio -- Enzo Nicosia - -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 . diff --git a/TODO.md b/TODO.md deleted file mode 100644 index df04131..0000000 --- a/TODO.md +++ /dev/null @@ -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 diff --git a/boards/beaglebone-black.sh b/boards/beaglebone-black.sh index 551eff9..0e4a129 100644 --- a/boards/beaglebone-black.sh +++ b/boards/beaglebone-black.sh @@ -1,7 +1,5 @@ #!/usr/bin/env zsh -# Copyright (c) 2016-2020 Dyne.org Foundation -# arm-sdk is written and maintained by Ivan J. -# +# Copyright (c) 2016-2021 Ivan J. # This file is part of arm-sdk # # This source code is free software: you can redistribute it and/or modify diff --git a/boards/bionic.sh b/boards/bionic.sh index 3f48036..5c2dcd8 100644 --- a/boards/bionic.sh +++ b/boards/bionic.sh @@ -1,7 +1,5 @@ #!/usr/bin/env zsh -# Copyright (c) 2016-2020 Dyne.org Foundation -# arm-sdk is written and maintained by Ivan J. -# +# Copyright (c) 2016-2021 Ivan J. # This file is part of arm-sdk # # This source code is free software: you can redistribute it and/or modify diff --git a/boards/chromebook-acer.sh b/boards/chromebook-acer.sh index 9503fa4..00e270e 100644 --- a/boards/chromebook-acer.sh +++ b/boards/chromebook-acer.sh @@ -1,7 +1,5 @@ #!/usr/bin/env zsh -# Copyright (c) 2016-2018 Dyne.org Foundation -# arm-sdk is written and maintained by Ivan J. -# +# Copyright (c) 2016-2021 Ivan J. # This file is part of arm-sdk # # This source code is free software: you can redistribute it and/or modify diff --git a/boards/chromebook-veyron.sh b/boards/chromebook-veyron.sh index dd02c4b..df839a3 100644 --- a/boards/chromebook-veyron.sh +++ b/boards/chromebook-veyron.sh @@ -1,7 +1,5 @@ #!/usr/bin/env zsh -# Copyright (c) 2016 Dyne.org Foundation -# arm-sdk is written and maintained by Ivan J. -# +# Copyright (c) 2016-2021 Ivan J. # This file is part of arm-sdk # # This source code is free software: you can redistribute it and/or modify diff --git a/boards/droid4.sh b/boards/droid4.sh index 19f9198..28ccc4b 100644 --- a/boards/droid4.sh +++ b/boards/droid4.sh @@ -1,7 +1,5 @@ #!/usr/bin/env zsh -# Copyright (c) 2016-2020 Dyne.org Foundation -# arm-sdk is written and maintained by Ivan J. -# +# Copyright (c) 2016-2021 Ivan J. # This file is part of arm-sdk # # This source code is free software: you can redistribute it and/or modify diff --git a/boards/nokia-n9.sh b/boards/nokia-n9.sh index 31e8c8d..f25e9ad 100644 --- a/boards/nokia-n9.sh +++ b/boards/nokia-n9.sh @@ -1,7 +1,5 @@ #!/usr/bin/env zsh -# Copyright (c) 2016-2020 Dyne.org Foundation -# arm-sdk is written and maintained by Ivan J. -# +# Copyright (c) 2016-2021 Ivan J. # This file is part of arm-sdk # # This source code is free software: you can redistribute it and/or modify diff --git a/boards/nokia-n900.sh b/boards/nokia-n900.sh index 3eb9102..ba0da72 100644 --- a/boards/nokia-n900.sh +++ b/boards/nokia-n900.sh @@ -1,7 +1,5 @@ #!/usr/bin/env zsh -# Copyright (c) 2016-2020 Dyne.org Foundation -# arm-sdk is written and maintained by Ivan J. -# +# Copyright (c) 2016-2021 Ivan J. # This file is part of arm-sdk # # This source code is free software: you can redistribute it and/or modify diff --git a/boards/nokia-n950.sh b/boards/nokia-n950.sh index ff29771..bdc7425 100644 --- a/boards/nokia-n950.sh +++ b/boards/nokia-n950.sh @@ -1,7 +1,5 @@ #!/usr/bin/env zsh -# Copyright (c) 2016-2020 Dyne.org Foundation -# arm-sdk is written and maintained by Ivan J. -# +# Copyright (c) 2016-2021 Ivan J. # This file is part of arm-sdk # # This source code is free software: you can redistribute it and/or modify diff --git a/boards/odroid-xu.sh b/boards/odroid-xu.sh index 63c929d..859493c 100644 --- a/boards/odroid-xu.sh +++ b/boards/odroid-xu.sh @@ -1,7 +1,5 @@ #!/usr/bin/env zsh -# Copyright (c) 2016-2020 Dyne.org Foundation -# arm-sdk is written and maintained by Ivan J. -# +# Copyright (c) 2016-2021 Ivan J. # This file is part of arm-sdk # # This source code is free software: you can redistribute it and/or modify diff --git a/boards/odroid-xu4.sh b/boards/odroid-xu4.sh index 706ecff..34501fb 100644 --- a/boards/odroid-xu4.sh +++ b/boards/odroid-xu4.sh @@ -1,7 +1,5 @@ #!/usr/bin/env zsh -# Copyright (c) 2016-2020 Dyne.org Foundation -# arm-sdk is written and maintained by Ivan J. -# +# Copyright (c) 2016-2021 Ivan J. # This file is part of arm-sdk # # This source code is free software: you can redistribute it and/or modify diff --git a/boards/ouya.sh b/boards/ouya.sh index ac5110a..0199613 100644 --- a/boards/ouya.sh +++ b/boards/ouya.sh @@ -1,7 +1,5 @@ #!/usr/bin/env zsh -# Copyright (c) 2016-2020 Dyne.org Foundation -# arm-sdk is written and maintained by Ivan J. -# +# Copyright (c) 2016-2021 Ivan J. # This file is part of arm-sdk # # This source code is free software: you can redistribute it and/or modify diff --git a/boards/pinephone-dontbeevil.sh b/boards/pinephone-dontbeevil.sh index 6d8ac5f..1e3bb97 100644 --- a/boards/pinephone-dontbeevil.sh +++ b/boards/pinephone-dontbeevil.sh @@ -1,7 +1,5 @@ #!/usr/bin/env zsh -# Copyright (c) 2016-2020 Dyne.org Foundation -# arm-sdk is written and maintained by Ivan J. -# +# Copyright (c) 2016-2021 Ivan J. # This file is part of arm-sdk # # This source code is free software: you can redistribute it and/or modify diff --git a/boards/pinephone.sh b/boards/pinephone.sh index df0902d..b7797c6 100644 --- a/boards/pinephone.sh +++ b/boards/pinephone.sh @@ -1,5 +1,5 @@ #!/usr/bin/env zsh -# Copyright (c) 2020 Dyne.org Foundation +# Copyright (c) 2016-2021 Ivan J. # arm-sdk is written and maintained by Ivan J. # # 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 diff --git a/boards/pinetab.sh b/boards/pinetab.sh index 6feb7d6..78ef365 100644 --- a/boards/pinetab.sh +++ b/boards/pinetab.sh @@ -1,7 +1,5 @@ #!/usr/bin/env zsh -# Copyright (c) 2020 Dyne.org Foundation -# arm-sdk is written and maintained by Ivan J. -# +# Copyright (c) 2016-2021 Ivan J. # This file is part of arm-sdk # # This source code is free software: you can redistribute it and/or modify diff --git a/boards/raspberry-pi1.sh b/boards/raspberry-pi1.sh index 7ae4625..078ba3e 100644 --- a/boards/raspberry-pi1.sh +++ b/boards/raspberry-pi1.sh @@ -1,7 +1,5 @@ #!/usr/bin/env zsh -# Copyright (c) 2016-2020 Dyne.org Foundation -# arm-sdk is written and maintained by Ivan J. -# +# Copyright (c) 2016-2021 Ivan J. # This file is part of arm-sdk # # This source code is free software: you can redistribute it and/or modify diff --git a/boards/raspberry-pi2.sh b/boards/raspberry-pi2.sh index d51c353..d9def76 100644 --- a/boards/raspberry-pi2.sh +++ b/boards/raspberry-pi2.sh @@ -1,7 +1,5 @@ #!/usr/bin/env zsh -# Copyright (c) 2016-2020 Dyne.org Foundation -# arm-sdk is written and maintained by Ivan J. -# +# Copyright (c) 2016-2021 Ivan J. # This file is part of arm-sdk # # This source code is free software: you can redistribute it and/or modify diff --git a/boards/raspberry-pi3.sh b/boards/raspberry-pi3.sh index 5ed701e..f0893bd 100644 --- a/boards/raspberry-pi3.sh +++ b/boards/raspberry-pi3.sh @@ -1,7 +1,5 @@ #!/usr/bin/env zsh -# Copyright (c) 2016-2020 Dyne.org Foundation -# arm-sdk is written and maintained by Ivan J. -# +# Copyright (c) 2016-2021 Ivan J. # This file is part of arm-sdk # # This source code is free software: you can redistribute it and/or modify diff --git a/boards/raspberry-pi4.sh b/boards/raspberry-pi4.sh index 282fd94..a65a8bc 100644 --- a/boards/raspberry-pi4.sh +++ b/boards/raspberry-pi4.sh @@ -1,7 +1,5 @@ #!/usr/bin/env zsh -# Copyright (c) 2016-2020 Dyne.org Foundation -# arm-sdk is written and maintained by Ivan J. -# +# Copyright (c) 2016-2021 Ivan J. # This file is part of arm-sdk # # This source code is free software: you can redistribute it and/or modify diff --git a/boards/sunxi.sh b/boards/sunxi.sh index db3cd2f..1e1b2eb 100644 --- a/boards/sunxi.sh +++ b/boards/sunxi.sh @@ -1,7 +1,5 @@ #!/usr/bin/env zsh -# Copyright (c) 2016-2020 Dyne.org Foundation -# arm-sdk is written and maintained by Ivan J. -# +# Copyright (c) 2016-2021 Ivan J. # This file is part of arm-sdk # # This source code is free software: you can redistribute it and/or modify diff --git a/boards/turbox-twister.sh b/boards/turbox-twister.sh index 1ddccd5..434be61 100644 --- a/boards/turbox-twister.sh +++ b/boards/turbox-twister.sh @@ -1,7 +1,5 @@ #!/usr/bin/env zsh -# Copyright (c) 2016-2020 Dyne.org Foundation -# arm-sdk is written and maintained by Ivan J. -# +# Copyright (c) 2016-2021 Ivan J. # This file is part of arm-sdk # # This source code is free software: you can redistribute it and/or modify diff --git a/config b/config index 09b05a9..9db29e4 100644 --- a/config +++ b/config @@ -1,7 +1,5 @@ #!/usr/bin/env zsh -# Copyright (c) 2016-2020 Dyne.org Foundation -# arm-sdk is written and maintained by Ivan J. -# +# Copyright (c) 2016-2020 Ivan J. # 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" diff --git a/doc/quirks.md b/doc/quirks.md index fba062c..7cd9b4a 100644 --- a/doc/quirks.md +++ b/doc/quirks.md @@ -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) diff --git a/init.sh b/init.sh deleted file mode 100755 index 5207a3d..0000000 --- a/init.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh -# Copyright (c) 2016-2020 Dyne.org Foundation -# arm-sdk is written and maintained by Ivan J. -# -# 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 . - -## 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 < -# +# Copyright (c) 2016-2021 Ivan J. # This file is part of arm-sdk # # This source code is free software: you can redistribute it and/or modify diff --git a/lib/libdevuansdk b/lib/libdevuansdk index 643deaf..7eb4f57 160000 --- a/lib/libdevuansdk +++ b/lib/libdevuansdk @@ -1 +1 @@ -Subproject commit 643deaf91a5a01e34af903f84d75a054402a4a9c +Subproject commit 7eb4f578833f4b093e224633176a12a214dec300 diff --git a/sdk b/sdk index 30fdc7e..07877fd 100755 --- a/sdk +++ b/sdk @@ -1,7 +1,5 @@ #!/usr/bin/env zsh -# Copyright (c) 2016-2020 Dyne.org Foundation -# arm-sdk is written and maintained by Ivan J. -# +# Copyright (c) 2016-2020 Ivan J. # This file is part of arm-sdk # # This source code is free software: you can redistribute it and/or modify