ChanServ changed the topic of #linux-sunxi to: Allwinner/sunxi development - Did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait for an answer! - This channel is logged at https://oftc.irclog.whitequark.org/linux-sunxi
<wigyori> loosely related - i was looking at how much of the d1 support has been mainlined into u-boot (tried to upgrade from 2023.01), and it seems like it stopped or wasn't even attempted
<apritzel> wigyori: yes, I haven't seen any RISC-V patches on the list, if that's what you mean
<apritzel> I started some preparation for disentangling sunxi and arch/arm, but there is still some work left
<apritzel> smaeul wanted to introduce DM_SPL for the D1, so DT driven code in the SPL, but I am not a big fan of that, and it's another big chunk of code and changes
<apritzel> in general the D1 mainline interest died a bit down, it seems? Or maybe it's good enough as it is?
<wigyori> yes, seems like interest died down on it - it was a good soc, but better ones have been released
<wigyori> actually, i'm fine with running on 2023.01 anyway
<apritzel> what does "good SoC" mean here? I found it mostly "meh": apart from the novelty of having a RISC-V core in a cheap chip, was there really anything interesting in it?
<apritzel> on the plus side there was quite some momentum for upstreaming back then, which helps other SoCs now
vagrantc has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
<tokyovigilante> Have moved the colorspace code into the mixer object for the DE33 and working well. Planning to submit a v1 of the LCD TCON enablement along with v6 of the DE33 patch, should I split out the DTSI changes for the H616 into separate patches, or are they better together? Or is a SOC/TCON split sufficient?
<tokyovigilante> And I see a new revision of the PWM patch for the H616 et al has been submitted, should I just stick with a simple GPIO control for the backlight or put in a PWM node now?
vagrantc has quit [Quit: leaving]
naoki has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
ftg has quit [Read error: Connection reset by peer]
hexdump01 has joined #linux-sunxi
hexdump0815 has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
chewitt has joined #linux-sunxi
<wens> bigger problem is finding someone to review the drm code :|
apritzel has joined #linux-sunxi
jernej- is now known as jernej
<jernej> wens: I'll do it in following days
hazardchem has quit [Read error: Connection reset by peer]
hazardchem has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Quasar 5.2.6, revision: 5.2.6+git-7609-afed1336e, build type: debug, sources date: 20160102, built on: 2024-12-18 20:43:05 UTC 5.2.6+git-7609-]
<loki666> tokyovigilante: pwm patch is not for h616 yet, marcromorgan is waiting for D1 to be merged first
<wens> apritzel: I think I might just land the A523 CCU patches directly without too much review of the SoC bits
naoki has quit []
BroderTuck has joined #linux-sunxi
<BroderTuck> So...
<BroderTuck> Considering something that may end up being just plain unworkable.
<BroderTuck> Warpme once posted a link here to https://gist.github.com/warpme/2705f38fc713f130247fc257e4b3b55a (a Maxio driver)
<BroderTuck> Searching for info on the mae0621A I find claims that the chip is pin-to-pin compatible with the realtek rtl8211f
<BroderTuck> and comparing that driver ( drivers/net/phy/realtek/realtek_main.c ) to this one shows several functionally identical #defines
<BroderTuck> So, my insane idea was to incorporate the maxio stuff into the realtek driver.
<BroderTuck> Not an easy task since there are still mejor differences, and with my skills I'm not sure if I would get anything that works.
<BroderTuck> (dt bits in particular, I don't speak dte)
<BroderTuck> *dts
warpme has joined #linux-sunxi
<BroderTuck> warpme: Morning
<warpme> Morning!
<warpme> BroderTuck: re maxio: my experience with cubie a5e: my board has 2 maxio chips soledred - but in my case (with gmac/gmac200 drivers ported from bsp) - both are using generic phy kernel code to serve maxio chips....
<warpme> above code gives me eth0/eth1 working well on cubie a5e and h728 based x96pro+. On oip4a however i can't get rx path working (i see dhcp bcst, my server replays but kernel not receiving those replays). As now we have .sch - i'll try to verify: is my past guessing of hw correct.....
apritzel has quit [Ping timeout: 480 seconds]
<jernej> if anyone is annoyed with phoenix images, here is a script to convert it to ordinary raw images, which can be flashed with dd or whatever: https://gist.github.com/jernejsk/7290b340ecc636bafd52f80fa3ed9fff
<jernej> tested with radxa phoenix image
<jernej> it was born out of frustration because I was doing this manually and accidentally rewrite beginning of my laptop drive due to corrupted gpt table in that phoenix image :)
cnxsoft has quit [Remote host closed the connection]
cnxsoft has joined #linux-sunxi
apritzel has joined #linux-sunxi
<chewitt> BroderTuck it's possible that the original source for that driver is https://github.com/chewitt/linux/commit/dbcc56c1a71911850208663846c93f80307eb455
<chewitt> which I copied from some files that some Amlogic user shared with me
<chewitt> and I cleaned up a little to pass checkpatch
<chewitt> in my original commit I have clearly noted that the GPL license needs to be confirmed; because the original sources don't have any mention of licensing
<chewitt> but .. to compile/test it in the kernel you need some of that boilerplate
<apritzel> chewitt: that's a good start, but what worries me are the parts that reach into the stmmac and generic phy_device code
<chewitt> as provenance is questionable (and nobody at Maxio that I can find emails for responded to my Q's) adding support to the realtek driver would be a great move
<chewitt> for context .. I have limited coding skills so beyond fixing a couple of simple checkpatch issues I've made zero attempt to clean anything up
<apritzel> because they look like they would break abstraction, and the #ifdef in phy_device.c looks definitely wrong. That would mean that the design of the driver is not quite right
<chewitt> I'm fairly sure the driver code I was given came from a vendor BSP code drop, so there's probably multiple kernel crimes committed
<chewitt> it probably went from the "look mom it works!" stage straight to "shipped to customer" :)
<chewitt> it might be interesting to have a Mandarin speaker email the original author
<chewitt> no guarantees he's still there, but might get more success
<chewitt> I'll have a polite word with @smp79 about not removing license comments and patch attribution in the future
<BroderTuck> So yeah, getting this into proper mainlining shape isn't gonna be easy, I'm most likely not gonna attempt it myself anyway.
JohnDoe_71Rus has joined #linux-sunxi
cnxsoft has quit [Remote host closed the connection]
montjoie has joined #linux-sunxi
montjoie_ has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
ftg has joined #linux-sunxi
warpme has quit []
apritzel has quit [Ping timeout: 480 seconds]
chewitt has quit [Quit: Zzz..]
cnxsoft has joined #linux-sunxi
chewitt has joined #linux-sunxi
warpme has joined #linux-sunxi
warpme has quit []
bauen1 has quit [Ping timeout: 480 seconds]
cnxsoft has quit [Ping timeout: 480 seconds]
BroderTuck has quit [Quit: Page closed]
warpme has joined #linux-sunxi
chewitt has quit [Remote host closed the connection]
chewitt has joined #linux-sunxi
bauen1 has joined #linux-sunxi
warpme has quit []
apritzel has joined #linux-sunxi
warpme has joined #linux-sunxi
warpme has quit []
evgeny_boger has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
dsimic is now known as Guest9317
chewitt has quit [Read error: Connection reset by peer]
dsimic has joined #linux-sunxi
Guest9317 has quit [Ping timeout: 480 seconds]
bauen1 has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/]
warpme has joined #linux-sunxi
warpme has quit []
wingrime-ww has joined #linux-sunxi
apritzel has joined #linux-sunxi
naoki has joined #linux-sunxi
vagrantc has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
<tokyovigilante> loki666: thanks, do you think it can be adapted or should we reconsider one of the existing ones?
<tokyovigilante> jernej: thanks I appreciate it
<Jookia> i realized i can just use another git worktree and buildroot dir for mainlining efforts... that's going to be so much easier than having to context switch
naoki has quit []
radxanaoki has joined #linux-sunxi