berobispo Posted Friday at 07:49 PM Posted Friday at 07:49 PM 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 Saturday at 08:27 AM Posted Saturday at 08:27 AM 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 Saturday at 12:09 PM Posted Saturday at 12:09 PM 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 Saturday at 01:20 PM Author Posted Saturday at 01:20 PM 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 Saturday at 01:36 PM Posted Saturday at 01:36 PM 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 Saturday at 06:48 PM Posted Saturday at 06:48 PM 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 Saturday at 08:56 PM Author Posted Saturday at 08:56 PM 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 yesterday at 01:21 PM Posted yesterday at 01:21 PM 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 yesterday at 02:21 PM Posted yesterday at 02:21 PM 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.