Commit Graph

1136 Commits

Author SHA1 Message Date
retro98boy
fc8fef06b2 CAINIAO CNIoT-CORE: use ALSA UCM instead of asound.state 2025-06-19 15:05:33 +02:00
retro98boy
22b0414b91 CAINIAO CNIoT-CORE: add internal speaker support 2025-06-09 17:34:50 +02:00
Igor Pecovnik
b2fd69b34d Enable HiDPI support only if the framebuffer size is detectable 2025-05-29 18:50:43 +02:00
The-going
99afe10bed wifi-rtl8821cu: initial settings where Wi-Fi and bluetooth will both work 2025-05-29 17:50:10 +02:00
djurny
f4f14832f5 helios4: fix helios4-wol.service (wake-on-lan) (#8235)
* helios4: fix wake-on-lan (wol)

- added ethtool package
- enable wol on all ethernet interfaces
- support common systemd.net-naming-schemes (ethX/endX/enoX)

* Update helios4-wol.service

Removed test code.

* Update helios4-wol.service

Fix bug after retesting.
2025-05-29 17:46:08 +02:00
Igor Pecovnik
0cfdb8c7e4 Allwinner: Replace bc with awk for floating-point comparison in temperature check 2025-05-27 15:55:14 +02:00
The-going
3d56fa93cd bananapi_m4_berry: Change the status to supported
Add the configuration file for the wifi 8821cu module
2025-05-27 15:37:20 +02:00
Igor Velkov
810ea3eefe Install to nvme: place root volume to separate subvolume when btrfs fs used 2025-04-21 10:24:45 +02:00
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
chainsx
f47934f327 blobs: remove station firmware 2025-04-14 21:03:17 +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
Thomas McKahan
11430de9a0 Bump Vim1-2 u-boot binaries (stopgap) 2025-02-23 19:21:29 +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
青菜萝 卜冬瓜
942ace8cb3 avaota-a1: fix typo (#7589) 2024-12-16 11:35:20 +01: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
brentr
fc54623c4a Add Rockchip u-boot "binman" BOOT_SCENARIO (#7505)
* rockchip64: add `BOOT_SCENARIO=binman` for mainline u-boot

- drop special handling for 3308's `legacy` branch
- rpardini: note how SPI/mtd is not yet supported for this scenario

Co-authored-by: Ricardo Pardini <ricardo@pardini.net> (squash/splits, shellfmt)

* `rock-s0`/`rockpi-s`: use `BOOT_SCENARIO=binman`; move blobs to armbian/rkbin

- Move rk3308 boot blobs to armbian/rkbin
  - delete obsolete ones
- Alter rock-s0 and rockpi-s to use the new "binman" BOOT_SCENARIO

Co-authored-by: Ricardo Pardini <ricardo@pardini.net> (shellfmt; small fixes; squashes)
2024-11-22 23:31:39 -08: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