Commit Graph

50 Commits

Author SHA1 Message Date
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
Kryštof Černý
d3f3785aa8
Typo fix 2018-06-03 19:24:45 +02:00
Igor Pecovnik
f6d4d89b08 Merging config files from development 2018-05-27 13:08:19 +02:00
opi
7fa7437ec2 Add LIB_TAG "master" 2018-05-10 17:01:59 +02:00
zador-blood-stained
bedc19439f Merge safe changes from development to master, part 1 2018-04-29 15:47:40 +03:00
ThomasKaiser
e1ab0cbed9 Add USB DT overlays to small H2+/H3/H5 boards
Enables USB ports on pin headers by default on future Armbian images
2017-11-01 15:39:22 +01:00
ThomasKaiser
d5be205215 [OMV] Move forced root pwd change to bottom
Otherwise avahi-daemon can't be set up properly starting with OMV 3.0.90
2017-10-29 07:51:28 -07:00
ThomasKaiser
fcd1ee15c3 [OMV] Enfore root passwd change on 1st login 2017-10-09 14:57:05 +02:00
ThomasKaiser
616832f17e [OMV] Minor XU4/Cloudshell 1 stability hack
https://forum.odroid.com/viewtopic.php?f=146&t=27548&start=100#p201951
2017-09-16 16:12:34 +02:00
ThomasKaiser
edc7b2ee1c Minor OMV and GbE board tweaks 2017-09-09 08:51:25 -07:00
ThomasKaiser
9a217b3603 [OMV] Small installer tweaks, OMV4 preparation done 2017-09-03 23:54:54 -07:00
ThomasKaiser
3845004787 [OMV] Activate zram\nDo this for now only on OMV images to collect some experiences 2017-08-29 03:43:43 -07:00
ThomasKaiser
b21fc4c15f [OMV] Small tweaks, automatic TZ configuration 2017-08-28 03:05:52 -07:00
ThomasKaiser
4f08c97d74 [OMV] Minor performance fixes 2017-08-25 07:57:04 -07:00
ThomasKaiser
c36918212f Small ODROID-XU4/HC1/HC2/MC1 improvements
Move usb5/eth0 IRQ to cpu7 (big core), use 2MB coherent pool size with next kernel update since fixed there
2017-08-22 08:20:21 -07:00
zador-blood-stained
464146cb0c Add comment about userpatches/overlay directory 2017-08-11 18:10:10 +03:00
zador-blood-stained
7bf38e178f Update the default config template 2017-08-06 18:13:23 +03:00
Igor Pecovnik
549d09b043 Move kernel heaers install under switch and to config example. Package can now be installed from armbian-config "with one click". 2017-08-06 14:45:13 +02:00
zador-blood-stained
5bf532726c Refactor display manager selection
Remove option from the template config to leave it hidden for now
Enable lightdm by default for the Pinebook
2017-08-03 19:20:19 +03:00
Igor Pecovnik
4a909dec38 Added display manager to example configuration 2017-08-03 17:58:53 +02:00
zador-blood-stained
cb77343979 Add migration checks and messages 2017-08-01 12:28:19 +03:00
Thomas Kaiser
a37f267034 [OMV] Set permitrootlogin to false
...hoping for OMV soon implementing a mandatory web UI passwd change at first login that also changes root passwd.
2017-07-31 21:16:18 +02:00
ThomasKaiser
bd297148a2 [OMV] Few minor image creation tweaks 2017-07-27 08:31:57 -07:00
ThomasKaiser
1685924c4e [OMV] Some tuning, fix filesystem creation on XU4
https://forum.odroid.com/viewtopic.php?f=146&t=26016&start=200#p197729
2017-07-26 12:21:41 -07:00
Thomas Kaiser
23157a8a3d [OMV] Some finetuning 2017-07-24 17:46:25 +02:00
zador-blood-stained
2c0115d780 Refactor BSP directory structure 2017-07-24 16:38:00 +03:00