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 has quit [Remote host closed the connection]
DC-IRC has joined #armbian-rockchip
javabean has quit [Ping timeout: 246 seconds]
javabean has joined #armbian-rockchip
<DC-IRC>
<jackn01> its not the cable
<DC-IRC>
<tenkawa42> Well that's a bummer
<DC-IRC>
<jackn01> can someone test the hdmi video of the orangepi4 ? (not op4lts)
<DC-IRC>
<Tonymac32> Rk3568-odroid family has bad opps for the dvfs. Voltages are too low for the mid range opps, which can Do Weird Things (TM) to the overall table.
<DC-IRC>
<rpardini> Hmm. `rk3568-odroid` is just mainline 6.5-rcX, and patches for overlays....
<DC-IRC>
<lanefu> Seems like common opp table in mainline hasn't changed in 2 years
<DC-IRC>
<rpardini> maybe... this had to do with updated rkbins?
<DC-IRC>
<rpardini> btw... speaking of rkbins...
<DC-IRC>
<rpardini> does anyone know how to "combine" say `rk3399_ddr_800MHz_v1.30.bin` and `rk3399_usbplug_v1.30.bin` into a single loader for `rkdeveloptool`?
<DC-IRC>
<lanefu> I think what's in the kernel are the "wrong values" tony observed when we were chatting last night.
<DC-IRC>
<lanefu> `cat` lol
<DC-IRC>
<rpardini> really? I can just concatenate them? lol
<DC-IRC>
<lanefu> Troll advice but worth a try lol
<DC-IRC>
<rpardini> yeah. but it's `xrock write 0x0 armbian.img` does NOT work...
<DC-IRC>
<rpardini> If I use it only to init the loader, then use the regular rkdeveloptool to `wl` it works. 🤔
<DC-IRC>
<lanefu> That's goofy it just can't init the board?
<DC-IRC>
<rpardini> No, I'm just missing some mkimage or such, to combine DDR + usbplug into a single thing.
<DC-IRC>
<lanefu> Oh
<DC-IRC>
<lanefu> Hey so on another topic.
<DC-IRC>
<lanefu> In our new modern way of living in the Armbian builder. Would I still use the BSP folder and BSP functions if I wanna add things like a udev config to a board build?
<DC-IRC>
<lanefu> Will def try the new vendor pattern in patch folder dt overlays
<DC-IRC>
<rpardini> well that's 2 questions....
<DC-IRC>
<rpardini> - for userspace stuff... a bit of personal preference... if you wanna put files in bsp folder, then use a hook to copy them, it's OK. I personally rather use bash heredocs to keep everything together in the same place. more so if it's few lines of udev or some systemd service.
<DC-IRC>
<rpardini> - for kernel overlays... a few edge kernels already use the "no patching required" approach, if they have a `0000.patching_config.yaml` in the patch folder; just follow the trail from there (add overlay + add it to Makefile, no patching required).
<DC-IRC>
<lanefu> Yes the no patching required method like I saw for mekotronics and t6 is what I was thinking
<DC-IRC>
<lanefu> Yeah I guess heredoc inline in the config file is sane for a 3 line udev file
<DC-IRC>
<rpardini> Hmm right now we only have `0000.patching_config.yaml` for
<DC-IRC>
<c0rnelius77> That dts in linus repo looks like the same one I have in my repo or just about. I don't own the board but I'm told that works. Might not to fiddle with it.
<DC-IRC>
<c0rnelius77> That dts in linus repo looks like the same one I have in my repo or just about. I don't own the board but I'm told that works. Might need to fiddle with it.
<DC-IRC>
<lanefu> fuck you for making that magically work LOL. i tried doing that with udev for 2 hours last night and failed
<DC-IRC>
<lanefu> oh well just works for WAN right now lemme debug
<DC-IRC>
<Tonymac32> WAN is the built-in, the others are PCIe so somthing might be sideways
<DC-IRC>
<lanefu> yeah i tried matching the lan interfaces to my device names and still no dice
<DC-IRC>
<lanefu> okay yeah that didn't actually work.. it was my existin device tree modification i had on WAN that was working
<DC-IRC>
<lanefu> tell me more
<DC-IRC>
<Tonymac32> target = <&led-lan1>;
<DC-IRC>
<Tonymac32> etc
<DC-IRC>
<Tonymac32> fragment 0,1,and 2
<DC-IRC>
<Tonymac32> well hang on
<DC-IRC>
<Tonymac32> yeah that's what I meant to say
<DC-IRC>
<lanefu> line 31 I manually edited via teh armbian device tree editor thing an dit worked... so my overlay is trying to duplicate that behavior
<DC-IRC>
<Tonymac32> Yeah you need to target the node nane, in the device tree I think it's just lan1/2/3
<DC-IRC>
<lanefu> when i used the armbian device tree editor... this is the section it gives me
<DC-IRC>
<lanefu> line 31 I manually edited via the armbian device tree editor thing and it worked... so my overlay is trying to duplicate that behavior
<DC-IRC>
<lanefu> how do i find the node name
<DC-IRC>
<Tonymac32> Original device tree
<DC-IRC>
<viraniac> Could you please share your full dts as shown by armbian device tree editor?
<DC-IRC>
<Tonymac32> hmmm
<DC-IRC>
<lanefu> haha i thikn its dumber than that lol i thikn i got it standby