rellla changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi - *only registered users can talk*
vagrantc has joined #linux-sunxi
MoeIcenowy has quit [Ping timeout: 268 seconds]
vagrantc has quit [Quit: leaving]
MoeIcenowy has joined #linux-sunxi
kaspter has joined #linux-sunxi
megi has quit [Ping timeout: 245 seconds]
camus has joined #linux-sunxi
kaspter has quit [Ping timeout: 246 seconds]
camus is now known as kaspter
GrimKriegor has quit [Remote host closed the connection]
cnxsoft has joined #linux-sunxi
GrimKriegor has joined #linux-sunxi
GrimKriegor has quit [Changing host]
GrimKriegor has joined #linux-sunxi
cnxsoft has quit [Remote host closed the connection]
cnxsoft has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
TheSeven has quit [Ping timeout: 250 seconds]
TheSeven has joined #linux-sunxi
selfbg has joined #linux-sunxi
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-sunxi
kaspter has quit [Quit: kaspter]
reinforce has joined #linux-sunxi
airwind has joined #linux-sunxi
ldevulder_ has joined #linux-sunxi
ldevulder has quit [Ping timeout: 248 seconds]
cnxsoft has quit [Ping timeout: 268 seconds]
SopaXorzTaker has joined #linux-sunxi
TheSeven has quit [Ping timeout: 250 seconds]
TheSeven has joined #linux-sunxi
diego_r has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
yann has quit [Ping timeout: 268 seconds]
matthias_bgg has joined #linux-sunxi
ldevulder_ is now known as ldevulder
tnovotny has joined #linux-sunxi
yann has joined #linux-sunxi
yann has quit [Ping timeout: 245 seconds]
SopaXorzTaker has quit [Remote host closed the connection]
yann has joined #linux-sunxi
tnovotny has quit [Ping timeout: 248 seconds]
aalm has quit [Quit: xyz 2.3]
AneoX has joined #linux-sunxi
tnovotny has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 246 seconds]
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 245 seconds]
jemk has quit [Remote host closed the connection]
cristian__c has joined #linux-sunxi
cristian_c has quit [Ping timeout: 245 seconds]
aalm has joined #linux-sunxi
random_yanek has quit [Ping timeout: 244 seconds]
random_yanek has joined #linux-sunxi
Jeremy_Rand_Talo has quit [Read error: Connection reset by peer]
z3ntu has quit [Write error: Connection reset by peer]
JuniorJPDJ has quit [Read error: Connection reset by peer]
romainmahoux[m] has quit [Remote host closed the connection]
mic-e[m] has quit [Ping timeout: 252 seconds]
psydroid has quit [Ping timeout: 252 seconds]
k40s[m] has quit [Ping timeout: 250 seconds]
thefloweringash has quit [Ping timeout: 250 seconds]
clementp[m] has quit [Ping timeout: 252 seconds]
atopuzov[m] has quit [Ping timeout: 250 seconds]
freddor has quit [Ping timeout: 250 seconds]
EmilKarlson has quit [Ping timeout: 252 seconds]
t4h4[m] has quit [Ping timeout: 252 seconds]
solderfumes has quit [Ping timeout: 276 seconds]
MartijnBraam has quit [Ping timeout: 276 seconds]
davidebeatrici has quit [Ping timeout: 264 seconds]
GrimKriegor has quit [Ping timeout: 272 seconds]
GrimKriegor has joined #linux-sunxi
GrimKriegor has quit [Changing host]
GrimKriegor has joined #linux-sunxi
dddddd has joined #linux-sunxi
tnovotny has quit [Ping timeout: 268 seconds]
kaspter has joined #linux-sunxi
EmilKarlson has joined #linux-sunxi
tnovotny has joined #linux-sunxi
msevo has joined #linux-sunxi
msevo has quit [Client Quit]
kaspter has quit [Quit: kaspter]
cnxsoft1 has joined #linux-sunxi
romainmahoux[m] has joined #linux-sunxi
freddor has joined #linux-sunxi
z3ntu has joined #linux-sunxi
atopuzov[m] has joined #linux-sunxi
JuniorJPDJ has joined #linux-sunxi
davidebeatrici has joined #linux-sunxi
k40s[m] has joined #linux-sunxi
t4h4[m] has joined #linux-sunxi
solderfumes has joined #linux-sunxi
Jeremy_Rand_Talo has joined #linux-sunxi
thefloweringash has joined #linux-sunxi
mic-e[m] has joined #linux-sunxi
freddor has quit [*.net *.split]
mic-e[m] has quit [*.net *.split]
EmilKarlson has quit [*.net *.split]
cnxsoft has quit [Ping timeout: 245 seconds]
clementp[m] has joined #linux-sunxi
MartijnBraam has joined #linux-sunxi
clementp[m] has quit [Changing host]
clementp[m] has joined #linux-sunxi
freddor has joined #linux-sunxi
mic-e[m] has joined #linux-sunxi
EmilKarlson has joined #linux-sunxi
freddor has joined #linux-sunxi
freddor has quit [Changing host]
GrimKriegor has quit [Ping timeout: 264 seconds]
GrimKriegor has joined #linux-sunxi
GrimKriegor has quit [Changing host]
GrimKriegor has joined #linux-sunxi
riptide_wave has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
dddddd has joined #linux-sunxi
<riptide_wave> Hey sunxi-devs. Recently updated from mainline 4.20 to mainline 5.3-rc1 on a NanoPi Neo2 (Allwinner H5), and noticed that dwmac-sun8i only links at 100mb now (vs gigabit on 4.20). I checked the mailing list but didn't see any reports of this yet. Here is some dmesg/ethtool output.
<riptide_wave> seems ethtool reports the port as TP MII, and only up to 100MB? yet dmesg shows dwmac-sun8i reporting the link as rgmii, but at 100mb.
<fALSO> did it really do gigabit?
BenG83 has joined #linux-sunxi
<fALSO> or was just showing gigabit
<montjoie> the nanopineo2 spec show 10/100/1000
<riptide_wave> back on 4.20 the Neo2 was doing actual gigabit (800Mb~ or so)
<montjoie> but I remember to have see something about this issue
<fALSO> riptide_wave, nice
<montjoie> riptide_wave: could you try linux next ?
<riptide_wave> I can, are there pending patches for dwmac-sun8i?
JohnDoe_71Rus has joined #linux-sunxi
<libv> heh, to try to debug the debug the issue i have with hdmi clock being off when not booting u-boot
PaddleStroke has joined #linux-sunxi
<libv> i just hacked in debugfs/clk_current_parent
<libv> why this did not exist before is a mystery to me
<PaddleStroke> Hey guys,
<wens> riptide_wave: fix is in netdev already
<libv> how do people quickly figure out clock dependencies otherwise?
<riptide_wave> wens awesome, any chance you have a link to the patch? :)
<wens> libv: debugfs/clk/clk_summary already shows current parenting
<libv> oh, top level
<libv> pfff
<libv> wens: thanks
<wens> libv: and IIRC someone did add clk_current_parent this cycle lol
<libv> summary is all i would've needed
<wens> riptide_wave: yeah, that's the one
<riptide_wave> awesome, will cherrypick it then :) Thanks for the help
<libv> yeah, june/may
<libv> but summary is indeed the beans
AneoX has quit [Quit: Textual IRC Client: www.textualapp.com]
gaston_ has joined #linux-sunxi
<MoeIcenowy> weird, F2FS in 5.3-rc1 introduced a regression that even prevents the kernel from mounting other / filesystems
<riptide_wave> well that sounds like a nasty bug...
<libv> our hdmi logic breaks when uboot has not set clock halving on SUN4I_HDMI_PAD_CTRL1_REG
<libv> pll3 (pll-video0) is set to half the rate, except hdmi-tmds
<libv> clocking _everything_ to half the rate
riptide_wave has left #linux-sunxi [#linux-sunxi]
<libv> why we are not assigning pll3 to everything depending on the first pipeline, and pll7 to everything pertaining to the second pipeline, is, first of all, beyond me
<PaddleStroke> I read in IRC history that there are some patches for HDMI audio for H3 H6 H64. What about A20 ? Is there any patches available?
<PaddleStroke> (for mainline)
airwind has quit [Quit: airwind]
<PaddleStroke> @jernej can your patches be adapted to A20 in your opinion?
maz has quit [Quit: Leaving]
<MoeIcenowy> PaddleStroke: A20 uses different IP cors w/ A83T+
<MoeIcenowy> s/cors/core/
<libv> on a20, there's pll8 for mali, on a13 and a10s, there's only one pipeline it seems, and pll7 can be used exclusively for the the gpu
<libv> so really, why are we hanging everything off pll3?
<montjoie> hello I try to made the brcmfmac from bpim3 up , but it asks for a brcmfmac43430a0-sdio.txt
<montjoie> I found one in armbian/firmware but it dont works
megi has joined #linux-sunxi
<PaddleStroke> MoeIcenowy sure to understand your reply. What are cors?
psydroid has joined #linux-sunxi
<psydroid> is anyone working on HDMI audio support for A64? I had that for the old vendor kernel, but I was happy to get everything running with mainline recently except for some small issues such as sound, which I'm sure will be resolved in due course
<PaddleStroke> psydroid looking at IRC history it looks like this subject is coming back for years : https://irclog.whitequark.org/linux-sunxi/search?q=hdmi+audio
<MoeIcenowy> PaddleStroke: IP core is some part of a chip that is sold and can be reused
<psydroid> PaddleStroke, I will go through that, but if there is any way I could (eventually) help out, I would gladly do so. I could get some USB audio device in the meantime.
<PaddleStroke> I'm willing to put a bounty on HDMI audio proper drivers for mainline.
<EmilKarlson> why not put it there
<PaddleStroke> Sorry for bold it's not intentional. Anyway if that's something that could interest you let me know !=
<fALSO> ;-)
<fALSO> megi, yo
<fALSO> megi, been looking at mesa git
<fALSO> megi, they commit a lot
<fALSO> megi, ;-)
<fALSO> your script works perfectly
<fALSO> i just commented the part of installing
<fALSO> gotta check what it installs first
<PaddleStroke> 1k$ bounty, if more people add to it it can go higher I guess. Sounds like lot of people are looking for it
<fALSO> nice
<PaddleStroke> I suggested to bootlin to run a kickstarter for it. Dunno if that's something they would be interested to do.
<EmilKarlson> does bountysource allow you to revoke your pledges, or set an expiry
<EmilKarlson> in general it would be sad to be liable to pay for drivers for some drivers after anything using them is gone
<PaddleStroke> true enought
<EmilKarlson> kickstarter is much friendlier that way
<wens> no guarantees though
jemk has joined #linux-sunxi
<psydroid> that's a start at least
maz has joined #linux-sunxi
<libv> this whole crowdfunding thing is not well suited for development
<libv> one should have an integrated kanban/bounty system
<libv> so people can assign donations to specific tasks/bugs
<libv> clock handling in drm is horribly messed up, i am just going to work around it badly so i can actually start achieving the goals of fosdem as there is a deadline rapidly approaching there
<MoeIcenowy> agree with "clock handling in drm is horribly messed up"
<MoeIcenowy> it prevents proper dual-head on Pinebook
<codekipper> PaddleStroke: https://github.com/codekipper/linux-sunxi/commits/sunxi-wip-a64 is a newer push
parazyd has quit [Ping timeout: 245 seconds]
<codekipper> I've looked at A20 HDMI audio but yet to get it working...
selfbg has quit [Remote host closed the connection]
<PaddleStroke> Well if you can get it working my bounty is up :)
<codekipper> likewise anybody can take what I've done so far and go with it
<codekipper> H3 A64 works well but struggling with mainlining
<codekipper> yep
<codekipper> although I've only targeted the a31 with it
<codekipper> but it should be the same
<PaddleStroke> Could you give me the big picture of the issue of HDMI ? Why is it not working, what is missing, why patches for H3 use I2S, is it a workaround?
<libv> MoeIcenowy: perhaps borne from the fact that this driver was originally written for our glorious 9usd sbc
<libv> which only has a single pipeline and therefor only used pll3
<codekipper> early HDMI audio uses apb instead of i2s
<codekipper> I'm not really familiar with DRM but saw that something similar was done for the RPi
<codekipper> from what I remember it was barfing when allocating DMA
<libv> PaddleStroke: pop quiz, which open source graphics driver first introduced hdmi-audio?
kaspter has joined #linux-sunxi
<libv> it was 11ys ago, and i do not expect you or anyone here to actually know this :)
<PaddleStroke> drm?
<PaddleStroke> :)
tllim has joined #linux-sunxi
Net147 has quit [Quit: Quit]
<libv> this was when kms was still just a header file done by someone with no clue of display drivers
<libv> radeonhd
Net147 has joined #linux-sunxi
Net147 has quit [Read error: Connection reset by peer]
<libv> and the first displayport enabled monitor ever produced was unable to use it properly
cnxsoft1 has quit [Remote host closed the connection]
<libv> so we had to go and steal a TV from one of the SuSE game rooms
Net147 has joined #linux-sunxi
<libv> we of course did not put a note there as we just wanted to test this for a few hours afterhours
<libv> which resulted in the janitor running through the whole building in a panic
<libv> which then got us reprimanded :)
<libv> ati was not willing to give us the information to enable this
<libv> and christian koenig, then a community member, wrote a brilliant set of patches which actually fit in beautifully with the logical structure of the radeonhd driver
Net147 has quit [Read error: Connection reset by peer]
Net147 has joined #linux-sunxi
<wens> PaddleStroke: AFAIK dw-hdmi has the option to use I2S or APB as options at synth time, i.e. the integrator chooses which one when making the silicon
<wens> some chose I2S, so that is what you get :)
<PaddleStroke> So allwinner use I2S for all it's SoC?
<wens> only the later ones with dw-hdmi
<wens> A10/A10s/A20/A31 are not dw-hdmi
<wens> I think the A20 hdmi audio patch is a bit over complicated though. it's straight DMA, and shouldn't need to go through ASoC
<PaddleStroke> Not sure to understand what is dw-HDMI.
<PaddleStroke> What are A10/A20... then?
<libv> PaddleStroke: dw is synopsys designware, they sell ready to use silicon blocks
<PaddleStroke> Got it. Do you know who makes A20 HDMI block?
<libv> i doubt that we know where allwinner bought those from, or whether they "designed" it themselves
<libv> it has its own implementation in drm-kms
<PaddleStroke> you mean sun4i-drm?
<libv> yes
<PaddleStroke> Ok this one is specific to A20, A10 A31. H3 use another DRM/KMS driver
<libv> ye
<libv> s
<PaddleStroke> These DT bindings follow the Synopsys DWC HDMI TX bindings defined in
<libv> the bindings for sun4i _follow_ the bindings for the other block
<libv> does not mean that the ip has to be the same
kaspter has quit [Ping timeout: 276 seconds]
reinforce has quit [Quit: Leaving.]
BenG83 has quit [Quit: Leaving]
maz has quit [Ping timeout: 268 seconds]
diego_r has quit [Ping timeout: 258 seconds]
diego_r has joined #linux-sunxi
PaddleStroke has quit [Remote host closed the connection]
maz has joined #linux-sunxi
<libv> wow, rmmod sun4i_drm_hdmi, panic.
SopaXorzTaker has joined #linux-sunxi
diego_r has quit [Ping timeout: 258 seconds]
diego_r has joined #linux-sunxi
kaspter has joined #linux-sunxi
wwilly__ has joined #linux-sunxi
wwilly_ has quit [Ping timeout: 258 seconds]
<libv> removing CLK_SET_RATE_PARENT clk flag fixes the immediate issue
<libv> but there's way more wrong here than i can currently spend time on
reinforce has joined #linux-sunxi
tl_lim has joined #linux-sunxi
tllim has quit [Ping timeout: 276 seconds]
tl_lim has quit [Ping timeout: 276 seconds]
tl_lim has joined #linux-sunxi
<codekipper> z3ntu: yeah...I've been looking. Basically we want to set up the block for Primary Mode Timing which is essentially the DSP_A format
<codekipper> It's not supported at the moment but PM me and email you a patch to add it
<codekipper> still need to look at settings but I think the default should get us somewhere
kaspter has quit [Ping timeout: 264 seconds]
hramrach has quit [Ping timeout: 272 seconds]
hramrach has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 258 seconds]
dev1990 has joined #linux-sunxi
maz has quit [Quit: Leaving]
diego_r has quit [Ping timeout: 258 seconds]
Putti has quit [Remote host closed the connection]
tnovotny has quit [Quit: Leaving]
Putti has joined #linux-sunxi
<z3ntu> codekipper: did you get my PM?
reinforce has quit [Quit: Leaving.]
Wizzup has quit [Quit: i/o error, brb]
Wizzup has joined #linux-sunxi
skiboy has quit [Quit: Leaving]
parazyd has joined #linux-sunxi
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 245 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Aria 5.0.0, revision: 5.0.0+git-7422-2fe1a3bca, build type: debug, sources date: 20160102, built on: 2019-07-01 08:27:19 UTC 5.0.0+git-7422-2fe1a3bca http://www.kvirc.net/]
libv_ is now known as libv
SopaXorzTaker has quit [Remote host closed the connection]
lynxis has quit [Remote host closed the connection]
lynxis has joined #linux-sunxi
yann has quit [Ping timeout: 245 seconds]
ldevulder has quit [Quit: Leaving]
nashpa has quit [Quit: Going away]
nashpa has joined #linux-sunxi
nashpa has quit [Ping timeout: 245 seconds]
Mangy_Dog has quit [Ping timeout: 268 seconds]
nashpa has joined #linux-sunxi
yann has joined #linux-sunxi
xes has quit [Quit: bye..]