Commit Graph

904 Commits

Author SHA1 Message Date
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