Jump to content

Recommended Posts

Posted

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?

Posted

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?

 

Posted

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>;
+	};
+

 

Posted
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

Posted

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.

 

Posted

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...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines