832 Commits

Author SHA1 Message Date
Igor Pecovnik
3df77898a5 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-09-13 09:02:20 +08:00
Alex
e3e7ce920a 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-09-13 09:01:26 +08:00
Igor Pecovnik
6ed699ebb9 Set fixed mac addresses 2024-09-13 08:58:35 +08:00
August
ba4caf5342 Merge to upstream tag v24.8.0-trunk.517 2024-08-06 18:01:47 +08:00
The-going
a987fb2e59 shellcheck: SC2070 (error): -n doesn't work with unquoted arguments. 2024-08-06 17:13:31 +08:00
The-going
93e260d59c 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-06 17:13:31 +08:00
Igor Pecovnik
3d7f3f039c Enable fixed MAC settings for Nanopi R6 series and supress iozone related error 2024-08-06 17:13:31 +08:00
Igor Pecovnik
06c09501d6 Add support for wan and lan nic names when setting random mac with NetPlan 2024-08-06 17:13:31 +08:00
Gunjan Gupta
c1d1e99e6c Meson-s4t7: update required modules to match fenix 2024-08-06 16:51:57 +08:00
amazingfate
d3fd992aa7 add chromium v4l2 decoder udev rule for rk3328 hantro decoder 2024-08-06 16:51:57 +08:00
The-going
15cf30156c armbian-install: Display real devices in the selection message. 2024-08-06 16:51:57 +08:00
The-going
ea52b3647d 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-08-06 16:51:57 +08:00
Viacheslav Bocharov
15b609f5bb JetHome: Update bsp: fix jethub-init to support /etc/defaults 2024-08-06 16:51:57 +08:00
Jack Thomasson
1e92d5cd5c firstlogin: quote values if space is legal (#6942) 2024-08-06 16:51:56 +08:00
Viacheslav Bocharov
af9b735d93 Fix armbian-firstrun service not disabled on start.
Fixes: 7b33243c27c48bea6345aeff9e836c0f2b4f06e9

Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2024-08-06 16:51:56 +08:00
ColorfulRhino
fd9d3733b2 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-08-06 16:51:56 +08:00
ColorfulRhino
c345ed60cb 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-08-06 16:51:56 +08:00
Igor Pecovnik
920cc7b8d7 Add a big warning and additional check when wiping target destination 2024-08-06 16:49:39 +08:00
Igor Pecovnik
5774b2efcc Armbian-install: add option to wipe target destination 2024-08-06 16:49:39 +08:00
Viacheslav Bocharov
76bdc0ddcf JetHome: Update JetHub family
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2024-08-06 16:49:39 +08:00
ColorfulRhino
15b7a5365b 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-08-06 16:49:39 +08:00
Ricardo Pardini
982731bbf4 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-08-06 16:45:09 +08:00
Aleksey Vasenev
e5665b16fe Fix btrfs and xfs resize 2024-08-06 16:45:09 +08:00
August
19827c3c32 update infineon wireless firmware for bpi-sunxi board 2024-08-06 15:31:05 +08:00
August
49728c6e73 update cyw43455 firmware 2024-07-13 21:23:50 +08:00
August
f3ab788f9e update for cyw43455 bluetooth 2024-07-09 15:45:21 +08:00
August
671f20bdda support cyw43455 for bpi-m4zero 2024-07-04 18:42:39 +08:00
Igor Pecovnik
1f3e240cfb Add support for multiple wireless devies at firstlogin 2024-07-03 18:43:01 +08:00
Igor Pecovnik
0facb1e31b Bugifx: addressing two problems at firstlogin script
- removing network manager dependancy
- errors when wireless networking is still not detected
2024-07-03 18:43:01 +08:00
ColorfulRhino
b196f423d4 bsp: armbian-firstrun: Remove old htop
They don't work on current versions of `htop`.
2024-07-03 18:42:03 +08:00
ColorfulRhino
c2d3a7160d 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-07-03 18:40:15 +08:00
ColorfulRhino
968c9c6a10 rockchip: Remove trace of legacy kernel in family config
The `legacy` kernel does not exist anymore.
2024-07-03 18:40:15 +08:00
Ricardo Pardini
2475ea6a90 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-07-03 18:35:21 +08:00
Ricardo Pardini
734bd3cc0f 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-07-03 18:35:21 +08:00
Ricardo Pardini
f53ffdfe40 armbianmonitor: shellfmt, no changes 2024-07-03 18:35:21 +08:00
Patrick Yavitz
213ddec58b 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-07-03 18:35:21 +08:00
Barry Lind (SteeManMI)
ce08dc8c99 aml-s9xx-box: Remove u-boot and update generated extlinux.conf
Changes to be committed:
	modified:   config/boards/aml-s9xx-box.tvb
	modified:   packages/bsp/aml-s9xx-box/boot/extlinux/extlinux.conf.template

The aml-s9xx-box builds use the native TV Box u-boot.  I've had as a
todo item to figure out how to not build and include an unused u-boot.
In a recent PR for a different board the opposite was being done
(adding a u-boot where a board didn't previously ship one), thus
I then had the info to remove it here.
This also changes the generated extlinux.conf to include a fdt line
by adding the boot_fdt_file to the board config file.  This reduces
the effort needed to manually modify the extlinux.conf.
2024-07-03 18:35:21 +08:00
Igor Pecovnik
dc09a26cbb Remove random-mac workaround for rockchip64 family 2024-07-03 18:35:20 +08:00
Igor Pecovnik
be61b67733 Use netplan mac setting only with systemd-networkd 2024-07-03 18:35:20 +08:00
amazingfate
a86d01d5b9 Add chromium v4l2 decoder udev rule for rkvdec2 2024-07-03 18:35:20 +08:00
Alessandro Lannocca
4fc10e98dc comment network link-state saving prevention 2024-07-03 18:33:34 +08:00
Alessandro Lannocca
780426add6 fix armbian-leds-state-save.sh: don't store parameters for networking link establishment (avoid ghost wan/lan/eth link led up on bootup) 2024-07-03 18:33:34 +08:00
Igor Pecovnik
8d2de6ac75 Add support for displaying multiple IP addresses at first login
If we have more ethernet devices, we want to list them one after another

Before:
IP address: 1.1.1.1
2.2.2.2

After
IP address: 1.1.1.1,2.2.2.2
2024-07-03 18:33:34 +08:00
Igor Pecovnik
e8395b7153 Replace Network manager nmtui-connect with own method 2024-07-03 18:33:34 +08:00
Igor Pecovnik
4122df5a0a We can only set fixed map for ethernet devices as netplan wants to have defined AP for wifi. Which we don't have yet. 2024-07-03 18:33:34 +08:00
ColorfulRhino
f8810a98d9 cli: firstlogin: Fix and improve IP address retrieval
This should also include the case if zero retries are left, but the IP address has been found on this last retry.
2024-07-03 18:33:34 +08:00
ColorfulRhino
9afabe23b2 net: Use resolved for DNS resolution
- Use resolved no matter what manages the network (networkd or NetworkManager)
- Use resolved.conf.d/ directory to set DNS as recommended by resolved itself
- In armbian-firstrun, remove config specific to mvebu64|mt7623 since this is now done by default
2024-07-03 18:33:34 +08:00
ColorfulRhino
97c29bd124 bsp: firstrun: Use Netplan for setting fixed MACs
Also remove `$BRANCH == dev` line since dev branch does not exist anymore
2024-07-03 18:33:34 +08:00
Igor Pecovnik
15ef9b95ca Remove ifupdown leftovers in the code 2024-07-03 18:33:34 +08:00
ColorfulRhino
0b0e55c37f cli: firstlogin: Move IP address retrieval into function and don't run in bg
Trying to run this in the background does not work correctly in its current iteration, setting the correct place on the screen for displaying did not work out.
Includes minor fixes and wording improvements.
2024-07-03 18:33:34 +08:00