Commit Graph

1150 Commits

Author SHA1 Message Date
Martin Schmiedel
42cc795f4d MBa8MPxL: update imx8m-6.6
- linux-tqma-current.config:  enable HDMI, LVDS, Bluetooth
- imx8_common.inc: use tag instead of branch (v6.6.43)
- fix asound.state.tqma

Signed-off-by: Martin Schmiedel <Martin.Schmiedel@tq-group.com>
2024-08-05 14:36:51 +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
Paolo Sabatino
02e0c14a8a remove rk3288 unused boot binary blob 2024-07-08 13:02:15 +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
Patrick Yavitz
432435faa8 BananaPi F3: Add boot firmware blob esos.elf
This gets compiled into the kernel and embedded in the initramfs.
It will also be available on the finished img at /lib/firmware.

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-07-01 19:15:00 +02:00
Igor Pecovnik
1bf2aba67b Remove OrangepiZero2 outdated legacy kernel v4.9 2024-07-01 19:14:17 +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
58a1113c38 packages: Remove all extras-buildpkgs since they're not used anymore
These extras are leftovers of a legacy from the past.
See https://github.com/armbian/build/issues/6820#issuecomment-2198054353
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
Barry Lind (SteeManMI)
87f37f6a3d 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-06-27 16:05:14 -04:00
Igor Pecovnik
d317e5418e Remove random-mac workaround for rockchip64 family 2024-06-24 12:31:11 +02:00
Igor Pecovnik
7b33243c27 Use netplan mac setting only with systemd-networkd 2024-06-24 12:31:11 +02:00
amazingfate
cff6675517 Add chromium v4l2 decoder udev rule for rkvdec2 2024-06-22 15:06:10 +08:00
Alessandro Lannocca
5711d09775 comment network link-state saving prevention 2024-06-20 20:00:33 +02:00
Alessandro Lannocca
7653def211 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-06-20 20:00:33 +02:00
Igor Pecovnik
692574592b 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-06-20 19:59:52 +02:00
Igor Pecovnik
942bd4188d Replace Network manager nmtui-connect with own method 2024-06-20 19:59:52 +02:00
Igor Pecovnik
ce16e75642 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-06-20 19:59:52 +02:00
ColorfulRhino
ed45c8bfee 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-06-20 19:59:52 +02:00
ColorfulRhino
b6f018a2b1 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-06-20 19:59:52 +02:00
ColorfulRhino
6b7284be3e bsp: firstrun: Use Netplan for setting fixed MACs
Also remove `$BRANCH == dev` line since dev branch does not exist anymore
2024-06-20 19:59:52 +02:00
Igor Pecovnik
a65cf4d9bb Remove ifupdown leftovers in the code 2024-06-20 19:59:52 +02:00
ColorfulRhino
56267aa0ad 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-06-20 19:59:52 +02:00
Igor Pecovnik
a95bdd920f Refactor automatic configuration at first run 2024-06-20 19:59:52 +02:00
ColorfulRhino
e6fc6d0990 cli: Make IP address retrieval on firstlogin run in the background
Otherwise we have to wait until the while loop finishes.
Also includes some fixes and comments.
2024-06-20 19:59:52 +02:00