Skip to content

Commit

Permalink
v9.8
Browse files Browse the repository at this point in the history
- Orange Pi 3B | Added support for board revision v2.1, where Ethernet did not work with our previous kernel. Many thanks to `@raphamotta` and others for making us aware of this: https://dietpi.com/forum/t/20689
  • Loading branch information
MichaIng committed Oct 12, 2024
1 parent 1e434fb commit 6b0e3b2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .update/patches
Original file line number Diff line number Diff line change
Expand Up @@ -2009,6 +2009,24 @@ SUBSYSTEM=="leds", KERNEL=="lan1_led", ACTION=="add", ATTR{trigger}="netdev", AT
SUBSYSTEM=="leds", KERNEL=="user_led", ACTION=="add", ATTR{trigger}="netdev", ATTR{device_name}="wlan0", ATTR{link}="1", ATTR{rx}="1", ATTR{tx}="1", RUN+="/bin/ip l s up dev wlan0", RUN+="/bin/ip l s down dev wlan0"
_EOF_
fi

# Orange Pi 3B: Migrate to mainline kernel device tree names
elif (( $G_HW_MODEL == 87 ))
then
G_DIETPI-NOTIFY 2 'Flashing new Orange Pi 3B bootloader to support v2.1 board revision and automatic device tree selection'
/boot/dietpi/func/dietpi-set_hardware flash-u-boot-mmc
if [[ $G_ROOTFS_DEV != '/dev/mmcblk'* ]]
then
. /usr/lib/u-boot/platform_install.sh
if declare -f write_uboot_platform_mtd | grep -q 'flashcp'
then
G_AG_CHECK_INSTALL_PREREQ mtd-utils
write_uboot_platform_mtd "$DIR" /dev/mtd0
else
write_uboot_platform_mtd "$DIR" /dev/mtdblock0
fi
fi
G_EXEC sed -i '/^fdtfile=/d' /boot/dietpiEnv.txt
fi
}

Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ v9.8
(2024-10-10)

Enhancements:
- Orange Pi 3B | Added support for board revision v2.1, where Ethernet did not work with our previous kernel. Many thanks to @raphamotta and others for making us aware of this: https://dietpi.com/forum/t/20689
- DietPi-FirstBoot | The network time sync mirror configured in dietpi.txt is now applied before the first time sync is done, instead of after login and initial DietPi update. Many thanks to @bigops for making us aware of this: https://dietpi.com/forum/t/21600
- DietPi-Software | NoMachine: Our install option will now always download the latest NoMachine version, instead of a hardcoded one depending on the DietPi version. Many thanks to @tzvi208 for for figuring it out to version-agnostic download URLs: https://github.com/MichaIng/DietPi/issues/7198
- DietPi-Software | Portainer: It has been enabled to accept private/custom CA certificates by using the trusted CA certificates of the host, instead of the ones shipped with the container image. Many thanks to @oldboys92 for implementing this enhancement: https://github.com/MichaIng/DietPi/pull/7217
Expand Down

0 comments on commit 6b0e3b2

Please sign in to comment.