February 28, 20251 yr 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?
March 1, 20251 yr 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?
March 1, 20251 yr 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>; + }; +
March 1, 20251 yr Author 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
March 1, 20251 yr 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
March 1, 20251 yr 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.
March 1, 20251 yr Author 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...
March 2, 20251 yr Hi, please ignore my previous post, the patch will only work if applied to the kernel device tree sources before building.
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.