Commit Graph

75 Commits

Author SHA1 Message Date
iav
cda929a1b6
Make builder dockerfile to be x64 and aarch64 compatible (#2867)
* Make builder dockerfile to be x64 and aarch64 compatible
and building speed optimization

* remove hardcoded amd64
currently docker from edge not work, stable works, then stable instead edge

* libc6-dev-armhf-cross need to build rockchip uboot for helios64 under arm64

* need to add architecture to avoid blame for no docker for i386 arch

* hirsute uses same names for qemu-user-static

* let's only x64 use aptly from dev
2021-06-04 10:53:45 +02:00
iav
795df8c43a
Add xfs support into docker builder container (#2864) 2021-06-01 19:48:16 +02:00
Igor Pečovnik
9b0dd2b839
Fix broken Docker support (#2804)
* lsb-release package is getting deprecated

It is not present on Hirsute anymore so we better remove its dependency

* - remove lsb-release dependency from docker
- exit if Docker version is too low (check works only on Ubuntu builds, else doesn't do anything)

Reference: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1916485

* Cleanup

* Remove quotes for proper pkg install

* Automatically upgrade Docker engine

* Missing python dependencies

* Bugfix - debian name is not just one word

* Put this back

* provoke error

* Revert

* Adjust Github runner to make bionic and focal and compile u-boot for test

* Adjust cron

* Remove Bionic, cron back to 14 days

* Change to ubuntu-latest
2021-05-02 18:06:38 +02:00
Igor Pecovnik
c0fd724710 Unlock Hirsute 2021-04-22 01:58:59 +02:00
hartraft
2778474573 Update broken URLs 2021-04-12 00:36:08 +02:00
Igor Pecovnik
f257188e42 Revert "U-boot compilation for Tinkerboard breaks due missing some headers files (#2747)"
This reverts commit c7b853602d.
2021-04-01 15:00:44 +02:00
Igor Pečovnik
c7b853602d
U-boot compilation for Tinkerboard breaks due missing some headers files (#2747) 2021-03-29 22:03:39 +02:00
Oleg
d203ffee29
fix minor station (#2735) 2021-03-24 19:10:22 +01:00
Igor Pečovnik
3a74abe43d
Merge desktop branch (#2662)
Co-authored-by: Miouyouyou (Myy) <myy@miouyouyou.fr>
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: Richard Neese <r.neese@gmail.com>
Co-authored-by: iav <iav@iav.lv>
Co-authored-by: lanefu <lanefu@users.noreply.github.com>
Co-authored-by: Werner <EvilOlaf@users.noreply.github.com>
Co-authored-by: Oleg <balbes-150@yandex.ru>
Co-authored-by: Lane Jennison <lane@lane-fu.com>
Co-authored-by: JMCC <jmcc1@gmx.com>
2021-02-24 18:19:09 +01:00
Lukas Pirl
4e25b7257b
remove mount option "nodiratime" where "noatime" is given (#2645)
mount option "noatime" implies "nodiratime", see, e.g.:
https://github.com/torvalds/linux/blob/v5.11/fs/inode.c#L1807-L1808
2021-02-22 21:49:04 +01:00
Miouyouyou (Myy)
3034299ddb Dockerfile: Fix uuidgen not found during build
By adding uuid-runtime to the list of packages to install.

Signed-off-by: Miouyouyou (Myy) <myy@miouyouyou.fr>
2021-01-05 18:15:07 +01:00
lanefu
76aad7802c
Use armbian mirrors for downloads (#2400)
* switch to ARBIAN_MIRROR var for downloads
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2020-12-01 14:43:38 +01:00
heaterC
ddf7d92c69
change bionic64to focal64 (#2371) 2020-11-25 19:54:02 +01:00
Werner
98fc5586df
Add newer flavors to customization script
Also add hint about `$SDCARD`
2020-10-13 07:11:52 +02:00
Florian Vallee
49fb6550dd
Fix a bunch of small cryptroot image builds issues (#2195)
* Dockerfile update

Add package to fill-in missing ssh-keygen dependency

(required by lib/distributions.sh when CRYPTROOT_ENABLE is true)

* lib/chroot-buildpackages.sh: Fix mistakes with shellcheck linting

This breaks the apt command line, resulting in the following error:

> E: Invalid operation

* lib/configuration.sh: cryptroot >= 2.1 uses memory intensive key derivation

fix that by reverting to the < 2.1 default algorithm (pbkdf2)
2020-09-09 15:15:52 +02:00
frauhottelmann
74dcb00569
Dockerfile update (#2105)
* replace apt with apt-get

APT is not meant to be used in scripts: https://manpages.debian.org/stretch/apt/apt.8.en.html#SCRIPT_USAGE_AND_DIFFERENCES_FROM_OTHER_APT_TOOLS

* use ARG for DEBIAN_FRONTEND=noninteractive

and get rid of the other instances. Since it's an ARG, it will only be valid during the container build process

* better line breaks for easy of maintanace

* alphabetical order of packages

* reduce image size by cleaning APT cache
2020-07-23 15:36:06 +02:00
Igor Pečovnik
7d758026b5
Enable kernel boot splash, env and bootscript files cleanup, upstream patches (#2065)
* Initial commit for kernel boot splash
* Add startup files to disable bootlog when system is up / down
* Update logo, remove deprecated one
* Introduce new u-boot variable bootlogo
* Adjust kernel config
* Make logo possible on Odroid XU4
- add legacy and current upstream patches
- delete xu4 environment since its not used
* Cleanup C2,C4, both tested, logo works on mainline,
- adding legacy upstream patches for c4
* Enable bootlogo by default on Odroid N2
* Enable logo on RK3399 desktop images
* Cleanup the rest of the environment files
* Add initrd hook that copy splash file to initrd.
* Missing logo bits for one boot scripts
* Enable boot logo on Pinebook A64
* Enable bootlogo on Teres
* Update config
2020-06-27 19:14:38 +02:00
Igor Pečovnik
26d377cd2a
Adding new feature REPOSITORY_INSTALL (#1933)
* Rework packages install that they can be installed from repository instead of local compile. Handy for making releases.
* Don't build ATF if you don't build u-boot
2020-05-10 14:36:22 +02:00
Igor Pečovnik
fc1cb1fef4
Port Dockerfile image building recipe to Ubuntu 20.04 (#1911) 2020-04-27 18:06:13 +02:00
Igor Pečovnik
36e58385e7
Improve Docker support on Linux mint (#1899)
CI can't check, its tested, merging.

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-20 08:12:27 +02:00
Hugo
88f2596744
USB FEL working inside docker (#1892) 2020-04-16 18:26:45 +02:00
Igor Pečovnik
b9ebc7a378
Improve PGP keys loading (#1863)
Closes https://github.com/armbian/build/issues/1862
2020-03-30 13:16:00 +02:00
Igor Pecovnik
fbf72957d9
Docker Bugfix / Typo
Removing newline added by accident

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-03-18 08:08:04 +01:00
Igor Pecovnik
036445d71b
[ Docker ] Change expired Aptly keys
Closes https://github.com/armbian/build/issues/1847

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-03-17 23:15:28 +01:00
Igor Pečovnik
47e151d831
Fix Pinebook and Teres (#1800)
* Port ANX78xx Pinebook / Teres LCD panel driver from 5.6-rc1

* Move Teres U-boot to 2020.01 ... it boots with enabled screen now.

* U-boot 2020 needs some extra Pyton utils when packing sunxi bootloader. Adding to native and Docker build dependencies.

* Add Pinebook lid wakeup

* python3-dev is also needed dependency
2020-02-14 18:50:00 +01:00
Levin Du
de4cb7722d Docker: add docker shell support (#1612)
This allows to enter the docker container in a shell by:

    ./compile.sh docker-shell
        BOARD=firefly-rk3399 BRANCH=dev RELEASE=bionic BUILD_DESKTOP=no

Then you can build the whole thing in the docker shell with:

    ./compile.sh

Once you need to build the U-Boot only for development purpose, you can run:

    # Optional: prepare the environment first if you had not run `./compile.sh`
    ./compile.sh 'prepare_host && compile_sunxi_tools && install_rkbin_tools'

    # build the U-Boot only
    ./compile.sh compile_uboot

If you prefer to use profile, for example, `userpatches/config-my.conf`,  try:

    ./compile.sh my 'prepare_host && compile_sunxi_tools && install_rkbin_tools'
    ./compile.sh my compile_uboot

This commit also fixes #1638.
2019-11-28 15:24:22 +01:00
Piotr Szczepanik
1c9ef0872b Multiple bootloader creation options for rk3399 (#1614)
* Updated rockchip64-dev to u-boot v2019.10 and BL31 v1.30 (rk3399 boards)

* Updated rk3399 to u-boot v2019.10 and BL31 v1.30

* Revert changes to renegade u-boot patches

* Moved renegade u-boot patches into board dir

* Added debug info for RockPro64 and switched sdmmc to fifo-mode

* Disabled regulators in SPL for RockPro64

* Re-enabled sd vcc regulator in SPL for RockPro64

* Some device tree and config changes for OrangePi RK3399

* Fixed Rock Pi 4A's $BOOTCONFIG

* Let some boards use mainline atf instead of the one in rkbin

For example, roc-rk3399-pc can just boot the kernel using the
mainline atf.

* Add roc-rk3399-pc

* Fixed reset in mainline ATF

* Attached ATF version to v2.2 tag

* WIP: sdmmc fifo-mode in SPL only

* Renamed source config files

* Reverted changes to rockchip64 sources config

* Reverted patch moves

* Add missing trust.ini patch to rk3399 u-boot

* Reinstated tpl/spl patches in rk3399 family

* Added $RKBIN_DIR prefix in rk3399 sources

* Add demonstration of boards bootloader assignment in rk3399
2019-11-24 22:07:46 +01:00
Igor Pečovnik
150ac0c2af
Remove K<4, change branches, new features (#1586)
AR-1 - Adding support category for distributions
AR-4 - Remove Allwinner legacy
AR-5 - Drop Udoo family and move Udoo board into newly created imx6 family
AR-9 - Rename sunxi-next to sunxi-legacy
AR-10 - Rename sunxi-dev to sunxi-current
AR-11 - Adding Radxa Rockpi S support
AR-13 - Rename rockchip64-default to rockchip64-legacy
AR-14 - Add rockchip64-current as mainline source
AR-15 - Drop Rockchip 4.19.y NEXT, current become 5.3.y
AR-16 - Rename RK3399 default to legacy
AR-17 - Rename Odroid XU4 next and default to legacy 4.14.y, add DEV 5.4.y
AR-18 - Add Odroid N2 current mainline
AR-19 - Move Odroid C1 to meson family
AR-20 - Rename mvebu64-default to mvebu64-legacy
AR-21 - Rename mvebu-default to mvebu-legacy
AR-22 - Rename mvebu-next to mvebu-current
AR-23 - Drop meson64 default and next, current becomes former DEV 5.3.y
AR-24 - Drop cubox family and move Cubox/Hummingboard boards under imx6
AR-26 - Adjust motd
AR-27 - Enabling distribution release status
AR-28 - Added new GCC compilers
AR-29 - Implementing Ubuntu Eoan
AR-30 - Add desktop packages per board or family
AR-31 - Remove (Ubuntu/Debian) distribution name from image filename
AR-32 - Move arch configs from configuration.sh to separate arm64 and armhf config files
AR-33 - Revision numbers for beta builds changed to day_in_the_year
AR-34 - Patches support linked patches
AR-35 - Break meson64 family into gxbb and gxl
AR-36 - Add Nanopineo2 Black
AR-38 - Upgrade option from old branches to new one via armbian-config
AR-41 - Show full timezone info
AR-43 - Merge Odroid N2 to meson64
AR-44 - Enable FORCE_BOOTSCRIPT_UPDATE for all builds
2019-11-19 23:25:39 +01:00
Igor Pečovnik
fc51493f3c
btrfs-tools were changed to btrfs-progs
https://github.com/armbian/build/pull/1598
2019-10-20 23:51:29 +02:00
Igor Pečovnik
8bfb5aab3b
Resolving Docker dependencies
Apparently this is needed too
2019-09-28 22:47:10 +02:00
Igor Pečovnik
fa9b0f54b9
Moving configs under userpatches (#1564)
* Config files moved to userpatches.
* Automatic move config-default.conf to userpatches folder
* Move Dockerfile to config/templates which is then copied to userpatches. 
* Enable torrent dl by default
* Install docker if we want to build under Docker but its not installed

* Adjust Vagrant settings
Signed-off-by: Tian Yuanhao <tianyuanhao@aliyun.com>
2019-09-28 20:49:28 +02:00
Igor Pečovnik
1221d59233
Build all targets RFC (#1515)
* Introducing build-all-ng
* Implementing REBUILD_IMAGES='board1,board2,...' for rebuilding certain images only
* Add optimisations when building kernels - only cycle trough needed targets. Adding variable for defining whether an image is build, otherwise only BSP is made.
* repository manipulating RFC
* Add bianco deb file that is added by default if repository is clean
* Switch to gpg2 signing method, small bugfix
* Create subdir for debs and debs-beta
* Synaptic bugfix: installing indexing tools https://forum.armbian.com/topic/8021-orange-pi-one-synaptic-package-manager-search-very-slow/?do=findComment&comment=74918
* add all modules by default to Odroid N2, but leave them commented
* Bugfix: not making any builds when selecting kernel_only
* Remove EXTERNAL=yes ... move armbian-config and armbian-firmware into main compilation area, drop others since they are deprecated anyway. This will also enable multi threaded images making
* Move armbian.list to create_sources_list function. Replace NTP by Chrony. Remove armbian-firmware from PACKAGE_LIST and RockPi 4A (#1528)
* Replace NTP by chrony. Remove installion of outdated armbian-firmware from reposity.
* added RockPi 4A
* New format for board config
* Fix Bluetooth dependencies for minimal package - add rfkill to family related installs
* Moving networkd-dispatcher from minimal image
* Cubox-i: update default config
* Improving umount process
* Add purgesource feature
* Add FULL_DESKTOP to install few more applications on top of our desktop - notebooks should * rk3399 default: adjust patches and configuration
* Enable full desktop on most powerfull boards and notebooks

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-09-01 22:13:13 +02:00
Igor Pečovnik
c042c503b3
Cleanup example config (#1523)
* Cleanup example config
* Update config-example.conf
* removing deprecated function
2019-09-01 00:12:00 +02:00
Igor Pecovnik
ba503b0c36
customize-image: add InstallAdvancedDesktop install and Debian Buster
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-03 23:40:00 +02:00
rmcaninch
20de0c861f
Pointed to docs.armbian.com
Other link was 404
2018-12-22 18:54:59 -05:00
ei-ke
681e58b668
Added comment that LUKS2 can't be used. 2018-12-10 10:22:05 +01:00
ei-ke
57ce14b5a5
I added all CRYPTROOT related variables as you described them in your documentation and added some comments. By default encryption is deactivated of course.
Further I introduced the variable CRYPTROOT_PARAMETERS to have the ability to pass more options to the cryptsetup command.
I've test this on an Odroid HC2 (XU4) with default kernel configuration, full OS image, "next" branch and stretch as server:
- default without encryption
- encryption with user sepcific cryptsetup parameters
- encryption without user specific cryptsetup parameters
2018-12-10 00:18:52 +01:00
Gauthier Provost
14452e25e6 Helios4: Changes / fixes related to bootscript issue (#1169)
* helios4: next branch use u-boot 2018

use new u-boot based on upstream 2018

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* helios4: Tweak fancontrol configuration

Adjusted MINSTART and MINSTOP to suit both old and new fan.
Adjusted TEMP threshold so fan would stop or run in minimal speed when
the system idle.
Fixed wrong MINPWM value.

URL:https://wiki.kobol.io/pwm/#configuration-file
Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* kernel: mvebu-next: use upstream helios4 dts

Helios4 device tree has been merged on upstream since 4.19.
Rework the patch to produce same device tree.

URL:https://patchwork.kernel.org/patch/10449393/

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* Helios4: Use boot-mvebu-next bootscript

Use boot-mvebu-next.cmd that make use of upstream's Generic Distro
Configuration.
Since loadaddr and fdt_addr varibales are no longer required, remove the
patch.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* Helios4: mvebu-next: Add workaround for SPI and SATA concurrent access issue

Concurrent access on SPI NOR and SATA drives can lead to unstable SATA.
Therefore as workaround, disable SATA controller when SPI flash access
is needed and make it as user configurable item in armbianEnv.txt

This workaround might applies to Clearfog too.

Refer to
Commit 59af84c07c ("Helios4: Add SPI bootloader install feature
(#1126)")

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* Bootscripts: Fixed boot-mvebu-next.cmd

The environment setting (armbianEnv.txt) is loaded to RAM located on
${load_addr} but the env import use wrong address (${pxefile_addr_r}).

bootargs still expect ${boot_interface} which carried over from boot-
marvell.cmd. Upstream's distro configuration use ${devtype} instead.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* uboot: mvebu-next: only apply DT fixup script if it exists

* [ buildscript ] Add FORCE_BOOTSCRIPT_UPDATE option

If enabled bootscript will get updated during bsp upgrade.

* Helios4: Enable FORCE_BOOTSCRIPT_UPDATE by default in board config.

* Helios4: Added boot-marvell.cmd compability to u-boot 2018

Revert the changes to use boot-mvebu-next.cmd instead of boot-
marvell.cmd to prevent unbootable system due to incompatibility between
u-boot 2013.01 and boot-mvebu-next.cmd
This reverts commit 0f17ecb233 ("Helios4: Use boot-mvebu-next
bootscript")

U-Boot 2018 will failed load dtb and script due to missing some
variables on boot-marvell.cmd. This will render the system unbootable.
Re-added and update loading-boot-scr.patch for backward compatibility

Signed-off-by: Aditya Prayoga <aditya@kobol.io>
2018-11-29 06:58:39 +01:00
ThomasKaiser
82d5b42984 Another customize-image.sh.template example...
to be used with unattended storage performance testing
2018-10-14 20:38:11 +02:00
ThomasKaiser
868930fd7b [OMV] RK3399 adoptions 2018-10-09 17:16:35 +02:00
Igor Pecovnik
35835233db Read test reports from external repository https://github.com/armbian/testings 2018-08-20 15:43:18 +02:00
Igor Pecovnik
9f2441a1d5 Create Markdown formatted report when building all kernels. Prepared to include simple testing report if exists. 2018-08-20 13:27:34 +02:00
Igor Pecovnik
98c9505d0b Rootfs cache management bugfix due to added Bionic targt. 2018-08-15 15:31:58 +02:00
Igor Pecovnik
c721510e6e Add support for burning to SD card using Etcher for CLI 2018-08-03 19:35:19 +02:00
ThomasKaiser
4117a76167 Minor bugfixes 2018-07-19 12:41:09 +02:00
Thomas Kaiser
4c19093582
[OMV] Minor tweaks 2018-07-16 09:08:04 +02:00
ThomasKaiser
97b1d222f2 [OMV] Fix annoying python warning 2018-07-15 03:10:47 -07:00
ThomasKaiser
71b06566f3 [OMV] Minor improvements/fixes 2018-07-15 02:40:56 -07:00
ThomasKaiser
80c8753d78 [OMV] Minor fixes 2018-07-09 13:41:24 -07:00
Igor Pečovnik
0c7ca66d65
Change to generic branch naming
https://github.com/armbian/build/pull/996#issuecomment-395484411
2018-06-07 19:36:27 +02:00