Commit Graph

433 Commits

Author SHA1 Message Date
Igor Pecovnik
f0e11afa97 [ general ] Bump with version due to https://forum.armbian.com/topic/10082-updated-firmware-and-armbian-config 2019-04-07 21:43:30 +02:00
Igor Pecovnik
b2eea32cb4 [ general ] Locales fix/workaround to make warning go away 2019-04-05 09:37:47 +02:00
Igor Pečovnik
69c231dbc0
[ Wireguard ] Set default disabled
It's currently broken on at least 4.14.y and there were others troubles.
2019-03-27 06:33:39 +01:00
Martin Ayotte
69eaec7b21 update menu so that Dev shows 5.x too 2019-03-25 09:18:01 -04:00
Igor Pečovnik
a81df41f0b
Merge pull request #1316 from The-going/clean_2
Fix_final: incomplete cleaning of the source code.
2019-03-18 10:47:32 +01:00
The-going
eb528f6c9e
Fix: incomplete cleaning of the source code.
Before you begin the compilation process,
we should always check and clean the sources.

If not, then warn the user.
2019-03-18 11:54:07 +03:00
The-going
a7f67e295f
Standard error output is always sent to the file.
Currently, compilation errors from the standard error channel
are sent to standard output, and then the shared stream
can be routed to the $DEST/debug/compilation.log file or not.
As a result, we can see either empty compilation.log file,
or a file containing a million lines of total output.
This behavior makes little sense.

After applying this patch, compilation errors
will always be sent to $DIST/debug/compilation.log

The file will look something like this:
----------------------------------------------------------------
	== atf ==


	== u-boot ==

.config:1253:warning: override: reassigning to symbol BOOTDELAY

	== kernel ==

In file included from ./include/linux/kernel.h:11:0,
                 from ./include/linux/clk.h:16,
                 from drivers/iio/adc/sun4i-gpadc-iio.c:25:
	......
---
2019-03-17 18:27:19 +03:00
Zhang Ning
1c86794d01 fix fetch gpg key behind a proxy
add --keyserver-options when http_proxy env is set.

for docker build, need to pass http_proxy to docker

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-03-12 14:44:02 +08:00
Zhang Ning
5d12350e9a change aptly apt key server to ubuntu
it's difficult to access sks-keyservers key server.

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-03-12 14:38:06 +08:00
Igor Pecovnik
d6f6b2638d [ general ] Bump with version - updating armbian-config 2019-03-11 07:35:27 +01:00
Igor Pecovnik
0370921807 [ buildscript ] Adjust icon path in build report 2019-03-10 21:40:14 +01:00
Igor Pecovnik
45fed36908 [ wireguard ] Kernel source had only a link while now we save sources. 2019-03-10 14:19:47 +01:00
Igor Pecovnik
ee44b9c62b [ sunxi-next ] Enable apparmor and selinux support and a tiny Debian locale bugfix 2019-03-08 18:50:27 +01:00
Lane Jennison
6c24200575 return build options upon completion to make it easy to repeat build 2019-03-08 00:04:02 -05:00
Igor Pečovnik
3a89ab7982
Adding CPIO package to the host list
That Docker Ubuntu image will also work as a host.
https://github.com/armbian/build/issues/1292
If that is all ...
2019-02-25 16:27:57 +01:00
Leonidas P
b57617d378
Update compilation.sh: no wireguard macro patch 2019-02-17 16:52:53 +02:00
Igor Pecovnik
c53f5611b3 Adding full path to wireguard workaround 40557aebb3 2019-02-13 10:14:50 +01:00
Igor Pecovnik
40557aebb3 [ general ] Fixing wireguard breaking prepare headers https://github.com/armbian/build/issues/1278 and upstream patch for sunxi-next 2019-02-13 10:09:04 +01:00
Igor Pecovnik
3ddaea4d3b Bump with version 2019-02-13 07:29:13 +01:00
Igor Pecovnik
15032e0f4d [ general ] bugfix 2019-02-08 16:08:44 +01:00
Igor Pečovnik
7b0a00bc36
Bump with version 2019-02-08 08:41:52 +01:00
Igor Pecovnik
53fcb9852c [ Wireguard fix ] adding a patch for K4.4.y and enabling it back on those previously broken ones 2019-02-07 19:42:31 +01:00
Igor Pecovnik
9758711ed4 [ general ] Attach Realtek 8811, 8812, 8814 and 8821 drivers source, remove our old patches, adjust configs, tested on all combinations 2019-02-07 15:24:06 +01:00
Igor Pecovnik
e959294b7f [ sunxi* / general ] add possible fix for eMMC troubles with some H5 boards, adjusted configuration, Wireguard: always use latest sources 2019-02-06 10:50:13 +01:00
Igor Pečovnik
9b1b41bc0f
Up with version 2019-01-29 11:32:37 +01:00
Igor Pecovnik
3365d7c290 [ general ] move Wireguard under configuration.sh and remove from inserting for 3.10.y since it breaks there. 2019-01-29 11:04:39 +01:00
Igor Pecovnik
7468eb23ab [ wireguard ] add to config, move Tinkerboard to stable branch, add upstream patches 2019-01-28 20:47:37 +01:00
Igor Pecovnik
49930576d3 [ add WireGuard ] too all kernels >= 3.10, enable at compile time with WIREGUARD=yes 2019-01-24 21:13:10 +01:00
Igor Pecovnik
9efe564caf [ sunxi/sunxi64 ] upstream patches and enablind MD on 64 https://forum.armbian.com/topic/9421-module-md_mod-not-found-in-directory-libmodules41913-sunxi64/ Bump with a version 2019-01-23 17:01:07 +01:00
Gauthier Provost
93ba3ec3dd [ General ] Move bootscript update to nand-sata-install 2019-01-21 11:44:24 +08:00
Igor Pečovnik
f4ee4d77e3
Up with version
Need to update armbian-config
2019-01-16 19:04:10 +01:00
Igor Pečovnik
46552a5dac
Up with version 2019-01-13 20:34:15 +01:00
Igor Pečovnik
d654a0dee1
Bump version
To make sure Rockchip kernels are remake due to latest changes.
2019-01-11 13:38:17 +01:00
Igor Pecovnik
1b4990736d [ sunxi/sunxi64 ] Attach NEXT to 4.19.y and bump with version 2019-01-09 15:31:50 +01:00
Igor Pečovnik
5beb95d8f9
Merge pull request #1216 from helios-4/helios4_update
U-boot SDcard update changes
2019-01-08 15:53:41 +01:00
Gauthier Provost
dd15668412 [ general ] Add update u-boot on SD option in nand-sata-install
Postinst script is being remove from u-boot package. Therefore now we 
provide a way to user to update (rewrite) u-boot on their SD card.
2019-01-08 18:12:02 +08:00
JMCC
37d896fa7e Change default DNS resolver for chroot to cludfare alternate, and make it configurable 2019-01-03 14:03:08 +01:00
JMCC
961254b4f1 Change Cloudflare DNS for Google's 2019-01-02 18:48:39 +01:00
Igor Pecovnik
de6744c812 [ bugfix ] When new variable is added it must be added to the build-all unset 2018-12-30 19:25:19 +01:00
Igor Pečovnik
818bce0664
typo 2018-12-30 18:23:06 +01:00
Igor Pecovnik
9c7d8d9e5e [ bugfix ] Alter fstype when recreating bootscripts 2018-12-30 18:17:46 +01:00
Igor Pecovnik
6b1a33930b [ espressobin ] Move ATF/U-boot to 18.12, add new DDR configurations & bump kernel to 4.19.y 2018-12-30 16:14:27 +01:00
Igor Pecovnik
b6a0b58955 [ general ] bump with version 2018-12-28 20:04:11 +01:00
Igor Pecovnik
c58a8f6a3e [ general ] Don't install u-boot package to the image anymore, but leave scripting since it's need for nand-sata-install 2018-12-28 16:32:02 +01:00
Igor Pečovnik
2563185ffc
[ cosmetics ]
Suppress error at counting rootfs caches.
2018-12-20 13:31:13 +01:00
Igor Pečovnik
a37a9cf9bd
Tiny bugfix 2018-12-14 14:36:17 +01:00
Igor Pecovnik
763a141f45 [ buildscript ] serial console exception for g_serial and legacy sun8i kernel 2018-12-14 13:54:45 +01:00
Igor Pecovnik
ad31697416 [ buildscript ] cosmetical fix - display which serial console is getting enabled and supress/redirect chroot warnings to build log 2018-12-12 20:34:40 +01:00
Igor Pecovnik
9280c7901c [ buildscript ] Improve serial console(s) handling 2018-12-12 19:13:50 +01:00
Igor Pecovnik
ed578975ae [ meson64 ] change default console to HDMI, getty enabling bugfix 2018-12-11 20:32:52 +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
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