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
montjoie has quit [Ping timeout: 272 seconds]
montjoie has joined #armbian-rockchip
DC-IRC has quit [Remote host closed the connection]
DC-IRC has joined #armbian-rockchip
<DC-IRC> <lanefu> ooo looks like collabora rebased their tree to 6.5.0-rc1 now
<DC-IRC> <lanefu> It looks good! Gonna have to benchmark usb3
<DC-IRC> <tenkawa42> Got the src url handy?
<DC-IRC> <tenkawa42> Thanks
<DC-IRC> <tenkawa42> I'll be curious to see if that one will run on the Edge2.. It has always had more trouble with newer kernels
<DC-IRC> <tenkawa42> the dtb source is there so we'll see...
<DC-IRC> <efectn> Khadas edge 2 is mainlined it should work
<DC-IRC> <tenkawa42> @efectn it hasn't yet
<DC-IRC> <tenkawa42> the "code" is starting to be in mainline but that does not mean it runs...
<DC-IRC> <tenkawa42> thats why its not in a released version
<DC-IRC> <tenkawa42> most of the dts and until recently the drivers were missing
<DC-IRC> <tenkawa42> the Edge2 was always behind other RK devices
<DC-IRC> <tenkawa42> Its compiled... installing now to see what happens
<DC-IRC> <lanefu> USB 3.0 still 👎
<DC-IRC> <efectn> What's lsusb output
<DC-IRC> <tenkawa42> It also still has no dtb happyness on the Edge2
<DC-IRC> <tenkawa42> It also still has no dtb happiness on the Edge2
<DC-IRC> <tenkawa42> Its missing too much still
<DC-IRC> <efectn> Looks like usb3 nodes are not added to rock5b yet
<DC-IRC> <efectn> I wonder type-c works with midstream. Added nodes, fusb module loaded but it doesn't work
<DC-IRC> <efectn> I wonder type-c works with collabora. Added nodes, fusb module loaded but it doesn't work
<DC-IRC> <lanefu> I tired using a type-c hub but didn't get anything
<DC-IRC> <lanefu> @efectn I also tried building rk3588 edge kernel today since i saw you added a bunch of patches.. it built fine, but i guess need more device tree stuff or kernel config? cuz no usb, ethernet, pcie2 etc when i booted
<DC-IRC> <efectn> Which device did you try
<DC-IRC> <lanefu> rock-5b v1.3
<DC-IRC> <efectn> I didn't include patches for rock5b. They need to be included
<DC-IRC> <lanefu> what RK3588 device are you focusing on?
<DC-IRC> <efectn> Then it will work fine
<DC-IRC> <efectn> Perhaps we can also add pci3x4
<DC-IRC> <efectn> Opi5
<DC-IRC> <lanefu> ah
<DC-IRC> <lanefu> it'll be a miracle of pci3x4 even works... that patch seems like it hasn't been touched since its first attempt in march
<DC-IRC> <efectn> Pci3x2 is not yet supported but still nice
<DC-IRC> <lanefu> oh wow that's super new
<DC-IRC> <lanefu> okay i guess I better decide what rabbit hole i wanna go down today
<DC-IRC> <lanefu> lol
<DC-IRC> <jason123santa> is the edge kernel that the build tool would build 6.3?
<DC-IRC> <Tonymac32> 6.4 or maybe 6.5-rc now, I haven't checked
<DC-IRC> <Tonymac32> @lanefu it's in collabora test, I don't know what their speed of mving it into the main branch is, but since it got shoved to the kml so fast I can't imagine it doesn't get there soon
<DC-IRC> <jason123santa> looks like some of the patches failed to apply
<DC-IRC> <jason123santa> looks like its kernel 6.3 for rockchip64
<DC-IRC> <lanefu> hmm something something this happened
<DC-IRC> <Tonymac32> you have a lot of untracked in there
<DC-IRC> <lanefu> blame the _defconfig_ stuff I still don't quite understand lol
<DC-IRC> <Tonymac32> well not having a clean branch anywhere now makes this harder
<DC-IRC> <Tonymac32> lemme try
<DC-IRC> <Tonymac32> same result my side. different branches I'm sure
<DC-IRC> <Tonymac32> some incongruities
<DC-IRC> <jason123santa> the most important patches for usb c dp alt mode on pinebook pro fail to apply
<DC-IRC> <jason123santa> it has to be with whatever armbian kernel has because there is a kernel with the patches applied
<DC-IRC> <Tonymac32> they were hacks in the first place
<DC-IRC> <Tonymac32> I haven't had the interest or time to go back and clean there,
<DC-IRC> <jason123santa> What I was trying to do was bring the megous patches to fix usb c dp alt mode and other parts of usb c into armbian
<DC-IRC> <rpardini> @jason123santa I walked you through this yesterday. What went wrong?
<DC-IRC> <Tonymac32> ffs can we stop patchwork quilting this shit? the usb type-c stuff isn't rocket science, taking patches from 6 different places without knowing how to address issues is a recipe for disaster
<DC-IRC> <Tonymac32> compare the patches and make updates
<DC-IRC> <lanefu> It's artisanal when Appalachian Matriarchs do it
<DC-IRC> <Tonymac32> Lol
<DC-IRC> <rpardini> You're missing some previous patch this one depends on...
<DC-IRC> <rpardini> Take a look a linux-next and grab'em
<DC-IRC> <jason123santa> I removed the patch that existed for usb c alt mode and then put the other patches in and tried to build it but it failed to apply the patches
<DC-IRC> <jason123santa> if its not rocket science then why is it not working
<DC-IRC> <jason123santa> besdies the fixes are from one place
<DC-IRC> <jason123santa> the main issue is that the fixes are not upstreamed so its broken
<DC-IRC> <Tonymac32> If that's your level of understanding I'll let you figure it out on your own. I don't have time for "basic logic and reasoning" lessons.
<DC-IRC> <jason123santa> yeah but till the patches are in mainline then there needs to be patches added to the kernel
<DC-IRC> <tenkawa42> Then add them yourself like the rest of us do
<DC-IRC> <tenkawa42> We add them to our own builds all the time
<DC-IRC> <jason123santa> that is basically what I am trying to do
<DC-IRC> <jason123santa> trying to add the patches for the armbian builder to use but its just failing
<DC-IRC> <tenkawa42> You need to do it "outside" the builder first in just a copy if the kernel source cache to see what's different.. then work backwards from there.. this way you can do it without having to restart everytime... it also gives you the ability to apply patches in a "dry-run" fashion without actually making the change yet until they look "correct"
<DC-IRC> <jason123santa> I will try that and see if there is any way to make the patches work
<DC-IRC> <jason123santa> at least it works if I added the prebuilt kernel to armbian instead of the armbian kernel
<DC-IRC> <Tonymac32> Understand what the patches do, then you will be able to tell why they fail and adjust them accordingly. I'm not trying to be a smartass, but honestly it's just a little work to figure out