berobispo Posted February 28, 2025 Posted February 28, 2025 Armbianmonitor: https://paste.next.armbian.com/xocodacidi Hi! installed the recent armbian 25 server image on my Odroid HC4. Used armbian 22 before, but microsd was physically damaged. Unfortunately, the board can't reboot! I already tried to apply this solution, which was prescribed for armbian 24 reboot problems, yet it does not seem to help. Any help is appreciated. Although I do not want to downgrade... what is the last stable (=rebootable) armbian for the Odroid HC4? Does anyone know? 0 Quote
IBV Posted March 1, 2025 Posted March 1, 2025 Hi, maybe the fragment you applied is not really compatible with your dtb. [ 1.779992] OF: /meson64-reboot: could not get #gpio-cells for /soc/gpu@ffe40000 [ 1.780030] OF: /meson64-reboot: could not get #gpio-cells for /soc/gpu@ffe40000 [ 1.780050] OF: /meson64-reboot: could not get #gpio-cells for /soc/gpu@ffe40000 Can you post here the complete .dts + your modification? 0 Quote
c0rnelius Posted March 1, 2025 Posted March 1, 2025 The solution here would be doing a PR and instead of adding the node to the DTS, it should be added to the DTSI "meson-sm1-odroid.dtsi" which both units "C4/HC4" would pick up. + reboot: meson64-reboot { + compatible = "meson64,reboot"; + sys_reset = <0x84000009>; + sys_poweroff = <0x84000008>; + + sd-vqen = <&gpio_ao GPIOE_2 GPIO_ACTIVE_HIGH>; + sd-vqsw = <&gpio_ao GPIOAO_6 GPIO_ACTIVE_HIGH>; + sd-vmmc = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_HIGH>; + }; + 0 Quote
berobispo Posted March 1, 2025 Author Posted March 1, 2025 Hi! thanks for your help! I've attached the stock dts and the modified one (before I converted that back into dtb). @c0rnelius: PR = pull request? meson-sm1-odroid-hc4.dts meson-sm1-odroid-hc4_modified.dts 0 Quote
c0rnelius Posted March 1, 2025 Posted March 1, 2025 11 minutes ago, berobispo said: @c0rnelius: PR = pull request? Yes. So instead of this patch; https://github.com/armbian/build/blob/main/patch/kernel/archive/meson64-6.12/board-odroidc4-reset.patch which only patches the C4 DTS, create a new patch, that patches against the "meson-sm1-odroid.dtsi". Problem solved. An example can be found in my personal repo; https://github.com/pyavitz/debian-image-builder/blob/feature/patches/amlogic/6.12/007-ODROID-general-patch-set.patch#L281 0 Quote
IBV Posted March 1, 2025 Posted March 1, 2025 First, I believe the correct modification to apply is the one below, please try it meson64-reboot { compatible = "meson64,reboot"; sys_reset = <0x84000009>; sys_poweroff = <0x84000008>; sd-vqen = <&gpio_ao GPIOE_2 GPIO_ACTIVE_HIGH>; sd-vqsw = <&gpio_ao GPIOAO_6 GPIO_ACTIVE_HIGH>; sd-vmmc = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_HIGH>; }; Secondly, Yes @c0rnelius idea sounds correct in order to correctly patch this for the future. 0 Quote
berobispo Posted March 1, 2025 Author Posted March 1, 2025 Hi! I've reinstalled armbian 24 from the archives (Armbian_24.8.1_Odroidhc4_jammy_current_6.6.47.img) and this reboots fine... since Lyrion Music Server also wouldn't run, and my attempt to build it failed... THANKS for the help though! I'll try your solution, @IBV and let you know whether it did the trick! At the moment my nextcloud database is restoring...last time it took 12 hours... 0 Quote
IBV Posted March 2, 2025 Posted March 2, 2025 Hi, please ignore my previous post, the patch will only work if applied to the kernel device tree sources before building. 0 Quote
c0rnelius Posted March 2, 2025 Posted March 2, 2025 If it should get it accepted; https://github.com/armbian/build/pull/7900 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.