Commit Graph

383 Commits

Author SHA1 Message Date
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
Igor Pecovnik
2bdda536bb [ general ] Proper SD card detection when trying to write it 2018-12-06 17:55:14 +01:00
Igor Pecovnik
e9562b1ff4 [ general ] TVboxes configurations are getting its own category "tvb" @150balbes Moving current three boxes we have in there. 2018-12-06 17:43:27 +01:00
Igor Pecovnik
a4e4d56168 [ general ] Fixing aptly to a better workaround solution. 2018-12-03 07:50:21 +01:00
Igor Pecovnik
e04b19fabe [ deboostrap bugfix ] adding universe component to resolve installing apt-transport-https in 1st stage. Now all targets are working, 2018-11-29 09:08:13 +01:00
Igor Pečovnik
c21f40a167
Install ca-certificates in 1st stage
This is also needed otherwise d6aa9cf621 doesn't make any sense. Tested on Debian Stretch. Related to https://github.com/armbian/build/issues/1170
2018-11-29 07:57:02 +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
Igor Pečovnik
d6aa9cf621
Install apt-transport-https in 1st stage
Possible fix for https://github.com/armbian/build/issues/1170
2018-11-28 18:42:13 +01:00
Igor Pečovnik
30e8f2051e
Merge pull request #1167 from psztoch/pr-custmaint
Custom maintainer
2018-11-27 15:35:56 +01:00
Igor Pecovnik
416bff334d [ build script ] update etcher 2018-11-26 20:52:29 +01:00
Thomas Kaiser
99f1cbd48b
Disable ondemand.service on Bionic too 2018-11-26 19:23:02 +01:00
Werner
9d60a14d9f
Add notice
So nobody is confused in a couple of weeks when reading the code and asking 'what the heck?'
2018-11-25 17:44:56 +01:00
Werner
da6ade1ee0
Fix broken ATF compile
Crude fix to make it work again. For H6 at least. Others untested.
2018-11-25 13:45:35 +01:00
Igor Pecovnik
63fc6c6df5 [ builscript ] bugfix. Setting image size +5% 2018-11-22 12:55:41 +01:00
Igor Pecovnik
e7657a5991 [ bugfix ] Fixing default Chromium preferences file https://forum.armbian.com/topic/3327-asus-tinkerboard/?do=findComment&comment=65807 and adding optional DEFAULT_CONSOLE variable which can override default console settings per board 2018-11-15 19:03:57 +01:00
Igor Pecovnik
8edf8c56a8 [sunxi-dev] Adjusted patchset. Tested on H3, H5, A64, A83T, H6, ... focused only on basic features such as dvfs, hdmi, ... Kernel sources are switched to @megous and many patches were taken from @anarsoul branch, mostly regarding Pinebook/A64 which will take some time to get upstream. It's a mess which will be eventually sorted out or merged up. 2018-11-15 14:43:32 +01:00
Przemyslaw Sztoch
aa5fa6e27a Custom maintainer 2018-11-13 23:01:30 +01:00
Igor Pečovnik
f4c0b00459
Version bump
Rebuild R2 with eMMC install working.
2018-11-12 12:35:32 +01:00
Igor Pecovnik
b322fec52a [general] Version bump 2018-11-06 18:44:37 +01:00
Igor Pecovnik
95475b78e7 [generak] version bump to remake some images 2018-10-26 11:29:30 +02:00
Thomas McKahan
819937ba99 Fix apt key fetch for aptly 1.2.0 2018-10-23 20:52:11 -04:00
Thomas McKahan
20d9d74446 Fix linaro 4.8 public key fetching 2018-10-23 01:10:17 -04:00
Igor Pecovnik
a4f069f9b1 [Buildscript] Update Etcher for CLI 2018-10-19 17:59:17 +02:00
Igor Pecovnik
277e6e6f65 [security/cosmetic] Adjust permission for cpuinfo_cur_freq to be accesible by a normal user and adjusting htop configuration based on cpu count 2018-10-14 18:07:12 +02:00
Igor Pecovnik
1c4340b421 [Rockchip and general] Add upstream patch for K4.4, adjust config to cover https://github.com/armbian/build/issues/1133 and add htoprc to support https://github.com/avafinger/htop-2.1.1_enhanced-version with showing CPU temp out of the box. 2018-10-14 11:20:25 +02:00
Igor Pecovnik
c0e0864d59 Merge branch 'master' of https://github.com/armbian/build 2018-10-13 16:45:19 +02:00
Igor Pečovnik
84f73f0f8d
Merge pull request #1130 from pushytoxin/master
check the return code of customize_image.sh for errors
2018-10-13 16:38:08 +02:00
Igor Pecovnik
abe9730328 Revert "Install bootscripts always but do their backup to /usr/share/armbian"
This reverts commit bf5a2fe6e0.
2018-10-13 15:21:55 +02:00
5kft
9651a589ee minor fix relating to change fd235d6c34 -
only create NetworkManager powersave configuration entry if NetworkManager configuration directory is present
2018-10-13 01:44:42 +00:00
Béla Becker
27576265af check the return code of customize_image.sh for errors 2018-10-12 16:07:39 +02:00
Igor Pečovnik
b3ae854620
Version bump 2018-10-09 13:46:52 +02:00
Igor Pecovnik
bf5a2fe6e0 Install bootscripts always but do their backup to /usr/share/armbian
Making https://github.com/armbian/build/pull/1128 deprecated.
2018-10-09 13:01:42 +02:00
Igor Pečovnik
53acd5be58
Version bump 2018-10-08 16:22:20 +02:00
Gauthier Provost
59af84c07c Helios4: Add SPI bootloader install feature (#1126)
* Helios4: 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.

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

* Helios4: Add U-Boot SPI

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

* Helios4: Add SPI bootloader install feature

This will allow to use nand-sata-install to perform the following operations on Helios4 :
- Install bootloader to SPI NOR Flash (Option 5 in Menu).
- Copy RootFS to USB storage in order to boot from SPI with RootFS on USB (Option 6 in Menu).

* Unmount temp mount points in create_armbian() instead of hardcoded /dev/sda
2018-10-08 13:44:36 +02:00
Igor Pecovnik
fd235d6c34 Patches cleanup for sunxi-dev and a bugfix for WiFi powersave workaround 2018-10-02 17:34:41 +02:00
Igor Pečovnik
789909be3f
Typo
fixed wrong mode
2018-10-02 09:25:37 +02:00
Igor Pecovnik
40e5ce955b Permanently disable WiFi powersave. Previous implementation wasn't working on Bionic. Now is. 2018-10-02 07:49:44 +02:00
Igor Pecovnik
ef6847e647 Small bugfix regarding removing old swap files, K4.4 upstream patches, bump with a version 2018-09-30 15:22:44 +02:00
Igor Pecovnik
05db63c1a8 Better bugfix for boot delay "waiting for suspend/resume device"
95ae09470f (commitcomment-30692608)
2018-09-28 20:16:24 +02:00
Igor Pecovnik
95ae09470f Bugfix for boot delay "waiting for suspend/resume device" 2018-09-27 14:22:41 +02:00
Igor Pecovnik
7a831f2a70 Bump with version and K4.4 upstream patches 2018-09-26 11:55:44 +02:00
ThomasKaiser
7851473fef Bypass/minimize file system caching for ramlog
https://bugzilla.samba.org/show_bug.cgi?id=9560#c3
2018-09-24 17:01:59 +02:00
5kft
c1530db482 set rootfstype in armbianEnv.txt when building non-ext4 rootfs target images (originally removed with https://github.com/armbian/build/pull/1069/) 2018-09-23 17:58:05 +00:00
Igor Pečovnik
71c777b3b6
Bump with version 2018-09-19 09:56:46 +02:00
Igor Pecovnik
df349d260e Desktop upgrade bugfix 2018-09-19 09:38:13 +02:00
Igor Pecovnik
a23b02d11e Fix for boot delay "waiting for suspend/resume device" when using ZRAM 2018-09-18 10:37:10 +02:00
Igor Pecovnik
6cac03da55 Removing swap file on upgrade if it was made by our start script 2018-09-10 20:49:21 +02:00
Igor Pecovnik
b554f3d003 DNS config implementation bugfix https://github.com/armbian/build/pull/1105 2018-09-10 14:29:39 +02:00
Igor Pecovnik
3a2ebeabc9 Declaring Jessie EOL and moving it under EXPERT="yes". Invoking Bionic https://github.com/armbian/build/pull/1105 2018-09-10 11:04:09 +02:00
Lane Jennison
3c68174fc8 accidental correction---corrected 2018-09-10 00:07:12 -04:00
Lane Jennison
9d8fbd19d5 sane DNS defaults for NetworkManager.conf and nsswitch.conf 2018-09-09 23:59:45 -04:00
Lane Jennison
13ea64b1e9 Revert "Try to fix DNS (privacy) issues"
This reverts commit f10acc0080.

Making room for alternative approach
2018-09-09 23:59:45 -04:00
Igor Pecovnik
fa88e5c2aa Implement bulding and packing all different boot firmware for Espressobin, bump u-boot and ATF sources to latest version 18.09 2018-09-09 23:22:50 +02:00
Igor Pecovnik
dfc27eb741 Small bugfix. If EXPERT is not set to yes we got error when we choose a board with DEV only target. By accepting this developers warning we have to get full expert status anyway. 2018-09-08 09:49:08 +02:00
ThomasKaiser
46340a242f Fix wrong / permissions
Closes #1098
2018-09-05 12:40:43 -07:00
Igor Pecovnik
50cd819a4d Swappiness correction for update and a few bugfixes https://forum.armbian.com/topic/5565-zram-vs-swap/?page=2&tab=comments#comment-61168 2018-09-04 22:13:43 +02:00
Igor Pecovnik
05d926de1f Tiny bugfix. Bionic related. Upgrade stalls since file is removed. Fixed with this commit. 2018-09-04 10:41:30 +02:00
Igor Pecovnik
a831b8c2de Add icons to HTML testing report 2018-09-03 16:12:54 +02:00
Igor Pecovnik
5d57dbea3a OrangePi win GMAC is very unstable on gigabit. Limit it down to 100Mb solve problems + enlarge desktop image size for 5% 2018-09-03 10:21:07 +02:00
Igor Pecovnik
459a6f5895 A few adjustements to recent crypto root implementation https://github.com/armbian/build/pull/1069 from @zciendor 2018-08-31 22:17:35 +02:00
zciendor
bd83c60b23
Merge remote-tracking branch 'upstream/master' 2018-08-26 07:04:03 -05:00
ThomasKaiser
f10acc0080 Try to fix DNS (privacy) issues 2018-08-24 20:26:08 +02:00
Igor Pecovnik
b115c4691d Bugfix report creation 2018-08-23 17:14:48 +02:00
Igor Pecovnik
cf2fd3e78b Report creation bugfix 2018-08-22 19:06:30 +02:00
Igor Pecovnik
445c9715d9 RK3399 Fix wrong u-boot configuration for T4, use forked rkbin tools, upstream patches 2018-08-21 15:56:44 +02:00
Igor Pecovnik
c4cf0ff873 HTML report fine tuning 2018-08-21 11:57:19 +02:00
Igor Pecovnik
305c9e9708 Add HTML report creation 2018-08-21 11:16:16 +02:00
Igor Pecovnik
e7dabd6efb Add support for armbianmonit and a bugix 2018-08-20 15:59:52 +02:00
Igor Pecovnik
328fe61844 Forgot to add fetch repository with test data. Fixed. 2018-08-20 15:45:11 +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
203fb7335e PGP signing adjustement for Bionic host 2018-08-18 22:59:46 +02:00
Igor Pecovnik
128829764b Proper rootfs cleaning. Support for cleaning signatutures as well. 2018-08-15 18:45:29 +02:00
Igor Pecovnik
98c9505d0b Rootfs cache management bugfix due to added Bionic targt. 2018-08-15 15:31:58 +02:00
Igor Pecovnik
f5e4638c45 Icon pack installation bugfix https://forum.armbian.com/topic/7949-debian-9-stretch-builds-failing/ 2018-08-15 13:07:35 +02:00
Igor Pecovnik
4f9eb09b61 Remove Odroid N1 conf, adjust few board configs, remove deprecated command, bump with version 2018-08-14 19:12:51 +02:00
Igor Pecovnik
5bcb365a9a Bump version 2018-08-11 23:54:33 +02:00
Igor Pecovnik
6d82a89748 Initial support for RK3399 Firefly and FriendlyARM PC T4
Based on work of David Huang https://github.com/hjc4869 Changed in the transition:
- firefly family was renamed to rk3399, which we actually never started to use. It was made for Odroid N1, which will never be sold
- adjusted compiler toolchain2 parameter
- added standard wireless drivers
- kernel config with the following changes: Docker dependencies, ZRAM, CPUfreq info, ...
- added upstream patches
- made test Ubuntu Bionic desktop and CLI Stretch build, bootlog: http://ix.io/1jVu

TBD: wifi and BT support, mainline kernel, ...
2018-08-11 23:12:58 +02:00
Igor Pecovnik
e90dff320a Making bootscript creation more universal, adjust packaging patches for C1 and C2 default 2018-08-11 19:09:53 +02:00
Igor Pecovnik
0e8a2769e6 Bugfix 2018-08-11 08:37:01 +02:00
Igor Pecovnik
597bad0d76 Bump version 2018-08-10 23:05:01 +02:00
Igor Pecovnik
f5f7a0836a Moving numix-icon theme back to main package list since its fixed with this commit b293f186fb (diff-cc2879263e4a73e37cf60f2fa6b3fb64) , etcher download rfc, minor fixes 2018-08-10 22:44:55 +02:00
Igor Pecovnik
6c366ca122 Use Armbian configuration and don't prompt
https://github.com/armbian/build/issues/1075
2018-08-10 14:10:22 +02:00
Igor Pecovnik
86134550a4 Bugfix. Install bootscripts if they are not present. We need this for upgrading from Odroid C2 default -> next 2018-08-10 14:03:20 +02:00
Igor Pecovnik
b49f854605 Bump with version 2018-08-09 12:39:17 +02:00
Igor Pecovnik
c721510e6e Add support for burning to SD card using Etcher for CLI 2018-08-03 19:35:19 +02:00
zciendor
3a0cd388f9
Merge remote-tracking branch 'upstream/master' 2018-07-31 16:34:09 -05:00
zciendor
ddf0ed1edf
Redo of implementation for feature request #947 on current master
This was already implemented with https://github.com/armbian/build/pull/948,
before but never made it into the master branch yet. Probably because the
development branch has been abandoned in the meantime and it is to much effort
now to merge it into master.

It includes all the cleanup changes from commit 08743d3 and has been successfully
tested on an Odroid HC1.

In addition to what is currently in the `luks` branch the following improvments
where done/added:

1. update_initramfs() function in debbootstrap-ng.sh, which needs to be invoked
   after the partition layout and /etc/crypttab was created. Else `cryptroot-unlock`
   won't work and you'll run into:
   https://serverfault.com/questions/907254/cryproot-unlock-with-dropbear-timeout-while-waiting-for-askpass

   Apart from that it might be useful to always run `update-initramfs` at the end
   of the build process anyway, in case customize_image (userpatches) made some
   changes to the initramfs tools configs.

2. CRYPTROOT_SSH_UNLOCK=yes/no config option. It's by default set to yes, but it
   might be desired by some users to disable enable SSH/dropbear access while
   still having LUKS support. E.g. if they have a device that has a display
   and keyboard.

3. If no `authorized_keys` file is provided via userpatches, a new SSH key pair
   is generated and for convenience copied to the output directory along with
   the final image.
2018-07-31 16:02:26 -05:00
Igor Pečovnik
f859556d58 Odroid C2 packaging bugfix, configuration update, u-boot bump to 2018.07, bump version 2018-07-31 13:21:21 +00:00
Igor Pečovnik
fac4687541
enlarging overhead 2018-07-30 17:06:11 +02:00
Igor Pečovnik
d9849de58f Meson64 kernel adjustement and wrong path in displaying new kernel conf 2018-07-28 15:03:39 +00:00
Igor Pečovnik
c98949ae29 Few more changes to internal building process 2018-07-24 10:07:54 +00:00
Igor Pečovnik
cfca8f55ce Bump with version and adjust few board configs 2018-07-24 09:58:48 +00:00
Igor Pečovnik
204d867178 Disable broken sun5i default kernel builds and enable csc rebuilding only when defined in REBUILD_IMAGES 2018-07-23 14:51:41 +00:00
Igor Pečovnik
00c5bd6734
Add CSC support 2018-07-23 09:08:16 +02:00
Igor Pečovnik
093c1636a7
Bugfix
Forgot to pass a parameter
2018-07-23 09:02:35 +02:00
Igor Pecovnik
b293f186fb Add libgtk2.0-bin to the base packages that is present prior to installing desktop packages. This solves gnome-icon-theme installation break in chroot. Workaround packages on apt.armbian.com has been removed. 2018-07-22 14:22:36 +02:00
Igor Pečovnik
e7b7a2e289 Introducing new internal parameter, example: REBUILD_IMAGES="bananapi,udoo,rock64" to specify which images need rebuilding when using BUILD_ALL="yes". If parameter is absent, we build them all as it is now. 2018-07-21 20:05:43 +00:00
Igor Pečovnik
2d92ef44ca Bump version 2018-07-20 13:48:31 +00:00
Igor Pečovnik
1a12994e79
Moving sunxi-next to 4.17.y (#1049)
* [Early WIP] Update sunxi-next to kernel 4.17
* Switch Allwinner 32 and 64bit to U-boot 2018.05
* Adjust patched for 4.17.y / sunxi-next
- adjust both configurations
- removing FAT support from u-boot (breaks if you try to save)

Tested those boards:
Cubietruck: wlan fails http://ix.io/1fYS USB OK, HDMI yes
Bananapi R40: http://ix.io/1fZm USB OK, HDMI yes
Lime A64: USB no, HDMI no, wireless buggy, eMMC yes
Orangepi prime H5: OK http://ix.io/1fZJ DVFS no
Orangepi2e: DVFS OK, HDMI OK, net OK, wifi OK, eMMC ok,  http://ix.io/1fZT

* Kernel config update, enabling HDMI on CT+
* Trying to fix A64 HDMI but failed. Fixed M64 ethernet instead
* Update orangepioneplus.wip
* Update orangepioneplus.wip
* Fix H6 build process
* Add regulator bits for Orangepizero+, thanks to @5kft
* add H5 support for optional 1.3v regulator and 1.3GHz operation
This patch adds two optional overlays that can be used to:

1) enable the 1.1v/1.3v regulator on boards that provide the necessary compatible H/W support
2) modify the default CPU clock operating table to add new 1.2GHz and 1.3GHz clocks

Note that the generated regulator overlay will only support boards whose 1.1v/1.3v regulator
is controlled by GPIO PL6.
* updates for the NanoPi NEO Plus2
This change introduces a patch that provides two changes for the NanoPi NEO Plus2:
* Configure the "cpu0" to use the "vdd_cpux" regulator; this enables the ability to use higher CPU clocks
* Correct the configurations of the on-board power and status LEDs
* Adjust nightly building and few boards config cleanup
2018-07-17 15:53:30 +02:00