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 - official channel moved from Freenode - publicly logged on https://libera.irclog.whitequark.org/linux-amlogic
jacobk_ has quit [Ping timeout: 248 seconds]
jacobk has joined #linux-amlogic
aikaeksen has joined #linux-amlogic
aikaeksen has quit [Quit: Client closed]
jacobk has quit [Ping timeout: 260 seconds]
jacobk has joined #linux-amlogic
hexdump0815 has quit [Ping timeout: 265 seconds]
hexdump0815 has joined #linux-amlogic
djrscally has joined #linux-amlogic
ldevulder has joined #linux-amlogic
dlan has quit [Quit: Lost terminal]
dlan has joined #linux-amlogic
jacobk has quit [Ping timeout: 276 seconds]
jacobk_ has joined #linux-amlogic
<minute> i have tested the following adjustments now on bpi cm4: 1. bump sdio to 200mhz from 25mhz, and set voltage to 1v8. 2. remove dram-access-quirk on sdio. this improves downstream speed up to 54mbit/s here (on both 5ghz and 2.4ghz). also, the random stalls seem to be gone
<minute> next i will try the out-of-tree driver to compare
<minute> xdarklight: so it sounds like i'm getting similar speeds to your s905x3 setup now
<minute> removing the dram-access-quirk didn't make much difference btw
buzzmarshall has joined #linux-amlogic
<minute> xdarklight: i've built this driver on the bpi cm4 and i'm now getting 82mbit/s down! https://github.com/jethome-ru/rtl88x2cs
hexdump0815 has quit [Quit: WeeChat 3.8]
hexdump0815 has joined #linux-amlogic
<minute> while i'm at it, is SCDC (for hdmi) still broken nowadays or does it work @ a311d?
<narmstrong> minute: it should work
<narmstrong> it has been fixed long time ago
<minute> narmstrong: oh cool, thanks. i will remove a patch disabling that then that we are carrying around
<narmstrong> lvrp16: I've been trying to add cottonwood boards to u-boot mainline to enable EFI Capsule Update like I just did for lafrite, but while enabling the stuff SPI Flash doesn't work anymore _after_ enabling USB Gadget, you disabled SPI flash in your u-boot tree, did you encounter the same issue ? did you find why ? So far I have no clue why USB Gadget would affect SPI Flash
<lvrp16> narmstrong: do you have eMMC attached? I disabled SPI flash so users don't tamper with the NOR contents accidentally. It should not affect gadget. I will test on my end tomorrow. I am currently working on the RTL8211F losing interrupts.
jacobk_ is now known as jacobk
<narmstrong> lvrp16: yes I have, enabling emmc doesn't affect spi flash, I'm tracing what could be the issue...
<lvrp16> eMMC and NOR pins are muxed. I enable 8 IO for eMMC and disable NOR in my branch.
<narmstrong> yeah I saw that
<lvrp16> The CM is working incredibly well btw.
<lvrp16> I copied the BPI CM4 and reworked the bootloader. Sad thing though is that if I shutdown EE domain, it seems AO domain dies as well.
<lvrp16> So no super power optimization for standby.
<narmstrong> neat, perhaps another CM that could ship with the mnt reform laptop ?
<lvrp16> Our is slightly different. No RF onboard. It has SDIO on FPC connector.
<narmstrong> ok so it's really DFU that breaks, if I to ums, spi flash still works
Guest81stan has joined #linux-amlogic
<narmstrong> something weird's happening...
<narmstrong> lvrp16: ok I found, when probing the spi flash on G12 with mode=0, the hw just fails, while on GXL it still works
<lvrp16> Mode is 1 no?
<lvrp16> By default if my memory is correct.
<narmstrong> with DM_SF, mode is taken from DT
<narmstrong> but you can still use the legacy spi_flash_probe()... I just updated dfu_sf with the proper code and it works now
<minute> heh, suspend/resume almost works on the a311d
<minute> there's only a crash with DSI
<minute> > [ 397.438058] meson-dw-mipi-dsi ffd07000.dsi: failed to write command FIFO
<minute> some clock is very slow after resume
Stricted has quit [Quit: ZNC 1.8.2 - https://znc.in]
Stricted has joined #linux-amlogic
<minute> how could one fix the clock rate after resume?
<minute> for example > Big core clk resume rate 50000000
<minute> and the display updates extremely slowly, and several IP cores fail, after USB re-init the system freezes
<minute> turning off all big cores before sleep helps, but it still freezes and somthing is still wrong with DSI clocking (i can see the panel update at very low freq)... so perhaps those clocks have to be reset after resume?
<narmstrong> Yes probably, but for display everything is shut down then reconfigured on resume, the pain point are clocks changed by the suspend firmware, we don’t really know what’s changed and it could be different among different firmware revisions
<minute> narmstrong: would it be possible to reset the whole clock tree? :3
<minute> if it wouldn't freeze i could at least make some before/after diffs...
<xdarklight> minute: cool! the out-of-tree driver is "only" 50% faster than what we have upstream - I still call it a success ;-). most important thing is to have the random stalls fixed
<minute> xdarklight: i will dogfood this a bit more over the next days... i deployed an update for our systems today where i bumped the clock to 100mhz. wanna see if that's stable for a few days
jacobk has quit [Ping timeout: 260 seconds]
jacobk has joined #linux-amlogic
ldevulder has quit [Quit: Leaving]
jacobk has quit [Ping timeout: 248 seconds]
jacobk_ has joined #linux-amlogic
narmstrong_ has joined #linux-amlogic
kbingham_ has joined #linux-amlogic
cyrozap_ has joined #linux-amlogic
kenny1 has joined #linux-amlogic
dlan_ has joined #linux-amlogic
dlan has quit [*.net *.split]
narmstrong has quit [*.net *.split]
kbingham has quit [*.net *.split]
kenny has quit [*.net *.split]
cyrozap has quit [*.net *.split]
narmstrong_ is now known as narmstrong
cyrozap_ is now known as cyrozap
Guest81stan has quit [Ping timeout: 256 seconds]
jacobk has joined #linux-amlogic
jacobk_ has quit [Ping timeout: 276 seconds]
jacobk has quit [Ping timeout: 276 seconds]