tobetter / linux

Linux kernel source tree
Other
68 stars 30 forks source link

odroid HC1 linux-5.15.78+ #42

Open beoelker opened 1 year ago

beoelker commented 1 year ago

I build your linux-5.15.y kernel and run it successfully on odroid XU3 lite ... Then I put the kernel on odroid hc1 with boot on sdcard, root on hdd (sata III) => kernel + initrd loads successfully .... The disk is spinning up, but the console shows usb3 problems => toggle power off, then on, but before the hdd (samsung) spins up, the toggle power off, on restarts .... After some time the systems gives up and only ramfs with busy box ... The same hc1 runs with kernel 5.4.* from odroid repo (Ubuntu jammy) without any problem ! odroid_hc1.log After some tries, it starts, but there might be some timing issue to wait for the usb3 to uas controller ?

ghost commented 1 year ago

@tobetter On Odroid HC1/HC2 (which is basically the XU4 platform, but using onboard usb3 to sata adapter) From kernel 5.19.14 onwards, I see "cannot enable, maybe USB cable is bad" liek the above log. Might it be a common patch?

Things work fine in version 5.19.3, so something happened between August and October here: https://github.com/tobetter/linux/commits/odroid-5.19.y?author=tobetter

UPDATE: Armbian has recently switched to mainline for 6.1.y on XU4.

I'm running linux 6.1 from the torvalds branch and my HDD is being accessed fine.

@beoelker If you're using armbian, try switcing to edge branch, update your system and reboot.