lanefu changed the topic of #armbian-rockchip to: Armbian - Linux for ARM development boards | Rockchip SoC | www.armbian.com | This channel is relayed to the equivalent Discord channel | this channel is logged
<Armbian-Discord> <M​anoftheSea> Rk3399 sata driver? Soc specific?
<Armbian-Discord> <T​onymac32> wut
<Armbian-Discord> <M​anoftheSea> I was, very poorly, asking if the SATA driver for RK3399 is a SOC-specific driver. Then I forgot about it.
<Armbian-Discord> <M​anoftheSea> CONFIG_PHY_ROCKCHIP_PCIE=m hmm, I wonder if that's loaded
<Armbian-Discord> <M​anoftheSea> okay, it is, and I can see the SATA controller.
<Armbian-Discord> <M​anoftheSea> JMB58x AHCI SATA controller
<Armbian-Discord> <M​anoftheSea> which is just the ahci driver. lspci -vv says it's in use. Yet, I can't see disks.
<Armbian-Discord> <M​anoftheSea> I... wonder if they aren't spinning up, because there's something I'm not toggling.
<Armbian-Discord> <T​enkawa> @ManoftheSea I assume you had SATA_HOST etc enabled too right?
<Armbian-Discord> <M​anoftheSea> I think so
<Armbian-Discord> <T​enkawa> there's also AHCI drivers too that need to be inserted/compiled
<Armbian-Discord> <M​anoftheSea> I'll be getting back into it today
<Armbian-Discord> <M​anoftheSea> Ahci is "y"
<Armbian-Discord> <T​enkawa> there's multiple.. not just one
<Armbian-Discord> <M​anoftheSea> Ok. I'll look there
<Armbian-Discord> <T​enkawa> Yeah AHCI is a pain
<Armbian-Discord> <T​enkawa> too much overlapping/interweaving
<Armbian-Discord> <M​anoftheSea> hmm... apparently I've been trying to use a mainline 5.15.87 kernel on the helios64. I wonder if that's part of my problem.
<Armbian-Discord> <T​enkawa> bummer
<Armbian-Discord> <T​enkawa> especially if the helios64 has one of these vendor heavily modified non-mainline ones
<Armbian-Discord> <T​enkawa> (ie most rockchip ones)
<Armbian-Discord> <M​anoftheSea> no, but there are patches on current for armbian, so I presume they're not upstream in 5.15
<Armbian-Discord> <M​anoftheSea> I'mma try 6.1.2
<Armbian-Discord> <T​enkawa> Well even the Khadas 5.10 tree vs the Radxa one was odd...
<Armbian-Discord> <T​enkawa> I started at the same .66 point and could get much better results on the Khadas hardware using Radxa's tree
<Armbian-Discord> <T​enkawa> (odd as that sounds)
<Armbian-Discord> <T​enkawa> At some point though the MCU and the RNG starts diverging though and thats problematic
<Armbian-Discord> <M​anoftheSea> itif you like it than you shoulda put a RNG on
<Armbian-Discord> <T​enkawa> It has one
<Armbian-Discord> <T​enkawa> the kernel access to it was the problem
<Armbian-Discord> <T​enkawa> I need to find the entry point and add it to the other source driver
<Armbian-Discord> <T​enkawa> The MCU though is a bear of a undertaking
<Armbian-Discord> <r​pardini> it's insane how much time/$ Khadas put into that MCU code. Just terrible they did on a 2.6.x vendor kernel
<Armbian-Discord> <r​pardini> those vendors never put any money into software, and when they do, they throw it away. a sad world
<Armbian-Discord> <r​pardini> (they're probably laughing at me right now, sitting on a pile of Android-originated money.)
<lanefu> yeah my buddy is running a helios64 on a random image i built iwth kernel 6.0.6 and its held up