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
vagrantc has quit [Quit: leaving]
freemangordon has quit [Ping timeout: 480 seconds]
apritzel has quit [Ping timeout: 480 seconds]
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
<smaeul> https://github.com/mangopi-sbc/aw-doc has a T113 datasheet, which is the same die as R528 but may or may not be a different package
vagrantc has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
Danct12 has quit [Remote host closed the connection]
cnxsoft1 has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
Hypfer has quit [Ping timeout: 480 seconds]
cnxsoft has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
mehdix has quit []
mehdix has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
apritzel has quit [Ping timeout: 480 seconds]
freemangordon has joined #linux-sunxi
<montjoie> megi: what about http://dpaste.com/GR2TH9MG8 ? it dont work yet but it should right ?
sunshavi_ has joined #linux-sunxi
sunshavi has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
sunshavi_ has quit [Ping timeout: 480 seconds]
<montjoie> jernej: according to opi1+ schematics, there are no dual supply for phy
<montjoie> ppffff I just saw it now
<MoeIcenowy> smaeul: I think not the same package
<MoeIcenowy> T113 has the same package with F133
<MoeIcenowy> F133 is just D1s
<MoeIcenowy> BTW a new package appears for sun8iw8
<MoeIcenowy> R11
Danct12 has joined #linux-sunxi
Hypfer has joined #linux-sunxi
evgeny_boger has quit [Quit: evgeny_boger]
<montjoie> I am bad at schematics, how to understand how is enabled 2v5 regulator ?
<megi> GMAC_EN to enable EPHY-VDD25 and ALDO2 to enable VCC3V3-MAC
<megi> on opi one +
<megi> the way I read it
<megi> GMAC_EN = PD6
<montjoie> where the = PD6 could be found ?
<megi> SoC
<montjoie> megi: I tested opi3 with my patch, phy not found, any idea ?
<montjoie> thanks I search only vdd25/ephy
<megi> maybe you're looking at a wrong DT node https://megous.com/dl/tmp/822531acbc0abb49.png
<megi> that's a &mdio bus not the phy node inside it https://megous.com/dl/tmp/68f99c73cefd64fb.png
<montjoie> megi: regulator is found and enabled (accoring to debug)
<megi> yes it always is
<megi> if regulator is not found in DT, the regulator core will create a dummy one
<megi> on the fly
<montjoie> i have no dummy message
<montjoie> I got it before when doing it badly
<megi> so I don't know, ->bus just looks like a mdio bus not the phy node
<montjoie> I will retry by removing one phy supply to see if it behave differently
<montjoie> megi: removing one lead to a dummy supply and EMAC reset timeout
<montjoie> so it is correclyt used
evgeny_boger has joined #linux-sunxi
apritzel has joined #linux-sunxi
Danct12 has quit [Quit: Leaving]
bauen1_ has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has quit []
evgeny_boger1 has joined #linux-sunxi
Danct12 has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
Danct12 has quit [Quit: Quitting]
rajkosto has joined #linux-sunxi
sunshavi has joined #linux-sunxi
rajkosto has quit [Quit: Leaving]
Danct12 has joined #linux-sunxi
cnxsoft1 has quit []
Danct12 has quit [Remote host closed the connection]
Danct12 has joined #linux-sunxi
<montjoie> megi: I just tried your patchs and ethernet does not work...
<montjoie> I applyed your 4 patch on top of 5.18-rc4
<montjoie> still got mdio_bus stmmac-0: MDIO device at address 1 is missing.
mirko has joined #linux-sunxi
mirko has left #linux-sunxi [#linux-sunxi]
mirko has joined #linux-sunxi
mirko has left #linux-sunxi [#linux-sunxi]
mirko has joined #linux-sunxi
mirko has left #linux-sunxi [#linux-sunxi]
mirko has joined #linux-sunxi
<montjoie> I searched for some version of pcb, but got only opi3, rtl chip is there
<mirko> i finally saw something on the UART when my H6 SBC (pine h64) was crashing: https://pb.nanl.de/show.php?id=45491&hash=18496981&mode=raw - probably not very helpful, but maybe somebody has a hint(?)
<montjoie> mirko: to more message before after ?
<mirko> nope
<montjoie> megi: even with latest ATF and uboot 2022.04, no ethernet on opi3
<mirko> montjoie: did you compile ATF with SUNXI_SETUP_REGULATORS=0 ?
JohnDoe_71Rus has joined #linux-sunxi
<montjoie> mirko: no
<montjoie> plain normal ATF
<apritzel> montjoie: we can't turn off the regulators for a default TF-A build, since this would break Ethernet and HDMI in U-Boot on most boards
<apritzel> montjoie: so we need this explicit build time option to prevent TF-A from touching the regulators
<mirko> montjoie: so you have to compile with SUNXI_SETUP_REGULATORS=0 (or use a version like v2.2 which is known to work on opi3), as otherwise one of the results is non-working ethernet on opi3
<mirko> "known to work" as in: doesn't yet have support for regulators at all but sufficiently stable support for everything else
<mirko> (talking about opi3 exclusively)
<mirko> montjoie: https://linux-sunxi.org/Xunlong_Orange_Pi_3#Tips.2C_Tricks.2C_Caveats
<apritzel> please don't use older TF-A versions, there are no stable backports, and we added quite some features and fixes
<apritzel> I explicitly added this build option to make OPi3 users happy ;-)
<mirko> ok, ok, reverting my v2.2 advice then :)
<mirko> AFAIK armbian still uses v2.2 for opi3 due to that..
<jernej> LE uses old ATF too :) but I plan to update it when 2.7 is released :)
<mirko> but my comment got acknowledged, so i think the "people"(TM) are at least aware (https://github.com/armbian/build/commit/b7a329854d8d65297222cfa9932b9cd432b361cc#commitcomment-68855001)
<mirko> what's the actual name/abbr? TF-A or ATF?
<jernej> TF-A is a new and thus correct name
<apritzel> "Arm Trusted Firmware" got renamed to "Trusted-Firmware-A" (A standing for A-profile, since there is also a TF-M project, for Cortex-M MCUs)
<apritzel> also the project steering was officially moved outside of Arm Ltd., to encourage participation from third parties
<jernej> apritzel: is U-Boot merge window closed?
<apritzel> jernej: that's not as strictly handled as in the kernel ;-)
<jernej> I would like to update Tanix TX6 DT, at least from a bit older kernel (before TX6 DT was split), so it would gain ability to boot from emmc
<apritzel> jernej: if you have a big change, it probably has to wait, but otherwise it depends
<jernej> it only need DT change and maybe config
<apritzel> I am actually planning on taking smaeul's DT updates in the next days
<jernej> oh, let me check
<apritzel> jernej: smaeul's patches sync from 5.18-rc1, minus the r_intc change
<jernej> yes, that should do it
<jernej> nevermind then :)
<apritzel> about what? :-D
<apritzel> jernej: btw, is it too late for the H616 DT to get into 5.19 by now? I was busy with fixing U-Boot this week, but can try to repost this weekend ...
<jernej> well, I'm just working on PR for DT
<jernej> cut off date is -rc6, so this Sunday
<montjoie> mirko: apritzel: thanks, i will try it.
<montjoie> at least I have now an explanation why my try "regulator in phy core" was not working also
<apritzel> jernej: thanks for pushing the clock fixes, that really just leaves the DT bits for the H616 support
<jernej> that was the idea :)
bauen1_ has quit [Ping timeout: 480 seconds]
Danct12 has quit [Ping timeout: 480 seconds]
rajkosto has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
rajkosto has quit [Read error: Connection reset by peer]
bauen1 has quit [Ping timeout: 480 seconds]
qwestion has joined #linux-sunxi
bauen1 has joined #linux-sunxi
gnarface has quit [Ping timeout: 480 seconds]
gnarface has joined #linux-sunxi
<montjoie> ethernet work on opi3 now
<mps> anyone knows how to add microphone and linein in A64 in DTS
<mps> I'm trying to make audio work on olimex A64-OlinuxIno and patched DTS, got audio out working but can't get capture from microphone
<jernej> mps: actually, patch for that is already queued for 5.19: https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux.git/commit/?h=sunxi/dt-for-5.19&id=f9814e2ef9056fd919e774e95f721e12420648e6
<mps> jernej: ah thanks
<mps> it is nearly same as I made
<mps> lets try this one posted
<montjoie> megi: do you want to continue the opi3 net or can I jump into the regulator in phy core ? (I have patch working)
<megi> by all means, give it a shot :)
<montjoie> do you know if op1+ need the same ATF SUNXI_SETUP_REGULATORS=0 ?
<megi> I don't
<montjoie> anyway opi1+ does not have dt for axp (and so aldo2)
<megi> yeah, goal of that option is to not enable that
JohnDoe_71Rus has quit []
apritzel has joined #linux-sunxi
<montjoie> okay opi1+ now have phy detected, but got no link, so a bit more work is needed
<mps> jernej: no luck with this patch, result is same
<jernej> I don't have that particular board
<mps> I hear myself but record doesn't work
<mps> jernej: ok, thank you for url of the patch, it assured me that I'm on right path
<jernej> but you might have to set some widgets before it will work
<mps> jernej: yes, I tried different options in alsamixer without luck
<mps> I will try to solder linein in the board and try with it
<mps> this SBC have pads to switch between mic and linein as input
vagrantc has joined #linux-sunxi
ftg has joined #linux-sunxi
evgeny_boger1 has quit [Ping timeout: 480 seconds]
evgeny_boger has joined #linux-sunxi
Danct12 has joined #linux-sunxi
igraltist has quit [Remote host closed the connection]
igraltist has joined #linux-sunxi
dmh has joined #linux-sunxi
ftg has quit [Ping timeout: 480 seconds]