Igor Pecovnik
00674806d5
Fix ZRAM service due to parameter deprecation in mkfs > 2.40.1 (Trixe / Plucky)
2025-04-19 13:16:47 +02:00
Igor Pecovnik
a0c35c73a6
Add support for MOTD logo colors
...
- we might want to have different welcome colors for stable and nightly images
- this adds another branding option alongside with VENDOR, VENDORURL, VENDORSUPPORT, ...
2025-03-28 12:36:52 +01:00
Milivoje Legenovic
8f1b441dfc
Fixed errors and warnings found in journald
2025-03-27 14:43:40 +01:00
Martin Schmiedel
d19cc80175
armbian-firstlogin: remove superfluous break
...
fix: /usr/lib/armbian/armbian-firstlogin: line 406:
break: only meaningful in a `for', `while', or `until' loop
Signed-off-by: Martin Schmiedel <Martin.Schmiedel@tq-group.com>
2025-03-27 14:43:17 +01:00
Igor Pecovnik
56b773cf8a
ZRAM config: suppress errors when kernel support is not there
2025-03-27 12:50:03 +01:00
Igor Pecovnik
dea159a596
Introduce HIDE_LOCAL_IPV6 which removes all local ipv6 addressed from display
2025-03-23 20:54:12 +01:00
Igor Pecovnik
1ee5216a69
Remove duplication of IP addresses and fix display style
2025-03-23 20:54:12 +01:00
userful64
1aca28571b
Fix IPv4 and IPv6 output in Armbian welcome MOTD
2025-03-23 20:54:12 +01:00
Ian Goodacre
288e5216bc
Allow NetworkManager and systemd-networkd
...
While it is unusual to run both NetworkManager and systemd-networkd
simultaneiously and doing so can cause startup problems, there is
nothing inherently wrong with doing so: the services are not
incompatible and some people run both, each managing different
interfaces.
The Armbian build framework enables one or the other but not both.
Therefore, if both are enabled at first login, it is probably because
the user has manually modified the image. In this case, trust that the
user knows what they are doing and don't disable one of them.
2025-03-18 13:20:26 +01:00
Igor Pecovnik
a3dd3f97f8
Drop fastfetch alias - it only make troubles
2025-03-17 18:36:11 +01:00
Ian Goodacre
36c4b913e3
Always disable systemd-networkd if both managers enabled
...
NetworkManager and systemd-networkd should never both be enabled
at the same time. In this case, disable systemd-networkd, with
message to the user that this is being done.
2025-03-16 11:53:30 +01:00
Ian Goodacre
28df43da15
Improve armbian-firstlogin script
...
Avoid waiting for the NetworkManager-wait-online or
systemd-networkd-wait-online service to complete in the midst of
prompting for root account password.
2025-03-16 11:53:30 +01:00
FantasyGmm
0ccbe8bcc7
Update Odin2 Config
2025-03-15 10:29:56 +01:00
FantasyGmm
5bf962afa0
Remove Xiaomi umi Support
2025-03-10 16:50:49 +08:00
Igor Pecovnik
7f32a58535
Enable wait-online.service in firstlogin config
...
Reasoning: https://github.com/armbian/build/issues/7896
2025-03-07 19:50:26 +01:00
Igor
bc331a6d82
Update packages/bsp/common/etc/update-motd.d/10-armbian-header
...
Co-authored-by: Fridtjof Mund <fridtjof@das-labor.org>
2025-02-20 06:58:38 +01:00
Igor Pecovnik
3981d58bba
Raspberry Pi family: read motd board name from /proc/cpuinfo
...
- also adjust hostname if they are Armbian defaults
- drop rpi5b build config as they all run with one image
2025-02-20 06:58:38 +01:00
Igor Pecovnik
d96e0486b8
Show running Docker containers in the MOTD
2025-02-08 23:10:00 +01:00
Igor Pecovnik
287853f460
UX / cosmetics: MOTD ip display needs some limiting
...
- switch MOTD download to new central location https://github.armbian.com/
- move cronjob for MOTD download from weekly to daily
- change mord defaults, remove clear from defaults
2025-02-08 23:10:00 +01:00
Thorsten Maerz
a8abed8d46
firstlogin: bring up wifi device before scanning
...
Scanning accesspoints requires an activated wifi device.
Networkd does not activate it (only NetworkManager does so).
As a result, firstlogin is not able to configure and use wifi on minimal
images, as only Server and Desktop images have NetworkManeger installed.
Activating the wifi device using "ip link set ${WIFI_DEVICE} up" before
scanning fixes this.
(And can safely be done - there is no problem activating it multiple
times, as it is the case with NetworkManager installed.)
2025-02-08 19:38:37 +01:00
Paolo Sabatino
da577fe003
rockchip: fix ASUS Tinkerboard pulseaudio config
2025-02-07 22:08:34 +01:00
Uladzimir Bely
12d6d070ba
Limit curl execution time to 2s to find WAN IP
...
Option "--connect-timeout" used to determine external IP covers only
connection phase. Curl may "hans" in a different phase and this makes
login to the system impossible if MOTD "header" module enabled.
Using "--max-time" is more reliable and prevents hanging for hours.
Fixes issue https://github.com/armbian/build/issues/7753
Signed-off-by: Uladzimir Bely <wiselord1983@gmail.com>
2025-01-27 14:51:33 +01:00
Igor Pecovnik
bb02c3b951
Firstlogin: run provision script if it does exists
...
- fixing motd setting executing bit at wrong place
- when setting fixed address with 1st run, remove DHCP on all lan networks
2025-01-12 20:52:08 +01:00
Igor Pecovnik
dfe55bce0b
UEFI: bugfix generation EFI partition
2025-01-11 21:52:15 +01:00
amazingfate
b0b01407ad
sm8250: add dropbear and usb gadget network into initramfs
2025-01-07 10:12:50 +01:00
amazingfate
90e8f74515
usbgaget-network: toggle to NCM and run inside initramfs
...
NCM has advantages over RNDIS and postmarketOS has toggled
to it 2 years ago. And I have tested it can work with common
linux and window10.
I also made some changes to let this script run inside intramfs.
And the systemd service can run well after rootfs is loaded.
2025-01-07 10:12:50 +01:00
JohnTheCoolingFan
cbfa3f8376
Add neofetch to fastfetch alias
2024-12-18 22:58:43 +03:00
Paolo Sabatino
4ede989f2c
rockchip: fix asound.conf for rk322x-box and xt-q8l-v10 boards
...
sound node in device trees have been migrated to audio-graph-card2
to overcome limitations and configuration mayhems in ALSA userland
libraries
2024-12-05 00:22:27 +01:00
Teguh Sobirin
fd2049271f
Add Retroid Pocket RP5 and RPMini configuration
2024-11-29 11:34:04 +08:00
brentr
a1fa6649e0
Reduce the size of the CMA to 16MB ( #7522 )
...
also include the tiny fixMACaddress script in the S0 image to assign end0 MAC address from CPU serial #in case running U-Boot earlier than 2024.10
2024-11-28 11:39:33 -08:00
Werner
9e6ef2c3d5
Add another paste server
...
Because we can...and because its been there for a while and seems to just work
2024-11-25 11:32:56 +01:00
Igor
6148907595
Improvements and bug fixes to Armbian user-space services ( #6840 )
...
* Add a list of BASH shell aliases and merge them with ohmyZSH aliases
* Add command armbian-upgrade to the BSP which executes update + upgrade
* Display armbian-upgrade only if there are upgrades
* Generate empty folder where will store data. This doesn't exists at early start
* Move armbian-install to /usr/bin and autoexecute sudo
2024-11-18 19:12:52 +01:00
Ricardo Pardini
d66285dceb
armbianmonitor: call curl with --fail flag so server 400/500 errors actually trigger a retry
...
- otherwise, curl thinks a 4xx or 5xx error is perfectly acceptable. who knew?
2024-11-17 14:33:26 +01:00
Werner
fb261bb49b
fix iostat on MINIMAL
...
`MINIMAL` do not have `iostat` so suppress the error occurring when doing `armbianmonitor -u` on such systems.
2024-11-09 21:05:49 +01:00
Igor Pecovnik
0397a2492d
MOTD: declutter list of commands in motd. Everything starts with armbian-config
2024-11-07 09:18:07 +01:00
Igor Pecovnik
cc704f49a6
Cosmetic bugfix - we need to limit grep to match first character only
...
Without this, we grep upgrade options too and this fill give wrong information
2024-11-05 16:34:41 +01:00
Igor Pecovnik
01218eefa4
UX bugfix: on first run we display some warnings if userspace is unsupported. It broke down.
...
Since expanding distribution status with upgrade target, this condition stop working
Related: https://github.com/armbian/build/pull/7303
2024-11-03 17:43:02 +01:00
Igor Pecovnik
eab612e2a7
Firstlogin automation - add support for SSH key download
...
- allow automation in interactive mode too. Currently disabled for no apparent reason.
2024-10-22 13:04:11 +02:00
amazingfate
905546279f
xiaomi-elish: add hexagonrpc service to fix kernel crash
2024-10-22 13:02:03 +02:00
amazingfate
6643dbaf1a
add new device OnePlus 8T
2024-10-18 10:52:59 +02:00
Alex Shumsky
73d521da42
ramlog: remove obsolete nocache; fixes #6890
2024-10-15 15:56:55 +02:00
Patrick Yavitz
e729002a89
BananaPi BPI-M4-Zero: Update BRCM wireless firmware
...
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-10-09 14:58:56 -04:00
Igor Pecovnik
c0a2278f8c
MOTD: display hostapd parameters if AP is in operation
2024-10-09 19:51:58 +02:00
Paolo
2960ffaff2
avoid binary led parameters, better handle :link triggers ( #7337 )
2024-10-06 12:22:45 +02:00
Paolo Sabatino
8b9fd1507e
[rockchip64] add tm16xx led driver for display panels
2024-10-05 19:07:58 +02:00
SuperKali
be47af9a16
Formatting from spaces to tabs
2024-10-05 12:27:14 +02:00
SuperKali
8d2f719a25
Revert default hide interfaces
2024-10-05 12:27:14 +02:00
SuperKali
47029b7830
Improvement: Update MOTD to include IPv6 addresses (local) and exclude specified interfaces by default
...
- Added functionality to display local IPv6 addresses in the MOTD.
- Default behavior now excludes interfaces matching 'br-*' and 'veth'.
2024-10-05 12:27:14 +02:00
Patrick Yavitz
3062f3c8f4
BananaPi BPI-M4-Zero: add upstream WiFi and BT firmware
...
I didn't add this to armbian/firmware as it might not play nice
with other peoples units.
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-10-05 12:26:51 +02:00
Ian Leung
9063695a9e
Orange Pi 3B: Vendor: Enable audio via headphone jack
2024-10-04 07:20:38 +02:00
Igor Pecovnik
d5531824f5
Switch from wireless-tools in disabling power management
2024-09-30 18:39:23 +02:00
Igor Pecovnik
140ea243fc
Replace wireless-tools app with iw in armbian-first-login
2024-09-30 18:39:23 +02:00
Igor Pecovnik
db76bcef4f
Additional cosmetic fixes to MOTD
...
- move reading ip address to header
- add distro upgrade info
2024-09-29 19:04:19 +02:00
Gunjan Gupta
31e88922ad
Fix connecting to wifi networks where SSID contains a space or comma
2024-09-25 13:02:53 +02:00
SuperKali
5bd697b452
Add timeout on check wan address on motd ( #7297 )
...
* add timeout on get_wan_address
2024-09-25 13:02:37 +02:00
Igor Pecovnik
21a1628e02
Bugfix: xradio wireless stopped working if those files were removed.
2024-09-24 09:58:11 +02:00
Igor Pecovnik
17e1af68cf
UX: cosmetic improvements on motd and armbian-install
2024-09-18 16:31:46 +02:00
Igor Pecovnik
c6a0cd50a8
Cosmetic / UX: Display VENDORPRETTYNAME instead of VENDOR on 1st welcome screen
...
If defined
2024-09-17 06:54:42 +02:00
Ian Leung
9d4edaeb61
Orange Pi 3B: Update board config to support v2.1 boards
2024-09-16 13:17:14 +02:00
David Andreoletti
f145fc2af2
armbian-firstrun: Optionally skip OpenSSH host key regeneration
2024-09-15 11:42:29 +02:00
Igor Pecovnik
baf99a7c83
Userspace: add information about read only rootfs feature
2024-09-15 11:42:19 +02:00
Igor Pecovnik
f6e950ffc2
MOTD: fix error when traffic info is enabled
2024-09-15 11:41:30 +02:00
Igor Pecovnik
170d302e64
MOTD: display rolling release instead of 0.trunk.$number ... this info doesn't need to be here
2024-09-08 17:43:14 +02:00
Igor Pecovnik
399566c795
Add screen clearing routine and improve commands display
2024-09-08 17:43:14 +02:00
Igor Pecovnik
e7f9632c1f
When using CLI / minimal image, lets show motd right after initial config is done
2024-09-08 17:43:14 +02:00
Igor Pecovnik
f6fc070be9
Improve motd command listing to show existing or hides the element if nothing exists
2024-09-08 17:43:14 +02:00
Igor Pecovnik
8046b23e73
Hide hassio interface from showing in the armbian motd
2024-09-08 17:43:14 +02:00
Igor Pecovnik
d81d52ba97
Cosmetic adjustement of profile.d scripts to align with motd
2024-09-03 22:02:47 +02:00
Igor Pecovnik
0afe5ec2dc
Refactor welcome screen to improve user experience
2024-09-03 22:02:47 +02:00
Igor Pecovnik
350da61ef2
Mesa extentsion: adjust KDE related troubles with packages downgrade
...
- one is actually general fix - recommened installation of library before installing rockchip-multimedia
- second is holding package before running upgrade as it wants to pull older library from kde repositories
- remove KDE Neon base files upgrade pin
2024-08-17 17:33:28 +02:00
Alex
1e7b704c84
disable saving state for invalid leds brought up in latest kernels ( #7062 )
...
* disable saving state for invalid leds brought up in latest kernels
lrwxrwxrwx 1 root root 0 11 ago 14.44 enP1p1s0-0::lan -> ../../devices/platform/3c0400000.pcie/pci0001:00/0001:00:00.0/0001:01:00.0/net/lan/enP1p1s0-0::lan
lrwxrwxrwx 1 root root 0 11 ago 14.44 enP1p1s0-1::lan -> ../../devices/platform/3c0400000.pcie/pci0001:00/0001:00:00.0/0001:01:00.0/net/lan/enP1p1s0-1::lan
lrwxrwxrwx 1 root root 0 11 ago 14.44 enP1p1s0-2::lan -> ../../devices/platform/3c0400000.pcie/pci0001:00/0001:00:00.0/0001:01:00.0/net/lan/enP1p1s0-2::lan
lrwxrwxrwx 1 root root 0 11 ago 14.44 enP1p1s0-3::lan -> ../../devices/platform/3c0400000.pcie/pci0001:00/0001:00:00.0/0001:01:00.0/net/lan/enP1p1s0-3::lan
lrwxrwxrwx 1 root root 0 11 ago 14.44 enP2p1s0-0::lan -> ../../devices/platform/3c0800000.pcie/pci0002:00/0002:00:00.0/0002:01:00.0/net/wan/enP2p1s0-0::lan
lrwxrwxrwx 1 root root 0 11 ago 14.44 enP2p1s0-1::lan -> ../../devices/platform/3c0800000.pcie/pci0002:00/0002:00:00.0/0002:01:00.0/net/wan/enP2p1s0-1::lan
lrwxrwxrwx 1 root root 0 11 ago 14.44 enP2p1s0-2::lan -> ../../devices/platform/3c0800000.pcie/pci0002:00/0002:00:00.0/0002:01:00.0/net/wan/enP2p1s0-2::lan
lrwxrwxrwx 1 root root 0 11 ago 14.44 enP2p1s0-3::lan -> ../../devices/platform/3c0800000.pcie/pci0002:00/0002:00:00.0/0002:01:00.0/net/wan/enP2p1s0-3::lan
These leds are not manageable and when restored trow up errors in kernel ring buffer
[ 13.964507] leds enP1p1s0-0::lan: Setting an LED's brightness failed (-524)
[ 13.989055] leds enP1p1s0-0::lan: Setting an LED's brightness failed (-524)
[ 13.989100] leds enP1p1s0-1::lan: Setting an LED's brightness failed (-524)
[ 14.021133] leds enP1p1s0-1::lan: Setting an LED's brightness failed (-524)
[ 14.021176] leds enP1p1s0-2::lan: Setting an LED's brightness failed (-524)
[ 14.070622] leds enP1p1s0-2::lan: Setting an LED's brightness failed (-524)
[ 14.073070] leds enP1p1s0-3::lan: Setting an LED's brightness failed (-524)
[ 14.097028] leds enP1p1s0-3::lan: Setting an LED's brightness failed (-524)
[ 14.097066] leds enP2p1s0-0::lan: Setting an LED's brightness failed (-524)
[ 14.132938] leds enP2p1s0-0::lan: Setting an LED's brightness failed (-524)
[ 14.132982] leds enP2p1s0-1::lan: Setting an LED's brightness failed (-524)
[ 14.154556] leds enP2p1s0-1::lan: Setting an LED's brightness failed (-524)
[ 14.157496] leds enP2p1s0-2::lan: Setting an LED's brightness failed (-524)
[ 14.197328] leds enP2p1s0-2::lan: Setting an LED's brightness failed (-524)
[ 14.197371] leds enP2p1s0-3::lan: Setting an LED's brightness failed (-524)
[ 14.214507] leds enP2p1s0-3::lan: Setting an LED's brightness failed (-524)
* fix basename path
2024-08-12 10:45:11 +02:00
Igor Pecovnik
8ea1a4df1b
Set fixed mac addresses
2024-08-05 09:38:22 +02:00
The-going
8797b2371b
shellcheck: SC2070 (error): -n doesn't work with unquoted arguments.
2024-08-04 21:24:46 +02:00
The-going
70686a11a9
bsp: armbian-install: fix the search for eMMC and SD card devices
...
On different boards, eMMC and SDcard memory devices can have
numbers 0, 1, 2 in any sequence.
SDcard -> 0; eMMC -> 2
SDcard -> 2; eMMC -> 0
SDcard -> 0; eMMC -> 1
eMMC has additional physical partitions such as *boot0,
*boot1 and others.
Use this attribute for unambiguous identification.
Print the type and name of the memory device in the message
to the user.
2024-08-04 21:24:46 +02:00
Igor Pecovnik
1632cf6905
Enable fixed MAC settings for Nanopi R6 series and supress iozone related error
2024-08-04 14:07:42 +02:00
Igor Pecovnik
2aff2c8e5c
Add support for wan and lan nic names when setting random mac with NetPlan
2024-08-04 14:07:42 +02:00
Gunjan Gupta
24d1ddce69
Meson-s4t7: update required modules to match fenix
2024-07-30 15:39:34 +02:00
amazingfate
0579edc21e
add chromium v4l2 decoder udev rule for rk3328 hantro decoder
2024-07-28 14:35:34 +08:00
The-going
648bdea785
armbian-install: Display real devices in the selection message.
2024-07-24 14:05:26 +02:00
The-going
af7b254bb2
armbian-install: EMMC: find real mmcblk device numbered 0, 1, 2
...
find the eMMC real mmcblk device numbered 0, 1, 2 and
inform the user about it in a message.
Item 6 of the selection menu will be visible if only
one device is found
2024-07-24 14:05:26 +02:00
Viacheslav Bocharov
79de940a20
JetHome: Update bsp: fix jethub-init to support /etc/defaults
2024-07-19 15:45:11 +03:00
Jack Thomasson
e7b0c3fb4e
firstlogin: quote values if space is legal ( #6942 )
2024-07-14 07:37:25 +02:00
Viacheslav Bocharov
b739dfdf6b
Fix armbian-firstrun service not disabled on start.
...
Fixes: 7b33243c27
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2024-07-11 11:53:15 +03:00
ColorfulRhino
0e0656125d
mt7623: Bump legacy 4.19 to current 6.6 kernel
...
NB: This family only has one board (BananaPi R2) and has not been properly maintained in many years, so 'current' LTS kernel is enough.
No need for 'edge' kernel unless someone plans to step in as maintainer who bumps and tests it on every new kernel release.
- Adjust BananaPi R2 board config (board is mainlined)
- Remove legacy kernel patch folder and kernel config
- Remove unstable WiFi stuff
2024-07-09 18:04:21 +03:00
ColorfulRhino
d638276fcc
partitioning: Reduce commit mount option for btrfs and ext4 to 120
...
Mount option `commit=600` (=10 minutes) seems pretty high.
Reduce it to 120 for ext4 (default for ext4 is `commit=5`)
and 120 for btrfs (default for btrfs is `commit=30`) to reduce
risk of losing data on power loss.
Sources:
- https://www.kernel.org/doc/html/latest/admin-guide/ext4.html
- https://wiki.archlinux.org/title/Btrfs#Commit_interval
- https://btrfs.readthedocs.io/en/latest/Administration.html
2024-07-09 11:31:51 +02:00
Igor Pecovnik
a2f9e1f1e5
Add a big warning and additional check when wiping target destination
2024-07-04 21:35:12 +02:00
Igor Pecovnik
26867787e5
Armbian-install: add option to wipe target destination
2024-07-04 21:35:12 +02:00
Viacheslav Bocharov
654d208053
JetHome: Update JetHub family
...
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2024-07-03 11:26:07 +02:00
ColorfulRhino
ccf17a20e8
Purge s5p6818 board family
...
The family consists of 4 boards, but hasn't seen any activity in years,
is unmaintained, stuck on EOL Linux 4.14 and the bootloader does
not build.
2024-07-03 06:49:46 +02:00
Ricardo Pardini
ffe83ab5e8
aml-s9xx-box: move files included in bsp-cli from packages/bsp/aml-s9xx-box to config/optional/boards/aml-s9xx-box/_packages/bsp-cli; fixes #6817
...
- with this:
- those files are automatically hashed by the bsp-cli hashing mechanism
- no need to copy them manually any more
2024-07-01 19:15:54 +02:00
Aleksey Vasenev
d5df9f06be
Fix btrfs and xfs resize
2024-07-01 19:15:27 +02:00
Igor Pecovnik
2b494ae46f
Add support for multiple wireless devies at firstlogin
2024-06-30 21:23:27 +02:00
Igor Pecovnik
c0c3102be9
Bugifx: addressing two problems at firstlogin script
...
- removing network manager dependancy
- errors when wireless networking is still not detected
2024-06-30 21:23:27 +02:00
ColorfulRhino
35f19090f9
bsp: armbian-firstrun: Remove old htop
...
They don't work on current versions of `htop`.
2024-06-30 12:27:41 +00:00
ColorfulRhino
c21b416c6e
bsp: hardware-optimization: Add check for BOOT_SOC to fix rk322x optimizations
...
BOARDFAMILY `rk322x` was integrated into the `rockchip` BOARDFAMILY in https://github.com/armbian/build/pull/6092
This integration made the hardware optimization for rk322x not apply anymore.
Also remove a rk322x optimization for an old 4.4 kernel
2024-06-30 10:20:26 +00:00
ColorfulRhino
4738bb4bce
rockchip: Remove trace of legacy kernel in family config
...
The `legacy` kernel does not exist anymore.
2024-06-30 10:20:26 +00:00
Ricardo Pardini
d29305a05b
armbianmonitor -u: rationalize paste server retrying, use ANSI dmesg
...
- use PIPESTATUS to check all steps for failure
- avoid blaming paste server if data collection failed
2024-06-30 09:07:50 +02:00
Ricardo Pardini
e67b52e00c
armbianmonitor: squash shellcheck warnings around the main getopts case statement
...
- `b` and `B` were never parsed
- an `*` case is added to handle invalid options
2024-06-30 09:07:50 +02:00
Ricardo Pardini
5cdc55292d
armbianmonitor: shellfmt, no changes
2024-06-30 09:07:50 +02:00
Patrick Yavitz
f9a13dcd11
BPI-CM4: bluetooth: fw version 0xb5d66dcb
...
rtl_bt: Update RTL8822C BT UART firmware to 0xB5D6_6DCB
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-06-28 08:17:12 +02:00