Commit Graph

5099 Commits

Author SHA1 Message Date
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
Martin Ayotte
7e6277ca3b fix early kernel crash due to spi-flash been enabled 2018-07-31 14:30:08 -04: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
68d1daf3af Remove deprecated patch 2018-07-31 10:34:56 +00:00
Igor Pečovnik
fac4687541
enlarging overhead 2018-07-30 17:06:11 +02:00
Igor Pečovnik
7e04b1f3e1
Merge pull request #1066 from 5kft/boot-auto-dt
auto-select board DT for the NanoPi NEO2 based on board hardware revision
2018-07-30 08:59:16 +02:00
Igor Pečovnik
a760c33584
Merge pull request #1065 from 5kft/neo2-v1.1-dt
add default DT for the NanoPi NEO2 v1.1 board
2018-07-30 08:58:51 +02:00
Igor Pečovnik
0e50f11d87
Merge pull request #1064 from 5kft/enable-r-pio
enable R_PIO GPIO access in the SPL (H3 and H5)
2018-07-30 08:58:07 +02:00
5kft
b3f90dd4ac auto-select board DT for the NanoPi NEO2 based on board revision
This change introduces a method for U-Boot to perform board version detection at boot and
update the required board DT to load.  This process is used to detect the NEO2 board revision
and load the v1.1 NEO2 DT for v1.1 NEO2 boards.
2018-07-29 18:33:45 +00:00
5kft
eb96583215 add default DT for the NanoPi NEO2 v1.1
There are two versions of the NanoPi NEO2 board; this change adds the default DT for the
v1.1 board.  It includes the correct LED configuration and the MP2143DJ VDD regulator
definition.
2018-07-29 16:04:08 +00:00
5kft
510f44df67 enable R_PIO GPIO access in the SPL (H3 and H5)
This patch enables access to the R_PIO GPIO bank within the U-Boot SPL for the H3 and
H5.  This secondary GPIO bank should be available in the SPL just as the PIO bank is,
as there can be need to access these GPIOs during initial board startup.
2018-07-29 15:36:30 +00:00
Igor Pečovnik
d9849de58f Meson64 kernel adjustement and wrong path in displaying new kernel conf 2018-07-28 15:03:39 +00:00
David Huang
b8427c55a3 Enable NET_SCH_FQ for linux-sunxi64-next (#1063) 2018-07-28 11:18:00 +03:00
Igor Pečovnik
ba6b764702 Enable concurrent AP/STA mode on Tinkerboard. Testing needed 2018-07-27 14:10:03 +00:00
Igor Pečovnik
7e61acde85 Minor kernel config adjustement for Meson64 2018-07-26 19:29:13 +00:00
Igor Pečovnik
a8a01d2164 Add eMMC bits to Nanopi Neo to support eMMC on Core model 2018-07-26 16:54:25 +00:00
Igor Pečovnik
ab13b9b4e7 Enable one more nightly target 2018-07-26 11:40:57 +00:00
zador-blood-stained
d1fc3b898b Bugfixes for armbian-add-overlay changes 2018-07-26 14:17:34 +03:00
zador-blood-stained
7f9e4e1a43 Rework checks for dtc in armbian-add-overlay
Ubuntu Bionic and newer Debian distributions have new enough dtc for
compiling overlays, so try to use distribution provided compiler if
kernel headers are not installed
2018-07-26 14:08:53 +03:00
Igor Pečovnik
1c11d6ff58 Fixed headers installation. Thanks to Jean Christian
https://forum.armbian.com/topic/2901-orange-pi-pc-stuck-on-compiling-headers
2018-07-25 17:06:37 +00:00
Igor Pečovnik
d3b49a6da5 Cubox and Le potato config adjustement, mvebu64 add patch 2018-07-24 15:55:05 +00:00
Igor Pečovnik
67161093b9 Nanopi M3,Fire3, T3+ config adjustements 2018-07-24 14:06:33 +00:00
Igor Pečovnik
fa1382d64d Adjust MVEBU packagin patch and configuration 2018-07-24 12:31:31 +00:00
Igor Pečovnik
2c762ebd88 Switch Vagrant to Bionic
https://github.com/armbian/build/issues/1061
2018-07-24 12:11:24 +00:00
Igor Pečovnik
7832192ec1 Remove deprecated patch 2018-07-24 10:13:12 +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
f125277eca Adjust Nanopi K1 board settings 2018-07-23 16:25:36 +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
f46abcedc8 Adjust Cubieboard4 .csc config 2018-07-23 11:39:18 +00:00
Igor Pečovnik
24dd085c37 Adjisted patches for RK3328 default 2018-07-23 07:45:52 +00:00
Igor Pečovnik
a4834023f6
Adjust board config 2018-07-23 09:09:50 +02: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 Pečovnik
c0a398def1
Merge pull request #1060 from 5kft/sunxi-fix-spiflash
enable kernel MTD SPI flash configuration
2018-07-22 19:01:34 +02:00
5kft
018023c609 enable kernel MTD SPI flash configuration
enable the MTD SPI flash configuration in the sunxi-next kernel; this allows on-board
SPI flash to be available via MTD by default when enabling the "spi-jedec-nor" overlay
in the boot configuration.
2018-07-22 09:16:36 -07:00
Igor Pečovnik
65a5004287
Merge pull request #1059 from 5kft/sunxi-patch-fixes
correct sunxi H3 DT overlays for latest kernel
2018-07-22 16:21:19 +02:00
Igor Pečovnik
1c4171a958
Merge pull request #1057 from Staars/master
BT-support for z28pro
2018-07-22 16:20:53 +02:00
Igor Pečovnik
6bac4d9c5c Adjust RK3328 sources and patches, tested for builing, adjust Nanopi K2 board config 2018-07-22 14:17:41 +00:00
5kft
8d092c22e0 correct sunxi H3 DT overlays for latest kernel
removed leading zeros from the unit addresses in the sun8i-h3-* DT overlays;
updated the sun8i-h3-fixup script accordingly
2018-07-22 06:41:47 -07:00
ThomasKaiser
e63138bacd Allow 7-zip benchmark to run multiple times 2018-07-22 14:53:16 +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
ThomasKaiser
13d034b747 Add 7-zip CPU benchmark to armbianmonitor
Unfortunately still people believe into sysbench to be able to report CPU performance
2018-07-22 12:05:56 +02:00
Igor Pečovnik
866d9ada6c
Merge pull request #1056 from 5kft/sunxi-patch-fixes
fixed issues with sunxi overlay kernel patches
2018-07-21 22:14:19 +02:00
Igor Pečovnik
0b27f18a74
Merge pull request #1058 from 5kft/nanopi-fire3-changes
misc NanoPi Fire3 changes/cleanup
2018-07-21 22:13:07 +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
5kft
ab4100b18a misc NanoPi Fire3 changes
cleaned up u-boot DTB assignment; enabled RTL8188EU Wi-Fi adapter; disabled
thermal zone emulation configuration
2018-07-21 10:06:59 -07:00
5kft
9ad96bd209 correct sunxi H5 arm64 DT overlays for latest kernel
removed leading zeros from the unit addresses in the sun50i-h5-* arm64 DT overlays;
updated the sun50i-h5-fixup script
2018-07-21 06:16:39 -07:00
Staars
21470716ec update z28pro-part for BT 2018-07-21 10:13:31 +00:00