Commit Graph

742 Commits

Author SHA1 Message Date
Igor Pecovnik
c7aec57e1c armbian-install should do rsync --one-file-system
Any mounted directory should not be copied but also mounted on the new boot device when booting
2024-03-02 21:01:26 +01:00
Marco Nelissen
5ec50d8e5e armbian-resize-filesystem: fix off-by-one error
armbian-resize-filesystem wants to align partitions on 16 MB boundaries,
however due to an off-by-one error it would make the last sector of the
partition start at a 16 MB boundary instead of ending at a 16 MB boundary.
2024-02-28 15:36:10 +01:00
SteeManMI
14ce06c5da
Fix upgrades of armbian-bsp-cli-aml-s9xx-box-current (#6287)
- dpkg fails upgrading files on a fat filesystem as it tries to create a link
- Move to using standard extlinux.conf instead of installing a custom one

 Changes to be committed:
	modified:   config/boards/aml-s9xx-box.tvb
	deleted:    packages/bsp/aml-s9xx-box/boot/extlinux/extlinux.conf
	new file:   packages/bsp/aml-s9xx-box/boot/extlinux/extlinux.conf.template
2024-02-20 16:50:08 -05:00
SteeManMI
0cba1d16bf
Fix ddbr to handle current lsblk output (#6290)
Changes to be committed:
	modified:   packages/bsp/common/usr/sbin/ddbr
2024-02-20 16:49:29 -05:00
Gunjan Gupta
285b034227 Fix failure on when purging armbian-bsp-cli package 2024-02-12 08:59:25 +01:00
amazingfate
aa2c1f5e39 use common usb gadget network scripts 2024-02-02 00:00:04 +08:00
FantasyGmm
582d0e96b9 Add Xiaomi Mi10(umi) support 2024-02-02 00:00:04 +08:00
SteeManMI
9ed5bdb4f0
aml-s9xx-box: Update chain loaded u-boot-s905x2-s922 to u-boot version 2024.01 (#6214)
This fixes an incompatibility introduced with new Armbian framework's
change from uImage to Image

 Changes to be committed:
	modified:   packages/bsp/aml-s9xx-box/boot/build-u-boot/readme.txt
	new file:   packages/bsp/aml-s9xx-box/boot/build-u-boot/u-boot-s905x2-s922.patch
	modified:   packages/bsp/aml-s9xx-box/boot/u-boot-s905x2-s922
2024-01-28 22:33:03 -05:00
sandyiscool
201da24501
Add u-boot blob and patch for s905x3 boxes (#6215)
The blob is built on mainline u-boot's tag v2023.10.
2024-01-28 18:03:59 -05:00
Gunjan Gupta
c47c9372bf
Khadas VIM1S & VIM4 - 5.15 kernel bump (#6201)
* meson-s4t7: bump u-boot to khadas-vims-u-boot-2019.01-v1.6-release
* Use khadas default bootargs as much as possible
* Add new hook to allow copying code into kernel
* meson-s4t7: legacy: Switch to 5.15 kernel
* meson-s4t7: add kernel-config for 5.15 kernel
* device tree overlays for 5.15 kernel for vim1s and vim4
* restructure packaging of bsp files for vim1s/vim4
* silence vblank warning on boot
* Remove display workaround as it doesn't work with 5.15 kernel
* Remove 5.4 kernel patches
2024-01-26 08:40:11 +01:00
Didier 'OdyX' Raboud
9fe078eaac rockchip64: set the main ethernet interface optimizations to Helios64's end0 too 2024-01-26 08:38:53 +01:00
Didier 'OdyX' Raboud
9dba45a36f Helios64: Move irq smp_affinity optimisations to rockchip64
… as that's now its BOARDFAMILY
2024-01-26 08:38:53 +01:00
Igor Pecovnik
e24ec9ca51 Rework JetHub symlinking 2023-12-30 13:46:56 +01:00
Igor Pecovnik
ea064e2698 Remove dangling symlink 2023-12-30 13:46:56 +01:00
Gunjan Gupta
91d329a66a armbian-firstlogin: fix locale list to include missing locales 2023-12-27 11:54:53 +01:00
Igor
c5c81a8b58
Move live patch to bsp extension and limit to startup patching (#6017)
* Move live patch to extension
* Move to the board support package and keep only startup patch
2023-12-14 10:36:44 +01:00
Paolo Sabatino
f6baa4c2f2 Use extension for Lima X.Org serverflags
* Remove create_desktop_package.sh for rk3318 board from
   config/optional, clearing the whole directory tree
 * Add an extension to implement serverflags workaround
   for X.Org and Lima driver not being autodetected
 * Fix rk3318-box and rk322x family to use extension in place
   of 40-serverflags.conf bsp file
2023-12-09 14:19:32 +01:00
JuergenBausa
67e0bb2fbb Update armbian-ramlog
Original version destroyed journal on command postrotate as files in /var/log.hdd/journal are overwritten by cat. With the patch journal is not damaged anymore.
2023-12-09 07:55:10 +01:00
amazingfate
8289ba7bf4 xiaomi-elish: add slot_suffix arg to kernel cmdline for qbootctl 2023-12-06 23:30:15 +08:00
Gunjan Gupta
8f65099e31 Rename our Network Manager configuration files so that they are always applied last 2023-12-02 00:01:08 +05:30
Igor
e95fbdcfad
Add simple patch system as a standalone service (#5935)
Sometimes we need to fix minor issues like changing the key or fixing other small problem on live OS. We can ship this as a part of BSP package, but its handling should be made easy.

This downloads script from CDN, verify its signature and executes after apt upgrade starts installing packages.

* Record patch output to syslog
* Enable armbian-live-patch as additional service and run patch mechanism at startup
* Additional security check
2023-11-27 13:01:20 +01:00
brentr
7651c02626
Moved fixEtherAddr script where it belongs under /lib/udev (#5981) 2023-11-27 11:26:24 +01:00
Igor Pecovnik
64037fb9ba On Mantic this would throw out an error
Failed to restart sshd.service: Unit sshd.service not found
2023-11-25 08:27:41 +01:00
Igor Pecovnik
b5d5accd77 Keep the VENDOR in motd after the update 2023-11-16 07:26:43 +01:00
Igor
6bcf74f2e7
Anonymize default build engine settings (#5865)
Improve naming confusion by changing build framework defaults. Set framework defaults VENDOR to Armbian-unofficial for self build images. Unsupported boards and unsupported distribution have framework defaults, except VENDOR and VENDORURL. We build images with predefined values.
2023-11-15 22:00:21 +01:00
Igor
47612c3426
Suppress locale warnings at first run when connecting via SSH (#4976)
* Suppress locale warnings at first run when connecting via SSH
* Move functionality to armbian firstlogin and firstrun scripts
2023-11-15 21:29:45 +01:00
amazingfate
ac90826105 qcom-abl: use mkbootimg package to generate abl boot image 2023-10-26 21:17:01 +08:00
Ricardo Pardini
f5ea983f50 xiaomi-elish / image-output-abl: shellfmt, no changes 2023-10-26 21:17:01 +08:00
amazingfate
46a46dc14e add new device xiaomi-elish 2023-10-26 21:17:01 +08:00
Ricardo Pardini
5365d62e3a armbian-firstlogin: better dm detection + add simple no-op sddm support + gdm3 fixes 2023-10-14 00:01:07 +02:00
Ricardo Pardini
d4b5aa5987 armbian-firstlogin: shellfmt, no changes 2023-10-14 00:01:07 +02:00
Gunjan Gupta
c0e2bb910c meson-s4t7: add systemd service to enable fan in automatic mode
The service is only enabled by default on Vim4 as that board heats
a lot and a fan is absolutely necessary. Service will be available
on vim1s as well and if someone has purchased the fan for it, they
would be able to enable it themselves.

The service is only added for legacy kernel right now as I am not
sure if the upcoming 5.15 kernel will have same sysfs interface for
fan.
2023-10-11 11:05:45 +02:00
Ricardo Pardini
1ff8356058 rk322x-config: shformat + fix 2 shellcheck errors 2023-10-03 14:12:18 +02:00
Paolo Sabatino
1a73a2fdd6 rk322x: convert device trees to dirs
* converted dtb/dtbo patches to directories instead of patches
 * add led-conf8 for h20_221_v1.71 board
2023-10-02 09:30:20 +02:00
Paolo Sabatino
0ffbe2d60c rk322x: better support for R29_MXQ and R2B_MXQ boards 2023-10-02 09:30:20 +02:00
marcone
dd5fb3e3f8
armbian-firstlogin: allow empty user password (#5738)
Call the 'passwd' command with the right arguments depending on whether
the user entered a password or not.
2023-09-23 19:14:10 -07:00
Gunjan Gupta
608618a6f5 orangepi3lts: load wifi module via systemd service otherwise it crashes cpufreq_dt module 2023-09-19 20:08:18 +02:00
Igor
95dc76ae87 Enhance default boot partition size for installer
This will prevent running into "No space left on device" pretty soon.
2023-09-19 20:07:44 +02:00
Viacheslav Bocharov
58d4fcfc7a JetHome: Update /dev/serial/rs485 symlink names 2023-09-17 10:21:54 +03:00
Jim Gregory
9ed7437fe2 fix: replace ifconfig in armbian-firstrun-config
ifconfig is no longer included in a default install of Armbian Bookworm, causing armbian-firstrun-config to silently fail when attempting to retrieve a list of network adapters.  Using nmcli instead.
2023-09-12 10:48:37 +02:00
schwar3kat
169155cdd2 Kernel 6.5 armbian-led-state.service order
A change to ledtrig_netdev causes the boot to fail on Orangepi-r1plus-lts and possibly other boards. The board boots and LED netdev trigger works if service is modified to use After=timers.target.
2023-09-04 14:37:21 +02:00
Igor
dcd6fd2e54
Revert Meson64 / odroid fancontrol (#5617)
* Revert "packages: bsp: odroid: fanctrl: `maintenance`"

This reverts commit 94f7bfff89.

* Revert "Improve Meson64 Support: `ODROID`"

This reverts commit 40530ee344.
2023-08-20 21:11:54 +02:00
Patrick Yavitz
94f7bfff89 packages: bsp: odroid: fanctrl: maintenance
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-08-20 19:20:06 +02:00
Patrick Yavitz
40530ee344 Improve Meson64 Support: ODROID
Backport DTS/DTSI changes from linux-6.4.y to 6.1.y
Add meson64-reboot driver to all boards
Add board: ODROID N2L
Add uart_A uart_AO_B uart_B uart_C where appropriate
U-Boot v2023.07.02: ODROID N2/N2L/N2Plus/C4

Meson64-reboot driver: (source: tobetter)
While the current meson64-reboot driver is cleaner and doesn't
depend on modding other kernel sources, its functionality leaves
much to be desired. One example can be found in the ODROID C4.
Using the current driver, the board will not properly power off,
leaving the POWER LED still on. The new driver powers off the unit
completely.

Fan control: (ODROID N2L/N2PLus)
Added service and script for controlling the trip point.
fanctrl: arguments: 65 55 45 35 25 menu run

                              ┌──┤ Fan Control ├──┐
                              │                   │
                              │    6) 65°C        │
                              │    5) 55°C        │
                              │    4) 45°C        │
                              │    3) 35°C        │
                              │    2) 25°C        │
                              │    E) Exit ..     │
                              │                   │
                              │                   │
                              │      <Ok>         │
                              │                   │
                              └───────────────────┘

NOTES: (N2L/HC4): I do not own the units so I can't run tests.

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-08-20 19:20:06 +02:00
Phani Pavan Kambhampati
823738dedd Update armbian-add-overlay
added another case to handle stray spaces and to not add a space if no overlays are already present.
2023-08-18 17:11:51 +02:00
Joseph Turner
da0d169f9a Update armbianmonitor 2023-08-04 10:33:04 +02:00
Gunjan Gupta
da6c238f79
armbianmonitor: update cpuminer and remove arm only limit (#5503) 2023-07-23 20:23:36 +02:00
Vyacheslav Bocharov
4d5edf5eda JetHome: Add RS485 ports aliases in /dev/serial/rs485 for JetHub D1/D1+ 2023-07-23 14:42:37 +02:00
Vyacheslav Bocharov
22ed391b16 JetHome: Update jethub-init service 2023-07-23 14:42:37 +02:00
Patrick Yavitz
effbb4c900 Board: Bananapi M2S additional support
Removed WIP status
Added CONFIG_R8169=m to defconfig(s) (eth support)
Modified and added additional patches (linux 6.1 / 6.4)
U-Boot v2023.07.2 (dropped v2022.10)
Upstream BT FW (rtl8822cs) is now shared between CM4IO and M2s

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-07-23 14:40:52 +02:00