You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dietpi-installer: install Orange Pi 5 Plus Ethernet udev rule on vendor kernel only
* define SBC model and kernel family explicitly for all supported models, but skip the rarely used `$arch` variable: instead obtian it right before it gets used when compiling the boot script. Exit with an error if an unknown hardware ID was passed (which should not happen, as this is checked during hardware selection before already).
* add some comments about features still unsupported by mainline Linux, where vendor Linux is used
* fix `$TEST_KERNEL` handling, which was trying to remove still two downloaded packags, while only one is downloaded after we merged linux-dtb into linux-image
* Install zstd on all Armbian base images. We cannot easily check whether the kernel supporrts it, but all that we support do, and if they don't, there needs to be an adjusted initramfs config anyway, to prevent initramfs-tools from compressing with zstd, as installing a well known compression tool must not cause a failing boot. If it does, this is better recognized on the fresh image, than some random time later, when the admin installs zstd for some reason.
* for completeness, make clear Broadcom WiFi is Cypress is Infineon nowadays
* dietpi-globals: G_AGP: fix removal of uninstalled packages from the command, after `--allow-change-held-packages` was removed
* dietpi-set_hardware: consider hci_uart as Bluetooth module on NanoPi M5, as it is used by the official Xunlong M.2 WiFi/BT card
102) model='nanopi-r76s' kernel='rk35xx' branch='vendor';; # mainline U-Boot does not support eMMC boot, and vendor U-Boot does not support eMMC boot with mainline Linux either. It looks like U-Boot would (needs to) load the device tree from the eMMC Linux hardcoded path /boot/dtb/rockchip/rk3576-nanopi-r75s.dtb, and that needs to be from vendor kernel. Weird ...
SUBSYSTEM=="net", KERNEL=="to_eth0", RUN="/bin/ip l s dev eth0 name eth1", RUN+="/bin/ip l s dev to_eth0 name eth0", RUN+="/bin/udevadm trigger -c add /sys/class/net/eth0 /sys/class/net/eth1"
[[ ${apackages[0]} ]] && acommand=("${acommand[@]::4}""${apackages[@]}") || acommand=(G_DIETPI-NOTIFY 2 'None of the packages are currently installed. Aborting...')
1585
+
[[ ${apackages[0]} ]] && acommand=("${acommand[@]::3}""${apackages[@]}") || acommand=(G_DIETPI-NOTIFY 2 'None of the packages are currently installed. Aborting...')
Copy file name to clipboardExpand all lines: dietpi/func/dietpi-set_hardware
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1157,6 +1157,7 @@ _EOF_
1157
1157
1158
1158
case$G_HW_MODELin
1159
1159
[0-9]) (($G_HW_ONBOARD_WIFI))&& aBLUETOOTH_MODULES+=('hci_uart');; # RPi. This kernel module is used by other SBCs, but e.g. on ROCK 4 SE it is needed as well for WiFi: https://github.com/MichaIng/DietPi/issues/6943
1160
+
103) aBLUETOOTH_MODULES+=('hci_uart');; # NanoPi M5 official M.2 WiFi card
1160
1161
83|88|89|99|105) aBLUETOOTH_MODULES+=('sprdbt_tty');; # Orange Pi Zero 3/Zero 2W/3 LTS/3/4 LTS
0 commit comments