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
jelly has joined #linux-amlogic
ldevulder has quit [Quit: Leaving]
vagrantc has quit [Quit: leaving]
shoragan has quit [Read error: Connection reset by peer]
shoragan has joined #linux-amlogic
shoragan has quit [Client Quit]
shoragan has joined #linux-amlogic
montjoie has quit [Ping timeout: 264 seconds]
montjoie has joined #linux-amlogic
pinchartl has quit [Ping timeout: 240 seconds]
hexdump0815 has quit [Ping timeout: 260 seconds]
hexdump0815 has joined #linux-amlogic
jacobk has quit [Ping timeout: 240 seconds]
buzzmarshall has quit [Quit: Konversation terminated!]
jacobk has joined #linux-amlogic
djrscally has joined #linux-amlogic
djrscally has quit [Ping timeout: 255 seconds]
psydroid has joined #linux-amlogic
<xdarklight> montjoie: I got a small CH348 dev board and started playing with it. the issue with the TX buffer overrun is weird though... maybe we can brainstorm a bit? I implemented the status/interrupt handling here: https://github.com/xdarklight/ch348 - and I thought I'd "just" have to wait for the R_II_B2 status, but it's still causing problems :-(
buzzmarshall has joined #linux-amlogic
gis has quit [Read error: Connection reset by peer]
gis has joined #linux-amlogic
<f_> New EOFD: MMC: block number 0x101 exceeds max(0x0)
<f_> (error of the day)
<f_> looks like mmc->block_dev->lba is 0 for some reason
gabes2 has quit [Quit: The Lounge - https://thelounge.chat]
gabes2 has joined #linux-amlogic
<f_> It actually couldn't select a mode and width: spl: mmc init failed with error: -524
<f_> Some of it is me trying to get power init to write to the right registers to not mess around with mmc
<xdarklight> montjoie: with https://github.com/xdarklight/ch348/commit/ee063f320d17517eeb98fbd5f1cceec8a7f0f581 I have most of the tests of your test2a2.py script passing. only the 2048 byte buffer size case is broken (for all baud rates, and pretty consistently ~500 bytes are different)
zsoltiv_ has joined #linux-amlogic
f_ is now known as funderscore
funderscore is now known as f_
psydroid has quit [Read error: Connection reset by peer]
<montjoie> xdarklight: thanks having working on it, my last try is to debug the vendor driver to find the difference, but fail to alloc time on it
<xdarklight> montjoie: I also wish that some days would have 36 or 48 hours. if you find the time to review my changes: I'm confident that I got the status reading correct. the main issue is that we're supposed to only take more data when we're notified by the hardware that the TX/write buffer of a port has been drained/sent out. I implemented "waiting for that TX/write buffer empty status event". I think it means we need to implement a custom .write
<xdarklight> callback (which I did). if you have questions: you know where to find me ;-)
luka177 has quit [Read error: Connection reset by peer]
luka177 has joined #linux-amlogic
anessen9733 has quit [Ping timeout: 276 seconds]
anessen9733 has joined #linux-amlogic
jacobk has quit [Ping timeout: 260 seconds]
luka177 has quit [Read error: Connection reset by peer]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 264 seconds]
luka177 has joined #linux-amlogic
rockosov has quit [Ping timeout: 272 seconds]
rockosov has joined #linux-amlogic