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
Darkmatter66_ has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 250 seconds]
_whitelogger has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
chewitt has joined #linux-amlogic
sputnik_ has quit [Ping timeout: 250 seconds]
_whitelogger has joined #linux-amlogic
sputnik_ has joined #linux-amlogic
chewitt has quit [Quit: Zzz..]
chewitt has joined #linux-amlogic
chewitt has quit [Quit: Zzz..]
return0e has quit [Read error: Connection reset by peer]
return0e has joined #linux-amlogic
Barada has joined #linux-amlogic
chewitt has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
chewitt has quit [Quit: Zzz..]
brads has quit [Quit: Leaving]
return0e_ has joined #linux-amlogic
return0e has quit [Ping timeout: 246 seconds]
Darkmatter66_ has quit [Ping timeout: 268 seconds]
chewitt has joined #linux-amlogic
hejux has joined #linux-amlogic
hejux has quit [Client Quit]
Darkmatter66 has joined #linux-amlogic
hejux has joined #linux-amlogic
<hejux> xdarklight: so far so good, the macirq fix seems to work
brads has joined #linux-amlogic
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
sputnik__ has joined #linux-amlogic
sputnik_ has quit [Ping timeout: 250 seconds]
<xdarklight> hejux: great that ccaione's fix also works on your board :)
<xdarklight> narmstrong: please forget about the topic from my previous ping, I think I figured it out
<xdarklight> narmstrong: however, I'm hunting down why I don't get anything out of OSD1 on the 32-bit Meson SoCs
<xdarklight> narmstrong: do you have any idea why VIU_OSD1_CTRL_STAT bit 21 (OSD_ENABLE) stays 0? according to the datasheet it's a read-only bit but your DRM driver is still writing it (which shouldn't hurt though)
<xdarklight> if I read it back after writing the OSD registers in meson_crtc_irq I get: VIU_OSD1_CTRL_STAT = 0x050ff001, wanted = 0x002ff001
return0e_ has quit [Ping timeout: 245 seconds]
return0e has joined #linux-amlogic
return0e has quit [Remote host closed the connection]
return0e has joined #linux-amlogic
Barada has quit [Quit: Barada]
sputnik__ has quit [Remote host closed the connection]
hejux has quit [Quit: WeeChat 2.3]
Xogium has quit [Ping timeout: 252 seconds]
Xogium has joined #linux-amlogic
vagrantc has joined #linux-amlogic
Xogium has quit [Ping timeout: 250 seconds]
Xogium has joined #linux-amlogic
Xogium has quit [Client Quit]
Xogium has joined #linux-amlogic
hejux has joined #linux-amlogic
<hejux> xdarklight: yeah, i wonder how fast can wifi get.
<hejux> dmesg shows there is a brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
<hejux> i made it work on 80Mhz via hostapd, my macbook air connected to it and shows 390Mbps 5G ac, but iperf3 actually speed is only 84Mbps
hejux has quit [Quit: WeeChat 2.3]
return0e has quit [Ping timeout: 245 seconds]
hejux has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
return0e has joined #linux-amlogic
vagrantc has quit [Ping timeout: 260 seconds]
vagrantc has joined #linux-amlogic
chewitt has quit [Ping timeout: 250 seconds]
sputnik_ has joined #linux-amlogic
warpme_ has joined #linux-amlogic
<warpme_> guys: what is status mainline 4.20 kernel regarding HDMI audio on s905? Should I apply any patches like for 4.19 (i.e. https://github.com/jeromebrunet/linux/commits/v4.19/aml/gx-audio-wip)?
warpme_ has quit [Quit: warpme_]
<xdarklight> hejux: I've seen worse wifi speeds - I'm not sure what the "best possible" throughput is though
<Lyude> has anyone managed to actually get the wifi on the vim2 to work with a mainline kernel?
<Lyude> mine never seems to manage to load the firmware properly: [ 8.853350] brcmfmac mmc2:0001:1: Direct firmware load for brcm/brcmfmac4356-sdio.txt failed with error -2
<xdarklight> Lyude: which VIM2 exactly? 16GB storage or more?
<Lyude> xdarklight: 16GB storage, it's the one with the mali T820 on it
<xdarklight> OK, just wanted to confirm because depending on the model there's a different wireless chip on it...
<xdarklight> yours has an Ampak AP6356S
<Lyude> xdarklight: what's the kernel driver that's usually used for that
<xdarklight> brcmfmac
<xdarklight> linux-firmware only comes with half of the files you need
<Lyude> what are the other ones?
<xdarklight> there's a firmware for the chip itself and some config txt file
<xdarklight> linux-firmware only ships the firmware but not the config blob
<xdarklight> https://raw.githubusercontent.com/khadas/android_hardware_amlogic_wifi/Vim/bcm_ampak/config/4356/nvram_ap6356.txt IIRC that is the right one for your device - put that in /lib/firmware/brcm/brcmfmac4356-sdio.txt and reload the brcmfmac driver
<Lyude> alright, gimme one sec
<Lyude> xdarklight seems to work! One last warning though: https://paste.fedoraproject.org/paste/eqyHaENCYqpyhfL2jt-Y4g
<xdarklight> Lyude: I have that as well on my brcmfmac based boards: I don't remember the exact details anymore but that's some newer config blob. I keep telling myself to ignore it because "everything works fine" but it triggers my OCD when I check the kernel logs...
chewitt has joined #linux-amlogic
<xdarklight> Hi chewitt
<xdarklight> chewitt: I'm not sure if you've seen it: I'm very impatient which is why I send that power_down fix upstream: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/commit/?h=usb-next&id=cc10ce0c51b13d1566d0ec1dcb472fb86330b391 - it'll be part of v4.21
<xdarklight> (once it hits mainline we can even ask Greg to backport it to -stable if that doesn't happen automagically due to the Fixes tag)
<xdarklight> s/Fixes/Cc/
_whitelogger has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
sputnik_ has quit [Ping timeout: 246 seconds]
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic