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]
PPA has quit []
PPA has joined #linux-sunxi
vagrantc has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
szemzoa_ has joined #linux-sunxi
szemzoa has quit [Read error: Connection reset by peer]
szemzoa has joined #linux-sunxi
szemzoa_ has quit [Read error: Connection reset by peer]
vagrantc has quit [Quit: leaving]
grming has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
grming has quit [Quit: Konversation terminated!]
cnxsoft has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
moteen has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
DasChaos has joined #linux-sunxi
DasChaos is now known as Guest3902
freemangordon1 has joined #linux-sunxi
freemangordon has quit [Read error: Connection reset by peer]
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
evgeny_boger has joined #linux-sunxi
apritzel_ has joined #linux-sunxi
moteen_ has joined #linux-sunxi
moteen__ has joined #linux-sunxi
moteen has quit [Ping timeout: 480 seconds]
moteen_ has quit [Ping timeout: 480 seconds]
moteen__ has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
macromorgan has quit [Ping timeout: 480 seconds]
moteen has quit [Ping timeout: 480 seconds]
evgeny_boger1 has joined #linux-sunxi
moteen has joined #linux-sunxi
szemzoa_ has joined #linux-sunxi
szemzoa has quit [Read error: Connection reset by peer]
evgeny_boger has quit [Ping timeout: 480 seconds]
moteen has quit [Ping timeout: 480 seconds]
moteen has joined #linux-sunxi
bauen1_ has quit [Ping timeout: 480 seconds]
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
macromorgan has joined #linux-sunxi
bauen1 has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
juri_ has joined #linux-sunxi
moteen has joined #linux-sunxi
juri__ has quit [Ping timeout: 480 seconds]
<gamiee> Hello, any tips about finding out why HDMI output doesn't work on Linux, but works just fine on u-boot ? In dmesg I didn't found any error, and I don't know where to start. I was checking if I have SUN8I_DW_HDMI, and it's enabled (H3 SoC). Thanks!
<jakllsch> probably some dts issue?
<gamiee> jakllsch: I'm not sure about that, since I'm using the kernel DT which definitely worked on older kernel (older was probably 5.13, and now I'm using 6.0)
<jakllsch> DT needs to match kernel version
<gamiee> Yes, I'm using the DT from the 6.0 kernel repo
<gamiee> "sun4i-drm display-engine: bound 1ee0000.hdmi" so it seems OK
apritzel_ has left #linux-sunxi [#linux-sunxi]
apritzel has joined #linux-sunxi
<apritzel> gamiee: is that your own kernel config? Do you have CONFIG_DRM_SUN8I_MIXER and DRM_SUN8I_TCON_TOP enabled?
<gamiee> apritzel: correct, my own kernel config. I have those two enabled (=y)
<apritzel> do you have the required clocks and regulator drivers enabled as well?
<apritzel> like CONFIG_SUN8I_DE2_CCU
<gamiee> CONFIG_SUN8I_DE2_CCU=y , CONFIG_SUN8I_H3_CCU=y
JohnDoe_71Rus has quit []
moteen has quit [Remote host closed the connection]
grming has joined #linux-sunxi
<gamiee> hmm, Armbian works, so device tree or kernel config... damn. I'm using sunxi defconfig as the base
bauen1 has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
juri__ has joined #linux-sunxi
juri_ has quit [Ping timeout: 480 seconds]
bauen1 has quit [Ping timeout: 480 seconds]
juri_ has joined #linux-sunxi
juri__ has quit [Read error: Connection reset by peer]
juri__ has joined #linux-sunxi
juri_ has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
<jernej> gamiee: post whole dmesg
<jernej> DRM_SUN8I_TCON_TOP isn't needed for H3. It's used only on R40 and H6
<jernej> note that sometimes kernel doesn't like the state U-Boot left HDMI controller
vagrantc has joined #linux-sunxi
<jernej> so I always disable U-Boot display driver
<jernej> this was most noticable with OrangePi PC2, where EDID read didn't work
<gamiee> jernej: will send in few secs
<jernej> apritzel: I found documentation for AC300, which is co-packaged with H616 instead of AC200: https://github.com/bigtreetech/CB1-Kernel/blob/kernel-5.16/docs/AC300_User_Manual_V1.0.pdf
<jernej> it seems just cut down version of AC200, only EPHY and efuse
<apritzel> jernej: ah, very nice, thanks!
<apritzel> Hopefully I can respin the H616 USB series this week, then turn my attention to the AC200 series again. I guess we should start sending this out for an initial review now.
<apritzel> jernej: I already got a (nasty) comment about the PHY clock gate patch, apparently this is already used by *some* specific PHYs out there, need to check whether that collides ...
<jernej> apritzel: please take a look at my AC200 audio branch. I make many small changes all over the place: https://github.com/jernejsk/linux-1/commits/ac200-v2
<apritzel> (nasty as in: requires some research and thinking)
<jernej> *made
<apritzel> I already picked your fixed into my branch on my disk here some weeks ago
<apritzel> *fixes*
<jernej> do you have link to those comments?
<jernej> if you'd like, we can merge mfd with audio driver first. it should be easier to get in and deal with ephy afterwards?
Guest3902 has quit []
<jernej> gamiee: HDMI driver loads as expected. Can you add "drm.debug=0x1e" to kernel parameters and try again?
<jernej> apritzel: that's annoying. Most probably reason why PHY ID is always read as 0 and thus PHY specific driver doesn't load is that PHY needs reset
<jernej> while in this case doesn't matter as much, it does very much on OrangePi 3 LTS which has motorcomm PHY which doesn't work without loading the PHY driver
<jernej> gamiee: do you have card0 and card1 devices created?
<jernej> output you provided is a bit unexpected
<gamiee> jernej: nope, it's not there in /dev/ :/ And yes, it's very weird
bauen1 has joined #linux-sunxi
Sputnik has joined #linux-sunxi
Sputnik has quit []
hb9fxx has joined #linux-sunxi
bauen1_ has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
ftg has joined #linux-sunxi
moteen has joined #linux-sunxi
hb9fxx has quit []
igraltist has quit []
igraltist has joined #linux-sunxi
rtp_ is now known as rtp
Daanct12 is now known as Danct12
apritzel has quit [Ping timeout: 480 seconds]
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
agm1968 has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
agm1968 has quit []
<gamiee> jernej: I disabled hdmi in u-boot, still the Linux HDMI doesn't work at all... :/
<gamiee> I enabled all modules I found related to Sunxi, still no HDMI... https://paste.debian.net/1258241/
<gamiee> I have feeling that something went wrong in Kernel, as on v5.12 (my kernel) and v5.15 (armbian) HDMI works, but v5.17 and v6.00 doesn't work
apritzel has joined #linux-sunxi
<gamiee> Just theoretically, can this happen because of using uclibc toolchain? Since I built v5.12 kernel, and even here it doesn't work... And I now have 0 ideas why previous buildroot configuration worked just fine, and this new one doesn't...
moteen has joined #linux-sunxi
JohnDoe_71Rus has quit []
<gamiee> nope, glibc also nothing... well this is weird as hell...
moteen has quit [Remote host closed the connection]
indy has quit []
indy has joined #linux-sunxi
<jernej> apritzel: alternatively, you could do the same as smsc and micrel driver do, and enable clock there? it seems acceptable approach and easily doable
<jernej> speaking about EPHY clocks...
warpme___ has quit []
anarsoul has quit [Quit: ZNC 1.8.2 - https://znc.in]
anarsoul has joined #linux-sunxi
dok has quit [Ping timeout: 480 seconds]
ftg has quit [Read error: Connection reset by peer]
evgeny_boger1 has quit []
evgeny_boger has joined #linux-sunxi
evgeny_boger has quit []
evgeny_boger has joined #linux-sunxi
evgeny_boger has quit []