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
apritzel has quit [Ping timeout: 480 seconds]
rpirea has quit [Quit: rpirea]
grming has quit [Quit: Konversation terminated!]
sputnik2019 has joined #linux-sunxi
Administrator_ has joined #linux-sunxi
sputnik2019 has quit [Read error: Connection reset by peer]
Administrator_ has left #linux-sunxi [#linux-sunxi]
sputnik2023 has joined #linux-sunxi
<sputnik2023> /msg NickServ IDENTIFY abcd1234
<sputnik2023> @warpme
<sputnik2023> h313/h616 new soc version is BB used ac300,dump 0x300622c reg.ac300 if bit 8 is 1.ac200 if bit is 0
dwfreed has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
Danct12 is now known as Guest9345
Danct12 has joined #linux-sunxi
rpirea has joined #linux-sunxi
rpirea has quit [Quit: rpirea]
rpirea has joined #linux-sunxi
rpirea has quit [Remote host closed the connection]
Danct12 has quit [Remote host closed the connection]
Danct12 has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
rpirea has joined #linux-sunxi
gsz has joined #linux-sunxi
Administrator_ has joined #linux-sunxi
sputnik2023 has quit [Ping timeout: 480 seconds]
chewitt has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
rpirea has quit [Quit: rpirea]
rpirea has joined #linux-sunxi
junari__ has joined #linux-sunxi
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
rpirea has quit [Quit: rpirea]
rpirea has joined #linux-sunxi
junari_ has joined #linux-sunxi
junari__ has quit [Ping timeout: 480 seconds]
rpirea has quit [Quit: rpirea]
rpirea has joined #linux-sunxi
rpirea has quit [Quit: rpirea]
rpirea has joined #linux-sunxi
warpme_ has joined #linux-sunxi
warpme has quit []
warpme__ has joined #linux-sunxi
<warpme_> sputnik2023: can i do this under Linux or i must do this under vendor Android? Doing this under linux gives me: "peekpoke -b 0x300622c r.l 0" result: 0x2e60303. here bit8 is 1. As test on H6 (with ac200) i'm getting 0x2d40002 - so bit8 is 0. Is this correct?
dwfreed has left #linux-sunxi [#linux-sunxi]
tnovotny has joined #linux-sunxi
Administrator_ has quit [Read error: Connection reset by peer]
Administrator_ has joined #linux-sunxi
<Administrator_> both
Administrator_ is now known as sputnik2003
<warpme_> sputnik2003 : at some point in time i found AW bsp code for AC300. Will it be useful for you?
hlauer has joined #linux-sunxi
<sputnik2003> @warpme
<sputnik2003> this my patch!
hlauer has quit [Quit: Leaving]
<sputnik2003> +&mdio1 {
<sputnik2003> +rmii_phy: ethernet-phy@16 {
<sputnik2003> +compatible = "ethernet-phy-ieee802.3-c22";
<sputnik2003> +};
<sputnik2003> +reg = <16>;
hlauer has joined #linux-sunxi
<sputnik2003> +};
<sputnik2003> pwm:clock_sun50i_h6.c
<sputnik2003> phy patch is /drivers/net/phy/phy.c
apritzel has joined #linux-sunxi
<warpme_> fantastic. let me play with this!
<warpme_> to be sure: i need to play only with uboot - right?. well working (for int.phy in h616) kernel should be untouched?
hlauer_ has joined #linux-sunxi
<sputnik2003> linux:dts:+&mdio1 {
<sputnik2003> +compatible = "ethernet-phy-ieee802.3-c22";
<sputnik2003> +emd_rgmii_phy: ethernet-phy@0 {
<sputnik2003> +};
<sputnik2003> +reg = <0>;
<sputnik2003> +};
<sputnik2003> Turn off PWM initialization in ccu-sun50i-h616.c
rpirea has quit [Quit: rpirea]
rpirea has joined #linux-sunxi
<sputnik2003> I'm just hacked the code for mangopi h616
<warpme_> ah not only this....
Administrator_ has joined #linux-sunxi
sputnik2003 has quit [Remote host closed the connection]
hlauer has quit [Quit: Leaving]
hlauer_ has quit []
hlauer has joined #linux-sunxi
hlauer has quit [Quit: Leaving]
hlauer has joined #linux-sunxi
tnovotny has quit [Ping timeout: 480 seconds]
<apritzel> oh all those hacks ...
<apritzel> can someone PLEASE start to extract parts and send patches upstream?
<apritzel> for instance the OPP parts, that seems to be a low hanging fruit
<apritzel> as for the PWM clock: if you need to hack it, can't you just mark it as CLK_IS_CRITICAL?
<apritzel> another alternative would be to have a super basic PWM driver which just supports the bypass functionality we need
rpirea has quit [Quit: rpirea]
rpirea has joined #linux-sunxi
<warpme_> sputnik2003: [ 141.526148] dwmac-sun8i 5030000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx :-)))))
<warpme_> so it looks ALL periph are working now https://termbin.com/zjc0
<warpme_> now it looks I can enjoy hw decoded HD video/tv playback on x96-q. fantastic work from you, million thx!
rpirea has quit [Quit: Leaving]
<apritzel> warpme_: and now please wrap this up properly, and push for upstreaming this
rpirea has joined #linux-sunxi
<apritzel> at least put some reasonable split-up patches somewhere, along with your Signed-off-by:, so people can take your patches and submit them
tnovotny has joined #linux-sunxi
<warpme_> apritzel : i definitely want to help wring proper code to support ac200/ac300 in mainline. But writing code vs. writing code with upstreaming quality is totally different thing for me... Ideally will be to have top guns (like You or Jernej) as masters and me as helper/tester
<apritzel> warpme_: we are more than happy to help!
rpirea has quit []
<warpme_> first thing i will do will be create wiki and document what is needed (i mean hacks & quirks) to get mainline on h313
rpirea has joined #linux-sunxi
<apritzel> yes please, anything in the Wiki helps to dump information
<apritzel> especially we need to solve the mystery about the different versions of those H616/H313/T507 chips
<warpme_> btw: interesting is that i got h313 Eth on 6.2.8 mainline without any mods (this is my mm2 mainline kernel common for 13 SoCs). nice!
<apritzel> warpme_: but didn't you need to do something about the PWM clock?
<warpme_> apritzel: it looks it is not needed
<warpme_> i mean it is not needed in kernel
<warpme_> i'm currently on 11.05.2021 sunxi-custodians uboot. Current head of sunxi-custodians uboot gives me non-working Eth (on both h616 and h313). And i'm still thinking how to find root cause of this
<apritzel> warpme_: sunxi-custodians is not a useful repo, really, it's merely a vehicle for pull request
<warpme_> ah ok - so i will switch to mainline and test...
<apritzel> warpme_: yes, please do, we need to fix things in *there* anyway
warpme__ has quit []
junari__ has joined #linux-sunxi
junari_ has quit [Ping timeout: 480 seconds]
gsz has quit [Ping timeout: 480 seconds]
gsz has joined #linux-sunxi
sputnik2023 has joined #linux-sunxi
Administrator_ has quit []
sputnik2023 has quit []
sputnik2023 has joined #linux-sunxi
Net147 has quit [Quit: Quit]
Net147 has joined #linux-sunxi
sputnik2023 has quit []
tnovotny has quit [Ping timeout: 480 seconds]
tnovotny has joined #linux-sunxi
warpme_ has quit []
gsz has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
Danct12 has quit [Quit: WeeChat 3.8]
grming has joined #linux-sunxi
JohnDoe_71Rus has quit []
warpme has quit []
hlauer has quit [Remote host closed the connection]
gsz has joined #linux-sunxi
cnxsoft has quit []
warpme has joined #linux-sunxi
junari_ has joined #linux-sunxi
junari__ has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
tnovotny has quit [Quit: Leaving]
stipa is now known as Guest9403
stipa has joined #linux-sunxi
Guest9403 has quit [Remote host closed the connection]
warpme has quit []
warpme has joined #linux-sunxi
warpme has quit []
warpme has joined #linux-sunxi
warpme has quit []
warpme has joined #linux-sunxi
mkazantsev has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
stipa is now known as Guest9411
stipa has joined #linux-sunxi
Guest9411 has quit [Read error: Connection reset by peer]
warpme has quit []
warpme has joined #linux-sunxi
mkazantsev has quit [Remote host closed the connection]
stipa has quit [Read error: Connection reset by peer]
stipa has joined #linux-sunxi
warpme has quit []
junari__ has joined #linux-sunxi
warpme has joined #linux-sunxi
junari_ has quit [Ping timeout: 480 seconds]
gsz has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
vagrantc has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has quit []
warpme has quit []
apritzel has joined #linux-sunxi
ftg has joined #linux-sunxi
junari_ has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
junari__ has quit [Ping timeout: 480 seconds]
vagrantc has joined #linux-sunxi
ftg has quit [Read error: Connection reset by peer]
junari_ has quit [Remote host closed the connection]
junari_ has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
jelly has quit [Remote host closed the connection]