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
- 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
* 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
* 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>
* 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
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
* 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
* 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
* 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]
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>
* 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.
* 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>
* 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>
* 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>
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.
* 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