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
<DC-IRC> [Discord] <microlinux> Guys, @mackahan @rpardini , what happened with pci gen 2 on sbcs that was working before.
<DC-IRC> [Discord] <microlinux> The overlay seems to target things that aren't on the dtb anymkre
<DC-IRC> [Discord] <microlinux> I've playsaf and set that to 2. But that will not do. How to enable it?
<DC-IRC> [Discord] <Tonymac32> "on sbc's": you've tested more than one?
<DC-IRC> [Discord] <microlinux> Rk3399
<DC-IRC> [Discord] <microlinux> Rockpi4c
<DC-IRC> [Discord] <microlinux> This overlay makes no sense at all, it's the pci gen 2 one
<DC-IRC> [Discord] <microlinux> That target doesn't exist
<DC-IRC> [Discord] <Tonymac32> Who the hell used fixups
<DC-IRC> [Discord] <microlinux> That's the official overlay at armbian for rk3399 pci gen 2
<DC-IRC> [Discord] <Tonymac32> Also, Salva: good evening, how are the kids, how is the dog? Any good soccer to report? Any type of courtesy at all?
<DC-IRC> [Discord] <microlinux> Ohh sorry pal!!
<DC-IRC> [Discord] <microlinux> I am doing as good as I can!!! Hopefully you are on much better mental health hahaha
<DC-IRC> [Discord] <microlinux> Back on topic, many of this sbcs were capable of pci gen 2 . But now that's gone.
<DC-IRC> [Discord] <microlinux> Do you have kids???
<DC-IRC> [Discord] <microlinux> Pcs doesn't count
<DC-IRC> [Discord] <microlinux> Nor dogs
<DC-IRC> [Discord] <Tonymac32> technically speaking according to Rockchip they never were. 😉
<DC-IRC> [Discord] <Tonymac32> now my guess is someone fucked with that overlay because we don't know how to separate families properly, or an upstream change to the dtb happened
<DC-IRC> [Discord] <Tonymac32> did yo utest it on more than one, or is it just the rock4
<DC-IRC> [Discord] <Tonymac32> I don't see your overlay
<DC-IRC> [Discord] <Tonymac32> Two, actually
<DC-IRC> [Discord] <microlinux> Congrats on you my friend!
<DC-IRC> [Discord] <microlinux> Hey, I have this weird output
<DC-IRC> [Discord] <microlinux> It's barely readable, but it's a pci complain
<DC-IRC> [Discord] <Tonymac32> so here's the thing. If that overlay of yours doesn't exist in Armbian's github
<DC-IRC> [Discord] <Tonymac32> it's likely you aren't using an armbian compile
<DC-IRC> [Discord] <Tonymac32> it's also a CSC board
<DC-IRC> [Discord] <microlinux> Nono, this was compiled on armbian framework
<DC-IRC> [Discord] <microlinux> Yes
<DC-IRC> [Discord] <microlinux> Csc board.
<DC-IRC> [Discord] <Tonymac32> what kernel is it
<DC-IRC> [Discord] <microlinux> It's not your business to support it. I know thst
<DC-IRC> [Discord] <microlinux> 6.11
<DC-IRC> [Discord] <Tonymac32> That overlay *does not exist* in the Armbian framework
<DC-IRC> [Discord] <Tonymac32> I'm not arguing about support, lol
<DC-IRC> [Discord] <Tonymac32> I'm arguing that it can't be Armbian directly
<DC-IRC> [Discord] <microlinux> Well, I've build this system from the armbian framework.
<DC-IRC> [Discord] <microlinux> I have no dice on how thst overlay is there
<DC-IRC> [Discord] <microlinux> But the overlay isn't the problem at some extent. Ive modified the dtb itself, and it still doesn't work
<DC-IRC> [Discord] <Tonymac32> `/dts-v1/;
<DC-IRC> [Discord] <Tonymac32> /plugin/;
<DC-IRC> [Discord] <Tonymac32> / {
<DC-IRC> [Discord] <Tonymac32> compatible = "rockchip,rk3399";
<DC-IRC> [Discord] <Tonymac32> fragment@0 {
<DC-IRC> [Discord] <Tonymac32> target = <&pcie0>;
<DC-IRC> [Discord] <Tonymac32> __overlay__ {
<DC-IRC> [Discord] <Tonymac32> max-link-speed = <2>;
<DC-IRC> [Discord] <Tonymac32> };
<DC-IRC> [Discord] <Tonymac32> };
<DC-IRC> [Discord] <Tonymac32> };`
<DC-IRC> [Discord] <Tonymac32> that's the one in the build system
<DC-IRC> [Discord] <microlinux> Okay will try thst one
<DC-IRC> [Discord] <Tonymac32> ... we also have no entry to add the rockpi 4c to the build system, at least not in 6.11
<DC-IRC> [Discord] <Tonymac32> the dtb is called out in the board csc, but doesn't seem to exist elsewhere
<DC-IRC> [Discord] <Tonymac32> ah hang on I used dtb instead of dts
<DC-IRC> [Discord] <Tonymac32> ok mainline has it
<DC-IRC> [Discord] <microlinux> Tried this one, it didn't work on getting pci gen 2
<DC-IRC> [Discord] <Tonymac32> you know the right way, I need an armbianmonitor -u
<DC-IRC> [Discord] <microlinux> I've built 4c blobless noble mesa/vpu 6.11.5-edge-rockchip64
<DC-IRC> [Discord] <microlinux> Okay, /zoxedicize
<DC-IRC> [Discord] <Tonymac32> the target is still valid on clean linux
<DC-IRC> [Discord] <microlinux> Even then, editing the dtb itself should work the same way. And it didn't
<DC-IRC> [Discord] <microlinux> If you have any other tip to try, text me later on, it's to late over there (and here)
<DC-IRC> [Discord] <microlinux> Have a good night tony
ChanServ has quit [*.net *.split]
juri_ has quit [*.net *.split]
Werner has quit [*.net *.split]
troglodito has quit [*.net *.split]
JavaBean has quit [*.net *.split]
DC-IRC has quit [*.net *.split]
lanefu-er has quit [*.net *.split]
sfo has quit [*.net *.split]
DC-IRC has joined #armbian-rockchip
troglodito has joined #armbian-rockchip
Werner has joined #armbian-rockchip
juri_ has joined #armbian-rockchip
JavaBean has joined #armbian-rockchip
sfo has joined #armbian-rockchip
lanefu-er has joined #armbian-rockchip
ChanServ has joined #armbian-rockchip
<DC-IRC> [Discord] <Tonymac32> until you send me the armbianmonitor -u I can't give you anything
<DC-IRC> [Discord] <microlinux> Here
<DC-IRC> [Discord] <mecoblock> https://github.com/armbian/build/pull/7445
<DC-IRC> [Discord] <mecoblock> Rock5B+ has to be my favorite RK3588 SBC rn doing this felt like a no brainer
<DC-IRC> [Discord] <mecoblock> https://github.com/armbian/build/pull/7445
<DC-IRC> [Discord] <mecoblock> Rock5B+ has to be my favorite RK3588 SBC rn so doing this felt like a no brainer
<DC-IRC> [Discord] <fridtjof> as mentioned, I have a WIP (as in, something's up with some of the USB controllers and I hadn't had time to figure it out yet) DT for edge (rockchip-rk3588-6.11) kernels.
<DC-IRC> [Discord] <fridtjof> I derived it from the mainline rock5b and a diff between radxa 5b vs 5b+ DTs
<DC-IRC> [Discord] <fridtjof> I pushed it here, if you feel like giving it a try: https://github.com/fridtjof/armbian-build/tree/rock5bplus
<DC-IRC> [Discord] <mecoblock> Good that things are ramping up for that board now, I only wanted to get this going and maybe maintain it in the future. I'm pretty sure I read someone else from armbian should be assigned as maintainer with hw at hand but not sure what happened to that. I'm focusing on Mediatek Genio support again
<DC-IRC> [Discord] <fridtjof> thanks for putting the csc out though, i was a bit overwhelmed with all the moving parts. first time for me dabbling in aarch64, device trees and all that
<DC-IRC> [Discord] <fridtjof> i didn't even realize i could just throw the device tree in some directory until after a week of regenerating patch files every time i changed something lol
<DC-IRC> [Discord] <mecoblock> I get that I've been trying to understand all of this for a while now too with lots of trial and error. I think this is the first thing I actually got merged into armbian but I also feel more confident when it comes to the rockchip stuff nowadays
<DC-IRC> [Discord] <mecoblock> Documentation still has a long way to go to make entry easier 😅
<DC-IRC> [Discord] <fridtjof> i have like 3 linux checkouts from this now lmao
<DC-IRC> [Discord] <fridtjof> this stuff had me diffing device trees like a madperson, which admittedly got quite fun over time
<DC-IRC> [Discord] <fridtjof> actually, did you get rkdeveloptool or similar stuff to work on this board?
<DC-IRC> [Discord] <mecoblock> not tried on 5B+ on 5B yes
<DC-IRC> [Discord] <fridtjof> putting it in maskrom mode makes a USB device pop up on the additional type c port, but all the tools have been failing to talk to it
<DC-IRC> [Discord] <mecoblock> which host is?
<DC-IRC> [Discord] <mecoblock> which host os?
<DC-IRC> [Discord] <fridtjof> juggling sd cards got kind of tedious at some point
<DC-IRC> [Discord] <fridtjof> arch linux
<DC-IRC> [Discord] <mecoblock> have you tried this guide: https://wiki.radxa.com/Rock5/install/rockchip-flash-tools ?
<DC-IRC> [Discord] <mecoblock> probably a usb permission error else
<DC-IRC> [Discord] <fridtjof> I just used the AUR package, which pulls from rockchip-linux/rkdeveloptool. The diff looks trivial: https://github.com/rockchip-linux/rkdeveloptool/compare/master...radxa:rkdeveloptool:master
<DC-IRC> [Discord] <fridtjof> otherwise i've also tested rockusb: https://github.com/collabora/rockchiprs/tree/main/rockusb
<DC-IRC> [Discord] <fridtjof> both error out on what looks like low level USB issues
<DC-IRC> [Discord] <fridtjof> (tested both as root as well, of course)
<DC-IRC> [Discord] <sqilson> Hello guys, I have been trying trying the new PanVK driver for Mali Valhall that recently landed in Mesa, and it's very exciting to see this come about. Still, I've seen some stuff online that suggests an official driver exists? Do any of you know if there is really a conformant driver from the vendor available?
<DC-IRC> [Discord] <sqilson> like I have seen this: (https://github.com/Joshua-Riek/ubuntu-rockchip/issues/888)