Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] LibreELEC 12.0.1 unbootable on Rock64 (RK3328) #9244

Closed
NetDwarf opened this issue Aug 27, 2024 · 10 comments
Closed

[BUG] LibreELEC 12.0.1 unbootable on Rock64 (RK3328) #9244

NetDwarf opened this issue Aug 27, 2024 · 10 comments

Comments

@NetDwarf
Copy link
Contributor

NetDwarf commented Aug 27, 2024

Describe the bug

A fresh install of LibreELEC 12.0.1 is stuck on boot. LibreELEC logo and version shows, but it remains on that screen forever.

How to reproduce

Steps to reproduce the behavior:

  1. Flash LibreELEC 12.0.1 (stable) to SD card
  2. Insert SD
  3. Start device

Information

  • LibreELEC Version: 12.0.1
  • Hardware Platform: Rock64 (RK3328)

Log file

Unfortunately there is no Kodi.log or anything useful I could find, so you might need to point me in the right direction.

I can say that the installation process seemingly went fine as the partitions are there and have the right size as far as I can tell.

Context

This is also true for newer nightly releases (20240802 was the previous working nightly)

@heitbaum
Copy link
Contributor

@NetDwarf
Copy link
Contributor Author

NetDwarf commented Aug 28, 2024

It's not. It's on a 1080p display, kernel 6.6 (presumably, if it didn't change for this specific version), 12.0.1 stable.

PS.: It also doesn't reboot and I have no SSH access (that'd be a boon).

@heitbaum
Copy link
Contributor

I had a look - you are right - only the kodi and kernel really different between these 2

cbf0545...12.0.1

Did you get anything on the screen during the 12.0.1 boot?

I'm going to suggest

@NetDwarf
Copy link
Contributor Author

NetDwarf commented Aug 29, 2024

I had a look - you are right - only the kodi and kernel really different between these 2

cbf0545...12.0.1

Did you get anything on the screen during the 12.0.1 boot?

I'm going to suggest

* boot with a clean https://test.libreelec.tv/12.0/Rockchip/rock64/LibreELEC-RK3328.aarch64-12.0-nightly-20240802-cbf0545-rock64.img.gz image.

* validate

* put the 12.0.1 image into the .update folder
  • fresh 12.0-nightly-20240802 boots and then updating to 12.0.1 -> broken
  • fresh 12.0.0 (stable) boots and then updating to 12.0.1 -> broken

I think it is safe to say, that 12.0.1 is broken on this specific setup at least (Rock64 RK3328).

Is there actually a way to debug this stuck boot somehow?

@heitbaum
Copy link
Contributor

We are checking - it might be fixed with an upstream patch - https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/drivers/pinctrl/pinctrl-rockchip.c?id=128f71fe014fc91efa1407ce549f94a9a9f1072c - will advise once tested.

@diederikdehaas
Copy link

diederikdehaas commented Aug 31, 2024

@heitbaum
Copy link
Contributor

@NetDwarf please test https://heitbaum.libreelec.tv/LibreELEC-RK3328.aarch64-12.0-devel-20240831103135-ee40b52-rock64.img.gz and let us know, then we can include the patch in the nightly releases if it does indeed fix your issue.

@diederikdehaas
Copy link

diederikdehaas commented Aug 31, 2024

@heitbaum How can I get serial output? I downloaded the above image and the 12.0.1 release and have a serial console connected to my Rock64, but when I started up, I didn't get anything on serial.
How to change that?

EDIT: nvm, found it: add console=ttyS2,1500000n8 to extlinux.conf

@diederikdehaas
Copy link

diederikdehaas commented Aug 31, 2024

Surprisingly (?) the serial output was the same, apart from timestamps/guids and the release identifier.

I'll now try the visual approach, but that's without serial. Could it be that this issue doesn't happen always? Or only with certain HW revisions? I have a Rock64 v2

EDIT: everything seems to work fine in 'visual' mode too.
I did have a DNS problem (within my LAN) though where I could ping by IP address, but not by hostname, while that works fine on my 'regular' LE device (also Rock64) in that same LAN, but that still runs 11.0.6 ...

Anyway, it looks like I can't help with this problem, so I'd better stay out of it.
Having said that, the mentioned bug is real and the fix/patch fixes that bug, but maybe something else is going on here ..

@NetDwarf
Copy link
Contributor Author

NetDwarf commented Sep 3, 2024

@NetDwarf please test https://heitbaum.libreelec.tv/LibreELEC-RK3328.aarch64-12.0-devel-20240831103135-ee40b52-rock64.img.gz and let us know, then we can include the patch in the nightly releases if it does indeed fix your issue.

Updating from 12.0.1 (offline) the devel build boots, so I'd assume this issue is fixed with this patch.

PS.: Sorry for the late feedback, but I haven't had access to the device in the last few days.

@NetDwarf NetDwarf closed this as completed Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants
@diederikdehaas @heitbaum @NetDwarf and others