narmstrong changed the topic of #linux-amlogic to: Amlogic mainline kernel development discussion - our wiki http://linux-meson.com/ - ml linux-amlogic@lists.infradead.org - Publicly Logged on https://irclog.whitequark.org/linux-amlogic
Linnaea has quit [Ping timeout: 264 seconds]
Linnaea has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
buzzmarshall has quit [Remote host closed the connection]
<chewitt> xdarklight: not sure if that commit was supposed to fix the blue-tint or not, but I picked it and tested with a G12B box (vendor u-boot) and no difference
Barada has joined #linux-amlogic
<xdarklight> chewitt: for me it solves the "framebuffer console is not shown" issue. the blue tint is now not as "in your face" (before the black part of the screen was also blue-ish) anymore, but it's still there
<narmstrong> xdarklight: the g12b issue is a hdr issue, afaik it’s not possible in m8, and I didn’t find what to disable... but i havent spend a lot of time on it
Barada has quit [Quit: Barada]
wildea01 has quit [Quit: leaving]
<xdarklight> OK
drieschel has joined #linux-amlogic
<narmstrong> xdarklight: I don't recall having such blue tint on the black
<narmstrong> maybe it'a an alpha issue
ldevulder_ is now known as ldevulder
vagrantc has quit [Quit: leaving]
drieschel has quit [Quit: drieschel]
drieschel has joined #linux-amlogic
drieschel has quit [Ping timeout: 265 seconds]
<xdarklight> narmstrong: I need to look into it tonight. please let me know if there's a register you would check first
sputnik_ has quit [Ping timeout: 256 seconds]
ldevulder has quit [Remote host closed the connection]
chewitt has quit [Read error: Connection reset by peer]
chewitt_ has joined #linux-amlogic
chewitt_ is now known as chewitt
ldevulder has joined #linux-amlogic
buzzmarshall has joined #linux-amlogic
return0e_ has quit [Read error: Connection reset by peer]
return0e has joined #linux-amlogic
armoon has joined #linux-amlogic
la-s has joined #linux-amlogic
la-s has quit [Quit: authenticating]
la-s has joined #linux-amlogic
chewitt has quit [Read error: Connection reset by peer]
chewitt has joined #linux-amlogic
random_yanek has quit [Ping timeout: 265 seconds]
random_yanek has joined #linux-amlogic
alpha_one_x86 has joined #linux-amlogic
<alpha_one_x86> Hi, I'm testing the kernel 5.6, and I have: https://pastebin.com/HdSSgzbY
<alpha_one_x86> any idea?
<la-s> alpha_one_x86: does ethernet not work then?
<la-s> also, I think people can help you more if you post the full dmesg and also what hardware you're using
<narmstrong> yep, hw model would be a minimul
<alpha_one_x86> correct, ethernet don't work
<alpha_one_x86> Odroid C2, sorry
<alpha_one_x86> dmesg is not accessible, I'm connected to the UART
<alpha_one_x86> 4.19 kernel worked fine
<la-s> I am pretty sure the nightly armbian builds work fine, you could try figuring out what's different if those work (dl.armbian.com/odroidc2/nightly/)
<alpha_one_x86> will be complicated test a whole OS
<alpha_one_x86> I had tested multiple kernel option, but without result
armoon has quit [Remote host closed the connection]
<alpha_one_x86> amlogic DMA is not show into menuconfig
drieschel has joined #linux-amlogic
drieschel has quit [Client Quit]
armoon has joined #linux-amlogic
<xdarklight> alpha_one_x86: what is your CONFIG_HZ= value (from your kernel config)?
<armoon> hello xdarklight, I see you have been working on getting HDMI to working on meson8, is their any branch for me to test on my Odroid c1
Darkmatter66_ has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 265 seconds]
<xdarklight> armoon: generally the latest meson-mx-integration branch from https://github.com/xdarklight/linux/
<armoon> ok I will check out, thanks
<xdarklight> armoon: if you want to try it now you need to: 1. drop the assigned-clocks and assigned-clock-rates properties from the VPU node in meson8b.dtsi 2. run "video dev open 1080P" in u-boot before you boot Linux
<armoon> Ok good
<xdarklight> (I'm currently playing with CVBS *and* HDMI, so the assigned-clocks are configured for CVBS at the moment and there's no support in Linux to properly reconfigure the video clocks for HDMI yet)
<xdarklight> also expect color issues on HDMI ;)
<armoon> ok cool
<xdarklight> wens: narmstrong: I was very certain that the HDMI controller in the Meson8* SoCs is an Analogix IP block. I contacted them and had a very nice conversation with an Analogix employee. summary of this conversation: "I don’t think it uses Analogix HDMI IP". if you have any ideas from which vendor this may be then please let me know
<armoon> Another query you submitted https://patchwork.kernel.org/cover/11463341/ for SDHC MMC, will these patches support eMMC on Odroid c1
<xdarklight> yes, I have an Odroid-C1 with 8GB eMMC module and that was one of my testing targets :-)
<armoon> I have so old eMMC 5.0 modules, so I will give this a try at my end, but some DTS changes are sill missing
<armoon> ok
<armoon> Thanks I will give this a try tmr
<xdarklight> narmstrong: RE color/alpha issue: I see the same blue-ish tint on CVBS output as well. when I start kmscube the background turns red: https://abload.de/img/vlcsnap-2020-04-21-20vtks3.png (captured from the CVBS output using some CVBS-to-USB capture adapter)
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Ping timeout: 240 seconds]
armoon has left #linux-amlogic [#linux-amlogic]
<alpha_one_x86> xdarklight: CONFIG_HZ=100
<narmstrong> xdarklight: weird
<narmstrong> xdarklight: I’ll think of a part to check, but I never had this issue
<alpha_one_x86> I try enable CONFIG_AXI_DMAC and I failed
<alpha_one_x86> oups, nothing
<alpha_one_x86> maybe missing firmware?
<xdarklight> alpha_one_x86: that's also what I have and what's working fine for me. the Armbian guys reported issues with either CONFIG_HZ=200 or =250 (I don't remember anymore), but it always worked for them with =100. However, I'm not sure anymore what their exact problem was
<alpha_one_x86> my full config: https://pastebin.com/HYQGc6ta
<xdarklight> alpha_one_x86: can you please try to revert this patch: https://github.com/torvalds/linux/commit/f29cabf240ed6e67993f17594e5e6fffc5bc07e0 ? I have an email from a user who said that this causes problems for him, but he didn't give me any details (like kernel config, dmesg, etc.)
<alpha_one_x86> https://pastebin.com/yz8br0EP -> patch reverted, led on, but remain failed
<xdarklight> OK, if you go back to the original version (meaning: that patch should be applied again), what happens if you remove the reset-assert-us, reset-deassert-us and reset-gpios from the eth_phy0 node in arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts ?
<xdarklight> alpha_one_x86: I'm just guessing by the way. I cannot reproduce this myself unfortunately, so sorry if you have to do some experiments ;-(
<alpha_one_x86> revert the patch already disable this code
<alpha_one_x86> no problem, thanks to help me
<alpha_one_x86> same with or without reset-assert-us, reset-deassert-us and reset-gpios
<xdarklight> "same" means which error message do you get?
<alpha_one_x86> correct, same error message into dmesg
<xdarklight> here you got "meson8b-dwmac c9410000.ethernet: Failed to reset the dma": https://pastebin.com/HdSSgzbY but here you got "meson8b-dwmac c9410000.ethernet eth0: no phy at addr -1": https://pastebin.com/yz8br0EP
<xdarklight> which of these two do you get without the reset-* properties? or do you now get a new error?
<alpha_one_x86> https://pastebin.com/HdSSgzbY -> vanilla kernel
<alpha_one_x86> with snps,reset-* https://pastebin.com/yz8br0EP
<alpha_one_x86> with or without reset-* no change
<xdarklight> and what happens if you remove all snps,reset-* and all reset-
<alpha_one_x86> if I remove all snps,reset-* and all reset- -> all work
<xdarklight> interesting. now can you please go back to vanilla and apply https://pastebin.com/umtzBgE4
<alpha_one_x86> last ets for today
<alpha_one_x86> last test for today
<alpha_one_x86> with your patch, all work
sputnik_ has joined #linux-amlogic
random_yanek has quit [Ping timeout: 256 seconds]
random_yanek has joined #linux-amlogic
ldevulder_ has joined #linux-amlogic
ldevulder has quit [Ping timeout: 258 seconds]
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
Darkmatter66 has joined #linux-amlogic
Darkmatter66_ has quit [Ping timeout: 264 seconds]