Commit Graph

1015 Commits

Author SHA1 Message Date
Martin Cross
108e86f02d
Check the return code from 'make menuconfig' and abort compilation with a suitable message. (#2037) 2020-06-18 21:40:21 +02:00
Igor Pečovnik
213a5a6855
Enabling IGNORE_UPDATES back (#2036) 2020-06-18 20:21:00 +02:00
Igor Pecovnik
7b2dd51f86
Repository management fixes
Let's leave DEV kernels as is

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-18 17:39:09 +02:00
Igor Pecovnik
273fb7dea4
Automation related bugfix
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-18 17:26:15 +02:00
Manuel Rüger
9fa6069f9f
Shellcheck fixes (#2034)
* compile.sh: Apply shellcheck linting

* main.sh: Apply shellcheck linting

* fel-load.sh: Apply shellcheck linting
2020-06-18 10:06:21 -04:00
Igor Pecovnik
dc478af1cb
Bugfix when making all kernels, also enable building of sunxi-legacy
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-18 15:49:27 +02:00
Igor Pečovnik
bfacc6cd89
Install SELinux related userland packages (#2014)
* Install SELinux related userland packages

But leave it disabled by default. Todo: add toggle to armbian-config
2020-06-17 19:43:04 +02:00
Igor Pecovnik
d9770e2a86
[CI actions] Also watch kernel changes in kernel configuration 2020-06-17 13:36:48 +00:00
Igor Pečovnik
fda0e22951
Improve all kernel building (#2017)
* Improve all kernel building

Store hashes and rebuild only changed kernels. TBD: support for patch directory not fully implemented yet

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Add support for patch directory checking

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Update lib/build-all-ng.sh

Co-authored-by: Manuel Rüger <manuel@rueg.eu>

* Update lib/build-all-ng.sh

Co-authored-by: Manuel Rüger <manuel@rueg.eu>

* Update lib/compilation.sh

Co-authored-by: Manuel Rüger <manuel@rueg.eu>

* Update lib/compilation.sh

Co-authored-by: Manuel Rüger <manuel@rueg.eu>

* Update build-all-ng.sh

* Disable u-boot hashing for now

* remove banana r2

breaks compilation ... no time for inspection ATM

* typo

* Change s5p6818 to COMMIT instead of TAG

TAG points to a different HASH and its not posible to resolve hash without cloning. This can be addressed later, but now commit HASH will do.

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Bumping to new version

* Bumping to new version

* Bump

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* few changes

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Test

* Bumping to new version

* Bumping to new version

BOARD
Cubox i2eX/i4

* Bumping to new version

imx6 current
meson-gxl current

* Bumping to new version

linux-image-current-imx6_20.08.4-trunk_armhf.deb
linux-image-current-meson64_20.08.4-trunk_arm64.deb

* Bumping to new version

Adding following kernels:\n

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_20.08.4-trunk_armhf.deb
linux-image-current-meson64_20.08.4-trunk_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-meson64_20.08.5-trunk_arm64.deb
linux-image-current-sunxi_20.08.5-trunk_armhf.deb
linux-image-legacy-meson_20.08.5-trunk_armhf.deb
linux-image-legacy-s5p6818_20.08.5-trunk_arm64.deb

* fix versioning

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Bumping to new version

Adding following kernels:

linux-image-current-meson64_20.08.1_arm64.deb

* Put version back

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_20.08.0-trunk_armhf.deb
linux-image-current-meson64_20.08.0-trunk_arm64.deb
linux-image-current-mvebu_20.08.0-trunk_armhf.deb
linux-image-current-mvebu64_20.08.0-trunk_arm64.deb
linux-image-current-odroidxu4_20.08.0-trunk_armhf.deb
linux-image-current-rockchip_20.08.0-trunk_armhf.deb
linux-image-current-rockchip64_20.08.0-trunk_arm64.deb
linux-image-current-sunxi_20.08.0-trunk_armhf.deb
linux-image-dev-mvebu_20.08.0-trunk_armhf.deb
linux-image-dev-rockchip64_20.08.0-trunk_arm64.deb
linux-image-legacy-meson_20.08.0-trunk_armhf.deb
linux-image-legacy-meson64_20.08.0-trunk_arm64.deb
linux-image-legacy-mvebu_20.08.0-trunk_armhf.deb
linux-image-legacy-mvebu64_20.08.0-trunk_arm64.deb
linux-image-legacy-odroidxu4_20.08.0-trunk_armhf.deb
linux-image-legacy-rk3399_20.08.0-trunk_arm64.deb
linux-image-legacy-rockchip_20.08.0-trunk_armhf.deb
linux-image-legacy-rockchip64_20.08.0-trunk_arm64.deb
linux-image-legacy-rockpis_20.08.0-trunk_arm64.deb
linux-image-legacy-s5p6818_20.08.0-trunk_arm64.deb

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

linux-image-dev-rockchip_20.08.0-trunk.2_armhf.deb

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

* Report error code, adjust version

* Adjust ver

* Add another switch

Co-authored-by: Manuel Rüger <manuel@rueg.eu>
Co-authored-by: root <root@workstation>
2020-06-17 11:38:17 +02:00
Igor Pečovnik
ca67855553
Add GPT partition table support (#2015)
* Add GPT parition table support               Leave unchanged / mbr by default since GPT doesn't works everywhere.

* Accept ROOTFS_PARTITION_TABLE as a parameter

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Change variable name

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Update README.md
2020-06-14 23:03:58 +02:00
The-going
dcc6e791da
Offlinework (#2019)
* Delete FORCE_CHECKOUT, IGNORE_UPDATES variables

There are currently two questionable variables.
They are the keys in the structures:
'if [[ $FORCE_CHECKOUT == yes ]]; then' in the function 'fetch_from_repo()'
which is set by default by the script 'main.sh'
'[[ -z $FORCE_CHECKOUT ]] && FORCE_CHECKOUT=yes'

Next in the script 'main.sh'

if [[ $IGNORE_UPDATES != yes ]]; then
    display_alert "Downloading sources" "" "info"
    fetch_from_repo "$BOOTSOURCE" "$BOOTDIR" "$BOOTBRANCH" "yes"

This key has aged. It can't work properly today.
We should always clear the sources before starting the build.
For this reason, these two keys in these places do not make any sense.
You can just delete them.

* Working offline for sources

This is useful when building recursively for multiple platforms,
when some resource on the Internet is frozen.
To do this, I entered a new variable 'OFFLINE_WORK'

* New ability to work in offline mode

* Skip check prepare host
* Add unset OFFLINE_WORK in lib/build-all-ng.sh

Sources, time and host will not be checked
Now you can collect packages without accessing the Internet
2020-06-14 22:58:02 +02:00
The-going
069afc183a
Fix file encoding of the locale generator (#2000)
This is a minimal fix for the correct display
of characters in the applications, especially the console.

For example, if the locale-gen command is only for one locale
locale-gen ru_RU.UTF-8
Then the console application MC instead of a line in the frame outputs:

@
@@@@@@@@@@@@@@@@@@
@   README.md
@@@@@@@@@@@@@@@@@@
@
@

Setting variables to LC_ALL=C LANG=C is not necessary in this construction.
The line with the editor is not needed.
The 'locale-gen en_US.UTF-8 xx_XX.UTF-8' command
will fix this file itself.
2020-06-10 18:38:10 +02:00
The-going
bce24a2e8d
delete Checking out sources from compile_uboot() (#1999)
At this point the repository is already clean,
and the next line is not needed.

Fix issues #1952
2020-06-10 12:37:20 -04:00
The-going
dc95a3f9a3
Fixed checking the target git sources (#1998)
* Exit if you can't create a directory
  Otherwise the entire folder structure will crash

* git rev-parse --git-dir will always return ".git" line
  if we are in the git repository folder.

When there is a symbolic link in the path, some functions
will not return what is expected. This condition is always true.
$(git rev-parse --show-toplevel) != $(pwd)

This commit fixes this threat
2020-06-10 18:15:08 +02:00
Werner
72e9782493
Revert "Implement a possible workaround for initird corruption (#2004)" (#2005)
This reverts commit a1a20f4572.
2020-06-03 23:30:43 +02:00
Igor Pecovnik
436a5681b5
Proper fix for ramdisk corruption seen on Focal / Bullseye
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-03 08:45:30 +02:00
Igor Pečovnik
a1a20f4572
Implement a possible workaround for initird corruption (#2004)
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-02 16:40:41 +02:00
Igor Pecovnik
256d08fe11
Bugfix: fdisk package is absent in older versions
Redistribute accordingly https://github.com/armbian/build/pull/1992 and bump with fscache version.

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-29 09:36:48 +02:00
Igor Pečovnik
0832201958
Rework of image signing. (#1995)
* Rework of image signing. We compress the image first, then signing and shaing that.

Based on @belfastraven work https://github.com/belfastraven/build/blob/pre-new-doc/lib/debootstrap.sh

* Uncompressed images can be removed

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-28 15:52:44 +02:00
zciendor
a0d6f21ac7
various minor fixes (#1993)
* fix permisson denied error happening in line 79

`mktemp` creates files with `-rw-------` (on Ubuntu bionic at least), which causes `line 79` to throw a permission denied error if the file isn't world readable.

* fixes umount error caused by single quotes

* force metadata duplication for btrfs root

Without this change metadata duplication is automatically turned off for `mkfs.btrfs` when the **build system** has a SSD drive.
However, since Armbian image is most likely flashed to a SD card afterwards, the drive type of the build host system should not be the deciding factor.
Metadata duplication is a good idea (better reliability) to have on a SD card.

From `man mkfs.btrfs`:
```
-m|--metadata <profile>
           Specify the profile for the metadata block groups. Valid values are raid0, raid1, raid5, raid6, raid10, single or dup, (case does not matter).

           A single device filesystem will default to DUP, unless a SSD is detected. Then it will default to single.
```
2020-05-28 10:52:54 +02:00
zciendor
a5815c6350
bullseye: armbian-resize-filesystem fails on first run due to missing fdisk (#1992)
* armbian-resize-filesystem fails on first run due to missing fdisk

The `fdisk` package is missing in the `minimal` image, in bullseye at leat. Maybe other, future minimal images as well.
This will cause the `armbian-resize-filesystem` script to fail on first boot, which contains several
`fdisk` references. This could be fixed in the `bullseye` specific section, but since fdisk is so
essential for Armbian, it's probably best to list it in the general, mandatory packages to make sure it's available in every image in any case.
2020-05-28 10:50:56 +02:00
zciendor
f63d07e7ec
make sure cryptsetup-initramfs is installed in any case (#1991)
* fix for https://github.com/armbian/build/issues/1584

Since Debian buster the final `update-initramfs` call must be made
on the finished image where the final root device is mounted, else
`cryptsetup-initramfs` hooks fail to detect the root device.

* Merge remote-tracking branch 'upstream/master'

* make sure cryptsetup-initramfs is installed in any case if CRYPTROOT_SSH_UNLOCK is configured

Before Debian **bullseye**, `cryptsetup-initramfs` was a hard dependency of the `cryptsetup` package. Not anymore.
Therefore we need to install `cryptsetup-initramfs` explicitly, else CRYPTROOT_SSH_UNLOCK won't work.
2020-05-28 10:48:32 +02:00
Igor Pečovnik
fe36958241
Add Odroid C4 legacy build (#1983) 2020-05-25 19:22:16 +02:00
xwiggen
93b690c22f
Require fping for armbianmonitor -u (#1986) 2020-05-24 15:58:43 +02:00
Igor Pečovnik
faac552921
Workaround for Snap-less Chromium on Focal by downloading it from Debian (#1982)
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-22 00:26:27 +02:00
Igor Pecovnik
53e4bc2d38
Armbian firmware recreation and image upload bugfix
Cleaning was improper in case of retries

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-19 17:43:48 +02:00
Igor Pecovnik
58eb77aab2
Cache rebuild due to upstream Debian repository changes
https://github.com/armbian/build/pull/1967
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-17 23:35:51 +02:00
Igor Pečovnik
a0f9d7af80
Move imx6 current to 5.6.y (#1903)
* Move imx6 current to 5.6.y
* Config update
2020-05-17 18:35:21 +02:00
Igor Pečovnik
9130021688
Implement temporally fix for Chrony (#1968) 2020-05-16 10:28:57 +02:00
tweenietomatoes
b73e9e0779
New debian mirror link (#1967) 2020-05-16 10:00:46 +02:00
Igor Pečovnik
f054caca02
Switching Odroid C1 boot partition to FAT (#1964)
* Switching Odroid C1 boot partition to FAT

U-boot FAT driver is very unstable and there is no wish to dig into u-boot. Seems like a sane workaround @plntyk

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Add notes for separate boot partitions

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Typo

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Bugfix: use zImage for converting to uImage since on FAT partitions we use move

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Cleanup C1 boot scripts

We have no plans to ever support legacy kernel again. Removing related things

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* A bit more radical change. Moving meson current to (new) legacy, current to 5.6.y and dev to some development branch / commit.

* Remove unneded patch

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-15 21:50:26 +02:00
Igor Pecovnik
7f5927d91f
Bugfix: attaching wireless driver to last known working commit it
drivers/net/wireless/rtl8811cu/include/../os_dep/linux/ioctl_cfg80211.h:372:94: error: missing binary operator before token '(' https://github.com/brektrou/rtl8821CU/pull/55

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-14 09:44:22 +02:00
Igor Pečovnik
76b79a2f51
Fixing desktop install on Ubuntu Focal / Eean (#1963)
* Fixing desktop install on Ubuntu Focal / Eean

Changed dependencies for Network manager automatically install Gnome3 desktop unless certain packages are installed first. Fixing with pre-depends package feature. Tested on arm64, desktop install on top of CLI image

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-12 20:27:51 +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 Pecovnik
e57aaf6556 Internal switch - make the same nightly images as for stable one. For making RC targets. 2020-05-10 12:21:21 +02:00
Igor Pečovnik
13e3df0cc9
Bump with cache version
There has been some minor changes in the packages within minimal images. We need to rebuild the cache otherwise it run deboostrap.
2020-05-08 22:25:20 +02:00
Igor Pecovnik
f4096d392c Disable Realtek 8723DS for older kernels. It breaks on 4.4.y 2020-05-07 11:10:14 +02:00
Igor Pecovnik
25eff65004 Add variables to build-all 2020-05-06 21:50:48 +02:00
Piotr Szczepanik
3cbe24ba11 Added python3-distutils to host deps - needed by mainline u-boot for rk3328 2020-05-06 18:05:20 +02:00
Igor Pečovnik
3c61732ce6
Attach XU4 DEV to Chewit DEV branch (#1944) 2020-05-05 19:04:23 +02:00
Igor Pecovnik
bbaddc8aaa
Bugfix: moving iozone3 package to the minimal base
Solves https://forum.armbian.com/topic/13920-bananapi-pro-buster-minimal-image-partly-broken

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-03 19:02:53 +02:00
Igor Pecovnik
fb4da478e3
Enable RTL8723DS for all kernels
Driver troubles were fixed upstream and now it builds everywhere

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-03 11:35:37 +02:00
Werner
1a5b1b6e9d
RTL8723DS switch to upstream (#1938)
* 8723DS: Go back upstream

and remove 5.6 patch

* Delete wireless-rtl8723ds.patch

No longer needed.
2020-05-03 09:29:26 +02:00
Igor Pečovnik
9390ea27b4
Enable AUFS on DEV kernels (#1937) 2020-05-03 01:15:16 +02:00
Igor Pecovnik
b85d698da8
Fix wrong repository URL in /etc/armbian-release
Closes https://github.com/armbian/build/issues/1878

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-30 21:43:21 +02:00
Neil Armstrong
07447294c7
Add support for Odroid c4 (#1923)
* meson-sm1: use amlogic-boot-fip to generate boot binary for SM1

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>

* patch: add Linux and U-Boot patches

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>

* configs: enable Odroid-C4

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
2020-04-27 18:03:48 +02:00
Werner
bface71887
Remove Xenial from supported host OS (#1918)
* Remove Xenial from supported host OS

... and adjust comments.

I'd suggest add `tricia` as codename for Linux Mint based on Bionic somewhere but not sure where to put it.

* Add Debian Buster and Linux Mint

compatible build hosts

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2020-04-27 12:21:50 +02:00
Werner
f78591db5b
Fixes building on Linux Mint Tricia (Bionic based) (#1914)
* Replace apt with apt-get unless in chroot
* Improve support for Buster and Mint Debbie

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2020-04-25 21:25:05 +02:00
Igor Pecovnik
887ef462fc
Declare Ubuntu Focal as supported rootfs
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-23 23:46:06 +02:00
Igor Pecovnik
d1f35ba227
Rootfs cache recreation
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-23 22:53:30 +02:00
Przemysław Sztoch
d07647e5ce
Better logging for external userpatches path and generate a lot of empty folders only once (#1897)
* Better logging for external userpatches path.
* Genrate a lot of empty folders only once
* Better handling for COMPRESS_OUTPUTIMAGE
2020-04-20 08:39:29 +02:00
Igor Pečovnik
cc98ba3c0d
Disable MESA on bionic (#1895)
Also enable xfce4 power manager on some boards

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-17 21:29:06 +02:00
Igor Pečovnik
1121f52162
Refreshing rootfs cache 2020-04-17 09:16:51 +02:00
Hugo
88f2596744
USB FEL working inside docker (#1892) 2020-04-16 18:26:45 +02:00
Igor Pecovnik
207548cb8f
Improve RAW image compressing routines
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-12 22:28:37 +02:00
Igor Pecovnik
34d3529d16
Bugfix: add missing dependency to armbian-config
Closes https://github.com/armbian/config/issues/88

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-08 17:32:49 +02:00
Igor Pecovnik
49a6c4a4af
Bugfix: remove 5.6.y support in wifi patch
They were integrated upstream and breaking compilation on 5.4.y

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-08 13:12:06 +02:00
Igor Pecovnik
113f574e70
Bugfix for Debian Bullseye
Replacing nrg-tools with haveged

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-06 18:48:30 +02:00
Igor Pecovnik
7aacfb8824
Remove deprecated patches
Upstream driver has now support for K5.5->

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-06 14:20:48 +02:00
Igor Pečovnik
4fe804b399
Enabling Ubuntu 20.04 and Debian 11 build targets (#1872) 2020-04-05 22:25:15 +02:00
Igor Pečovnik
dd50c432f8
Bugfix - fixed wrong fs cache creation when forcing creation (#1869) 2020-04-05 14:05:10 +02:00
Igor Pecovnik
3479b590e0
Improve images uploading
Select faster SSH chiper to speed up a bit

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-04 22:30:22 +02:00
Igor Pecovnik
b607b666b3
Improve XZ compression support
Cleanup after upload, download scripts also supports this format

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-04 21:04:34 +02:00
Igor Pečovnik
874149e6ad
Add support for xz image compression format (#1868)
Our next default.
2020-04-04 18:29:42 +02:00
Igor Pecovnik
03835a4b36
[Infrastructure] Update rootfs cache
Used for building image

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-04 10:45:38 +02:00
Igor Pecovnik
debb8f3eb6
Disable AUFS for 5.6
Its not ready yet

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-03 23:56:14 +02:00
Igor Pečovnik
a523f5fcb3
Wireless drivers - typo / cosmetics 2020-04-03 09:30:53 +02:00
Igor Pečovnik
a742aa92e8
Add Realtek 8189ES and FS driver from repository (#1860)
* Add 8189es out of the tree patch from repository.
* Added 8189FS version
* Support building on kernel 5.6. for 88x2bu

Tested for building on legacy, current and dev, removed old patches
2020-04-01 21:14:49 +02:00
Igor Pecovnik
67d3251e6d
Bugfix for driver implementation
Thanks @NicoMoreau

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-01 09:47:11 +02:00
Igor Pečovnik
7e291d2b20
Wireless driver RTL88x2BU update (#1861)
Switch to new repository
2020-03-31 00:41:53 +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
19226f8a26
Bugfix: kernel sources packing
Package name was formed before patching process, while it must do that after

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-03-27 20:18:48 +01:00
Igor Pečovnik
9ceb01efd6
[ wireless hacks ] Support for monitor mode and packet injection for mac80211 (#1857) 2020-03-25 23:21:12 +01:00
Igor Pecovnik
86f267e85d
Bugfix: wireless driver
Enable Realtek 8723DS only for kernel 5.5 and above. We only need it for Rockpi S DEV kernel, while it causes troubles on at least on 5.4.y

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-03-18 09:07:56 +01:00
Piotr Szczepanik
fe82401b09
Set the default value for $SERIALCON lazily (#1845) 2020-03-17 20:05:12 +01:00
Igor Pecovnik
0af97e41a3
[Wireless driver 8188EU] Remove deprecated patch
It was accepted upstream.

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-03-14 18:39:15 +01:00
Igor Pecovnik
2f0549cdfe
[general] Bump with root filesystem cache number
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-03-10 20:06:06 +01:00
Igor Pecovnik
26eb341db1
[ infrastructure ] Update rootfs cache 2020-03-09 15:44:30 +01:00
Igor Pecovnik
a4a609abf9
[ Bugfix ] Disable wireless drivers for legacy kernels since it breaks compilation 2020-03-07 16:43:40 +01:00
Igor Pecovnik
a9b6665979
[ bullseye ] Removing non-existing package 2020-03-03 20:46:41 +01:00
Igor Pecovnik
c4ffd2b384
[ wireless ] Disable debug on RTL8723DS and update s5p6818 kernel config 2020-03-03 20:06:38 +01:00
Igor Pecovnik
643202fa07
[ bugfix ] Re-adding Python to minimal images due to failed attempt to provide them without.
This also fixes and closes https://github.com/armbian/build/pull/1828
2020-03-03 17:48:04 +01:00
Ash
d3b6800611
[ROCK Pi S] Mainline 5.5.y (dev) target (#1773)
* [ROCK Pi S] WIP mainline (dev) target
* [ROCK Pi S] Disable `rockchip64-dev` patches for now
* [ROCK Pi S] Add rtl8723ds wifi drivers
* [ROCK Pi S] Enable onboard audio (`rk3308-acodec`,`rk3308-i2s-tdm`)
Switch kernelsource to 5.5.y
* [ROCK Pi S] WIP: Use mainline 5.5.y kernel
Add a new `current` branch that tracks mainline
* [ROCK Pi S] Use updated u-boot board dt name `rk3308-rock-pi-s`
Removing the need for a special bootenv for n
* Temporally disable current
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2020-03-02 21:48:12 +01:00
Martin Ayotte
b8c87da573 be prepare for 5.6.y packaging 2020-03-02 08:10:25 -05:00
Igor Pecovnik
43f6602573
[ wireless ] Remove deprecated patch 2020-03-02 07:45:58 +01:00
Igor Pecovnik
5bf41736b9
[ wireless drivers ] disable debug on 3rd party wifi drivers 2020-03-01 21:56:29 +01:00
Igor Pečovnik
7b28c93b33
Add support for commit HASH (#1816)
* Applying better gitfu
* Bugfixes and optimisation
2020-03-01 10:43:20 +01:00
Igor Pecovnik
564d2ff571
[ wireless drivers ] Disable debug mode on 8811CU
We don't need flooding in the logs since we provide those drivers as is.
2020-03-01 10:38:35 +01:00
Igor Pečovnik
aee94adba3
Update out-of-the-tree wireless drivers (#1815)
* Move to new version of wireless driver for 8188EU, disable staging driver from kernel which is worse quality

* Update driver for RTL8812AU/21AU and RTL8814AU
2020-02-28 18:57:25 +01:00
Igor Pečovnik
c3b5dcf126
Update Wireguard - set to master branch of a WG for older kernel. (#1814)
From 5.6.y WG is part of the mainline kernel
2020-02-28 18:56:35 +01:00
Igor Pecovnik
185386d0b9
Revert "Add support for commit HASH."
This reverts commit 7c9241ff89.
2020-02-28 18:50:22 +01:00
Igor Pecovnik
7c9241ff89
Add support for commit HASH.
Shallow checkout works only on recent Git servers. It works on Google kernel mirrot, but not on kernel.org
2020-02-27 22:37:51 +01:00
Igor Pecovnik
b2034aa04d
[ aufs ] define override for versions tagged outside default pattern 2020-02-26 22:06:57 +01:00
Igor Pecovnik
3e9f46d3cd Few last bug fixes 2020-02-17 01:52:08 +01:00
Igor Pecovnik
a5472556aa Build-all bugfix 2020-02-16 21:57:04 +01:00
JMCC
59d008816c
Fix temporarily disabling glamor for bionic due to Mesa bug 2020-02-15 22:01: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
Dirk Weigenand
b9a589124d
Align location of source override with test for its existance when sourcing it. (#1782) 2020-02-13 20:35:34 +01:00
zhangn1985
d6e13612d1
allow - in hostname (#1799)
Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2020-02-13 20:31:20 +01:00
Igor Pečovnik
2b3997df53
When seeking for rootfs cache files it also checks previous version. This solves problem described in [AR-166] (#1790) 2020-02-09 10:25:41 +01:00
Martin Ayotte
2a42688257 Merge pull request #1786 from armbian/general-configurable-fdt-file
FDT file customisable per board
2020-02-08 08:16:38 -05:00
Igor Pecovnik
aa6d56dab3 Bugfix - Focal desktop was not building.
Updating kernel configuration for Rockchip, bump with rootfs version due to cache recompile, adding kernel config for rockchip DEV, attached to 5.5.y
2020-02-08 10:12:47 +01:00
Piotr Szczepanik
83cf87922b FDT file configurable per board 2020-02-07 22:21:01 +01:00
Igor Pečovnik
bdba55a74f
Fixes htop package building under Ubuntu Focal (#1783) 2020-02-06 22:32:14 +01:00
Igor Pecovnik
d84f81e40f Bugfix: Wireguard tools on Bullseye were installing not needed dkms package 2020-02-04 20:34:29 +01:00
Igor Pecovnik
871c2e89cc Bugfix: Modern Ubuntu versions have broken command-not-found. Removing. https://bugs.launchpad.net/command-not-found/+bug/1824000 2020-02-04 20:07:07 +01:00
Igor Pečovnik
0ca5a8dd29
Bugfix - Network manager randomizing MAC (#1780) 2020-02-04 18:25:30 +01:00
Igor Pecovnik
70c3a79c3e Backend / repository management fixes and improvements 2020-02-02 23:56:32 +01:00
Igor Pecovnik
e867773d15 Enable Ubuntu Focal in expert mode. It can be build now. 2020-02-02 23:54:59 +01:00
Igor Pečovnik
89a5a394ba
Add exceptions to support native Ubuntu 20.04 building (#1764)
* Add exceptions to support native Ubuntu 20.04 building, fix small bug related to SD card write verification.

* Improve first install steps by installing Dialog and lsb_release first. This left out since we moved host install after we choose what we will do ... dialog is essential for this. Second we don't wait properly for APT manager to finish the process. Fixed with this commit

* Suppress output

* Update OdroidXU4 dev config & patches
2020-02-02 10:31:30 +01:00
Igor Pečovnik
74a2e23f8a
Implement a workaround for Bionic Mesa related issues (#1760)
Closing [AR-152]
2020-01-23 22:40:49 +01:00
Igor Pecovnik
1bf608e1ca Bump with rootfs cache version and adjust board name display. 2020-01-22 19:57:16 +01:00
Igor Pečovnik
ae1737eeb5
Removing http from variable
Closing https://github.com/armbian/build/issues/1726
2020-01-08 14:01:21 +01:00
Igor Pecovnik
f0e5086f97 Bump with version of freshly recreated rootfs cache 2020-01-07 19:42:21 +01:00
Igor Pečovnik
9b8116b75f
Cosmetic fix 2020-01-06 23:52:36 +01:00
zhangn1985
3e38b4b715 build optimize for upstream (#1713)
* add tuna debian-security mirror

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>

* replace apt-get with apt

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>

* speed up desktop build

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2020-01-06 23:45:28 +01:00
zciendor
5c7e7c7235 fix for https://github.com/armbian/build/issues/1584 (#1723)
Since Debian buster the final `update-initramfs` call must be made
on the finished image where the final root device is mounted, else
`cryptsetup-initramfs` hooks fail to detect the root device.
2020-01-06 23:31:54 +01:00
Igor Pecovnik
c14dad452c General: bump with version and adjust few targets 2020-01-05 23:15:21 +01:00
Igor Pecovnik
42ecf1582f Move rockchip64 legacy to most recent kernel. Tested with standard https://github.com/armbian/autotests stress test on RockPro64 and Rock64. 2020-01-03 11:37:00 +01:00
Igor Pečovnik
3203756603
Merge pull request #1702 from armbian/AR-127
Move wireless patching in front of the patching process
2019-12-31 19:00:27 +01:00
Igor Pecovnik
bc16dc123f
Spaces cleanup 2019-12-31 13:47:01 +01:00
Igor Pecovnik
5074b7cd5c
Re-read kernel version after patching and some cleanup 2019-12-31 13:45:21 +01:00
Igor Pecovnik
7818c2a040
Refactor wifi patching. Need to fix mvebu packaging patch ... 2019-12-31 13:25:58 +01:00
Zhang Ning
9f3013a5f2 remove rootfs debs depends on python-apt
Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-12-31 15:13:42 +08:00
Igor Pecovnik
2f608fe379 Adjust build targets and address small backend issue 2019-12-30 19:34:37 +01:00
Matthias Riechmann
04db71efd4 Removed export of variable ARCH 2019-12-27 22:55:45 +01:00
Igor Pecovnik
2b3bcd1be6 Bump with version due to some bugfix images upgrades, change targets, small changes to backend code 2019-12-27 19:59:11 +01:00
Igor Pecovnik
58616b4ea4
Wireguard: adjust repository according to upstream changes. 2019-12-27 16:21:43 +01:00
Igor Pečovnik
e295616575
Enable most recent version of AUFS on Kernel 5.4.y (#1692) 2019-12-25 22:09:39 +01:00
Igor Pečovnik
8a3f05584b
Add drivers for Realtek RTL8811CU and RTL8821C chipsets (#1690) 2019-12-24 09:19:51 +01:00
zhangn1985
5ca275347e install wireguard when required (#1689)
Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-12-23 07:36:59 +01:00
Igor Pečovnik
c9ab99a84b
Add signed torrents for compilers to Git and improve download logic (#1685)
* Add signed torrents for compilers to Git and improve download logic [AR-107]
2019-12-20 16:33:45 +01:00
Igor Pečovnik
8970fc6730
Wireguard: bump tag to most recent since it breaks building on 5.4.y (#1683) 2019-12-19 07:59:58 +01:00
Igor Pecovnik
4f375692b4
[ sunxi-dev ] Adjust patches, remove deprecated, build tested on Pine H6 2019-12-16 14:35:45 +01:00
Igor Pečovnik
e6ad392f85
[AR-103] Bugfix: Adding repository via PPA doesn't find & set proper release name. (#1677) 2019-12-16 12:58:42 +01:00
Igor Pečovnik
89f63f45fb
Bullseye bugfix: improved grep 2019-12-15 20:25:18 +01:00
Igor Pecovnik
3e7dd378ec Rebuild all rootfs cache, minor fix for focal 2019-12-15 19:52:45 +01:00
Igor Pecovnik
ee87f34563 Bullseye: add browser, adjust versioning, (temporally) remove non existing repository 2019-12-15 08:19:11 +01:00
Igor Pecovnik
109e76c578 Bullseye fixes 2019-12-14 23:18:58 +01:00
Igor Pečovnik
2e69b173bf
Merge pull request #1673 from armbian/focal
Add Ubuntu 20.04 LTS Focal and Debian Bullseye
2019-12-14 11:18:23 +01:00
Igor Pecovnik
3391ce2e96
[AR-102] Adjusting packaging patch relation to fix broken RockpiS compilation 2019-12-14 10:18:47 +01:00
Igor Pecovnik
5450c4ea3b Show release support status in menu for expert mode 2019-12-13 20:48:06 +01:00
Igor Pecovnik
82e5a27026 Disable Focal from menu since its too broken. 2019-12-13 20:31:12 +01:00
Igor Pecovnik
8df3e98401 Add Debian 11 bullseye 2019-12-13 20:01:00 +01:00
Igor Pecovnik
9241c849b5 [Maintanace] Rootfs cache has been rebuild with new version. 2019-12-13 07:52:17 +01:00
Igor Pecovnik
6e54a48778 Exchange EOL Ubuntu Disco with Ubuntu Focal 20.04 LTS (development) 2019-12-12 15:51:42 +01:00
Igor Pecovnik
d5e8710cbd Tinkerboard S: fix booting from eMMC. Closing [AR-89] 2019-12-12 07:47:18 +01:00
Igor Pecovnik
f898c75282 Move Xradio driver from patches and pull more recent from https://github.com/karabek/xradio Tested on 4.19.y and 5.3.y 2019-12-11 17:02:38 +01:00
Piotr Szczepanik
cfaee9938a Switched ATF cleaning method to distclean 2019-11-30 23:11:06 +01:00
Igor Pečovnik
ac309b9355
Repository managemenet doesn't work after https://github.com/armbian/build/pull/1612 This commit fixes the problem. (#1645) 2019-11-28 15:51:23 +01:00
Igor Pečovnik
b5595d8c1d
AR-79: Temporaly disable AUFS on 5.4.y since its broken (#1633) 2019-11-26 19:25:36 +01:00
Levin Du
77a2dba163 Support eval bash statement in ./compile.sh (#1616)
Currently, invoking compile.sh will run its mono task of building all the
components into a final image.

In some situation, especially when developing with Kernel or U-Boot, it is
handy to run a portion of that great task like:

    export BOARD=firefly-rk3399
    export BRANCH=dev
    # more to avoid the popup of dialog
    ./compile.sh 'fetch_from_repo "$BOOTSOURCE" "$BOOTDIR" "$BOOTBRANCH" "yes"'
    ./compile.sh 'compile_uboot'

or use a profile to keep things simple:

    ./compile.sh default BRANCH=dev 'compile_uboot'
2019-11-26 18:00:39 +01:00
Igor Pečovnik
8f4b6bfc99
Create patches directory structure under USERPATCHES_PATH (#1628)
Closes [AR-74]
2019-11-24 19:57:57 +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
Levin Du
01fec6b3b4 lib/main.sh: allow correctly use of 'head' in BRANCH reference. (#1611)
In fetch_from_repo() from general.sh, when ref uses `head` as value, the ref_name
will be set to `HEAD`, which is later used as a subdir:

   local workdir=$dir/$ref_name

This commit makes the directories consistent with the workdir above.
2019-11-16 09:49:00 +01:00
Igor Pecovnik
336cf390d0 Bugfix: when installing full desktop from armbian-config it lead to installing waaaay too much things. Making things simple again. 2019-11-08 21:44:24 +01:00
zub2
6c7a687d14 don't set LC_ALL=C (#1617)
This breaks UTF-8 in console and in general it just should not be there.

See https://forum.armbian.com/topic/10054-locale-config-issue-stretch/
2019-11-08 00:42:01 +01:00
zhangn1985
fd5dfeba14 btrfs-tools to btfs-progs (#1613)
* btrfs-tools to btfs-progs

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>

* Force rootfs cache recompilation

"Just in case" measure

* Change btrfs-progs in the package base too

* We will build Ubuntu 19.10 rootfs cache as well
2019-11-02 18:40:46 +01:00
Igor Pecovnik
ad71eeab96 Infrastructure: small fixes and improvements regarding images upload 2019-10-31 16:14:24 +01:00
Igor Pečovnik
01229d6672
bugfix: repository management
Storing everything into main instead of sub-repo
2019-10-22 20:14:28 +02:00
Igor Pecovnik
d9e6106c29 Tiny development related feature. Adding local mirror if defined. 2019-10-03 20:06:45 +02:00
Igor Pecovnik
2c0adc006a General: strenghten host preparation with downloading aptly keys from two different servers 2019-09-29 18:53:02 +00:00
Igor Pecovnik
60cd84383d Bugfix: run apt update when installing desktop since we use cached rootfs. Up with version. 2019-09-28 01:03:41 +02:00
Igor Pecovnik
b9adf0ea48
Revert remove redundant cleanup (#1567)
U-boot runs several targets. Cubox, Helios4, ... and they are not cleaned at checkout. @zhangn1985
This reverts commit 357926add6

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-09-27 19:17:49 +02:00
zhangn1985
357926add6 remove redundant cleanup (#1567)
source code cleanup should be done in source update/checkout step.
thus no need redundant cleanup in apply patch step.

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-09-19 11:02:21 +02:00
Igor Pecovnik
ddb2202706
Bugfix: rng-tools needs default device
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-09-18 19:28:09 +02:00
Igor Pecovnik
3ec59523d5
Bugfix: rng-tools not present in Xenial
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-09-18 15:01:16 +02:00
Igor Pecovnik
df42a5c3da
General: Add tzdata back to the essential packages
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-09-17 20:12:14 +02:00
guidol70
edfa465ae0 Update configuration.sh (#1566)
add rng-tools for faster fill of the entropy pool for amlogic cpus

Closes https://github.com/armbian/build/issues/1565
2019-09-17 19:49:00 +02:00
Igor Pečovnik
0d0cd7f191
Remove Debian Jessie (#1560) 2019-09-16 22:13:55 +02:00
Igor Pečovnik
e1d4c83ad6
G-serial cleanup (#1549)
* Initial commit for serial consoles rfc
* Board configuration cleanup + small tweaks
* Add serial gadget rename to dev kernel as well
* Cleanup, fixing permissions
* Cleanup board configs
2019-09-13 22:20:11 +02:00
Igor Pecovnik
76cafa6915 General: fixing wrong permission on desktops which pops out when using bluetooth 2019-09-08 20:56:14 +02:00
Igor Pecovnik
c4af831b90 Remove package dependency from armbian-$RELEASE-desktop Closes https://github.com/armbian/build/issues/1544 Adjustement to armbian-config is needed. 2019-09-08 14:00:53 +02:00
Przemysław Sztoch
202d2cac81 Added .editorconfig, removed obsoleted upgrade.sh and main.sh, launching user_config function. (#1543) 2019-09-07 23:28:42 +02:00
Igor Pečovnik
09402b263d
Better wording 2019-09-05 17:21:40 +02:00
Igor Pecovnik
77b55bfe80
Install Wireguard tools (from our repository) by default
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-09-04 22:49:48 +02:00
Igor Pecovnik
ce3d35546f Interal: improve aptly packaging handling 2019-09-04 22:48:05 +02:00
Igor Pecovnik
2f84cff50e
Fix Odroid N2, add upstream patches for rockchip-default
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-09-02 07:01:44 +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
da903f2d65
Replace Etcher with dd + verify, tested under Docker (#1522)
* Replace Etcher with dd + verify, tested under Docker

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-09-01 00:12:36 +02:00
zhangn1985
e71c145cb7 move armbian source to create_sources_list (#1532)
1. move armbian source to create_sources_list
2. check DOWNLOAD_MIRROR
3. alse change prebuild rootfs's source list

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-09-01 00:11:40 +02:00
zhangn1985
6f4efcb677 enable AUFS for meson64-dev (#1525)
enable AUFS rc and adjust kernel config

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-08-19 14:32:22 +02:00
Igor Pečovnik
bb0130c797
Set AUFS default on
Closes https://github.com/armbian/build/issues/1524
2019-08-18 20:50:53 +02:00
Igor Pecovnik
29fc989c1b
Bugfix: improper BUILD_MINIMAL handling and fixing terrible synaptic performance https://forum.armbian.com/topic/7422-terrible-synaptic-performance/
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-17 22:17:13 +02:00
Igor Pecovnik
36744e84eb
build minimal - fix multi threaded building
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-17 10:08:30 +02:00
Igor Pecovnik
f95b91d3bb
up with cache version. another rebuild is needed
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-17 09:14:37 +02:00
Igor Pecovnik
737bd30d04
build_minimal related bugfixes. Cache didn't follow minimal filename
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-17 09:10:20 +02:00
5kft
7a2bf78e10 increased the default boot partition size to 96MB (from 64MB) for multi-partition fs targets 2019-08-16 21:44:01 -07:00
Igor Pecovnik
39ee7ff343
General: we will be making caches also for minimal images. We have to rebuild other caches due to few changes
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-16 19:38:08 +02:00
Igor Pečovnik
f416c35c16
Adding minimal image (#1504)
* Minimal build setup (#1463)
* Netplan folder check & armbian-tools dependency on expect (and tcl) solved (#1464)
* Prevent netplan configration if it is not installed
* Resolved expect dependecy of armbian-tools
* More packages added for armbian-tools
* Added python3-apt and rsyslog to minimal installation
* Debootstrap variant doesn't play nice. We loose networking and it affects standard builds as well. Removing.
* Python-to-Bash conversion (#1470)
* Remove python3-apt dependency from BSP package, fix netplan error also on Disco and putting back varint=minbase ... tested Disco, Bionic
* Distinguish package list: *-minimal.list and *-desktop.list
* Enable Wireguard back which was removed by mistake. https://github.com/armbian/build/issues/1471
* Having minbase debootstrap variant for all will require further adjustements with current package base - backward compatibility. Minimal image is now Python free but need further testings ...
* Add wireless-regdb and crda to the pakage base, fix Ubuntu keyring warning while debootstrap.
* Add figlet to sort out missing fonts
* Moving few packages here and there. Bugfix when creating a cache package list
* Manually compared base images - they are the same with small insignificant difference. Minimal image has to be futher tuned
* Adjustements for bash powered lsb_release, adding some needed packages
* Fixed (no) network problems on Bionic/Disco
* Add rsync to debootstrap_list and few minor fixes
* Adjust text in lsb_release
* Olimex Micro A20: fix wrong boot config
* Remove duplicate depenedency
* Odroid C1: adjust kernel config
2019-08-16 19:21:12 +02:00
Igor Pecovnik
c65eff6038
Buster Bugfix: ping has wrong permissions and needs SU privileges. https://forum.armbian.com/topic/11276-unable-to-ping-as-user/
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-16 08:55:15 +02:00
Igor Pečovnik
23ecaaa4f9
Re-enable wireguard
Its tested on all build and is attached to tested branch. Also https://github.com/armbian/build/issues/1369
2019-08-13 07:03:37 +02:00
Zhang Ning
36b42f1968 merge KVIM1 u-boot blobs to odroidc2-blobs
less external git.

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-08-05 12:42:02 +08:00
Gauthier Provost
2ab34f46c6
[ build script ] Umount overlay with -i option
close issue #1494
2019-08-05 12:30:09 +08:00
Tony
bc4883e5ee
Merge pull request #1480 from zhangn1985/kvim
add support for Khadas VIM1
add HDMI tweaks from Jonas Karlman
small config update
2019-08-05 00:13:05 -04:00
Becker Béla
e517d588a9 Disable ext4 options that don't work with u-boot (#1495)
Disable these mkfs options for all new distros
2019-08-02 20:02:54 -04:00
Igor Pecovnik
a169b1e750
Adjust rootfs cache number, fix packaging debugging
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-01 10:45:31 +02:00
Igor Pecovnik
34a109fbf9
Typos & small bugfixes, odroidxu4 and mvebu64-default kernel adjustements + upstream kernel patches
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-01 10:33:47 +02:00
Igor Pečovnik
aae7ae95ba
Change rootfs cache version
For cache rebuilding
2019-07-31 23:52:47 +02:00
Aditya Prayoga
e261c6f828 Move mvebu DEFAULT, NEXT and DEV branch to next kernel (LTS) and U-boot #1426 (#1487)
* Initial Mvebu RFC https://github.com/armbian/build/issues/1426

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* mvebu: add missing patches

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* mvebu: change making u-boot targets to standard way, adjust patches and config

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* helios4: set default branch to use U-Boot 2018.11

Switch over to U-Boot 2018.11 that has been used for some time in next
branch.

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

* mvebu: helios4: Enable DEV branch

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

* u-boot: Add RTC support on Clearfog and Helios4

Added DM driver for mvebu RTC and enable it on Clearfog and Helios4
configuration.

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

* add boot-marvell.cmd backward compatibility

The patches added missing variable that used on boot-marvell.cmd and
also adjust the some memory addresses to prevent crash due to usage of
fdt_high and initrd_high.

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

* helios4: Added SPI NOR flash target

Build bootable SPI NOR flash image.
Change the boot order to USB -> SATA -> MMC

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

* Restore SPI support on U-Boot 2019.04

* mvebu: kernel: Added Wake-On-GPIO and WoL support

The patch set was missing during transition.

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

* [#1429] SolidRun's ARMADA A388 SOM U-Boot ODT Update

Old versions of U-Boot did not configure correctly the ODT on data
signals of DDR RAM on SolidRun's ARMADA A388 SOMs.

According to SolidRun Knowledge Base, the changes already pushed to
mainline U-Boot. But then it was overwritten when Marvell DDR Training
Tool updated

[URL]
https://developer.solid-run.com/knowledge-base/armada-38x-som-u-boot-odt-update/

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

* [#1429] mvebu: u-boot: Add revision id for Armada 38x B0

Added patch for SolidRun U-Boot v2018.01 and
for Helios4 U-Boot v2018.11

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

* clearfog: Added SPI NOR flash target

Build bootable SPI NOR flash image.

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

* mvebu: clearfog: DEV branch use mainline U-Boot

Also move clearfog base patch into its own board folder.

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

* mvebu: enable U-Boot uart target

Normal MMC image can be used for uart boot using following command:

./tools/kwboot -b u-boot-spl.kwb /dev/ttyUSBX

But on Helios4, the SPL failed to continue the booting process if ECC is
enabled, so disable it.

Since the usage of uart boot is more for rescue/debug, disable autoboot.

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

* mvebu: NEXT branch use mainline U-Boot

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

* mvebu: helios4: fix fancontrol related bug during buster testing

- On kernel 4.19, cpu thermal sensor changed the name from
armada_thermal into f10e4078.thermal. Added this new name to udev rules
- Since DEFAULT branch now use kernel 4.14, update fancontrol
configuration
- Load lm75 kernel module
- On kernel 4.19, cpu temp reading about 20 degree C lower, update
fancontrol configuration.

[URL]
https://forum.armbian.com/topic/10214-clearfogpro-possible-change-in-temperature-reporting-between-414next-and-419dev

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

* mvebu: helios4: Override vendor provided fancontrol unit

systemd emit following message on dmesg

systemd[1]: /lib/systemd/system/fancontrol.service:9: PIDFile=
references path below legacy directory /var/run/, updating
/var/run/fancontrol.pid \xe2\x86\x92 /run/fancontrol.pid; please update
the unit file accordingly.

Override and change the value in the unit file to remove the message.

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

* mvebu: DEV branch use its own u-boot patch folder

The patches are copied over from u-boot-mvebu-next

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

* mvebu: u-boot: Make clearfog model distinction more obvious

While at it, also change SerDes LANE4 into USB 3.0 on Clearfog Base.

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

* lib: Use apt-get install instead of dpkg on install_deb_chroot()

dpkg -i does not install dependencies required by the package.
This is needed if the BSP package requires other package that is not
installed during debootstrap.

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

* config: mvebu: helios4: Move various tweak to family_tweak_bsp()

Various tweak in family_tweaks_s() only applied to SD card image.
Move it to family_tweaks_bsp() so it will also included on the BSP
package and applied to existing user.

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

* config: mvebu: helios4: Add /etc/modules to BSP

On kernel 4.19, user need to modify the /etc/modules to add lm75 kernel
module. Pack the file into BSP so user no longer needed to modify it.

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

* mvebu: kernel: Make zbud as built-in module

To remove the following error:
[    1.705485] zswap: default zpool zbud not available
[    1.705488] zswap: pool creation failed

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

* bootscripts: mvebu: Add default value for spi_workaround

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

* mvebu: kernel: Backport armada_thermal changes to 4.14 (#1452)

On kernel 4.19, armada_thermal driver has been fixed to address
Marvell's Errata #132698 (The changes first appear on LK 4.16). The
result is temperature reading is around 20 degree Celsius lower.

Currently armbian-motd apply -20C tweak for both LK 4.14 and LK 4.19
which is incorrect. Instead of adding some logic on what condition to
apply the tweak, it is better to remove the tweak and patch the kernel
instead.

Revert commit b3dd4e9 ("[ mvebu ] Put back Armada temperature tweak in
motd")
which is part of #1421 solution.

[URL]
https://forum.armbian.com/topic/10214-clearfogpro-possible-change-in-temperature-reporting-between-414next-and-419dev/

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

* mvebu: helios4: unified fancontrol config

Since LK 4.14 on DEFAULT branch already patched and the temp reading is
same as LK 4.19 on NEXT branch, it is no longer needed to separate
fancontrol configuration file.

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

* u-boot: helios4: Remove rev id patch

The patch is already applied in helios4 repo, no need to have it in
armbian.
This revert helios4 part of commit 7411c55

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

* u-boot: clearfog: enable PCIe support and PCIe reset

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

* u-boot: clearfog: add boot-marvell.cmd backward compatibility

The patches added missing variable that used on boot-marvell.cmd and
also adjust the some memory addresses to prevent crash due to usage of
fdt_high and initrd_high.

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

* mvebu: helios4: tweak regarding temperature setting

Make fan speed similar compared to pre-patched armada-thermal. Target
PWM value around 70 during idle.

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

* config: sources: clearfog to use u-boot 2018.01 for NEXT branch

This changes also affect Helios4. Moved the shared U-Boot source setting
back to Helios4 for NEXT branch.

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

* config: boards: build Stretch image for Clearfog and Helios4

Also remove DEV from Helios4 CLI_TARGET

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

* kernel: mvebu-next: Disable access to SPI Flash

User need to set spi_workaround=yes to enable SPI Flash access and lost
access to internal SATA.

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

* mvebu-next: adjust kernel config

* mvebu-dev: bump to 5.2 and adjust kernel configuraion. Tested for building.

* Adjust kernel config, add AUFS

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* mvebu-next: Adjust kernel config, add debug GPIO

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

* mvebu-dev: separate Clearfog Base U-boot configuration file and patch

Signed-off-by: Aditya Prayoga <aditya@kobol.io>
2019-07-31 12:51:00 +02:00
zhangn1985
27e22f6e36 more clean up for source code (#1488)
some patches will create new files, they can be removed by `git clean -qdf`

but when repo has update, git clean is forgot, thus leave new files still in repo.

add git clean back.

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-07-30 22:24:00 -04:00
Przemysław Sztoch
4d7d0e16bb ROOTPWD, HOST and rockpi-4a. (#1489)
* More configuration options (ROOTPWD and HOST).

* Prepared for RockPi4A without wifi.
2019-07-30 14:23:48 +02:00
Igor Pecovnik
518e24858b
AUFS - automated patching for future versions 2019-07-29 16:23:28 +02:00
zhangn1985
35aedf08b0 main: show docker in build options (#1479)
Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-07-26 14:24:37 +02:00
Zhang Ning
7e831b9ace add Khadas VIM1
Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-07-26 13:07:33 +08:00
zhangn1985
28c2d20c77 rootfs: update DNS for prebuilt rootfs (#1469)
defualt DNS for prebuilt rootfs is 1.0.0.1
when this DNS is not accessable, eg. due to proxy.

network operation in chroot will not available.

use alternative DNS in variable NAMESERVER.

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-07-22 09:41:02 +02:00
Igor Pecovnik
07e00d8a2f
Cache creation: revert 568b8d7d55 since we already have this implementation. Go up with cache version. Fixing https://forum.armbian.com/topic/10989-armbian-build-stretchbuster-does-not-install-additional-packages 2019-07-20 08:45:11 +02:00
Igor Pečovnik
e633fac810
Bugfix
Forgot about beta numbering scheme 568b8d7d55
2019-07-17 19:59:54 +02:00
Igor Pecovnik
568b8d7d55
build script: make rootfs cache hash (minor x.y*) version dependent to not keep too old caches and that cache can be forcefully rebuild only by changing minor version number. If cache is rebuild only with new packages version, hash stays the same, while we in some cases need to change filename which is served over torrents. 2019-07-17 19:36:13 +02:00
Igor Pecovnik
29472c52b3 Revert "relocate 'compilation_prepare' prior too patching"
This reverts commit b9173d7850.
2019-07-12 10:42:33 +02:00
Martin Ayotte
b9173d7850 relocate 'compilation_prepare' prior too patching 2019-07-11 15:37:05 -04:00
Przemysław Sztoch
48d6548471 Better armbian.txt, unified sha filename, armbianEnv from userpatches. (#1454)
* Unified name for sha file.

* Better information about build in armbian.txt

* armbianEnv.txt from userpatches folder

* Better armbian.txt.

* Lost second argument for fingerprint_image (armbian.txt)
2019-07-11 09:57:33 -04:00
Igor Pecovnik
dca948cd19
Bugfix - it only manifest when build all targets and is releated to this PR https://github.com/armbian/build/pull/1451
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-11 12:51:14 +02:00
Przemysław Sztoch
bc0fbb85bc Add USERPATCHES_PATH optional setting to config file. (#1450)
Required if userpatches folder is conflicted between two different configs.
This is frequent and requires maintaining two copies of the builder.
2019-07-09 22:50:49 -04:00
zhangn1985
94027c0f58 Docker build speed up. (#1451)
* Docker: a chance to rebuild docker image

when Dockerfile is updated, docker image will not be rebuilt,
let armbian docker image tag with framework version, thus has
a chance to rebuild it.

V2: use VERSION file to track build script version.

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>

* Docker: use upgrade instead of dist-upgrade to speed up docker build

this patch also change to use apt instead of apt-get
when compile in docker, it will run apt update&&upgrade everytime.
this is very time consuming.

apt-get dist-upgrade will not upgrade packages, thus will make build framework
do upgrade each time.

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-07-09 12:04:24 +02:00
Igor Pečovnik
728c2beb2c
Bump with version 2019-07-07 23:28:45 +02:00
Przemysław Sztoch
31b56af49f Default config as symlink and better kernel package metadata (#1446)
* Default config as symlink for comfort switching between several custom boards.

* Better metadata for kernel packages.

* Local changes with detailed git diff.

* Support for gz and bz2 compression (supported by balenaEtcher).
Support for generation sha without 7z compression.
Bug fix for current directory changing in 7z compression.

* Remove bzip2 and use fast pigz for gziping.

* Deleted typo with "gz" in 7z section.
Separated parameter for gpg.

* Information about exit command.
2019-07-06 22:35:42 +02:00
Igor Pečovnik
79ef5ccf4d
Enable Debian buster
for non experts. Its in decent shape, small bugs will eventually be fixed and official release is just around the corner.
2019-07-06 11:33:33 +02:00
Igor Pecovnik
f43ba6bdaa
Wireguard: move to next known to work tag
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-03 07:48:22 +02:00
Igor Pečovnik
ef5a797483
Fix u-boot handling (#1436)
This principle is needed for Allwinner boards. For others it needs to be checked. For now this fixes when building SPI boot loader.
2019-07-02 20:00:12 +02:00
Igor Pecovnik
e8e0c698f1
Remove specific versions of the used kernels https://github.com/armbian/build/issues/1440
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-02 08:43:12 +02:00
lanefu
7d0e676e93
Revert "lib: more shellcheck fixes (#1430)" (#1432)
This reverts commit 1e050839b2.
2019-06-27 22:23:39 -04:00
Manuel Rüger
1e050839b2 lib: more shellcheck fixes (#1430)
thanks @mrueg !
2019-06-27 21:19:42 -04:00
Igor Pečovnik
12dc06510b
Bump with version
To rebuild few images later on
2019-06-27 20:12:01 +02:00
Igor Pecovnik
30dbf32ecf
Wireguard - set kernel limit to 3.14 since last snapshot breaks on 3.10.y
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-06-26 19:48:44 +02:00
Igor Pečovnik
633242e835
Changes to build script and patches adjustment (#1423)
- change console welcome text
- changed display manager to lightdm by default and remove nodm completly
- desktop login manager enabled by default, toogle can be done with armbian-config
- added URL to the build script and commit hash to /etc/armbian-release file
- added debconf-utils,html2text,mmc-utils,sunxi-tools to the base and additional pkg list
- added synaptic package manager and onboard keyboard to the desktop base
- changed motd console welcome text to: Welcome to Debian Stretch with Armbian Linux 5.1.6-sunxi
- added "logout" to the panel/menu
- added normal users to additional groups: disk tty users games
* Adjust tabs and alter displaying build options at the end - hide empty ones
* Fix wrong MOTD message, adjust logic to autologin by default and request login for both notebooks
* Making fs cache naming more intuitive, rename script
* Move additional kernel drivers into separate file. Add AUFS for K5.1 this way, attach wireguard sources to last known working tag. master is broken atm
* Add two more extra wireless drivers 88x2BU, (improved) 8811EU and introduce switch EXTRAWIFI which is enabled by default
* Move 8812AU to the same version we have now. More recent has some performance issues in AP mode. Adjust configuration, add mvebut-dev 5.1.y kernel
* Enable Wireguard also on 3.10.y since it was fixed upstream. Attach bach to master branch since its working now
* Rockchip64 & RK3399 - upstream patches and remove deprecated patches, mvebu64 add DEV kernel attached to 5.1.y
* Enable BT on Tinkerboard CLI images as well
* cubox-i move to 5.1.y and enable missing HDMI
* Bugfixes for adding wireless driver to Kconfig. Adjusted RK3399 kernel due to upstream changes at FriendlyARM - does not boot yet. Changes has to be extract from their commits. Removed patches with RTL8188EU since we add more recent driver with a new precedure. Small fixes mvebu-default, udoo-next, s56818-next, ... remove deprecated patches.
* Boot-able RK3399-default config, add upstream patches for K4.4.y mvebu-default/udoo-next
* Adjust overclocking patch to meet upstream changes
* Odroid XU4 - remove deprecated kernel patches
2019-06-26 07:31:11 +02:00
Firefly Team
2f8ce01852 Docker: override stty size in container (#1420)
With some docker CLI version, `stty size` in the container will return `0 0`,
which causes `dialog` to fail. This commit fixes that by setting the actual
terminal size.

For more infor, see:

  https://github.com/docker/for-linux/issues/314
2019-06-22 23:32:59 -04:00
jwzawadzki
8830b8aa45 [ mverbu64 ] Add macchiatobin double shot board. (#1416) 2019-06-17 10:49:56 +02:00
Igor Pecovnik
766c0032ed
Merge branch 'master' of https://github.com/armbian/build 2019-06-14 21:22:42 +02:00
Igor Pecovnik
86021bab9a
Debian buster. Add our standard icon theme
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-06-14 21:22:03 +02:00
Igor Pecovnik
95977fa6f5
[Build script] Reverting image creation improvement due to (random?) failing. truncate sometimes resoult in fs corruption or is not possible to clearly unmount loop device. Need deeper inspection or simply reverting to previous working solution
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-06-14 20:29:07 +02:00
Igor Pecovnik
7e66e95962 [ general ] add tiny debug option to track installed packages per each rootfs cache (internal feature), htop bugfix, sunxi upstream patch 2019-06-12 21:20:03 +02:00
Igor Pečovnik
da86ab5df5
Cosmetics (#1404)
- changed display manager to lightdm by default and remove nodm completly
- desktop login manager enabled by default, toogle can be done with armbian-config
- added URL to the build script and commit hash to /etc/armbian-release file
- added debconf-utils,html2text,mmc-utils,sunxi-tools to the base and additional pkg list
- added synaptic package manager and onboard keyboard to the desktop base
- changed motd console welcome text to: Welcome to Debian Stretch with Armbian Linux 5.1.6-sunxi
- added "logout" to the panel/menu
- added normal users to additional groups: disk tty users games
2019-06-11 00:24:46 +02:00
Igor Pecovnik
953a7f85ac [ General ] Bump with version 2019-06-11 00:20:13 +02:00
Stefan Mavrodiev
550d8980ff lib: Compile external packages for target arch/release if user-built 2019-06-07 09:54:41 +03:00
Manuel Rüger
7819b81b0a lib/*.sh: Apply further shellcheck recommendations 2019-06-04 12:29:05 +02:00
Igor Pecovnik
8ac17c0d6c [ general ] More bullet proof Aria2 default configuration. Removing torrent dl from default and force single source. There seems to be problems with multiple downloads at once in current version. 2019-06-02 21:44:56 +02:00
Igor Pečovnik
e8a79a85db
Download with Aria2 (#1384)
* [ general ] Change Toolchain download method. Introduce torrent downloads by using Aria2. If torrent download fails it proceeds to download from servers. It can download from all mirrors at once, so download speed is dramatically increased. @mzhboy DOWNLOAD_MIRROR parameter is not needed here anymore. The same method is used to download rootfilesystem cache. Based on ideas from here https://github.com/armbian/build/pull/1364

* Added yet another mirror for speeding up the download process, few small adjustements for torrent downloading

* Optimising direct download when DOWNLOAD_MIRROR is set to 'china' due to aria2 download limitations

* Both mirrors support HTTPS, changing
2019-06-02 19:49:59 +02:00
tcme
24afe02e88
Add oldcache to clean target comment
text from 376c1b0551/config/templates/config-example.conf (L10)
2019-05-31 12:01:20 +02:00
Manuel Rüger
bffdfcd7f0 Apply shellcheck recommendations (#1389)
* compile.sh: Apply shellcheck recommendations

* lib/upgrade.sh: Apply shellcheck recommendations

* lib/main.sh: Apply shellcheck recommendations

* lib/desktop.sh: Apply shellcheck recommendations

* lib/makeboarddeb.sh: Apply shellcheck recommendations
2019-05-30 22:19:53 +02:00
Igor Pecovnik
f1f10fff9b Revert "[ build script ] small speed improvements when building all packages"
This reverts commit ae920870e7.
2019-05-28 22:29:11 +02:00
Igor Pecovnik
f7c634c2bb [ odroidn2 / general ] further improvements with some general patches, kernel config adjustements, upstream patches, bump with version 2019-05-28 21:43:48 +02:00
Jorik Jonker
e606326685 Fix boad-deb dependencies
The packages 'recommend' python3-apt, while it simply does not work
without this package:

  Traceback (most recent call last):
    File "/usr/lib/armbian/armbian-apt-updates", line 25, in <module>
      import apt_pkg
  ModuleNotFoundError: No module named 'apt_pkg'
2019-05-27 06:20:04 +00:00
Igor Pecovnik
ffffbb9cd0 [ odroidn2 ] Remove deprecated patches, kernel config adjustements, added AUFS -> docker support, adding mainline targets which needs further adjustements ... 2019-05-20 15:17:40 +02:00
Igor Pečovnik
ff3bb4265f
Merge pull request #1371 from mzhboy/ups
bug fixes and enhancements
2019-05-18 13:19:20 +02:00
Igor Pecovnik
ae920870e7 [ build script ] small speed improvements when building all packages 2019-05-17 19:19:53 +02:00
Igor Pečovnik
4491429fa0
Change nightly repository purge
Keep only last three builds in a beta repository
2019-05-17 12:48:35 +02:00
Igor Pečovnik
6358da28f0
Bump version 2019-05-16 23:13:06 +02:00
Igor Pečovnik
a2b0164b35
Merge pull request #1373 from OLIMEX/fix_xfce4_config
Add missing closing backslash
2019-05-16 23:10:38 +02:00
Igor Pecovnik
5e0953075b [ kernel source creation ] bugfix, additional wireless drivers were missing 2019-05-16 22:22:41 +02:00
Igor Pecovnik
f7ac2d2999 [ general ] Adjust wrong path when exporting kernel configuration, add wireguard to rockchip64 2019-05-16 18:08:19 +02:00
Stefan Mavrodiev
57854b8ff7 Add missing closing backslash 2019-05-16 08:37:43 +03:00
may
aea890200c [general] replace dd with truncate, create a sparse disk image 2019-05-15 18:47:29 +08:00
may
04d484b6b6 [general] new option MAINLINE_MIRROR to select mainline kernel mirror
- set to `google` to use mirror provided by Google, the same as
     `USE_MAINLINE_GOOGLE_MIRROR=yes`.
 - set to `tuna` to use mirror provided by tsinghua university.
 - leave it unset to use offical `git.kernel.org`.
2019-05-15 18:49:41 +08:00
may
2b584bb5e0 [general] new option DOWNLOAD_MIRROR to select download mirror
- set to `china` to use `mirrors.tuna.tsinghua.edu.cn`
 - leave it unset to use official source.
2019-05-15 18:47:29 +08:00
may
3407150565 [general.sh] change ntp server to pool.ntp.org 2019-05-15 17:33:23 +08:00
may
d56eb10c8d [general] remove duplicate download item 2019-05-15 17:33:12 +08:00
Igor Pecovnik
18f6113751 Revert "some enchantments for build scripts (#1364)"
This reverts commit 7f1c5b19cd.
2019-05-15 10:00:23 +02:00
mei
7f1c5b19cd some enchantments for build scripts (#1364)
* downloader aria2 replace curl

aria2 is a fast downloader and it can do much more than curl
 - skip download when target file exists
 - restart an interrupted download session
 - multithreading

* remove duplicate download item

* change btrfs compression to zstd and no force compression

* mkfs.btrfs options '--data single --metadata single --label btrfs'

disable dup(duplication) on microsd card

* [fstab] change mountopts[btrfs] compression method to zstd

lzo is no fater than zstd because the low 4k write performance on my
Samsung EVO+ 32GB microsd card.
meanwhile the best io size is above 32k based on benchmark

* replace dd with truncate, create a sparse disk image

* create btrfs subvolume by default

subvolume @ as rootfs, mount at /
subvolume @home as /home, mount at /home

* fix extraargs in armbianEnv.txt

* remove tmpfs mount on /tmp

A zram block device will mount on /tmp by
/usr/lib/armbian/armbian-zram-config.

And instead, mount /media as tmpfs.

* [rsync] add '--inplace' option, optimize for btrfs

* [general.sh] change ntp server to pool.ntp.org

* [general] new option to setup btrfs compression method

for support old and boring 3.x kernels

* [general] set btrfs space cache based kervel version

kernel version above 4.5 select 'v2' as default

* [btrfs] BTRFS_COMPRESSION accept compression ratio

BTRFS_COMPRESSION=zlib
BTRFS_COMPRESSION=zstd:5
BTRFS_COMPRESSION=zstd:12 are acceptable

* [btrfs] set btrfs compression to lzo when input is illegal

* [general] new option DOWNLOAD_MIRROR to select download mirror

current DOWNLOAD_MIRROR=china is used
the mirror is provided by tsinghua university

* [general] replace USE_MAINLINE_GOOGLE_MIRROR with MAINLINE_MIRROR

MAINLINE_MIRROR=google, use google provided mirror
MAINLINE_MIRROR=tuna, use tsinghua provided mirror
leave it empty, use official git.kernel.org

* fix btrfs default compression

* display $fscreateopt

* display_alert BTRFS_COMPRESSION

* try fix BTRFS_COMPRESSION variable not working

* debug fetch_from_repo

* configuration.sh debug BTRFS_COMPRESION

* update logic

* debug checking btrfs compression

* fix variable check,fix local variable usage

* [general] replace USE_MAINLINE_GOOGLE_MIRROR with MAINLINE_MIRROR

MAINLINE_MIRROR=google, use google provided mirror
MAINLINE_MIRROR=tuna, use tsinghua provided mirror
leave it empty, use official git.kernel.org

* [general] new option DOWNLOAD_MIRROR to select download mirror

current DOWNLOAD_MIRROR=china is used
the mirror is provided by tsinghua university

* Revert "try fix BTRFS_COMPRESSION variable not working"

This reverts commit 9814cfb054.

* Revert "debug fetch_from_repo"

This reverts commit ba571f0d89.

* add default compression method for mountopts

* remove useless var

* remove debug

* remove debug

* [general] set btrfs space cache based on kernel version

kernel version above 4.5 select 'v2' as default,
below 4.5 select 'v1' as default

* [general] reintroduce USE_MAINLINE_GOOGLE_MIRROR

* [general] case replaces 'if xx ;elif xxx;fi'

* [general] fix always downloading linux-firmware.git

clone to new dir 'linux-firmware-git' instead the old '$plugin_dir/lib/firmware'
,and then copy files as hardlinks.

* [general] create soft link instead of moving directory

* [btrfs] change rootfs subvolume name to @$RELEASE

now, the rootfs subvolume looks like @stretch,@bionic
it is possible to use different distribution in the same btrfs
partition.
2019-05-14 18:37:00 +02:00
Igor Pecovnik
552db3d323 Buster and Disco releated adjustements. 2019-05-13 07:47:29 +02:00
Igor Pecovnik
25889024dd [ general ] Fine tune boards descriptions. Change text "supported" with "boards with high level of software maturity" 2019-05-11 21:50:17 +02:00
Igor Pečovnik
07f706bafb
bugfix 2019-05-11 17:15:48 +02:00
Igor Pecovnik
2bd7f8efbd [ Odroid N2 ] Added Odroid N2 with mods necessary to build from sources. Made a few tests builds ... it works at least as good as stock. 2019-05-10 10:27:01 +02:00
Igor Pečovnik
3061fe69c4
[ general ] Bump with version
Images and bsp were rebuilt
2019-05-09 07:15:34 +02:00
Igor Pecovnik
66eb2b3da1 [ general ] Bump with version 2019-05-08 14:13:13 +02:00
Igor Pecovnik
0f3d8ded52 [ general ] bump with version 2019-05-03 20:05:47 +02:00
Igor Pecovnik
a80fe61a57 [ sunxi-dev ] Upstream patches and bump with version 2019-04-23 18:18:58 +02:00
Igor Pecovnik
52d82c921d [ sunxi / sunxi64 ] Adding missing bluetooth / rfkill changes from FA but tested only for building + related kernel config changes and bump with version due to yet another armbian-config update.
https://github.com/armbian/build/issues/1352
2019-04-21 22:42:03 +02:00
Igor Pecovnik
2a40f06c9b [ general ] bump with version due to packages (armbian-config) update 2019-04-20 18:19:53 +02:00
Igor Pecovnik
181c97055c [ buster / disco ] Disable extra-package creation and repository since its broken and represent lots of work 2019-04-20 17:32:14 +02:00
Igor Pečovnik
054894d6e4
Adding few packages
for making chroot environment also within 19.04
2019-04-20 12:26:28 +02:00
Igor Pecovnik
17801fdfd1 [ nanopi-r1 ] enable second USB port 2019-04-20 12:19:12 +02:00
Igor Pečovnik
0a8cbb34f0
Typo
https://github.com/armbian/build/issues/1353
2019-04-20 08:03:18 +02:00
Igor Pecovnik
06064cf078 [ general ] Create list of installed packages per release for debug purposes 2019-04-19 23:25:55 +02:00
Igor Pecovnik
3a16e92934 [ buster / disco ] fixing chroot-buildpackages dependency and typo fix 2019-04-19 17:19:28 +02:00
m][sko
24c81d1b05 Ubuntu 19.04 support (#1351)
* ubuntu 19.04 support

* ubuntu 19.04 support 2

* ubuntu 19.04 support 3

* add netplan config
2019-04-19 17:14:57 +02:00
Igor Pecovnik
680731ceb2 [ repository creation ] Buster related 2019-04-19 07:39:29 +02:00
Igor Pecovnik
b92f11e89a [ added Debian buster ] Initial commit. It builds, but its not tested nor fine tuned. 2019-04-17 21:39:54 +02:00
Igor Pecovnik
b3e50ef5f6 [ sunxi-next ] added FA Nanopi R1. Working everything but BT, random MAC on r8152, bumped with version 2019-04-17 20:43:09 +02:00
Igor Pecovnik
971fe5dc36 [ internal ] Logging compilers used in the process 2019-04-13 09:37:04 +02:00
Igor Pecovnik
dfa23380ea [ general ] Linaro compilers update to 2019.02 2019-04-11 00:32:25 +02:00
Igor Pecovnik
13fd8a7824 [ general ] Proper / better implementation for u-boot configuration adjustement 2019-04-09 22:15:52 +02:00
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
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