Commit Graph

1176 Commits

Author SHA1 Message Date
Joe Khoobyar
f3d26f123a
AR-1398: Fix wrong error message when missing fs tools (#4424) 2022-11-12 07:10:00 +01:00
Oleg
d0d8a35db8
Updating the optimization\acceleration procedure (author @tkaiser) (#4417) 2022-11-11 17:20:07 +01:00
Matthijs Kooijman
10af624a73
Make sure the build fails if generating uInitrd fails (#4398)
Without this, when mkimage fails (for example because the boot partition
is too small), install.log shows an error like:

    mkimage: Write only 16310208/17794920 bytes, probably no space left on the device

But this does not terminate the build, so the compile script shows no
error and an image is generated, but it is unbootable.

This runs the script with -e, so when mkimage fails, the script fails,
which makes update-initramfs fail, which makes the build fail.
2022-11-08 18:36:38 +01:00
Igor Pečovnik
e077835171
Fixing wrong display condition (#4395) 2022-11-08 12:38:00 +01:00
SteeManMI
8dcab2be64
Proposal to create a Community Supported config for Amlogic based TV Boxes (#4296)
* Proposal to create a Community Supported config for Amlogic based
TV Boxes to pickup the work that was done previously by balbes150
but is no longer supported by him.
This also provides a place where development can occure within the
Armbian framework since others on the internet are producing builds
called Armbian that are not done from within the Armbian community.

 Changes to be committed:
	new file:   config/boards/aml-s9xx-box.tvb
	modified:   config/sources/families/include/meson64_common.inc
	modified:   config/sources/families/meson-gxl.conf
	new file:   packages/bsp/aml-s9xx-box/boot/aml_autoscript
	new file:   packages/bsp/aml-s9xx-box/boot/emmc_autoscript
	new file:   packages/bsp/aml-s9xx-box/boot/extlinux/extlinux.conf
	new file:   packages/bsp/aml-s9xx-box/boot/s905_autoscript
	new file:   packages/bsp/aml-s9xx-box/boot/u-boot-readme.txt
	new file:   packages/bsp/aml-s9xx-box/boot/u-boot-s905
	new file:   packages/bsp/aml-s9xx-box/boot/u-boot-s905x-s912
	new file:   packages/bsp/aml-s9xx-box/boot/u-boot-s905x2-s922
	new file:   packages/bsp/aml-s9xx-box/root/fstab.template
	new file:   packages/bsp/aml-s9xx-box/root/install-aml-s905-emmc.sh
	new file:   packages/bsp/aml-s9xx-box/root/install-aml.sh

* Merge sources

Co-authored-by: Igor <igor@armbian.com>
2022-11-06 20:33:24 +01:00
Igor Pečovnik
157b7c56e5
Installation fix when /var/log.hdd/journal exists (#4371) (#4382)
* Fix to flush volatile journald to prevent full /var/log at startup

* re-introduce directory / in non-rsync copy, and exclude journal* in this copy
Note: this may need some testing if someone doesn't use rsync

* Fix for non-rsync copy to Disk, since journal cannot be copied onto itself

* Backed up journal files are removed with vacuum, so no need to delete them separately

* Make room at boot by removing old logs, in addition to the removal later
every 15 minutes

* remove old archived journal files modified more than 1 day ago

* make sure volatile logging is used, since journald sometimes turns persistent at boot
remove unused commented lines in ramlog

* Fix check for configured journald volatile logging

* revert #3799, the rsync --delete

* Exclude /var/log/journal from install, and create empty /var/log/journal directory when it exists during install

Co-authored-by: dennis laptop <dennis@smartstatetechnolgy.nl>
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>

Co-authored-by: Dennis <bijwaard@gmail.com>
Co-authored-by: dennis laptop <dennis@smartstatetechnolgy.nl>
2022-11-05 08:22:20 +01:00
Tony
d101f2a69c
update asound.stae for le potato (#4379)
* Repair damage to Le Potato by untested u-boot bump

Since 15cab819fe decided to move everything to 22.07 without tests, revert back as this causes the ""Synchronous Abort" handler, esr 0x96000004" error.

* Fix damage caused by untested U-boot bump

Revert result of 15cab819fe and restore booting to Odroid C2

* Create asound.state.lepotato

alsa config for le potato

* Update lepotato.conf

use board specific asound.state
2022-11-03 10:48:09 -04:00
Igor Pečovnik
58ed41d385
Fix two small cosmetic bug (#4357)
- debian showed not supported due to absence of lsb-release
- motd didn't address displaying update aval correct
2022-10-27 18:51:58 +02:00
Oleg
d41125a5fd
move Jetson Nano EFI\Grub (#4284)
* move Jetson Nano EFI\Grub

* fix dtb for efi

* remove list module initrd curren\edge for Jetson Nano

* rename to  grub-sbc-media
2022-10-25 11:28:23 +02:00
simple
d9eb3723e0
Fix mic for rt5651 asound.state (#4331)
* [rockchip64-dev]Fix OrangePi4 Bluetooth and Mic

* [rockchip64-dev]enable CONFIG_SERIAL_DEV_CTRL_TTYPORT for bluetooth

* Update patch/kernel/rockchip64-dev/add-board-orangepi-4.patch

Co-Authored-By: Piotr Szczepanik <piter75@gmail.com>

* Update patch/kernel/rockchip64-dev/add-board-orangepi-4.patch

Co-Authored-By: Piotr Szczepanik <piter75@gmail.com>

* Update patch/kernel/rockchip64-dev/add-board-orangepi-4.patch

Co-Authored-By: Piotr Szczepanik <piter75@gmail.com>

* Update patch/kernel/rockchip64-dev/add-board-orangepi-4.patch

Co-Authored-By: Piotr Szczepanik <piter75@gmail.com>

* general add panel simple dsi

* Backporting patch to 5.10 kernel makes sense. Lets do it.

* Fixed rt5651 codec build module

* Fix mic for rt5651 state

Co-authored-by: iamdrq <iamdrq@qq.com>
Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-10-24 20:42:45 +02:00
Joe Khoobyar
ead3409f95
fix for #4323 in newer script too 2022-10-23 13:41:25 -04:00
Joe Khoobyar
e3df506959
a fix for #4323 2022-10-23 13:34:37 -04:00
Igor Pečovnik
0b9bd251c7
Add support for apt-mark hold warning (#4294)
* Add support for apt-mark hold warning

- we need to know if kernel packages are on hold
- when upgrade is finished, fix numbers and update list

* Add postupdate hook

* Bugfix

* Bugfix

* Small refactoring

* Improve UX

* Improve detection and change wording
2022-10-18 09:24:36 +02:00
Igor Pečovnik
1d5a1f242f
Remove ext2 and ext3 filesystem option from armbian-install (#4285)
* Remove ext2 and ext3 filesystem option from armbian-install

* Bugfix
2022-10-15 10:46:20 +02:00
brentr
d3a3afe385
Rockpis wifi fixes (#4008)
* RockPI-S board has no video I/O

* udev rule to fix MAC address of iface based on UUID

Deals with WiFi chip lacking any EEPROM to store its unique Ethernet MAC address
Generic mechanism -- could be utilized for other boards having similar issues

* Handy Device Tree overlays for the RockPI S

Use armbian-add-overlay to install these

Reduce CPU voltage for the RK3308 B-S
  Option to overclock RK3308 B-S to 1.3Ghz

Increase SDIO clock rate from 1Mhz to 10Mhz
  This increases WiFi throughput from 300K bytes/s to 2.4M bytes/s

* corrected comment

* No longer repeat standard opp's in this dts

Require that the standard bs dts already be installed

* User README for adding RockPI-S board variant specific dts overlays

* "enabled" --> "okay"

* added mention of sdnand.dts, fixed typo

* added p2p0 to interfaces whose MAC address should be "fixed"

* RK3308 CPU serial number in nvmem replaces UUID for derivation of fixed MAC addr
Restored use of install utility

* Use RK3308 specific CPU serial number

rather than rootfs UUID

* remove generic fixMACaddress

* Install fixMACaddr file-by-file via install utility

* Drive SDIO bus signals faster

setting RK3308_SOC_CON0_VCCIO3 reduces signal rise/fall times to WiFi SDIO chip
from 30ns to 5ns.
This odd fix forward ported from legacy kernel.
Allows Rock Pi-S WiFi to operate at full speed.

* Set RK3308 I/O voltage domains before SDIO initializes

This patch moves responibility form the io-domain to the pinctrl driver because
the io-domain driver is probed after the SDIO devices are discovered.
This was causing multiple SDIO I/O failures during boot.

A new pinctrl property is added:
io-1v8-domains
is a u32 interpreted as a bit mask where each set bit corresponds to
a 1.8V I/O domain (as opposed to the default of 3.3V for I/O)
The mask is writted to the RK3308_SOC_CON0 GRF register
(once) when the pinctrl driver starts

The default mask is 0x10 where only I/O domain 4 runs at 1.8V

This is necessary for the RockPI-S to run the SDIO clock at high (50Mhz) speed

* align whitespace

* factored rk3308bs overlays out up sdio speedup patch

* factored dts for RK3308 iodomains and pinctrl patches out of speedup patch

* remains of sdio speedup patch merely add iodomains support for rk3308

* factored rockpis dts modification out from rk3308 io voltage domains

replaced rk3308 support from iodomains with
new io-voltage-domains property added to pinctrl
io-voltage-domains specific to rk3308 for now, others SOCs may be added later.

* add sequence numbering to names of rk3308 patches

* corrected tab alignment
2022-10-13 18:34:43 +02:00
Werner
42d0138b64
Add fallback for debug upload (#4194)
* Add fallback for debug upload

in case ix.io is unreachable

* Update packages/bsp/common/usr/bin/armbianmonitor

Co-authored-by: hzyitc <h1260071766@126.com>

* adjust url

* fix missing sentence

* Fix broken logic

* Set paste.armbian.com as default service
y

Co-authored-by: hzyitc <h1260071766@126.com>
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: Igor <igor@armbian.com>
2022-10-13 18:34:24 +02:00
Igor Pečovnik
7afa645b38
Improve ARM64 UEFI support (#4271)
* Root partition is not recognised properly

* Add support for ARM64 UEFI install

Work if installed to eMMC, installs also to NVME (T4), but u-boot fails to init PCI. Also u-boot 2022.10

Needs more testings.

* Lets clean the drive before
2022-10-13 18:34:05 +02:00
Paolo
78bbdf44d0
rockchip64: add ssv6051p wifi driver for current and edge kernel (#4269)
* Add ssv6051p wifi driver for rockchip64 current and edge kernel

 * also reorders and tidies device tree overlays for rk3318-box

* increase ssv6051 sdio bus to 50MHz in the driver
2022-10-12 11:22:33 +02:00
Igor Pečovnik
0c85794ba4
Add support for UEFI install with a new script armbian-install (#4227)
* Add preliminary support for UEFI install to nand-sata-install

Signed-off-by: Igor <igor@armbian.com>

* Add symbolic link

* Hardening and cleaning

* Removing obsolete NAND support

- create swal size of memory
- enable hibernation (S4) to have additional power saving mode
- enable GRUB search for another OS

* Move nand cleaning into separate commit

* Add support for UEFI install to eMMC

* Add support for install to empty UEFI target

Tested install to eMMC powered UP Square board

* Add UEFI improved script as standalone armbian-config

Once we are happy with functionality, remove the old and add a link

* Switch to a single 32 MB offset scheme.

* Improve readme

Signed-off-by: Igor <igor@armbian.com>
2022-10-07 17:57:21 +02:00
Igor Pečovnik
27040df553
Bugfix - BSP package does not contain BRANCH information so we need to read it. (#4263)
Now this works.
2022-10-07 08:36:15 +02:00
Oleg
3ff351cc52
move media current 5.19 and edge 6.0 (#4262)
* move media current 5.19 and edge 6.0

* del old patch
2022-10-06 18:07:36 +02:00
Paolo Sabatino
f158551922 fix typo 2022-10-04 21:59:14 +02:00
Paolo Sabatino
c5117ff37a rk322x: add esp8089 driver for mainline kernels 2022-10-03 14:34:13 +02:00
Igor Pečovnik
a0a4668ee8
Fixing Gnome logo, remove Nvidia if not present, shortcut bugfix (#4238)
* Remove Nvidia drivers in case not detected in first run

* Gnome branding logo hack

* Fix panel shortcuts
2022-09-26 18:34:48 +02:00
Igor Pečovnik
120eb7902e
Add initial custom configuration for Terminator (#4220) 2022-09-23 19:05:55 +02:00
Igor Pečovnik
15078ba0a1
Bugfix / cusmetic / race condition for scaling enablement (#4221) 2022-09-23 19:05:45 +02:00
Igor Pečovnik
9006c54f70
GRUB optimisations (#4213)
* Add wallpaper to grup, set fixed screen size, enable hidpi mode on lightdm

* Enable graphics terminal on UEFI x86, ARM64 can't test

* Missing folder

* Enable `Plymouth`

* Add proper HiDpi support and enable intel graphics auto probing

Tested on Intel and Nvidia, both works OOB. Plymouth works as expected, no text logs on screen, if OEM vendor logo is present, it picks it up auto, otherwise shows armbian (chip) logo

Co-authored-by: hzy <hzyitc@outlook.com>
2022-09-23 09:35:07 +02:00
Igor Pečovnik
93093220ea
Adjust basic skel settings for XFCE to support HiDPI (#4216) 2022-09-23 09:34:55 +02:00
Igor Pečovnik
4dcd053eed
Install xfce4-power-manager by default on xfce desktop (#4205)
* Install xfce4-power-manager by default on xfce desktop

- remove x11 config which is obsolete and prevent dkms functinality
- remove per board power manager install

* Update xfce4 configs
2022-09-20 17:20:43 +02:00
Igor Pečovnik
9db23f2341
Fix wallpaper not showing correct in virtual desktop (#4202) 2022-09-20 08:53:15 +02:00
hzyitc
11d2ef63c3
Support Plymouth (#4133)
* Add plymouth-theme-armbian package

* Adjust all bootscripts to adapt plymouth

* Auto show logo accroding to BOOT_LOGO

* Enable plymouth detail mode when bootlogo=false

* Add a new board config var - HAS_VIDEO_OUTPUT

This var is used to indicate whether device has a HW video output.
If it's set to "no", we will disable kernel bootsplash, plymouth and BUILD_DESKTOP

* Rename package to be aligned with others

* Disable kernel bootloader, but keep the code for it

* Rather keep bootlogo in the kernel for a while, otherwise kernel upgrade will turn bootup into the darkness

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: Igor <igor@armbian.com>
2022-09-13 15:16:30 +02:00
Erik Faye-Lund
10aeb2f305
Fix armbian header (#4144)
* bsp: quote pattern passed to grep

This fixes a regression from #4013

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>

* bsp: refactor DISTRIBUTION_CODENAME logic

There's no need to repeat the check for /etc/armbian-distribution-status
over and over again, let's just use an if-statement instead.

Similarly, let's not repeat the logic to look up DISTRIBUTION_STATUS in
/etc/armbian-distribution-status; we can just do it at the end instead.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>

* bsp: only fallback to /etc/os-release if /etc/lsb-release failed

This fixes a regression from #3619

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>

* bsp: only fallback to "lsb_release -c" if all else failed

Debian Bookwork and Sid both neither have the debian-edu-config package
by default (which provodes /etc/lsb-release in Debian), nor does their
version of base-files (12.2) contain the VERSION_CODENAME field.

So we need another fallback. We *do* have lsb_release, which can provide
this information as well. So let's do that, but add a check as well in
case neither the lsb-release nor the lsb-release-minimal packages is
installed on a user's system.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
2022-09-03 23:21:00 +02:00
hzyitc
a57b9ca97f
Show more informations in first-login (#4072)
* Show more informations in first-login

* Keep 1st login as minimal as possible.

* Add line space

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-09-01 23:08:09 +02:00
monkaBlyat
c0a911204c
Switch KDE plasme to wayland (#4092)
* enable 5.19.y edge kernel for the radxa zero 2 builds

* Update packages

* Update packages

* Update packages

* Set wayland as default on KDE plasma

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-08-24 07:48:48 +02:00
Igor Pečovnik
27154e472f
Extend network interface auto detection to suppress errors (#4096)
* Extend network interface auto detection to suppress errors

* Remove pointless grep

* Use grep internal limiter instead of head
2022-08-21 20:36:20 +02:00
Oleg
6123307c2a
fix buid kernel 5.19.2\5.18.8 (#4088) 2022-08-19 18:10:30 +02:00
hzyitc
96dade2d5a
Bugfix: armbian-resize-filesystem (#3981)
* Rewrite armbian-resize-filesystem

* Update message
2022-08-13 21:17:33 +02:00
Dennis
e5ab9389e9
Fix for journald filling /var/log using flush from volatile instead of copy, and removing cache files when nearly full (#3967)
* Fix to flush volatile journald to prevent full /var/log at startup

* re-introduce directory / in non-rsync copy, and exclude journal* in this copy
Note: this may need some testing if someone doesn't use rsync

* Fix for non-rsync copy to Disk, since journal cannot be copied onto itself

* Backed up journal files are removed with vacuum, so no need to delete them separately

* Make room at boot by removing old logs, in addition to the removal later
every 15 minutes

* remove old archived journal files modified more than 1 day ago

* make sure volatile logging is used, since journald sometimes turns persistent at boot
remove unused commented lines in ramlog

* Fix check for configured journald volatile logging

* revert #3799, the rsync --delete

Co-authored-by: dennis laptop <dennis@smartstatetechnolgy.nl>
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2022-08-10 09:02:03 +02:00
Paolo
c91029dc10
rk322x: fixed minor things for device trees, fix rk322x-config script (#4020) 2022-07-27 08:46:09 +02:00
Rosen Penev
fdf73a025b
some shellcheck fixes (#4013)
* bsp: remove useless cats treewide

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* bsp: replace egrep with grep -E

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-07-25 11:39:11 +02:00
Aristo Chen
63795262e1
Bugfix: fix issue that 30-armbian-sysinfo doesn't show network usage (#4014) 2022-07-25 11:38:56 +02:00
hzyitc
df1f0b4fdc
Onecloud: fix bugs (#4022)
* Support pwm regulator

* meson: Fix MAC
Remove useless codes from odroidc1

* Bugfix: xorg config

* dts: mark regulators always-on
2022-07-25 11:37:15 +02:00
jmue
3196ef8bd8
Revert "Added '--delete' to syncToDisk in armbian-ramlog (#3779)" (#4012)
This reverts commit 6b43018c22.
2022-07-19 16:52:51 -04:00
JuergenBausa
9c52562176
Update armbian-ramlog (#4005)
https://github.com/armbian/build/pull/3779#issuecomment-1184759787
2022-07-17 14:37:57 -04:00
brentr
663be6550f
Allow non-legacy RockPi-S images to boot from their built-in EMMC (aka SDNAND) chips (#4002)
This moves the console from UART2 to UART0 because it
relies on a upgraded Radxa loader blob that only supports console on UART0.
Discussion at:
https://forum.armbian.com/topic/11228-rock-pi-s-rk3308-cpu-is-it-supported-by-anything/page/3
2022-07-16 10:37:37 +02:00
Rosen Penev
baa6968fc4
Shellcheck fixes on armbianmonitor (#3994)
* mdadm-fault-led: port to dash

Also ran through shellcheck. dash is faster and uses less RAM than bash.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* armbianmonitor: get rid of pipe to /dev/null

shellcheck warns that it can't parse this. Also seems to be a mistake.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* armbianmonitor: replace egrep with grep -E

The former is deprecated.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* armbianmonitor: add -r to read

Avoids mangling backslashes.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* armbianmonitor: remove unnecessary ${}

They're in $(()) making it redundant

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* armbianmonitor: simplify various printf calls

For some reason, printf and echo -e get mixed together even though they
do the same thing. Just use printf.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-07-14 10:12:24 +02:00
alive4ever
c83b11cf14
packages/bsp/common: use iw instead of iwconfig (#3995)
Use iw to handle wifi power management instead of legacy iwconfig.

Also fix udev rule to use kernel name (%k) instead of hardcoded name.
2022-07-14 10:12:13 +02:00
Vyacheslav Bocharov
bfa8732477
AR-1263 Fix armbian-led-state-save.sh for boards without gpio leds. 2022-07-13 20:27:23 +03:00
Vyacheslav
8a1be43c87
Update oneshot service for eth reset at system start. (AR-1098) (#3965) 2022-07-09 11:46:40 +02:00
Igor Pečovnik
eef3b33807
Plasma KDE desktop package name fix + improving welcome message (#3951)
* Typo in packaga name

* Several small fixes for KDE plasma

* Change "no support" to "community support" at 1st welcome

Its more or less the same thing just sounds better
2022-07-01 11:04:57 +02:00
Paolo Sabatino
9f16f722e5 rockchip64: set gpu governor default to simple_ondemand 2022-06-26 15:12:40 +02:00
Paolo
2ca6a9381d
rockchip64: add rk3318-box tvbox board patch and configurations (#3921)
* rockchip64: add rk3318-box tvbox board patch and configurations
* rockchip64: add missing bcm43342 patch for edge kernel
2022-06-23 08:30:54 +02:00
Igor Pečovnik
560531a635
Fix for wrong board status report at first login (#3926) 2022-06-22 00:22:30 +02:00
Pierre Pretorius
b6de834cb2
Add bluetooth support for Orange PI 3 LTS (#3896)
Co-authored-by: Pierre Pretorius <pierre@labs.epiuse.com>
2022-06-15 21:16:41 +02:00
Paolo
388e9bbf5e
Support for OrangePi4 LTS board (#3770)
* orange pi 4 LTS support added (uwe5622 wifi driver, es8316c codec)

* add orangepi 4 LTS device tree
* add uwe5622 driver to 5.15 and 5.18 rockchip64 patches
* add wpasupplicant to jammy cli packages
* fix es8316c asound.state (zeroing stereo enhancement which causes distortion)

* Add build targets

* Move from WIP state

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-06-14 12:11:33 +02:00
MichaIng
1b6e851212
Remove version argument check from initramfs cleanup script (#3859)
The version argument is not used by the script anymore, hence the check is obsolete.

Additionally make use of the currently unused defined MOD_DIR variable.

Signed-off-by: MichaIng <micha@dietpi.com>
2022-06-11 18:04:24 +02:00
Igor Pečovnik
351303bc7a
Disabling compressin seems to speed up apt search (#3808) 2022-05-27 11:20:18 +02:00
Oleg
46b77e0524
fix BT for Station P1 (#3821) 2022-05-26 16:40:18 +02:00
Igor Pečovnik
8d75c0b026
We need to read DISTRIBUTION_STATUS in order to have information about (#3815)
* We need to read DISTRIBUTION_STATUS in order to have information about

* Cover variants if we generate images for wip / csc targets

- by mistake
- for promotion or other reasons
- if image is made by 3rd party to cover this case

* Update armbian-firstlogin
2022-05-25 18:35:50 +02:00
Oleg
98c13e2976
fix kernel legacy Station M1 (#3813) 2022-05-25 17:30:18 +02:00
mathiasrabe
6b43018c22
Added '--delete' to syncToDisk in armbian-ramlog (#3779)
Added rsync-option '--delete' to syncToDisk to prevent overfilled ramdisk.
2022-05-16 20:23:38 -04:00
CXM
1f54bc33b8
Add clockworkpi-a06 support (#3768)
* feat: add clockworkpi-a06 support

* fix: disable dpms & screensaver
2022-05-11 21:47:28 +02:00
Rosen Penev
6b72ae3c86
armbian-zram-config: run through shellcheck (#3732)
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-05-11 18:56:52 +02:00
lanefu
e621d25adc
Revert "modifications of firstrun scripts (#3642)" (#3772)
This reverts commit c8855aa08d.
2022-05-08 13:49:05 -04:00
Derek
c8855aa08d
modifications of firstrun scripts (#3642)
* modifications of firstrun scripts

* Further making use of systemd statements to order firstboot scripts

* allow systemd ordering of ssh to avoid restarting in firstrun script

* suggested changes, add wants=first-boot-complete

* Remove SSH keys in debootstrap process

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-05-07 15:52:31 +02:00
Derek
3b38be8a9c
Espressobin u boot fit image (#3766)
* add the image tree source for building FIT images for ebin

* add FIT image generation to BSP files

* Change to using FIT image to boot

* make fit-image script executable

* add the ability to choose board dtb in armbianEnv.txt
2022-05-07 15:50:53 +02:00
Paolo Sabatino
e8e94a7541 provide led state save and restore functionality scripts and service 2022-04-23 14:08:03 +02:00
Salamandar
f99ca5714b
armbian-truncate-logs: Use journalctl --quiet (#3684)
By default, cron sends an email to the system admin if it finds anything in the stderr of the process. 
journalctl sends "diag output" to stderr (see https://github.com/systemd/systemd/issues/380).
The easiest way to prevent sporadic emails is to call journalctl with --quiet.
2022-04-15 15:15:33 +02:00
Ukhellfire
2a8e1ecac1
Add Orange Pi 3 LTS Support (#3628)
* Orange Pi 3 LTS
* Enable build targets

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-04-12 20:13:37 +02:00
Igor Pečovnik
3101abc6be
Adjust chroot build packages due to Jammy upgrade (#3650)
Bump hostapd to latest version.
2022-04-11 00:39:03 +02:00
Alexey Vazhnov
fa8c475ec1
Automatic shutdown on low battery power (#3084)
* 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:

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

* Bumping to new version

* 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:

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.42_armhf.deb
linux-image-current-jetson-nano_21.08.0-trunk.42_arm64.deb

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

linux-image-edge-sunxi_21.08.0-trunk.44_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.44_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.45_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-jetson-nano_21.08.0-trunk.46_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.47_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-odroidxu4_21.08.0-trunk.48_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.49_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.50_armhf.deb
linux-image-current-rockchip_21.08.0-trunk.50_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.51_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-odroidxu4_21.08.0-trunk.52_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-edge-rockchip64_21.08.0-trunk.53_arm64.deb
linux-image-legacy-mvebu64_21.08.0-trunk.53_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-edge-rockchip_21.08.0-trunk.54_armhf.deb

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

linux-image-edge-mvebu_21.08.0-trunk.56_armhf.deb
linux-image-legacy-sunxi_21.08.0-trunk.56_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-legacy-sunxi_21.08.0-trunk.57_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-legacy-sunxi_21.08.0-trunk.58_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-legacy-sunxi_21.08.0-trunk.59_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-legacy-sunxi_21.08.0-trunk.60_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-rk322x_21.08.0-trunk.61_armhf.deb
linux-image-legacy-sunxi_21.08.0-trunk.61_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-legacy-sunxi_21.08.0-trunk.62_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-legacy-sunxi_21.08.0-trunk.63_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-legacy-sunxi_21.08.0-trunk.64_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-legacy-sunxi_21.08.0-trunk.65_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-edge-odroidxu4_21.08.0-trunk.66_armhf.deb
linux-image-legacy-sunxi_21.08.0-trunk.66_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-legacy-sunxi_21.08.0-trunk.67_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.68_armhf.deb
linux-image-current-jetson-nano_21.08.0-trunk.68_arm64.deb
linux-image-current-meson64_21.08.0-trunk.68_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.68_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.68_armhf.deb
linux-image-current-odroidxu4_21.08.0-trunk.68_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.68_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.68_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.68_armhf.deb
linux-image-current-sunxi64_21.08.0-trunk.68_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.68_armhf.deb
linux-image-current-virtual_21.08.0-trunk.68_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.68_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.68_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.68_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.68_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.68_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.68_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.68_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.68_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.68_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.68_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.68_armhf.deb
linux-image-legacy-meson64_21.08.0-trunk.68_arm64.deb
linux-image-legacy-mt7623_21.08.0-trunk.68_armhf.deb
linux-image-legacy-mvebu64_21.08.0-trunk.68_arm64.deb
linux-image-legacy-odroidxu4_21.08.0-trunk.68_armhf.deb
linux-image-legacy-rk322x_21.08.0-trunk.68_armhf.deb
linux-image-legacy-rk3399_21.08.0-trunk.68_arm64.deb
linux-image-legacy-rockchip64_21.08.0-trunk.68_arm64.deb
linux-image-legacy-rockchip_21.08.0-trunk.68_armhf.deb
linux-image-legacy-rockpis_21.08.0-trunk.68_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.69_armhf.deb
linux-image-current-meson64_21.08.0-trunk.69_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.69_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.69_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.69_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.69_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.69_armhf.deb
linux-image-edge-imx6_21.08.0-trunk.69_armhf.deb
linux-image-edge-meson64_21.08.0-trunk.69_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.69_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.69_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.69_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.69_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.69_arm64.deb
linux-image-legacy-mt7623_21.08.0-trunk.69_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-jetson-nano_21.08.0-trunk.70_arm64.deb
linux-image-current-virtual_21.08.0-trunk.70_arm64.deb
linux-image-edge-jetson-nano_21.08.0-trunk.70_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.70_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-odroidxu4_21.08.0-trunk.71_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.71_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.71_armhf.deb
linux-image-legacy-meson64_21.08.0-trunk.71_arm64.deb

* fix

* Githug Actions bugfix and optimisations

* Bumping to new version

Adding following kernels:

linux-image-current-rockchip64_21.08.0-trunk.72_arm64.deb

* Update VERSION

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.74_armhf.deb
linux-image-current-jetson-nano_21.08.0-trunk.74_arm64.deb
linux-image-current-meson64_21.08.0-trunk.74_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.74_armhf.deb
linux-image-current-mvebu64_21.08.0-trunk.74_arm64.deb
linux-image-current-rk322x_21.08.0-trunk.74_armhf.deb
linux-image-current-rockchip_21.08.0-trunk.74_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.74_arm64.deb
linux-image-current-virtual_21.08.0-trunk.74_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.74_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.74_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.74_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.74_armhf.deb
linux-image-edge-mvebu64_21.08.0-trunk.74_arm64.deb
linux-image-edge-odroidxu4_21.08.0-trunk.74_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.74_armhf.deb
linux-image-edge-rockchip_21.08.0-trunk.74_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.74_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-edge-sunxi64_21.08.0-trunk.75_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.75_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-mvebu_21.08.0-trunk.76_armhf.deb
linux-image-current-mvebu64_21.08.0-trunk.76_arm64.deb
linux-image-current-odroidxu4_21.08.0-trunk.76_armhf.deb
linux-image-edge-mvebu_21.08.0-trunk.76_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.76_armhf.deb
linux-image-edge-sunxi_21.08.0-trunk.76_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.76_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.77_armhf.deb
linux-image-current-jetson-nano_21.08.0-trunk.77_arm64.deb
linux-image-current-meson64_21.08.0-trunk.77_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.77_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.77_armhf.deb
linux-image-current-odroidxu4_21.08.0-trunk.77_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.77_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.77_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.77_armhf.deb
linux-image-current-sunxi64_21.08.0-trunk.77_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.77_armhf.deb
linux-image-current-virtual_21.08.0-trunk.77_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.77_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.77_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.77_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.77_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.77_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.77_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.77_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.77_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.77_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.77_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.77_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-rockchip64_21.08.0-trunk.78_arm64.deb
linux-image-edge-sunxi64_21.08.0-trunk.78_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.78_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-meson64_21.08.0-trunk.79_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.79_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-rockchip64_21.08.0-trunk.80_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.80_armhf.deb
linux-image-current-sunxi64_21.08.0-trunk.80_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.80_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.80_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-edge-sunxi64_21.08.0-trunk.81_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.81_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.82_armhf.deb
linux-image-current-jetson-nano_21.08.0-trunk.82_arm64.deb
linux-image-current-meson64_21.08.0-trunk.82_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.82_armhf.deb
linux-image-current-mvebu64_21.08.0-trunk.82_arm64.deb
linux-image-current-rk322x_21.08.0-trunk.82_armhf.deb
linux-image-current-rockchip_21.08.0-trunk.82_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.82_arm64.deb
linux-image-current-virtual_21.08.0-trunk.82_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.82_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.82_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.82_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.82_armhf.deb
linux-image-edge-mvebu64_21.08.0-trunk.82_arm64.deb
linux-image-edge-odroidxu4_21.08.0-trunk.82_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.82_armhf.deb
linux-image-edge-rockchip_21.08.0-trunk.82_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.82_arm64.deb
linux-image-legacy-jetson-nano_21.08.0-trunk.82_arm64.deb
linux-image-legacy-mt7623_21.08.0-trunk.82_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-rockchip64_21.08.0-trunk.83_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-odroidxu4_21.08.0-trunk.84_armhf.deb
linux-image-edge-sunxi_21.08.0-trunk.84_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.84_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-edge-sunxi64_21.08.0-trunk.85_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.85_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.86_armhf.deb
linux-image-current-jetson-nano_21.08.0-trunk.86_arm64.deb
linux-image-current-meson64_21.08.0-trunk.86_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.86_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.86_armhf.deb
linux-image-current-odroidxu4_21.08.0-trunk.86_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.86_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.86_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.86_armhf.deb
linux-image-current-sunxi64_21.08.0-trunk.86_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.86_armhf.deb
linux-image-current-virtual_21.08.0-trunk.86_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.86_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.86_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.86_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.86_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.86_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.86_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.86_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.86_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.86_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.86_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.86_armhf.deb
linux-image-legacy-rockchip64_21.08.0-trunk.86_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-station_21.08.0-trunk.87_arm64.deb
linux-image-legacy-jetson-nano_21.08.0-trunk.87_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.88_armhf.deb
linux-image-current-meson64_21.08.0-trunk.88_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.88_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.88_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.88_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.88_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.88_armhf.deb
linux-image-current-station_21.08.0-trunk.88_arm64.deb
linux-image-current-virtual_21.08.0-trunk.88_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.88_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.88_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.88_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.88_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.88_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.88_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.88_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.88_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.88_armhf.deb
linux-image-legacy-mt7623_21.08.0-trunk.88_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-odroidxu4_21.08.0-trunk.89_armhf.deb
linux-image-current-sunxi64_21.08.0-trunk.89_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.89_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.89_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.89_armhf.deb

* Update VERSION

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.91_armhf.deb
linux-image-current-meson64_21.08.0-trunk.91_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.91_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.91_armhf.deb
linux-image-current-odroidxu4_21.08.0-trunk.91_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.91_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.91_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.91_armhf.deb
linux-image-current-station_21.08.0-trunk.91_arm64.deb
linux-image-current-virtual_21.08.0-trunk.91_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.91_armhf.deb
linux-image-edge-meson64_21.08.0-trunk.91_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.91_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.91_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.91_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.91_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.91_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.91_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.91_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.91_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-rk322x_21.08.0-trunk.92_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.92_arm64.deb
linux-image-edge-rk322x_21.08.0-trunk.92_armhf.deb
linux-image-legacy-rk322x_21.08.0-trunk.92_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-edge-rk322x_21.08.0-trunk.93_armhf.deb

* Update VERSION

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.95_armhf.deb
linux-image-current-meson64_21.08.0-trunk.95_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.95_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.95_armhf.deb
linux-image-current-odroidxu4_21.08.0-trunk.95_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.95_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.95_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.95_armhf.deb
linux-image-current-station_21.08.0-trunk.95_arm64.deb
linux-image-current-sunxi64_21.08.0-trunk.95_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.95_armhf.deb
linux-image-current-virtual_21.08.0-trunk.95_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.95_armhf.deb
linux-image-edge-meson64_21.08.0-trunk.95_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.95_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.95_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.95_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.95_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.95_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.95_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.95_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.95_armhf.deb
linux-image-legacy-mt7623_21.08.0-trunk.95_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-sunxi64_21.08.0-trunk.96_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.96_armhf.deb
linux-image-edge-meson64_21.08.0-trunk.96_arm64.deb
linux-image-edge-odroidxu4_21.08.0-trunk.96_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.96_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.96_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-edge-sunxi64_21.08.0-trunk.97_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.97_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-odroidxu4_21.08.0-trunk.98_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.98_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.98_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.99_armhf.deb
linux-image-current-meson64_21.08.0-trunk.99_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.99_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.99_armhf.deb
linux-image-current-odroidxu4_21.08.0-trunk.99_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.99_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.99_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.99_armhf.deb
linux-image-current-station_21.08.0-trunk.99_arm64.deb
linux-image-current-sunxi64_21.08.0-trunk.99_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.99_armhf.deb
linux-image-current-virtual_21.08.0-trunk.99_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.99_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.99_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.99_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.99_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.99_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.99_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.99_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.99_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.99_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.99_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-station_21.08.0-trunk.100_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-rockchip64_21.08.0-trunk.101_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-odroidxu4_21.08.0-trunk.102_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-odroidxu4_21.08.0-trunk.103_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.104_armhf.deb
linux-image-current-meson64_21.08.0-trunk.104_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.104_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.104_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.104_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.104_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.104_armhf.deb
linux-image-current-station_21.08.0-trunk.104_arm64.deb
linux-image-current-virtual_21.08.0-trunk.104_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.104_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.104_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.104_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.104_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.104_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.104_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.104_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.104_armhf.deb
linux-image-legacy-mt7623_21.08.0-trunk.104_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-meson64_21.08.0-trunk.105_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-odroidxu4_21.08.0-trunk.106_armhf.deb
linux-image-current-sunxi64_21.08.0-trunk.106_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.106_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.106_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.106_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-legacy-meson64_21.08.0-trunk.107_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.108_armhf.deb
linux-image-current-meson64_21.08.0-trunk.108_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.108_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.108_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.108_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.108_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.108_armhf.deb
linux-image-current-station_21.08.0-trunk.108_arm64.deb
linux-image-current-virtual_21.08.0-trunk.108_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.108_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.108_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.108_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.108_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.108_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.108_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.108_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.108_armhf.deb
linux-image-legacy-mt7623_21.08.0-trunk.108_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-edge-sunxi64_21.08.0-trunk.109_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.109_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.110_armhf.deb
linux-image-current-meson64_21.08.0-trunk.110_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.110_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.110_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.110_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.110_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.110_armhf.deb
linux-image-current-station_21.08.0-trunk.110_arm64.deb
linux-image-current-virtual_21.08.0-trunk.110_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.110_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.110_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.110_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.110_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.110_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.110_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.110_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.110_armhf.deb
linux-image-legacy-mt7623_21.08.0-trunk.110_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-odroidxu4_21.08.0-trunk.111_armhf.deb
linux-image-current-sunxi64_21.08.0-trunk.111_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.111_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.111_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.111_armhf.deb

* /usr/lib/armbian/armbian-common: typo, quotes (#3082)

* Add cron job (commented out by default) and a script to shutdown on bettery low level

packages/bsp/common/etc/cron.d/armbian-check-battery
packages/bsp/common/usr/lib/armbian/armbian-check-battery-shutdown

* /etc/update-motd.d/30-armbian-sysinfo: return if sourced by other script

* /usr/lib/armbian/armbian-check-battery-shutdown: a comment about battery_percent

* Update VERSION

* Move getboardtemp(), batteryinfo(), ambienttemp() into /usr/lib/armbian/armbian-allwinner-battery

Co-authored-by: armbianworker <info@armbian.com>
Co-authored-by: Igor Pecovnik <igor@armbian.com>
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: lanefu <lanefu@users.noreply.github.com>
2022-04-07 16:04:40 +02:00
bl4cki
0a2fdc4f0b
Fix MOTD in debian-based armbian (#3619)
* Fix MOTD in debian-based armbian

Read DISTRIBUTION_CODENAME for MOTD from os-release instead of lsb-release

* Revert "Merge branch 'armbian:master' into master"

This reverts commit fa534bd685, reversing
changes made to 2791b57b90.

* Fix MOTD in debian-based armbian

Read DISTRIBUTION_CODENAME for MOTD from os-release where the file is existent.

* Revert "Revert "Merge branch 'armbian:master' into master""

This reverts commit 5e509cf787.
2022-04-07 01:05:43 +02:00
lanefu
3b05065d71
fix armbian-ramlog default functionality breaking comments (#3603) 2022-03-29 14:05:09 +02:00
Jannis
ae3ad1fdee
Apply changes to Espressobin from Issue#2861 (#3498)
* Apply changes to Espressobin from Issue#2861

* Additional config changes

* Add cryptopp to marvell tools

* Remove local DDR topology changes

* Disable ebin MACs in armbianEnv.txt

* Change kernel options for ebin, remove mtdparts

* Add CZ.NICs ebin firmware

* Increase ATF compiler version"

* fixup external toolchains

* add gcc-aarch64-linux-gnu package (#3585)

* correct compiler names for ATF, external toolchain

Co-authored-by: Derek LaHousse <dlahouss@mtu.edu>
Co-authored-by: Derek <ManoftheSea@users.noreply.github.com>
2022-03-28 07:16:22 -04:00
Oleg
d227b6d3a4
fix message install use extlinux.conf (#3556) 2022-03-24 20:54:59 +01:00
Oleg
2daf35107d
fix BT and wifi for station m1 legacy (#3533)
* fix BT for station m1 legacy

* add firmware
2022-03-13 09:05:14 +01:00
Oleg
dc54b0c2c6
fix install emmc (#3532) 2022-03-12 23:15:47 +01:00
Yuntian Zhang
07d6630421
Add missing asound.state for Radxa Zeroes (#3523) 2022-03-06 11:33:49 +01:00
The-going
8693b355eb
Bugfix for packages/armbian/builddeb, packages/bsp/common/etc/kernel/preinst.d/initramfs-cleanup (#3511)
* Fix the standard location of dtb files

This fix allows standard system scripts from flash-kernel,
u-boot-menu packages to search in this location

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Bugfix: No need to unmount a separate partition for the /boot

These issues should be solved by system scripts.
In the future, this check should be removed.

* Remove unused generated file 'initrd.img-*' 'uInitrd-*'

These files were generated by initramfs-tools script
called postinst.d scripts.
And should be removed in the postrm.d or postinst.d scripts
and should be run after the initramfs-tools script
and under the same conditions.
2022-02-26 15:04:24 +01:00
Vyacheslav
5d3271dc3a
JetHub H1: dirty userland fix for net interface does not up at boot (#3507) 2022-02-25 19:27:57 +01:00
Oleg
3305d45b81
add firmware wifi for p2\m2 (#3493) 2022-02-15 10:35:52 +01:00
The-going
484c6f04f7
Packaging (#3487)
* Revert "rpi: copy DTBs to Debian/Ubuntu standard location /lib/firmware/$version/device-tree; remove build-time-only hacks (#3462)"

This reverts commit 2f2d10c04a.

* Revert "Fix rpi upgrades to kernel and dtbs (#3461)"

This reverts commit 3b7f5b1f34.

Copying dtb files to a folder that cannot belong to a dtb package
creates additional clutter. If this is required for an individual
family, then it is necessary to implement it at the level of system
scripts. And only for this family.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2022-02-14 19:04:57 +01:00
Igor Pečovnik
84944eaaf4
Enable audio on Rpi in config (#3479)
* Enable audio on Rpi in config
* Add asound.state
2022-02-12 19:36:06 +01:00
Oleg
a037db891e
add utils ddbr for create\restore full backup eMMC (#3406) 2022-02-10 15:32:57 +01:00
Oleg
43daaea590
fix disable u-boot and initramfs hooks (#3470)
Close https://github.com/armbian/build/issues/3457
2022-02-10 14:59:05 +01:00
Vyacheslav
e8480e9705
Add support for JetHub D1 new revision with AP6256 WiFi/BT (#3471) 2022-02-10 14:57:57 +01:00
Ricardo Pardini
2f2d10c04a
rpi: copy DTBs to Debian/Ubuntu standard location /lib/firmware/$version/device-tree; remove build-time-only hacks (#3462)
- this allows us to remove the most horrible hack
- should allow for correctly working DTB upgrades
- should NOT impact other families
2022-02-07 11:36:22 +01:00
Ricardo Pardini
3b7f5b1f34
Fix rpi upgrades to kernel and dtbs (#3461)
* rpi: fix: flash-kernel fix to ignore kernel 'flavour' for all raspi's

- use uppercase RPICFG label, so it shows up on Windows/Mac (FAT requires uppercase)

* builddeb: fix indenting of heredocs and shellfmt

* rpi: add DTB symlink in Debian/Ubuntu standard location /lib/firmware/$version/device-tree; remove build-time-only hacks

- this allows us to remove the most horrible hack
- should allow for correctly working DTB upgrades
- should NOT impact other families, although a new symlink will be created, nothing uses it.
2022-02-06 09:24:13 +01:00
Oleg
7d69cfeb6e
fix install u-boot to eMMC (#3448) 2022-02-02 10:49:41 +01:00
Igor Pecovnik
1d80b5cde3
Revert "When checking for shell, use strict grep (#3437)"
This reverts commit b77bd30460.
2022-01-26 20:18:46 +01:00
Igor Pečovnik
b77bd30460
When checking for shell, use strict grep (#3437) 2022-01-25 23:26:05 +01:00
Aristo Chen
21b4d4bd42
Ask user again if the response is not expected (#3411) 2022-01-20 14:44:40 +01:00
Vyacheslav
f230b5fca5
JetHome: add jethome package repository (#3399) 2022-01-17 18:09:37 +01:00
The-going
23afccf56e
Bugfix: debugging package for kernel are not created #3405 (#3409)
Build a debugging package for the kernel if the CONFIG_DEBUG_INFO=y parameter is set in the kernel configuration.
Issues: packages are not created #3405
2022-01-17 14:51:19 +03:00
Oleg
6b490e1694
move kernel edge to 5.16 (#3387) 2022-01-11 15:26:11 +01:00
Vyacheslav
41a761281d
JetHome: update bsp package for AP6255 firmware match (#3388) 2022-01-11 11:49:55 +01:00
Igor Pečovnik
310495ddf1
Refactor armbian-bsp-cli package creation (#3378)
* Refactor armbian-bsp-cli package creation

- added general distro status for all in separate file inside BSP
- remove branch and distro specifics

* Looking for prebuild pack

* Small fixes
2022-01-06 11:50:24 +01:00
Igor Pečovnik
e76a5b0bfe
Improve fist login UX (#3375)
* Improve 1st login script

* Update packages/bsp/common/usr/lib/armbian/armbian-firstlogin

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

* Address accessibility issue

Co-authored-by: Manuel Rüger <manuel@rueg.eu>
2022-01-05 17:55:10 +01:00
Oleg
3f8da052e8
fixes the manual launch of the installation script from USB media (#3377) 2022-01-05 17:54:30 +01:00
Igor Pecovnik
181d0e2fc3
Limit sunxi-tools install to Allwinner family only
Close https://github.com/armbian/build/issues/2941
2022-01-03 19:11:37 +01:00
The-going
fedc9c1f58
Install debian packages using a special function (#3368)
* Add new function install_pkg_deb

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Use the install_pkg_deb function

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* sunxi-tools: Calculate build dependencies

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* hostapd, hostapd-realtek: Calculate build dependencies

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Clean Environment for building as default

* upgrading: Repack a clean Environment archive

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2021-12-27 14:23:35 -05:00
Oleg
08568a6005
add station m2\p2 (#3352) 2021-12-26 16:37:49 +01:00
iav
37662d8ed3
helios64: fix udev rules to let fancontrol work again (#3367) 2021-12-25 21:53:53 +01:00
Vyacheslav
5efc78b531
JetHome JetHub D1/H1 patch/bsp updates (#3348)
* JetHome: Update u-boot patches: fix emmc work on JetHub D1
* JetHome: update kernel patches with last updates for JetHub devices.
* JetHome: Update Bluetooth init script to more stable start.
2021-12-14 12:08:26 +01:00
Paolo Sabatino
e1a88959f8 rk322x: add bluetooth overlay, updated rk322x-config 2021-12-10 21:53:57 +01:00
Igor Pecovnik
20e3da18e7
Orangepi Zero2 legacy - adjust memory voltage according to manufacturer's recommendation 2021-12-08 21:41:23 +01:00
Leo
3c5e8820d1
Source /etc/armbian-release before the motd conf file (#3326)
That way the user can set $BOARD_NAME in /etc/default/armbian-motd. This is useful because e.g. the Odroid HC2 is internally an Odroid XU4, and in /etc/armbian-release it shows up as Odroid XU4.
2021-12-07 20:13:34 +01:00
Ricardo Pardini
90e0fe0ba2
extensions framework + UEFI aarch64/x86 + rpi4b + core changes/fixes (#3300)
* extensions framework (née "fragments")

- this should actually change nothing at this point, just add capabilities
- the framework is implemented in lib/extensions.sh
- the "if function x exists then call x" replaced with call_extension_method()
  - +inline documentation
  - +compatibility names

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions framework; meta-extensions: auto-docs and sample extension gen

- 2 extensions dealing with extensibility itself
  - detect-unused-extensions: shows which extensions are enabled, but never called.
  - gen-sample-extension-docs: generates a sample empty extension & Markdown documentation for extensions

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* new extension methods and features via config variables in core Armbian

- `SKIP_EXTERNAL_TOOLCHAINS=yes` - does not download or use any linaro toolchains, only build host-installed ones
- `SKIP_BOOTSPLASH=yes` - does not patch kernel for splash file
- `EXTRA_BSP_NAME=xyz` - allows for BSP variants, useful for when extensions modify the BSP
- `EXTRA_ROOTFS_MIB_SIZE=x` - add x mib's to rootfs size, for use with very small images
- `KERNEL_EXTRA_TARGETS` - what extra targets to make kernel for, default to "modules dtbs"
- `BOOTCONFIG=none` - does not build nor install u-boot; also doesn't handle bootscripts et al
- `unset KERNELSOURCE` - does not build nor install kernel, nor build initrd, nor build nor install firmware
- `ARMHF_ARCH=skip` - does not add armhf to apt/dpkg, thus pure arm64
- `SKIP_ARMBIAN_REPO=yes` - results in armbian.list.disabled in the final image
- define `APT_EXTRA_DIST_PARAMS` with apt-cacher-ng options and use it for `PACKAGE_LIST_INSTALL/REMOVE` et al
- initial support for targeting x86/amd64 UEFI and BIOS
    - some do's/don'ts for x86/amd64, like a different `UBUNTU_MIRROR` default
    - GPT/EFI(ESP) partitions (fat, `UEFISIZE=256` to enable, mount `UEFI_MOUNT_POINT=/boot/efi`, first on disk but ends
      up at `$uefipart`=15)
    - GPT/BIOS partitions (fat, `BIOSSIZE=1` to enable, second on disk but ends up at partition 14)
    - `UEFI_FS_LABEL="armbiefi"` - to set the FAT label for the EFI partition, visible in Win/Mac
    - hard-requires gdisk package host-side
- add add_host_dependencies() extension method; fill `EXTRA_BUILD_DEPS="pkg pkg2"` to install to host before toolchains
  download
- add pre_prepare_partitions() extension method, for custom partition size calculations
- add create_partition_table() extension method, used to do full-custom partitioning if `USE_HOOK_FOR_PARTITION=yes`
- add post_create_partitions() extension method, mostly for easy debugging
- add post_write_sdcard() extension method, where you can also set `SKIP_VERIFY=yes` to skip sdcard verification
- add post_install_kernel_debs() extension method.
- multiple fixes to bsp to avoid spurious errors when files are not where it expects
- v4: detect `update-initramfs` failure and abort build with useful message if it does
- v4: show useful stacktrace in `exit_with_error`
  - if `ERROR_DEBUG_SHELL=yes`, drop into a shell before unmounting/deleting everything, so we can inspect what went wrong
- v4: display a message before `apt-get remove PACKAGE_LIST_BOARD_REMOVE` packages, so any errors while removing are easy to understand
- v4: preserve kernel .config's dates when copying

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions framework; refactor tool fetching/building into extensions

- a few examples of core refactoring using extensions
- sunxi-tools extension, enabled by 2 different sunxi family includes ("reuse" example)
- marvel-tools extension, enabled by 2 different mvebu family includes
- rkbin-tools extension, enabled by rockship64_common family include
- amlogic-fip/c2-blobs stuff refactored directly into meson64_common.inc ("single-use" example)
- removed the 'testings' fetch_from_repo completely since not used anywhere.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* .wip's for UEFI arm64 and UEFI/BIOS x86 via new GRUB extension

- v3: added `growroot`-awareness to `armbian-resize-filesystem`
    - the partition-growing part of `armbian-resize-filesystem` does not deal correctly with the UEFI layout
    - `growroot` is installed on UEFI images by default, that handles growing partition during initramfs
    - now `armbian-resize-filesystem` handles `resize2fs` only, and works.
- v4: reworked UEFI board/family/include structure:
    - use Distro's `linux-generic` kernel only for `current`
    - `edge` now builds it's own pure-mainline `5.15.y` kernel, for both x86 and arm64
        - `.config` taken from Ubuntu, probably needs tuning for EXTRAWIFI=yes et al
- v4: introduce `SKIP_KERNEL_SYMLINK=yes`, tested in `builddeb`
    - to avoid symlinking kernel; u-boot likes it, but grub and flash-kernel hates it
- v5: many fixes
- v7: more small fixes.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* .wip for the RaspberryPi 4B via new flash-kernel extension

- this does not build it's own kernel "yet", but uses default linux-raspi kernel from Ubuntu
- flash-kernel is not really a bootloader
    - it just prepares kernel et al a FAT partition for booting by the RPi4b bootloader
    - flash-kernel is standard Debian package, but has only been tested on Ubuntu releases
- it is really only known-working since Hirsute release.
  - Debian's rpi kernel is armhf only, so out of scope here, at least until we add source-built kernels.
- v3: fixed focal rootfs build. untested.
- v3: better variable names, preparing for source-built kernel.
- v5: new edge build with pure mainline kernel.
- v6: many fixes and some hacks for packaging and layout, also firmware (using Ubuntu's)

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Added first patch to edge x86 related to wifi drivers

* extensions: leave hostapd alone; remove hackish ext; block reentrancy

- package-list-utils does not belong in this PR
- grub or bcm2711 is not the place to remove hostapd
- block recursive enable_extension() calls, for now.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* gen-sample-extension-docs: fix: avoid counter in generated sample

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: dependencies: enable_extension() in extensions with a stack

- and better stacktraces, I hope

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Remove code from package list since we don't have it in repository
Adjust kernel config to disable driver that needs further polishing.

* Allow amd64 to build the same desktops as aarch64. We only have this limit for armhf, where some desktops don't work

* amd64: allow building amd64 on aarch64 with system toolchain

- conditionally add gcc-x86-64-linux-gnu to hostdeps

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* add libelf-dev directly to hostdeps (and Dockerfile), remove extension

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* packaging: remove SKIP_KERNEL_SYMLINK hack, fix the root cause

- which was the missing $image_name for non-arm64 & non-arm, so: x86 for example

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* grub: really obliterate u-boot stuff from BSP

- for now. soon we'll refactor u-boot so not have to do this

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* flash-kernel: really obliterate u-boot stuff from BSP

- for now. soon we'll refactor u-boot so not have to do this

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: add host_dependencies_ready() hook

- this passes FINAL_HOST_DEPS containing all hostdeps for the run after they're installed

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Add verification functions for correct selection.

* If UEFI Skip symlink creation

* Do not create dtb package for amd64

* Skip scripts folder cleaning if build process native.

Skip creating  postinst prerm scripts  for headers.

* Skip applying headers-debian-byteshift.patch if build native

* Fix architecture syntax as x86_64

* Revert "amd64: allow building amd64 on aarch64 with system toolchain"

This reverts commit 0c5ee20bb1.

* Compare architectures before starting compilation.



Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* extensions: cleanups after fixes by the-Going

- packaging:
  - there is _no need_ anymore for the symlink hack, CONFIG_EFI or no. But check is great, see below
  - it's not `amd64` that has no DTB's, it's all UEFI, thus: `is_enabled CONFIG_EFI`, thanks!
- Explicitly disallow "reverse cross compile" in amd64.conf.
- whitespace-only-deletions: revert. we shall shellfmt the whole thing one day, but not today.
- fix a few syntax warnings in newly introduced code (floating `$ARCH` vs `"${ARCH}`) - blame shellcheck

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* packaging: fix: turns out a lot of boards have CONFIG_EFI=y, can't use that for dtb/no-dtb decision.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* grub: remove debug

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* firmware: allow installing `armbian-firmware-full`; make it really full

- can now use `BOARD_FIRMWARE_INSTALL="-full"` to install full firmware for the board. enable for UEFI.
- don't rely on KERNELSOURCE for firmware-related decisions. introduce `INSTALL_ARMBIAN_FIRMWARE` which defaults to `yes`
- rpi4b/flash-kernel: disable Armbian firmware; we need linux-firmware-raspi2, which conflicts.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: log to /${LOG_SUBPATH}/ instead of fixed /debug/

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: introduce cleanup_extension_manager() called by build-all-ng's unset_all()

- to reset/unset everything done by the the initializer, so build can run again

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: remove 'global' logging, for use with build_all_ng

- enable_extensions() will have to live on without logging to file. it's just too early.
- now init EXTENSION_MANAGER_TMP_DIR in initialize_extension_manager()
- now init EXTENSION_MANAGER_LOG_FILE in initialize_extension_manager()

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: build-all-ng.sh bugfix due to extension's debug to stdout

- extensions (among other things) can produce output to stdout when activated
- fix: check_hash() produced "idential" (sic, now changed to IDENTICAL) to stdout as a trigger
- debugging output got mixed with "idential", rendering hash cache void for families that used extensions
  - eg: sunxi, others
- fix is to send stdout to the bitbucket when sourcing the board & arch config files
- proper fix would be stop using stdout in this case and use return code for check_hash()
  - one day soon

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Add CI build targets

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
Co-authored-by: The-going <48602507+The-going@users.noreply.github.com>
2021-12-06 09:49:49 +01:00
Igor Pečovnik
d8285296ec
Bugfix - safer way of deleting headers (#3316) 2021-12-04 23:53:00 +01:00
Paolo Sabatino
b4749af062
rk332x: fix esp8089 module option 2021-11-24 17:28:03 +00:00
Igor Pečovnik
6979718d58
Chroot build packages cleanup and bug fixing (#3266)
* Small fixes and removal of deprecated component
* Fix to properly create armbian repo in chroot
2021-11-17 19:35:32 +01:00
Igor Pečovnik
aaa050959b
Replace which with command -v (#3253) 2021-11-15 23:30:39 +01:00
Igor Pečovnik
8258a0ee36
Implement fan controller for Nanopi M4 (#3231)
* Implement fan controller for Nanopi M2V2

* Fan works on all Nanopi M4
2021-10-31 12:12:06 +01:00
Igor Pecovnik
612529aa8f
Fixing errors in armbianmonitor and add release info
Close https://github.com/armbian/build/issues/2798
2021-10-28 23:22:29 +02:00
Ricardo Pardini
be5f2b8c75
introduce DEB_COMPRESS for dpkg-deb+kernel's KDEB_COMPRESS (#3222)
* introduce DEB_COMPRESS for dpkg-deb+kernel's KDEB_COMPRESS

- Avoids zstd which is now default in Ubuntu Impish, but can't be read by Debian dpkg
- Allows for xz, gzip, or none; defaults to xz; use gzip for faster, and none for much faster.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* use KDEB_COMPRESS in packages/armbian/builddep for 5.12+ kernels too

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-10-27 18:55:12 +02:00
Vyacheslav
3c4b69650e
Add support for JetHome JetHub D1/H1 home automation controllers (#3176)
* JetHome: add basic files for JetHub D1/H1 boards

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add uboot patches

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add kernel patches for JetHub D1/H1 (backport from 5.16-dt kernel)

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add bsp packages for JetHub D1/H1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add kernel options for hardware JetHub D1/H1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: fix targets-cli-beta.conf for JetHub D1/H1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add axg uboot creation function for JetHub D1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>
2021-10-19 21:05:36 +02:00
Oleg
ddc90be2c7
fix sound station (#3200) 2021-10-15 14:19:53 +02:00
Paolo Sabatino
31d238930b rockchip: enable broadcom serdev bluetooth for current and edge kernels
* add workaround against default MAC Address (userland utility bdaddr does not work to set MAC Address as expected)
	* enable bits for xt-q8l-v10 board (ap6330/bcm4330 part), switching AP6330 bluetooth to btbcm driver using serdev
	  facilities to avoid userspace machinery with deprecated hciattach tool, added bits to enable driver support in kernel.
	  Removed ap6330 bluetooth service from bsp packages, added initramfs-tools hook to include bcm4330b1.hcd firmware in initramfs
2021-09-16 17:51:34 +00:00
Piotr Szczepanik
0069ad60a6
Preliminary support for rockchip rk35xx boards (#3111) 2021-09-15 22:08:39 +02:00
Aristo Chen
905cf37bd3
Enlarge dialog size to prevent string cut off (#3141) 2021-09-12 19:26:33 +02:00
Paolo Sabatino
d9c1954052 rk322x: enable glamor acceleration for X11 2021-09-11 12:51:28 +00:00
Paolo Sabatino
0ba760e148 rk322x: ddrbin now uses 2T Command Rate, dynamically adjust ddrbin command rate on u-boot updates 2021-09-11 12:51:28 +00:00
The-going
593104add4
Rework compile (#3124)
* DEBUG code

* make M=scripts clean before creating the package

Move the cleanup of the scripts target from the postinst script
to the logically correct place so that the cleanup occurs with
the same arguments of the make command and the same compiler.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* clear all files in target directory

* Debugging for version 5.10.10 and higher

* Return to version 5.12

Since version 5.12, there are no collisions
with deleting the scripts/module.lds file.

This pathology begins with 5.10 and ends on 5.11 inclusive,
and this is due to internal migration in the core.

* Change the order of creating packages

The linux-headers package must be built in the last queue

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Revert "DEBUG code"

This reverts commit 6bd8dcaa3b.
2021-09-06 21:29:20 +02:00
Aristo Chen
fab9ff1dba
Remove unused variable in format string (#3105) 2021-09-02 21:51:54 +02:00
Werner
23d5aa12ba
Possible fix for syntax error (#3115)
https://forum.armbian.com/topic/18838-invalid-armbian-trucate-logs-error/
I assume all userspaces have bash shipped anyways?
2021-09-02 20:47:46 +02:00
Igor Pečovnik
5004a05a15
Store wallpapers with better compression (#3108)
Saves around 50% without loosing noticable on quality.
2021-08-24 00:44:14 +02:00
Aristo Chen
9aa60df063
Exclude IP of network interface with :avahi at the end of name (#3099) 2021-08-21 11:04:22 +02:00
Jannis
147b8b54e6
Merge pull request #3092 from armbian/helios64-udev-hwmon-fix
Helios64 combine hwmon rules between legacy and current
2021-08-16 13:46:04 +02:00
Igor Pečovnik
91457ff216
Adjusting Cinnamon back to stock graphics (#3094)
- removing tracker-extract since its crashing and is anyway useless tool
- adjusting text to meet the real meaning
2021-08-12 20:14:29 +02:00
Igor Pečovnik
d54b2d6a84
Adding OPi Zero2 legacy kernel support (#2620)
* Adding OPi Zero2 legacy kernel support
2021-08-12 19:19:18 +02:00
Richard Neese
b354ede7e2
revert xcfe to old look (#3090)
* revert xcfe to old look

* fix login screen xfce old look

* Re-add monitorVirtual-1

* There is not such icon

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2021-08-11 23:03:35 +02:00
Igor Pečovnik
84b111487f
Fixing first login shows "degraded" (#3091)
Status is shown to stdout, but we don't want that in 1st login screen
2021-08-11 00:01:21 +02:00
Richard Neese
fe74c3ffcc
fixed typo's in the wallpaper xml file for xfce desktop (#3078) 2021-08-04 17:53:15 +02:00
Richard Neese
6364643ffb
fixing menu look for both debian/ubuntu (#3072)
ubuntu does not have the theme package to match ubuntu so had to change the background to one both debian and ubuntu have.
2021-07-29 21:44:37 +02:00
Ricardo Pardini
59509407aa Khadas VIM3: add asound.state file
- via Jeremiah Cornelius on the Armbian Forums
- also clarify comment about 2 dtbs in mainline kernel

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-07-24 18:32:55 -04:00
lanefu
4b91e49c72
khadas edge tweaks (#3022)
* remove static mac assignment hack for khadas edge

* khadased edge rk3399 default asound
2021-07-18 23:14:02 -04:00
Igor Pečovnik
c064c11b47
Remove duplicated entries for Pinebook PRO bsp creation (#3031)
* Remove duplicated entries for Pinebook PRO bsp creation

* Link only CLI and desktop BSP package per board

* Adjust "
2021-07-18 15:41:58 +02:00
Paolo Sabatino
baf9815f8b rk322x: add DMC driver and runtime clock adjust, change rk322x-config emmc options
* add DFI driver to provide hardware-based memory controller load
     * adapted DRAM Memory Controller driver from rk3328, add necessary headers
     * provide device tree overlays to enable DDR3 clock scaling
     * adapted rk322x-box to allow DDR speed bin selection to user
     * add ipb900 board gpio configuration
     * add rtl8723cs driver to linux-current kernel
     * use ddrbin v1.10 set to 330 Mhz at boot
     * provide overlays for ddr3 at 330, 528, 660 and 800 mhz
     * split emmc overlays to enable options by user choice
     * modified rk322x-config to support dmc, emmc overlays
     * remove optee trust os in favor of rockchip proprietary blob
       for dmc functionality
2021-07-17 15:21:48 +00:00
Rich
89e0c8699f fixing xfce for new xfconf-query -c xfwm4 -p /general/vblank_mode -s off 2021-07-16 09:53:18 -04:00
Rich
23aacd78bb added virturl setting for dektop backgrounds 2021-07-14 13:47:36 -04:00
Rich
3405d91873 working to fix backgrounds 2021-07-13 13:02:55 -04:00
Rich
07dd14b108 fixing xfce background and launcher icon 2021-07-12 18:52:12 -04:00
Richard Neese
be44bb7d61
Merge pull request #3003 from RichNeese/desktop-background-cleanup
Desktop background cleanup
2021-07-12 17:19:24 -04:00
Rich
9b3fcdac85 fixing background issue 2021-07-12 11:24:59 -04:00
Rich
4dc1b10311 working to split backgrounds lighdm and desktop 2021-07-12 09:38:08 -04:00
Oleg
1e5133dd2b
fix u-boot sector station (#2999) 2021-07-12 09:32:35 +02:00
Richard Neese
1a0bd6ab2f
Merge pull request #2995 from RichNeese/addscrcpy-icon
adding scrcpy.desktop and icon for use with scrcpy to connect android…
2021-07-11 08:53:41 -04:00
Rich
d050265c5a adding scrcpy.desktop and icon for use with scrcpy to connect android phones to armbian and display them 2021-07-11 08:52:06 -04:00
Rich
83a95cdb7a enabled iconfn on armbian-config desktop script 2021-07-11 08:43:42 -04:00
Rich
8ebf148e91 adding in 2 new desktop icons for armbian-config 2021-07-11 08:37:53 -04:00
Oleg
4c80535fd8
update kernel legacy 4.9.201 and current 5.10 (#2987) for jetson 2021-07-09 20:54:40 -04:00
Richard Neese
f1e9c76b37
Merge pull request #2989 from RichNeese/xfce-color
Xfce color
2021-07-09 12:28:36 -04:00
Rich
ac8e594377 chane to blue icon 2021-07-09 11:19:58 -04:00
Rich
9dd1aec5d5 adding new icons and backgrounds 2021-07-09 11:05:25 -04:00
Rich
9f2de611cd changing the look for xfce 2021-07-09 08:29:57 -04:00
Oleg
6bd67e18e5
add media kernel for arm64 (#2971) 2021-07-07 16:15:34 +02:00
Igor Pečovnik
9d4e0408c5
Improvements for BSP creation (#2975)
* Improvements for BSP creation

- add support for the same principle found in desktop creation. For CLI package we are copying content from "bsp-cli" folders.
- moving bsp* copy function to image-helpers
- improve readme
2021-07-07 16:06:00 +02:00
lanefu
71f67e664e
wait for systemd fully started before first login (#2979) 2021-07-06 22:32:37 -04:00
Rich
7e3c4b6a5f cleaning up packages and look for xfce 2021-07-06 19:14:47 -04:00
Rich
42c6f446c1 fixing icon for desktop 2021-07-06 08:56:20 -04:00
Igor Pečovnik
9249d3f954
Add support for desktop board support package (#2972)
* Add support for desktop board support package

Extracting from https://github.com/armbian/build/pull/2776 which can be closed after.
* Desktop BSP creation is working, but need broader testing and some quick how-to
* Create empty files as examples where we can put things.
* Fixing Pinebook desktop bsp creation
* We need to have information about ARCH in the desktop bsp package. This ain't universal.
2021-07-06 00:59:50 +02:00
lanefu
8c09e1fa93
khadas support (#2903)
* cleanup add vim3l

* Add Khadas edge config

* Add Khadas edge sources definitions. It boots

* Change configuration to maximised model

* Adjust build configs

* witch to case statement for meson x11 config

* push vim1 naming

* Booting VIM2 with khadas prebuild u-boot

Can load from an empty eMMC, can be installed to eMMC via nand-sata-install

* Add Vim1 and move 1 and 2 to supported. VIM1 is not tested yet.

* Enable full featured desktop with 3D for khadas vim 1 and vim2

* Update meson64_common.inc

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-07-05 21:05:43 +02:00
Rich
c4a98859a7 fixing desktop menu icon. 2021-07-04 14:03:24 -04:00
Igor Pecovnik
8ab6aeb342 Cosmetic - supress error vnstat can't be found at first login 2021-07-03 19:27:39 +02:00
Aristo Chen
5082eb9d4e
Skip checking TX/RX for interface not exists in /var/lib/vnstat/ (#2948) 2021-07-02 07:56:27 +02:00
Richard Neese
1880df66b4
Fix bad slick patch (#2942)
* fixing my bad patch from lastnight.

Removing the bad patch I did last night and fixing it with proper sed commands

* fixing names .

had to fix names in the files

* configuring new settings in slick-greeter
2021-06-30 16:51:28 +02:00
Richard Neese
a4db93be66
fixing slick greater for the diff desktops short term for testing (#2940) 2021-06-30 06:47:12 +02:00
The-going
92b8320edd
Packaging (#2935)
* kbuild: deb-pkg: do not build linux-headers package if CONFIG_MODULES=n

Since commit 269a535ca931 ("modpost: generate vmlinux.symvers and
reuse it for the second modpost"), with CONFIG_MODULES disabled,
"make deb-pkg" (or "make bindeb-pkg") fails with:

find: ‘Module.symvers’: No such file or directory

If CONFIG_MODULES is disabled, it doesn't really make sense to build
the linux-headers package.

Author: Masahiro Yamada <masahiroy@kernel.org>
Date:   Wed Oct 14 03:38:19 2020 +0900
Upstream commit bac977cbc0d6731fb8e67c2be0e4acbd959e10b3

Fixes: 269a535ca931 ("modpost: generate vmlinux.symvers and reuse it for the second modpost")
Reported-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* mkdebian: fix: build a package for version 5.13

upstream commit 82526ef43399a7556b860538041802042b3872c1
Author: Masahiro Yamada <masahiroy@kernel.org>
Date:   Tue Apr 20 02:05:05 2021 +0900

    kbuild: deb-pkg: change the source package name to linux-upstream

    Change the source package name from 'linux-$(KERNELRELEASE)' to
    'linux-upstream'.

    Initially, I tried to use 'linux' to be aligned with the Debian
    kernel package, but Ben suggested 'linux-upstream' so that it is
    clearly distinguished from distribution packages. [1]

    The filenames will be changed as follows:

    [Before]
      linux-5.12.0-rc3+_5.12.0-rc3+-1.dsc
      linux-5.12.0-rc3+_5.12.0-rc3+.orig.tar.gz
      linux-5.12.0-rc3+_5.12.0-rc3+-1.diff.gz

    [After]
      linux-upstream_5.12.0-rc3+-1.dsc
      linux-upstream_5.12.0-rc3+.orig.tar.gz
      linux-upstream_5.12.0-rc3+-1.diff.gz

    Commit 3716001bcb7f ("deb-pkg: add source package") introduced
    KDEB_SOURCENAME. If you are unhappy with the default name, you can
    override it via KDEB_SOURCENAME.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Search by template when updating initramfs

Search by pattern first, then use in the command.
If unsuccessful then exit by mistake.

Fix:
depmod: WARNING:
could not open modules.order at /var/tmp/mkinitramfs_bp3vP5/lib/modules/5.13.0-sunxi64:
 No such file or directory
could not open modules.builtin at /var/tmp/mkinitramfs_bp3vP5/lib/modules/5.13.0-sunxi64:
 No such file or directory
When a valid directory lib/modules/5.13.0-rc6-sunxi64
Or when the user added a localversion to the configuration file
and valid directory lib/modules/5.13.0-rt7-sunxi64

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Code Cleanup: kernel build: Removing EXTRAVERSION Cleanup

This was intended for the EDGE kernel and is no longer required.
Moreover, this code is not working.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2021-06-29 20:18:52 +02:00
Richard Neese
c3c9dfa4c6
added new backgrounds and icons (#2932)
* added new backgrounds and icons

* adding in dir for png files and desktop new icons

* rm png wallpaper files
2021-06-29 13:32:41 +02:00
Jannis
c43b31fe7c
Delete 90-helios64-hwmon-legacy.rules 2021-06-20 10:43:59 +02:00
Jannis
503476d0d1
Update 90-helios64-hwmon.rules
Proposal of a way to fix the udev problems described here https://forum.armbian.com/topic/18238-armbian-21052-focal-with-linux-51035-rockchip64-fancontrol-die-in-error-fans-not-spinning/?tab=comments#comment-125963

It just combines legacy and current lines so hopefully will work correctly on both.
2021-06-20 10:42:23 +02:00
Oleg
e05b207058
add BT for Station (#2901) 2021-06-16 09:32:33 +02:00
lanefu
cb18979a64
Merge pull request #2896 from AristoChen/master
Modify the mechanism for showing IP address in 30-armbian-sysinfo
2021-06-13 11:24:41 -04:00
lanefu
63e73e50ed
Merge pull request #2894 from nwf/master
armbian-ramlog: extra rsync options
2021-06-13 11:19:04 -04:00
AristoChen
a84da70535
Modify the mechanism for showing IP address in 30-armbian-sysinfo
Exclude "dummy0" and "lo" interface, thus the IP address for all other
interface(include those having customized name) can be properly displayed
2021-06-13 20:58:05 +08:00
Paolo Sabatino
e19500f6f6 Fix typo and options in slick-greeter (greater->greeter), enable it for rk322x-box 2021-06-12 10:33:28 +00:00
Nathaniel Wesley Filardo
2606d17ec7 armbian-ramlog: extra rsync options
Add two bash arrays, XTRA_RSYNC_{FROM,TO}, defined in
/etc/default/armbian-ramlog, and expand these in the two rsync
invocations in /usr/lib/armbian/armbian-ramlog.

The use of bash arrays simplifies the use of multiple arguments and also
allows for in-band commentary between array elements.

When expanding, safely test for these arrays to exist.  This is, sadly,
a little verbose in bash, so, while here, split the rsync invocations to
use line continuations.

Fixes https://github.com/armbian/build/issues/2846
2021-06-12 02:25:23 +01:00
Laurent
a9f5c0a050
AR-315: Add support for GPT table inside nand-sata-install (#2856) 2021-06-10 11:49:29 +02:00
Oleg
a3f2777f52
add legacy jetson-nano (#2890) 2021-06-10 11:46:12 +02:00
Aristo Chen
78894792a5
Update URLs (#2870)
* Update URLs

* Update URLs

* Update URLs
2021-06-10 11:27:51 +02:00
Richard Neese
81c75b8a95
slick greeter change from gtk greeter (#2883)
* Create slick-greater.conf

adding new greeter conf file

* Create 10-slick-greeter.conf

setting the seat session for the new slick greeter

* Update packages

added slick-greeter

* Update packages

added slick-greeter

* Update packages

added slick-greeter

* Update packages

added slick-greeter

* Update packages

added slick-greeter

* Update packages

added slick-greeter

* Update packages

added slick-greeter

* Update packages

added slick-greeter
2021-06-10 11:25:11 +02:00
Igor Pečovnik
adaf5956bb
Less chatty logs for 8189fs (#2857) 2021-06-01 19:49:21 +02:00
Aristo Chen
9f27fd9274
Fix issues in read_password() (#2860)
- When trying to delete by using "backspace", it will also print a "*"
and also appended to password
- When pressing keys too fast, it is possible that some characters
actually printed on the screen
2021-06-01 19:49:08 +02:00
The-going
050feb590f
Fixed recompilation of kernel headers into a single thread. (#2851)
Compiling the kernel headers repeatedly and in a single thread
increased the overall package build time by several times.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2021-05-27 20:40:29 +02:00
Werner
1f2dc3423a
Delete 80-update-htop-and-offload-tx
- users are "confused" about manipulating files in their home directories
- introduced security issues which have been worked around but there might be others too
- more recent  htop may support network stuff oob (https://armbian.atlassian.net/browse/AR-771?focusedCommentId=10546)
2021-05-26 05:49:52 +02:00
The-going
fc892b7e3f
Rework make linux headers (#2849)
* Rework make linux headers

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Make linux-source first and clear the memory

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2021-05-25 02:50:16 +02:00
Igor Pečovnik
f7c2dc2bc3
More motd related fixed (#2848)
Fixing error when we don't have etherned
2021-05-23 18:25:21 +02:00
ThomasKaiser
0f348185be
Fix typo in f0f10a5 (workaround for 7350topless) 2021-05-23 14:48:51 +02:00
ThomasKaiser
f0f10a5b68
Workaround for 7350topless
Not touching logic or the (IMO ridiculous) behavior of this script. Just meant as a quick&dirty workaround for the specific sed/symlink attack vector. Check https://github.com/stealth/7350topless for details.
2021-05-23 13:51:04 +02:00
The-going
8f1fb2e2be
Packaging (#2844)
* New build kernel if version ge 5.12

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Rename packagename for kernel in the armbian style

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Fix depends pkg for build linux-*

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Fixed version search by Source field

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Fix postinst, prerm scripts for headers pkg

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2021-05-22 17:01:29 +02:00
Igor Pečovnik
4cc754e0b3
Bugfix - vnstat doesn't like very long input parameterts and it fails on certain wireless devices (Ampak, most common ones) (#2839)
Limiting device to eth* enp* only seems like a viable workaround.
2021-05-18 09:15:55 +02:00
Igor Pečovnik
73e8dfcc7e
Extracting branch and write it to the /etc/armbian-release file. This information is still needed for armbian-config (#2831) 2021-05-15 18:38:11 +02:00
Przemysław Sztoch
486a821a55
VENDOR, rock-pi-n10, RM_LIST for armbian-config/zsh, Static MAC for networkd (#2789)
* VENDOR, rock-pi-n10, RM_LIST for armbian-config/zsh

VENDOR parameter in configuration
zsh is the best of course...
Static MAC for networkd

ROCK Pi N10 (Radxa) - Initial support, knwon bugs:
- Problem with poweroff (kernel panic).
- DeviceTree is not fully verified, I suspect missing and unnecessary
entries.
- No support for NPU
- u-boot without NVME support
- I have doubts if I chose the right preboot loader for RK3399Pro, NPU
  and installed DDR memory.

* New RK3399Pro boot preloaders.

* rootfs checksum, DEBOOTSTRAP_LIST fix, output.log fix

Repaired checksum for rootfs
Added use PACKAGE_LIST_RM to purge DEBOOTSTRAP_LIST
Better logging to output.log
Fix for new host distribution detection (ie Debian Bullseye).
ubootdebs as new cleaning option
2021-05-11 21:50:14 +02:00
lanefu
903bf67973
Merge pull request #2778 from armbian/htop-fix-uncheched-buffer-writes
Fix unchecked buffer writes in custom htop code
2021-05-01 22:20:21 -04:00
Paolo Sabatino
fb0f8f73bd rk322x: add led/gpio config for T066 boards, updates to rk322x-config 2021-04-25 11:55:45 +00:00
Piotr Szczepanik
816187bd9e
Made clear what the patch fixes and add notes on code sources 2021-04-18 22:16:07 +02:00
Piotr Szczepanik
8b3efeedd5
Fix unchecked buffer writes in custom htop code 2021-04-16 23:16:59 +02:00
Oleg
20c06c0ba3
fix install-nand for extlinux.conf (#2775) 2021-04-15 01:16:13 +02:00
Przemysław Sztoch
3f4c73727a
Better conditions for newer distribution (#2768) 2021-04-14 00:44:29 +02:00
lanefu
3369a0d538
Merge pull request #2608 from ChrisDumont/fix-alignment
fix arithmetic to align filesystem sizes to 16MiB (not 16KiB)
2021-04-11 15:02:29 -04:00
Chris Dumont
5bbf2f0396 Fix arithmetic to align filesystem sizes to 16MiB on nand devices. 2021-04-03 10:18:23 -07:00
Igor Pečovnik
d9e3657171
First login keyboard configuration bugfix (#2746)
* 1st login keyboard configuration bugfix

- added small bugfix which caused to select locales too broad
- switch "automated" keyboard detection for selection prompt

* Remove dpkg-reconfigure keyboard-configuration

* Remve unused variable
2021-04-02 08:21:59 +02:00
Igor Pecovnik
93ed1e85b8 Displays that EDGE branch is in action 2021-03-28 12:21:02 +02:00
NekoB0x
8b063ca8a6
Update armbian-ram-logging 2021-03-25 11:19:35 +02:00
NekoB0x
540d7abd88
Fix redundant log writing
Fixes calling "armbian-ramlog write" twice on systems with logrotate systemd unit.
2021-03-25 01:02:23 +02:00
NekoB0x
271756dcc4
Some 30-armbian-sysinfo fixes (#2732)
* Update 30-armbian-sysinfo

Fixed alignment of "Local users" and "IP" in third column.
Made it more compact by adding extra new line.
Added "both" traffic direction.
Removed "-h" vnstat argument because it doesn't do anything, changed "last 24h" to "today" (there is only "rx/tx for today" in --oneline output).

* Update armbian-motd.dpkg-dist

Add PRIMARY_DIRECTION description

* Update 30-armbian-sysinfo

fix new line logic
clean-up unused variables
2021-03-24 19:19:38 +01:00
Igor Pečovnik
61b87bee74
W1 temp sensor can have different properties. Adjusting (#2737) 2021-03-24 19:07:53 +01:00
Gauthier Provost
5e69351b3d
Re-enable network checksum TX offload on rockchip64 family (#2623)
* Re-enable network checksum TX offload on rockchip64 family

* Adjust gmac PBL setting for rk3399 legacy to fix network issues with MTU 1500

* Adjust gmac PBL setting for rk3328 in rockchip64-legacy to fix network issues with MTU 1500

Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
2021-03-23 08:00:10 +01:00
NekoB0x
9e599d0f87
Fix motd traffic stats
Fixes:
RX/TX: "Unknown parameter "1". Use --help for help."
RX always displaying "n/a"
2021-03-19 11:35:38 +02:00
lurdan
d264a8fd74
Change apt's default compression method to gzip (#2729)
APT uses lz4 as its default compression method, but Some ARM board has performance problem on it.
This setting make apt prefer gzip over lz4.

cf. https://forum.armbian.com/topic/14064-my-apt-search-has-become-super-slow-recently/page/2/
2021-03-19 07:17:30 +01:00
Oleg
9aa7aafd4f
Adding Nvidia Jetson Nano (#2720)
* add Jetson Nano

* Update jetson-nano.conf

* Update targets.conf

* Add better description

* Adjust config - try to enable ZRAM

* Packaging patch not needed

* Extlinux was solved in other commit

* Move board to CSC for now

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-03-18 18:29:34 +01:00
Paolo Sabatino
81cc6841e9 Better compatibility for rk322x ddrbin v1.10, changed to set ddr3 to 660 Mhz 2021-03-14 18:47:52 +00:00
NekoB0x
922f1ca49e
Fix Motd disk temperature (#2707)
Fixes displaying of "Always°C" temperature on disks without Min/Max temperature values.
2021-03-14 16:34:32 +01:00
NekoB0x
975025f170
Fix armbian-hardware-optimization logrotate (#2705)
Fixes editing of logrotate configs when ramlog is enabled and /var/log is mounted on zram device other than /dev/zram0.
2021-03-13 19:43:18 +01:00
Igor Pečovnik
3a74abe43d
Merge desktop branch (#2662)
Co-authored-by: Miouyouyou (Myy) <myy@miouyouyou.fr>
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: Richard Neese <r.neese@gmail.com>
Co-authored-by: iav <iav@iav.lv>
Co-authored-by: lanefu <lanefu@users.noreply.github.com>
Co-authored-by: Werner <EvilOlaf@users.noreply.github.com>
Co-authored-by: Oleg <balbes-150@yandex.ru>
Co-authored-by: Lane Jennison <lane@lane-fu.com>
Co-authored-by: JMCC <jmcc1@gmx.com>
2021-02-24 18:19:09 +01:00
tparys
37c324975f
Detect overlay capability from uboot boot.cmd (#2628) 2021-02-22 21:50:50 +01:00
Lukas Pirl
4e25b7257b
remove mount option "nodiratime" where "noatime" is given (#2645)
mount option "noatime" implies "nodiratime", see, e.g.:
https://github.com/torvalds/linux/blob/v5.11/fs/inode.c#L1807-L1808
2021-02-22 21:49:04 +01:00
Paolo Sabatino
04670580ea Moved rk322x-dev to linux kernel 5.11
Added led configuration dtbo for rk322x targets
2021-02-20 20:48:42 +00:00
Evka2k
933a00515b
Helios64 UPS. System shutdown when battery reach 7.0V. (#2599)
* Helios64 UPS. System shutdown when battery reach 7.0V.
2021-02-05 18:27:15 +08:00
Uglymotha
af90b3237e
Fix armbianmonitor -n for vlan interfaces (#2594)
Currently armbianmonitor -n does not detect vlan interfaces correctly.
This is because of an incorrect egrep -o which filters out the parent interface name:
network interface: 100
instead of
network interface: eth0.100

Cascading into:
armbianmonitor: line 1095: eth0. - 0 : syntax error: invalid arithmetic operator (error token is ". - 0 ")

Fixed by changing the egrep logic to filter out the last field of route -n output.

Also fixes a timer issue by moving the timer start to after the interface selection.
time controller adjustment: -2.43
/usr/bin/armbianmonitor: line 1128: read: -2.43: invalid timeout specification
2021-02-03 20:19:08 +01:00
Igor Pecovnik
6679449bdf Bugfix and further optimisations of first login script 2021-02-03 18:23:08 +01:00
Chris Dumont
561833ea28 fix arithmetic to align filesystem sizes to 16MiB (not 16KiB) 2021-02-02 09:45:18 -08:00
Igor Pečovnik
44ceb61427
Read distro data from our files, not from generic locations which might be changed (#2597) 2021-02-01 08:39:54 +01:00
Igor Pečovnik
a1fb805d64
Rework first login script (#2578)
* At first login we set users locales based on his location which seems to be to agressive

Add a question before setting it should suffice. Closing https://github.com/armbian/build/issues/2398

* Read it silently

* Detect locales selection only if we choose to add normal user

* Asking for shell right after seting root password

* Move selections inside traps

* Remove duplicated call
2021-01-26 09:16:25 +01:00
Igor Pecovnik
268ca95a86 Bugfix - Change systemd timer to start counting from when it starts
Service starts after 1st login finishes and then it removes autologin settings which we only want that they are ebabled in 1st run
2021-01-26 09:14:05 +01:00
Igor Pecovnik
94dbd83c62 Make sure that firstlogin service starts last
This way we avoid that other services messes up our nice and shiny 1st login
2021-01-26 09:12:59 +01:00
Piotr Szczepanik
e78fb53113
Swithed rk3399-bluetooth service type to simple
- bionic's systemd (237) does not support exec.
 - tested with both buster and bionic using OrangePi 4
2021-01-24 20:48:12 +01:00
Igor Pečovnik
315ca731f0
Fix shell selection bug in Bionic version (#2573) 2021-01-22 12:54:39 +01:00
Igor Pecovnik
c07e6e3da5 Revert "Update 80-update-htop-and-offload-tx (#2555)"
This reverts commit ee6ead45a6.
2021-01-19 23:47:13 +01:00
Igor Pečovnik
57604fa275
Change locales detection methodology and add failsafe mechanism (#2561)
In case they are not deteced for some reason
2021-01-19 23:24:57 +01:00
eric poscher
ee6ead45a6
Update 80-update-htop-and-offload-tx (#2555)
As suggested by Igor https://forum.armbian.com/topic/16287-very-confused-etcnetworkmanagerdispatcherd80-update-htop-and-offload-tx/?tab=comments#comment-117540
2021-01-18 19:58:23 +01:00
Igor Pecovnik
85ca772b5f Adjusting / lowering timeout for desktop autologin removal 2021-01-18 00:31:16 +01:00
Igor Pecovnik
555171ac09 Bugfix - calculation of free ain't number
Closing https://github.com/armbian/build/issues/2548
2021-01-13 08:37:33 +01:00
JMCC
8b83866e16 rockchip-legacy: Enable RGA for RK3288 2021-01-04 22:53:12 +01:00
JMCC
bc6acc5b0a rockchip64/rk3399 legacy: Enable RGA for 64-bit Rockchips 2021-01-04 15:41:36 +01:00
Igor Pecovnik
604fced6ff ZSH - if choosen at first boot - tell user to logout / login
Executing shell from BASH can cause troubles ...
2020-12-30 20:17:24 +01:00
Marcin Mielniczuk
e7406614ac
Add support for configuring CPU temperature offset (#2516)
* Add support for configuring CPU temperature offset

Some boards, such as the Orange Pi Zero LTS, report shifted CPU temperatures.
For more details, see https://forum.armbian.com/topic/11534-orange-pi-zero-lts-incorrect-temps-reported/

* Update armbian-motd.dpkg-dist

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2020-12-30 17:47:30 +01:00
Thomas Kaiser
8e7ef752e3 Make zram and zswap mutually exclusive.
(TODO: document 'expert mode': how to get rid of zram on systems with fast storage)
2020-12-29 17:40:14 +01:00
Uglymotha
d186d70191
Added parameters to armbian-zram-config (#2463)
Added 2 configuration parameters to armbian-zram-config.
First paramter (SWAP=) can explicitely disable zram swap (while leaving log and tmp untouched).
Second parameter (TMP_SIZE) can be used to explicitely set tmp ramdisk size.
The behaviour of existing configurations is not changed.

New function activate_zram() to initialize zram devices and parameters.
Changed script to use zramctl to more flexibly establish zram devices to use for log and tmp.
This also fixes issues which result from both armbian-zram-config and armbian-ramlog being hardcoded to use zram0
2020-12-22 11:21:21 -05:00
Igor Pečovnik
a4f315c72d
Add support for ZSH / TMUX / oh-my-zsh (#2478)
* Add support for ZSH / TMUX / oh-my-zsh

* Selecting default shell at 1st run

* Install ZSH by default except on minimal image

* Lets rather create armbian-zsh package

* - fix remaining ZSH problems
- add systemd timer to remove default desktop autologin feature
- change DESKTOP_AUTOLOGIN to disabled by default

* Few small improvements

* Oneliner for revering all users back to BASH if package is uninstalled

* Properly escape variables

* Fixing chmod

* More cryptic awk magic to fix permissions for all normal users that are getting zsh magic
2020-12-21 00:44:22 +01:00
Piotr Szczepanik
a84c69ddea
Fix boot (and bluetooth) for NanoPi M4*, NanoPC T4 and Firefly RK3399 in legacy (#2480)
* Fix boot (and bluetooth) for NanoPi M4*, NanoPC T4 and Firefly-RK3399 in legacy

* Changed rk3399-bluetooth service type to exec
2020-12-20 23:45:30 +01:00
Werner
053fb76d61
Fix typo 2020-12-15 15:03:19 +01:00
Duncan Bellamy
4a689f8b89
change DEFAULT_BOOTSIZE to 256 for nand-sata-install and debootstrap.sh (#2437) 2020-12-10 21:17:13 +01:00
Duncan Bellamy
4947f95b46
nand-sata-install increase DEFAULT_BOOTSIZE to 200 as 96 is not enough to upgrade (#2425) 2020-12-10 11:47:09 +01:00
Igor Pečovnik
f41c50db01
Cosmetical changes to MOTD regarding ZFS (#2417) 2020-12-04 21:12:37 +01:00
Igor Pečovnik
6c8a9fff22
Fixing stuck at locales genarate (#2407) 2020-12-03 18:00:28 +01:00
Igor Pečovnik
dc0cebe3d2
Cosmetical
Suppress warnings like: RX yesterday:  eth0+eth1+wlan0+wlan1: Not enough data available yet.
2020-12-03 17:37:41 +01:00
Igor Pečovnik
d00410d1c3
Adding MOTD support for vnstat and ZFS and fix minor bugs (#2402)
* Move default values where they should be and fix for updates not showing up
* Add support for vnstat and ZFS
* Cosmetical
* Put defaults back
* Update data displaying
* Add support for displaying "reboot required" when regular packages like e.g. dbus requires a reboot
* Add dependency problem check
* Also add storage to user defaults
2020-12-03 01:39:12 +01:00
Paweł Krawczyk
0eea768c86
Resolve network issue on Clusterboard (#2396)
* Resolve network issue on Clusterboard

A long-known issue with Clusterboard is that SOpine does see network interface but no traffic is getting through. This solution has been described in many forum discussions and has proven to work:

https://forum.armbian.com/topic/9402-ethernet-not-working-on-sopine-module/

* Port the rgmii-txid patch for SOpine in Clusterboard

From https://github.com/CallMeFoxie/EmbeddedBOINC/blob/master/buildsteps/patches/kernel/pine64-network-new.patch
2020-12-02 20:58:10 +01:00
Igor Pečovnik
ac44b87406
Non-existing keyboard can be selected in firstlogin script. Adding check (#2385) 2020-11-30 16:52:21 +01:00
Icenowy Zheng
e19d014e00
Add Pine64 PineCube support (#2364)
* sunxi: kernel: current/dev: enable sun6i-csi and disable LL debug on UART0

The former is useful on some boards, e.g. PineCube.

The latter blocks boards that do not utilize UART0 from booting.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>

* sunxi: add new family sun8i-v3s

This family is intended for boards with V3/V3s/S3/S3L chips and low
DRAM capacity.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>

* sunxi: add PineCube board

This board features Sochip S3 SoC (Allwinner V3 die + co-packaged 128MiB
DRAM), and an OmniVision OV5640 camera is shipped with the board.

Add support for it. It could be used as an IP camera then.

Kernel support is only added to current/dev branch, with dev just using
mainline-merged DT and current using backported DT from 5.10-rc.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>

* sunxi: kernel: current/dev: add V3s OHCI/EHCI nodes

These are needed for USB host on V3s boards to work.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2020-11-25 19:50:10 +01:00
Aditya Prayoga
a3beb9b5a3
Helios64: Update fan configuration, enable network LED and enable UPS timer (#2376)
* update fancontrol configuration

* Enable network activity led, default to eth0

* Do not disable auto poweron on power loss event

* Added UPS timer

Provide timer to poweroff system after 600 s (10 minutes) of power loss
event. If power restored within that time window, cancel the timer.

* Use different service for legacy

LK 4.4 does not have ledtrig-netdev, so it will cause the service to
fail.

* Use 10m instead 600 seconds in UPS timer

Systemd time can use m suffix for minutes. Use this to make it easier to
read.
2020-11-25 14:18:29 +07:00
JMCC
c0bf6a42ad
Add session chooser to lightdm menu (#2341)
Right now, you simply cannot choose between different DE's installed on the system. The session indicator uses very little space, and doesn't clutter the greeter.
I noticed it was missing when trying to integrate a Kodi session. It will be useful in the future also, when we incorporate more DE's than Xfce
2020-11-14 08:58:04 +01:00
Aditya Prayoga
d749589810
Fix race condition on armbian-hardware-optimization (#2301)
* armbian-hardware-optimization: delay applying eth0 tweak on rk3399

* armbian-hardware-optimization: delay applying eth0 tweak on rockchip64

* armbian-hardware-optimization: fixed irq smp affinity for usb

on rockchip64.

Similar like the one applied to rk3399 on commit [eaf6853]
2020-11-04 08:20:43 +01:00
Piotr Szczepanik
7ff4ea61dd
Do not exit the armbian-hardware-optimisation in armbian-audio-config (#2291) 2020-10-30 17:59:26 +01:00
Piotr Szczepanik
5b43356d17
Fix xhci smp affinity settings for Helios64 2020-10-30 12:29:47 +01:00
Piotr Szczepanik
2eb98374f5
Fixed htop cpufreq meter for non-root users (#2273) 2020-10-24 16:57:24 +02:00
Igor Pečovnik
a9005dc2c4
Fix Odroid N2 audio and also add sound setting script to be run at start (#2263)
Tied to hardware-optimisation service.
2020-10-18 23:45:00 +02:00
Piotr Szczepanik
25b6709991 Added SPI flashing to nand-sata-install's SPI -> SATA, USB, NVMe option 2020-10-17 23:38:05 +02:00
JMCC
688782062c
Fix mali permissions for RK3328
RK 3328 and RK3399 have different names for the mali kernel node ("mali" vs "mali0"). Adjusting the udev rule to cover both.
2020-10-16 18:13:07 +02:00
Igor Pečovnik
448484f6d8
Change Ubuntu Eoan to Ubuntu Groovy and enable it as CSC (#2254)
* Change Ubuntu Eoan to Ubuntu Groovy and enable it as CSC

Tested CLI and desktop image, but needs cache creation and repository before it will be possible to build without error.

* Update Groovy compiler for chroot

* Adjust pkg dependencies for groovy

Sadly htop doesn't build
2020-10-14 22:50:11 +02:00
Igor Pečovnik
397d037089
Creates additional locales automatically (#2234)
Creates additional locales automatically and change them only for a created user. Don't replace additional, but add another keyboard
2020-10-05 00:13:57 +02:00
lanefu
7352426629
Ar 445 (#2233)
* add journalctl vacuum

* remove absolute path of journalctl. only run if journal in /var/log
2020-10-01 00:16:51 +00:00
lanefu
c6e01744e3
add journalctl vacuum to armbian-truncate-logs (#2224) 2020-09-26 02:29:50 +00:00
lanefu
b2800dbd25
WIP: Pinebookpro tweaks (#2208)
Pinebook-Pro Support:
suspend to idle via key and lid close
brightness keys
volume control keys
wifi, bluetooth frimware
touchpad tweaks
keyboard config
armbian-hardware-optimization
bootsplash
Co-authored-by: Britt Dodd <britt@reactornet.net>
2020-09-22 21:03:45 -04:00
paolo
bd17d4dbd0 Many changes for rk322x target:
- Chanaged default x.org configuration to disable glamor
- Reintroduce patch to use DRM cursor plane as overlay in rk322x-current and -dev
- Updated wifi patches for kernel 5.8.10
- Bumped rk322x to u-boot v2020.07, removed reserved zones from device trees
- Updated OPTEE to v3.10, using ddrbin v1.10
- Bumped rk322x-current to kernel 5.8.y
- Imported new patches from knaerzche's LibreELEC fork for rk322x-dev (kernel 5.8.y)
- Adjusted existing patches to match changes, updated rk322x-dev kernel config file
- Add default modprobe conf file for esp8089 to force the crystal frequency to 40Mhz for rk322x targets
- Removed ssv6051 firmware packages to move to armbian-firmware repository
- Switching ssv6051-wifi.cfg to /lib/firmware for rk322x-legacy
- Removed P2P interface for esp8089 driver for rk322x-legacy
- Optimized ssv6051 performance: kernel module gains -Os flag, disabled p2p interface, enabled HW crypto for CCMP cipher
- Enabled remote control interface, IR GPIO kernel module and HDMI CEC modules
2020-09-19 15:20:16 +00:00
Piotr Szczepanik
b8991002f0
Bring back Igor's "Cosmetical changes to htop" 2020-09-18 07:43:09 +02:00
Piotr Szczepanik
3b7136416b
Revert "Cosmetical changes for htop"
This reverts commit abf6961c30.
2020-09-18 07:32:23 +02:00
Igor Pecovnik
abf6961c30 Cosmetical changes for htop 2020-09-17 22:14:11 +02:00
Aditya Prayoga
6f6543c6f5
Assign Fault LED, rework HDD power staggering, fix minor systemd service warning on Helios64 (#2204)
* Supress systemd service warning

* helios64: u-boot: staggered HDD power up

Set the delay to 10s in between turning on the next HDD power rails.
Remove the delay property from kernel device tree, let it only apply to
u-boot

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

* helios64: fault LED as kernel panic indicator

also sync, u-boot dts

* helios64: fix hwmon udev rules

Legacy kernel (LK 4.4) has different class/naming on SoC Temp sensor.
Also fix typo on current/dev udev rules.
2020-09-15 09:46:06 +02:00
Igor Pecovnik
ebc497ff6b Enable GPU temperature in htop for Odroid XU4 2020-09-14 16:22:16 +02:00
Igor Pecovnik
621765292d Bugfixes including moving txoffload to the Network manager dispatcher script
Current RK3399 offload implementation is removed and enabled for rockchip64 family via dispatcher - they are all affected to this problem
2020-09-14 00:01:49 +02:00
Igor Pečovnik
045fd4a3b0
Improve HTOP with scripted updating based on network up/down (#2199)
* Improve HTOP with scripted updating based on network up/down

Also enable / disable GPU temperature - where available.

* Update Htop default configuration
2020-09-13 20:39:52 +02:00
Igor Pečovnik
3a35f86860
Workaround for kernel bug (#2202)
* Workaround for kernel bug

Until we don't find a solution to this problem, disabling partition checking and it will not bother to resize resized fs again. Most likely the bug is related to the ext4 filesystem changes in the upstream 5.8.y kernel.
2020-09-13 19:45:07 +02:00
Igor Pecovnik
97c8c26bb4 Cosmetic issue for Htop
Aligning text, removing spaces
2020-09-09 15:12:55 +02:00
Igor Pecovnik
e395961f77 Cosmetic bugfix + motd updating script
Motd updating script should be moved under proper service later on
2020-09-08 23:07:37 +02:00
Igor Pečovnik
4f24a622e1
Fixes wrong available memory calculation for ZRAM (#2192)
* Fixes wrong available memory calculation

* Further motd rework

- show load in %
- display GB instead of MB depending of treshold
2020-09-08 21:47:14 +02:00
matt335672
ae87d999e2
Move armbian-check-first-login.sh to separate bash script (#2190) 2020-09-07 16:28:43 +02:00
Aditya Prayoga
c242d07397
Helios64 tweak (#2186)
* bsp: helios64: Add fancontrol

- Fancontrol configuration
- Udev rules for fan and temp sensor

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

* bsp: helios64: Enable heartbeat on system status led

The reason systemd service used instead of device tree modification, is
to give visual notification that the system is ready.

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

* armbian-hardware-optimization: SATA & 2.5GbE IRQ pinning on Helios64

- 2.5GbE USB LAN which is attached to XHCI, assigned to CPU4
- SATA controller assigned to CPU4 and CPU5

Signed-off-by: Aditya Prayoga <aditya@kobol.io>
2020-09-07 11:17:57 +02:00
Igor Pecovnik
e6fa811d6f Moving Meson64 to 5.8.y
Tested once again on N2/N2+
Note: disabled mesond_vdec module in kernel config since it crashes complete video system when loaded. Need to be added back once stable - or perhaps we need to adjust some parameters?
2020-09-01 19:50:09 +02:00
Piotr Szczepanik
79096f034f
Updated htop with latest changes from avafinger (#2171)
- latest changes from avafinger
 - minus the flashiness
 - plus fix cpufreq meter on bigLITTLE
2020-08-31 21:55:43 +02:00
Igor Pecovnik
dc8300a638 A pack of minor fixes:
- remove Debian stretch from image creations.
- if LOCAL_MIRROR is defined use just that, not armbian upstream packages
- move aptly web server from 8080 to 80
- adjust welcome motd
- remove Ubuntu Eoan from distribution selection menu
2020-08-30 16:13:38 +02:00
Paolo
804a6b60d4
Moved rk322x-dev to rk322x-current (current now is 5.7.y) (#2153)
Adapted rk322x-dev to kernel 5.8.y
Added ssv6x5x driver to legacy kernel, rk322x-config now allows the user to select which driver load at boot
Added esp8089 kernel module, device tree overlay and detection in rk322x-config script
Fixed some indentation
Added reset button binding
Added sdcard debounce
Fixes indentation, added device tree overlay for high-leakage cpus
Added support for bluetooth device tree overlay and realtek systemd service for rk322x targets
2020-08-28 18:48:55 +02:00
1pav
4e5db96a9a
Remove superfluous newline in shell prompt (#2165)
Fixed a bug in armbian-check-first-login-reboot.sh which caused a
newline character to be prepended to the shell prompt even when a reboot
required warning was not shown to the user.
2020-08-28 18:43:54 +02:00
Igor Pecovnik
3a5b572c0f Improve multithreaded building, few changes for BUILD_ALL and removing debug code from MOTD 2020-08-18 22:31:07 +02:00
Igor Pecovnik
22ad8abfcf Set TERM to linux at first login. In some cases this prevent from seeing weird charactes in ncurses menu 2020-08-15 22:11:15 +02:00
Igor Pecovnik
0bf088ad4a Cosmetical issue - welcome is displaying "Armbian Armbian Focal"
Covering both variants
2020-08-11 18:26:02 +02:00
Aditya Prayoga
c27379e93f
Add Helios64 support (#2126)
* Add initial Helios64 configuration

Add ethernet udev rules
Added disable auto power on script during shutdown
Configure ALSA to output audio to (DisplayPort) USB type-C

armbian-firstrun: exclude helios64 from generating fixed_mac

Each network interface on Helios64 already assigned to unique MAC
address in factory. Assigning Network Manager with cloned MAC is not
needed.

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

* u-boot: rk3399: Add Helios64

Use rockchip propriettary loader

* kernel: rk3399-legacy: Update r8152 to support 2.5GbE USB RTL8156

Required for Helios64

* kernel: rk3399-legacy: update Rockchip PCIe driver

Port changes by ayufan on rockchip64.

* kernel: rk3399-legacy: Add support for Helios64

Add Helios64 device tree.
Enable missing driver/kernel module.
Auto load lm75 modules

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

* kernel: rk3399-legacy: rework roc-rk3399-pc patch

the patch broken due to additional line added by helios64 on
arch/arm64/boot/dts/rockchip/Makefile

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

* kernel: rk3399-legacy: update Rockchip PCIe driver

Backport bugfix from mainline
refer to
https://patchwork.kernel.org/patch/11561979/
and
https://patchwork.kernel.org/patch/11561977/

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

* kernel: rockchip64-current: Add support for Helios64

Add Helios64 device tree.
Enable missing driver/kernel module.

* config: helios64: use mainline ATF on current branch

and u-boot TPL/SPL instead of Rockchip proprietary loader

* helios64: u-boot v2020.07 update

* Add Helios64 target

* kernel: rk3399-legacy: update Rockchip PCIe driver

Removed unrelated changes from porting ayufan fixes

Signed-off-by: Piotr Szczepanik <piter75@gmail.com>

* helios64: make use of PACKAGE_LIST* variables

Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
2020-08-10 18:22:48 +02:00
Igor Pečovnik
6c26c35344
Add initial support for Odroid N2+ (#2130)
* Add initial support for Odroid N2+
* Update C4 config and test booting
* Updates to C4, N2, N2+
- merge C4 and N2 legacy under meson64, same u-boot
- upgrade legacy kernel to meed DTB from mainline
- merge N2 and N2+, add a hack to display + in motd when N2+ is detected
- shortly spin N2 fan at startup
- merged N2 mainline and legacy boot script
- add upstream patches
* One of the regulators were breaking booting of Odroid N2
Co-authored-by: Werner <EvilOlaf@users.noreply.github.com>
2020-08-08 17:20:00 +02:00
Piotr Szczepanik
e0686d5359 Enabled user overlays for rk3399 family 2020-08-06 22:10:29 +02:00
Igor Pečovnik
d567344278
Typo 2020-08-05 16:12:16 +02:00
Igor Pečovnik
7f6d47c575
Ask to set locales and keyboard from location (Y/n) or tell how to do it later (#2133) 2020-08-05 15:43:09 +02:00
Igor Pečovnik
36850822cd
Typo bugfix 2020-08-02 17:30:54 +02:00
Igor Pečovnik
dd96b62275
Add basic optimisations for ODROID N2 / G12b family (#2124)
Based on 5030cef51c
2020-08-02 10:14:34 +02:00
Igor Pecovnik
ad34b54d08 First login fine tunning 2020-08-02 00:53:15 +02:00
Igor Pecovnik
313d176715 Bump htop version 2020-08-01 11:07:15 +02:00
Igor Pecovnik
c909864922 Improve first login
Automate setting up console keyboard based on a user country code.
2020-08-01 09:23:30 +02:00
dagix5
eaf685381a
rk3399 - fixed irq smp affinity for usb (#2121) 2020-07-31 17:44:03 +02:00
Igor Pečovnik
425aea17b8
Bugfix - remove not needed trap
Its just a potential trap for creating all locales which can takes hours to complete.
2020-07-19 21:08:03 +02:00
Igor Pečovnik
a48877aeaa
Disable offloading on RK3399 network devices (#2079)
* Disable offloading on RK3399 network devices
* Add kernel version checking since we only need this for legacy
* Adjust / fix condition
2020-07-18 17:41:51 +02:00
Igor Pečovnik
6ce3396d2b
Root auto login at first boot, determine TZ and locales from geo location (#2081)
* enable root auto login on first boot, automatically determine timezone from geolocation
* Improve tzdata and locales detection
* Add timeouts for Curl and support for selecting more locales per location.
* Disable NetworkManager-wait-online.service
https://askubuntu.com/questions/1018576/what-does-networkmanager-wait-online-service-do
* Improve overall UX when creating new username and changing root password
- check password quality and reject if not good enough. Not very heavy.
- shorter way of adding new username
* Resolve killing inactive consoles, remove FAQ silently since we open more consoles
2020-07-17 10:38:27 +02:00
Thomas Kaiser
5030cef51c
Reverting basic optimizations for ODROID N2
Since 1a04b50674 triggered comments like 'stupid, lazy, technical criticism, dick, you vs. us' most probably it's the best to focus on Armbian's current mantra 'quantity first, quality second' (trying to provide OS images for as much SBC as possible so it's ensured none of these things can be supported properly).

Within the last 2 years nobody gave a shit about low-level optimizations except @paolosabatino when adding support for RK322X. Macchiatobin, La Frite, RockPi S, Odroid C4 and N2 are all plagued by an artificial bottleneck on `cpu0`. Other boards that were added since 2018 inherited already present optimizations more or less by accident. So let's try to be consistent and destroy N2 performance to be in sync with almost all other Armbian additions of the past few years. Shit like this https://forum.armbian.com/topic/14469-odroid-n2-single-cpu-handling-all-the-interrupts/ is Armbian's future.
2020-07-15 21:20:06 +02:00
dvanderfaeillie
1e7f6142a7
Update 30-armbian-sysinfo (#2087)
Fix for locales where the decimal separator is a 'comma'. For these systems `uptime` would output `load average: 0,06, 0,08, 0,07`. And then it would be possible for `006` to be above `critical_load`. Forcing the dot separator with `LC_ALL=C uptime` fixes this issue.
2020-07-08 20:37:58 -04:00
Thomas Kaiser
1a04b50674
Preliminary IRQ affinity settings for meson-g12b
TBD: further network tweaks and IRQ affinity settings for PCIe (other potential members of the board family like VIM3/VIM3L)
2020-06-30 08:40:59 +02:00
Igor Pečovnik
f6abcc7c85
Add most recent drivers for Realtek RTL8152/RTL8153 that supports 2.5G adapters (#2071) 2020-06-29 19:16:10 +02:00
Thomas Kaiser
99591837e3
Do silent zram switch from lzo to lzo-rle if available
Available with kernel 5.1 or above, made for ARM and being the new default. So switch silently from lzo to lzo-rle if possible to benefit from better performance:

https://www.phoronix.com/scan.php?page=news_item&px=ZRAM-Linux-5.1-Better-Perform
2020-06-29 08:41:56 +02:00
Piotr Szczepanik
dc1b17aeac Enable ROCK Pi S overlays support in armbian-add-overlay 2020-06-28 22:18:27 +02:00
Igor Pečovnik
7d758026b5
Enable kernel boot splash, env and bootscript files cleanup, upstream patches (#2065)
* Initial commit for kernel boot splash
* Add startup files to disable bootlog when system is up / down
* Update logo, remove deprecated one
* Introduce new u-boot variable bootlogo
* Adjust kernel config
* Make logo possible on Odroid XU4
- add legacy and current upstream patches
- delete xu4 environment since its not used
* Cleanup C2,C4, both tested, logo works on mainline,
- adding legacy upstream patches for c4
* Enable bootlogo by default on Odroid N2
* Enable logo on RK3399 desktop images
* Cleanup the rest of the environment files
* Add initrd hook that copy splash file to initrd.
* Missing logo bits for one boot scripts
* Enable boot logo on Pinebook A64
* Enable bootlogo on Teres
* Update config
2020-06-27 19:14:38 +02:00
Piotr Szczepanik
b467e567cc
Fix filesystem resize for small media (#2046)
* Reserve 5% spare on small media instead of 200MiB
* Measure the resize success by used percent and not free space
2020-06-27 14:13:33 +02:00
Werner
dce1101ba2
Remove unneeded code (#2003)
There is no *default* branch anymore...
2020-06-23 11:52:29 +02:00
Piotr Szczepanik
e0bb0f294f
Allow install to SD NAND for ROCK Pi S (#2045) 2020-06-20 22:34:28 +02:00
Paolo
e0e77fc8b1
Restored missing OPTEE blob for rk322x targets (#2043) 2020-06-20 17:12:00 +02:00
Paolo
23604e8a0d
Introducing Rockchip RK322X SoC support (#2032)
* Introducing Rockchip rk322x SoC support

Main features:

- Legacy kernel flavour based upon stable v2.x rk3288 Rockchip branch (https://github.com/rockchip-linux/kernel/tree/stable-4.4-rk3288-linux-v2.x)
- Current kernel flavour based on mainline 5.6.y kernel
- Mainline u-boot (v2020.04)
- Single generic tv box target (rk322x-box) which boots on all the known tv boxes
- Hardware devices (eMMC/NAND, led wiring configuration, SoC variant selection) modulation done by user at runtime via device tree overlays - a script (rk322x-config) is provided for autodetection and simple configuration by inexperienced users;
- Bits added to armbian-hardware-optimization to set affinity for irq handlers
- rk322x-box targets already added to targets.conf for automatic image creation

* Removed disabled patches
* Restored mysteriously removed comment character
2020-06-19 17:27:27 +02:00
Muhammed YILDIRIM
d7a05b5781
sed regexp fix (#1984)
This definitely needs to change only `/var/log/`, not every `log` folder.
2020-05-25 19:21:53 +02:00
Igor Pečovnik
e5876ba032
Adjust hostapd patches to apply without errors (#1985)
* Adjust hostapd patches to apply without errors
* Cleanup FUZZ from patch
* Fix patch
* Disable broken feature
2020-05-24 20:31:27 +02:00
Igor Pečovnik
99f6bef7de
Attach Meson64 CURRENT to 5.6.y and make DEV = CURRENT at this point. (#1956)
* Attach Meson64 CURRENT to 5.6.y and make DEV = CURRENT at this point.

There is a lot of changes to 5.7.y and can be done after release or by someone that feels a need for this right now.

* Delete meson64_fclk_div3.patch

this fix has been upstream for some time, I had issues with it on 5.4, which is why it had been removed there.

* [ meson64 current ] kconfig tweak

disable Rockchip SoC drivers

* [ meson64 current ] remove rockchip patches

* [ meson64 current ] disable CMA patch GX

* [ meson64 current] add libretech cc audio patch

This brings the dts even with the khilman 5.8/integ branch which includes all of the audio changes.  The kernel is registering audio devices, however nothing comes out.  committed in case someone wants to spend time debugging/testing theories.

* fix permissions

was editing from another machine, accidental change of permissions in the patch

* Set default mixer settings

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

* [ meson64 current ] GXL audio commit

This moves to the mainline patches and covers le potato and la frite.  Adjusted asound config to handle a commonized sound card name.

* [ meson64 current ] add gxbb audio WIP

Playback is too fast, a clock setting is off somewhere.

* Update kernel configs

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

Co-authored-by: Tony <tonymckahan@gmail.com>
2020-05-22 00:17:08 +02:00
xwiggen
301414a71e
Add ZeroPi IRQ balancing (#1976) 2020-05-20 13:16:57 +02:00
xwiggen
b9ce4ef4c4
Fix sed: no input files when all logrotate.d items contain compress option (#1970) 2020-05-18 22:57:00 +02:00
Piotr Szczepanik
40a3d4ecb9
Fixed rt5651 codec probing after its driver was changed to module (#1969) 2020-05-17 18:42:24 +02:00
Gauthier Provost
e3dd8abedb
[ mvebu ] Switch fake-hwclock to hardware RTC AR-159 (#1946)
* [ mvebu ] Switch fake-hwclock to hardware RTC AR-159

* remove fake-hwclock dpkg
* tweak /lib/udev/hwclock-set to be executed even if systemd present
* move helios4 bsp file under mvebu folder for tidiness
2020-05-13 11:44:44 +08:00
Igor Pecovnik
1d2f00ee98
Hostapd packages verision bump
Fixing wrongly uploaded package

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-11 19:14:08 +02:00
Piotr Szczepanik
1535f9d2ae
Switched NanoPi R2S to mainline u-boot (#1940) 2020-05-05 21:20:31 +02:00
useful64
b37d63a481
Enable user overlays on rockchip64 based boards (#1931)
User overlays are working fine on this boards (I have already tested on rock64).
Added the possibility to use on rockchip64 based boards.
Changed "if" to "case" to facilitate adding more supported boards.
2020-05-01 08:57:01 +02:00
lsartory
af68daf739
Fix the 2GB 2CS Espressobin bootloader config (#1925)
The 2 CS 2 GB image was compiled with the same DDR topology parameter as the 2 CS 1 GB image (DDR_TOPOLOGY=2).
This prevented the system from accessing more than 1 GB of memory.

See
https://forum.armbian.com/topic/13672-espressobin-only-1-gb-ram-detected-on-a-2-gb-board/
for the whole history.
2020-04-27 19:30:13 +02:00
michlv
ce7dec8719
Truncate logs: add -r to xargs to suppress calling with no arguments (#1889) 2020-04-17 21:14:40 +02:00
Igor Pečovnik
d359596da1
Set fixed MAC for Nanopi R2S (#1893)
Needed to avoid changing IP on reboot

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-17 09:10:57 +02:00
Igor Pecovnik
2f389a6cb6
ZRAM Journal bugfix
Limit journal size Closes: https://github.com/armbian/build/issues/1843

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-03-25 16:35:55 +01:00
Igor Pecovnik
87cc79726f
Bugfix
Fix file permission

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-03-25 13:52:20 +01:00
Ash
4bdf9cb8bd
Add lighttpd entries to armbian-ramlog (#1853) 2020-03-22 16:22:43 +01:00
Igor Pecovnik
3a7340594c
[ general ] Typo
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-03-12 14:54:40 +01:00
Igor Pečovnik
a0e009a73e
WIP: Add initial support for FriendlyARM Nanopi R2S (#1793)
* Add initial support for FriendlyARM Nanopi R2s

One net port not working yet.

* Enable 2nd network, rename it to lan0, adjust motd to see lan*

* Added rk3328 dmc devfreq driver

* Fixed SD card issues for NanoPi R2s

* Added usb serial gadget console for NanoPi R2s

Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
2020-03-09 00:03:27 +01:00
robstroess
49f104bf9e
Update 30-armbian-sysinfo (#1829) 2020-03-03 23:45:45 +01:00
Harry Moyes
310f5374cc
Update 41-armbian-config (#1806)
This file is inconsistent with the rest of the files in this set. The description in the file /etc/defaults/armbian-motd says that you can block sections of the generate motd  thus:
# add space-separated list of MOTD script names (without number) to exclude them from MOTD
# Example:
# MOTD_DISABLE="header tips updates"
#
This presently fails for this file, you need to add  "armbian-config" to the MOTD_DISABLE list to block it.

Matching the style of the THIS_SCRIPT name in this file, to the other files in the set, removes this inconsistency. I've found no unexpected behavior after making the change.
2020-02-22 23:59:07 +01:00
chwe17
3b3d46ca7f update boot binary to BPI-R2-preloader-2k.img to fix:
https://forum.armbian.com/topic/12834-banana-pi-r2-stuck-on-first-boot/?tab=comments#comment-95681
2020-02-20 01:32:23 +01:00
Igor Pecovnik
3e9f46d3cd Few last bug fixes 2020-02-17 01:52:08 +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
bdba55a74f
Fixes htop package building under Ubuntu Focal (#1783) 2020-02-06 22:32:14 +01:00
Igor Pečovnik
0ca5a8dd29
Bugfix - Network manager randomizing MAC (#1780) 2020-02-04 18:25:30 +01:00
Igor Pecovnik
bfdedeee11 Cosmetic fix. Wrong coloring on welcome screen. 2020-02-04 15:57:49 +01:00
Igor Pecovnik
55481fad87 Update MOTD warnings and add to read also distribution support status. 2020-02-02 11:58:29 +01:00
Igor Pečovnik
6da5760a5a
Display warning at login prompt if image is nightly, self-built, wip or csc (#1776) 2020-02-02 10:29:00 +01:00
Igor Pečovnik
13d250b675
Fix perl warnings on Debian Buster (#1777)
* Fix perl warnings at apt update
2020-02-02 10:27:56 +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
tonymac32
08f46f3241 [ rockchi64 ] Add xorg.conf to Pinebook Pro 2020-01-18 22:28:33 -05:00
Igor Pecovnik
aa42d5f453
Cosmetical: disabling DEBUG on EXT4 which is disabled everywhere, but on two remaining kernels. Also disable erros if files not found in armbian-truncate 2020-01-03 00:55:54 +01:00
Werner
21b2f6cf5b Script does not properly stop on network issue (#1706)
Fixes https://forum.armbian.com/topic/12579-opi-stuck-after-restart-cant-connect-to-network/
2020-01-01 20:48:40 +01:00
Roman Ondráček
faa9a74719
Truncate logs: keep log files ownership
Signed-off-by: Roman Ondráček <ondracek.roman@centrum.cz>
2019-12-27 22:58:49 +01:00
gdm85
c819b385df Have systemd-journald start after armbian-ramlog (#1627)
Prevents log entries to be exclusively logged to /var/log/syslog
2019-12-22 09:16:35 +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
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
130c23c503 Adjust motd to work properly also on Debian bullseye 2019-12-13 20:16:48 +01:00
Igor Pecovnik
8df3e98401 Add Debian 11 bullseye 2019-12-13 20:01:00 +01:00
Igor Pecovnik
1351bdfe3f Espressobin: add missing/corrected RAM topology 2019-12-13 07:53:48 +01:00
Karabek
7d7daa7390
armbian-add-overlay: fixed for non-dev-branches
Current version only allows user-added overlays for 'dev' kernels. Excluding 'legacy' kernels should not be necessary anymore since <4 kernels are not supported anymore.
2019-12-04 15:41:33 +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
V33m
85080ff373 Update armbian-ramlog (#1620)
Prevent hard disk drive spin-up.
2019-11-11 23:17:14 +01:00
Bot Fap
3e149d2fa9
Prevent rotated .xz logs from being loaded to ramlog 2019-10-08 13:09:10 +01:00
Averell7
d999875cb5
Remove --delete from syncToDisk 2019-10-08 02:51:47 +02:00
Averell7
51ee63978f
Modify logrotate.service
Create a modified logrotate.service to improve armbian-ramlog.
See discussion here
https://github.com/armbian/build/issues/1582
2019-10-07 19:44:18 +02:00
Averell7
62e6febab8
add postrotate to ramlog
Improve armbian-ramlog. See discussion here :
https://github.com/armbian/build/issues/1582
2019-10-07 19:29:17 +02:00
Gauthier Provost
031a6350ae
[ Helios4 ] Fix systemctl WoL unit file to work with NetworkManager 2019-09-02 17:28:17 +08: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
5kft
f89703360e nand-sata-install: mkfs.f2fs needs "force" option in case target has an existing filesystem 2019-08-17 07:39:11 -07: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 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
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
Igor Pecovnik
abd3b20696
odroidc1: set fixed mac address at first boot 2019-07-25 16:27:17 +02:00
Piotr Szczepanik
9b10c1c1f3 Added avafinger's and Igor's patches for cpu monitoring in htop (#1466) 2019-07-24 09:15:03 -04:00
Thomas Kaiser
443b460ad8
Better check for /tmp being a tmpfs. Closes #1473 2019-07-23 17:05:55 +02:00
Igor Pečovnik
4acb3795d6
imx6: make all u-boot targets, fix 4.14.y, remove unfunctional BT patch, enable DEV branch ... all variants tested (#1438)
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-01 07:21:17 +02:00
zhangn1985
cf40c549ac extra firmware: check USE_MAINLINE_GOOGLE_MIRROR (#1427)
if users want to use google mirror for mainline linux, then he/she has
same reason to use google miiror for linux firmware.

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-06-26 07:10:26 -04:00
Igor Pečovnik
4a3ca5e075
Cosmetics
Suppress console error for A20 boards that can have battery but its not detected
2019-06-25 10:12:57 +02:00
Gauthier Provost
3ebd38e86a [ helios4 ] add custom armbian-motd to change temp threshold in motd 2019-06-22 12:33:19 +08:00
Gauthier Provost
44189b87a1 [ general ] Make motd warning threshold temperature customizable
If required default warning threshold temperature, which is 45C for CPU and 40C for Ambiant, can be overwrite in /etc/default/armbian-motd by setting values

* CPU_TEMP_LIMIT=
* AMB_TEMP_LIMIT=
2019-06-22 12:28:14 +08:00
Gauthier Provost
b3dd4e9d9b [ mvebu ] Put back Armada temperature tweak in motd 2019-06-22 11:53:37 +08:00
Igor Pečovnik
141ac0f7cd Bugfix: check LOG_TYPE only at script start (#1417)
Only at start of the service since checking spins up attached mechanical drives and we don't want that. https://forum.armbian.com/topic/10406-armbian-ramlog-spin-up-all-hdds-once-every-day/
2019-06-17 07:25:01 +02:00
Igor Pecovnik
12fd79bcc7
Show warning when image is compiled from DEV branch.
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-06-14 21:33:42 +02:00
Igor Pecovnik
858ff1d47b
Debian Buster desktop making bugfix/workaround https://bugs.debian.org/cgi-bin/bugreport.cgi\?bug\=923289 2019-06-14 20:17:25 +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
d172d37dd8 [ rk3399 bluetooth ] Fixed and tested on Rockpi4, NanopiM4, Orangepi RK3399 2019-06-09 17:15:02 +02:00
Igor Pecovnik
c936995b61 [ rockpi-4b ] Enable Bluetooth 2019-06-09 09:23:15 +02:00
Thomas McKahan
ad2588ede2 [ rockchip next ] improve ALSA config
https://github.com/armbian/build/issues/1367
2019-06-09 00:18:58 -04:00
Igor Pečovnik
5473fe28d8
Soft video playback on full screen
https://github.com/armbian/build/pull/1379
2019-05-23 21:30:24 +02:00
Igor Pečovnik
7a58184037
Merge pull request #1381 from OLIMEX/fix_hardware_optimization
Fix block iosched for kernel 4.20
2019-05-23 21:28:13 +02:00
Stefan Mavrodiev
20c4209a3b Add rootdev= to armbianEnv if missing 2019-05-23 13:27:50 +03:00
Stefan Mavrodiev
4450e3a037 Fix block iosched for kernel 4.20 2019-05-23 11:16:18 +03:00
Igor Pecovnik
6abbb74cbc [ general ] Unattended upgrades are disabled by default. This commit gives only sane startup pattern if one wish to enable this feature. Perhaps toggle once lands in armbian-config 2019-05-20 20:03:29 +02:00
Igor Pečovnik
70dc1c1b2f
Cosmetical
Exclude also when syncing to disk
2019-05-20 14:07:48 +02:00
Igor Pečovnik
6429ea8d63
Cosmetical
We don't need to sync this and in some cases it throws out warnings
2019-05-20 12:46:07 +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
may
80adf4aded [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.
2019-05-15 17:33:23 +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 Pečovnik
cde51f556a
Merge pull request #1370 from wtfo-guru/fix_truncate_logs
added missing mail logs, and firewalld log
2019-05-14 18:29:21 +02:00
Quien Sabe
d3257d247c added missing mail logs, and firewalld log 2019-05-14 09:35:53 -04:00
Igor Pečovnik
f67464e03f
Show 1-wire in motd only if declared
in /etc/default/armbian-motd
2019-05-14 15:27:14 +02:00
Igor Pečovnik
a5fba366ce
Update armbian-motd.dpkg-dist 2019-05-14 15:25:49 +02:00
Igor Pečovnik
b88d999b3b
Tiny improvements 2019-05-14 14:13:37 +02:00
Igor Pečovnik
86b8fac8ef
Small improvements
for not showing errors when w1 is enabled but device not present
2019-05-14 12:24:43 +02:00