hardkernel / linux

Linux kernel source tree
Other
427 stars 408 forks source link

Odroid HC1 does not boot on 6.1.y and 6.6.y kernels #437

Open polyzen opened 1 month ago

polyzen commented 1 month ago

https://github.com/archlinuxarm/PKGBUILDs/pull/2027#issuecomment-2212529779 (https://github.com/user-attachments/files/16120285/exception.txt) https://github.com/ffaille/alarm-linux-odroid-xu3/issues/1

mdrjr commented 1 month ago

What defconfig you used? what gcc you used? what u-boot... Please don't truncate the boot log

polyzen commented 1 month ago

@bwcknr and/or @kyak, could you provide the logs requested?

polyzen commented 1 month ago

Unrelated, but could you confirm the kernel built from the odroid-6.6.y branch should be used for N2 devices as well? That would mean https://github.com/archlinuxarm/PKGBUILDs/tree/master/core/linux-odroid-n2 could be removed.

Edit: Unless perhaps they should use the generic https://github.com/archlinuxarm/PKGBUILDs/tree/master/core/linux-armv7

mdrjr commented 1 month ago

Yes, we are using odroid-6.6.y for C4 Series, N2 Series and XU4. I can't reproduce your issue with HC1 using odroid-6.6.y branch.

wickner-consid commented 1 month ago

@bwcknr and/or @kyak, could you provide the logs requested?

Sure, here you go!

@mdrjr thanks for still supporting the eol'ed platform

*edit: attached the log, sorry had a long day hc1_dump.txt

kyak commented 4 weeks ago

@bwcknr and/or @kyak, could you provide the logs requested?

Sure, here you go!

@mdrjr thanks for still supporting the eol'ed platform

*edit: attached the log, sorry had a long day hc1_dump.txt

My HC1 refuses to boot with exact same error (won't duplicate logs).

polyzen commented 2 weeks ago

I learned how to properly use defconfig's now 😅. Please try linux-odroid-xu3 6.6.44-1 @wickner-consid @kyak

What defconfig you used?

odroidxu4_defconfig. Previously I had copied the defconfig rather than using make ARCH=arm odroidxu4_defconfig, and during the build I had to provide some decisions when prompted for some configurations options. I had used the other kernel configs in https://github.com/archlinuxarm/PKGBUILDs/tree/master/core to fill in those answers. With a fresh .config created with make ARCH=arm odroidxu4_defconfig, now I only had to adjust CONFIG_LOCALVERSION.

polyzen commented 2 weeks ago

The package config had also been missing these changes: https://github.com/hardkernel/linux/commit/57762819c5bff58ac0f8d443e4b82bba205cd83e https://github.com/hardkernel/linux/commit/b9e3e21266126ae39b0bd213a12d0b82ef3f2cbc