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
Elpaulo has quit [Quit: Elpaulo]
dsd has joined #linux-amlogic
dsd has quit [Quit: Lost terminal]
Simonious_ has quit [Ping timeout: 240 seconds]
Simonious_ has joined #linux-amlogic
jakogut_ has joined #linux-amlogic
lissyx has joined #linux-amlogic
a5m has joined #linux-amlogic
jakogut_ has quit [Quit: jakogut_]
brujah has quit [Remote host closed the connection]
brujah has joined #linux-amlogic
Elpaulo has joined #linux-amlogic
tingoose has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
afaerber has quit [Quit: Leaving]
afaerber has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
dsd_ has joined #linux-amlogic
dlan has quit [Ping timeout: 246 seconds]
dlan has joined #linux-amlogic
a5m has quit [Remote host closed the connection]
Ntemis has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
<xdarklight> webczat: in theory: yes, but I think nobody has tested it yet. to make it work: https://elixir.bootlin.com/linux/v4.16.8/source/drivers/mmc/host/meson-gx-mmc.c#L1255 -> change "mmc->caps |= MMC_CAP_CMD23;" to "mmc->caps |= MMC_CAP_CMD23 | MMC_CAP_ERASE;"
<xdarklight> I used MMC_CAP_ERASE in the meson-mx-sdio driver (which is used on the 32-bit SoCs) and it works fine(tm), so newer hardware should support it as well
steamport has joined #linux-amlogic
<steamport> what's the best working meson6 kernel
<steamport> as in, AMX
sputnik_ has joined #linux-amlogic
trem has joined #linux-amlogic
dsd_ has quit [Quit: Lost terminal]
dsd_ has joined #linux-amlogic
vagrantc has joined #linux-amlogic
<webczat> xdarklight: well why it is not enabled by default? precisely because untested? or it is not in mainline? also if I would want that how would I recognize that it works? successful result would guarantee it? or whatever
<webczat> well another thing would be why it is still untested :) is it so dangerous so that it would not be enabled by default until testing?
sputnik_ has quit [Read error: Connection reset by peer]
sputnik_ has joined #linux-amlogic
Ntemis has quit [Remote host closed the connection]
afaerber has quit [Quit: Leaving]
<xdarklight> webczat: I'm not sure if file systems enable "discard" by default if it's available. if they do then it can easily lead to data corruption if something is not working right
<xdarklight> webczat: so yes, it's not enabled by default because it's not tested yet
<webczat> xdarklight: ok. I can assure you filesystems *never* enable discard by default. and some don't even have that option and you have to use fstrim
<webczat> ... and there are some that are the opposite where fstrim does not work and you have to mount with discard
<webczat> vfat is one of them
<xdarklight> ok, but it can still corrupt data if it's untested functionality and someone enables it (for example after migrating from another system and thus being unaware that adding "discard" is untested on the GX platform)
<steamport> what's the best working meson6 kernel
<xdarklight> steamport: mainline boots to early console and nothing else. I'm not sure if there's any "recommendation" for a 3.10 Amlogic kernel (which supports Meson6)
<steamport> i mean
<steamport> what 3.10 amlogic kernel would work for a NX008HD8G
<webczat> xdarklight: sure, but someone somewhere should probably test it. just not quite sure how if I would ever be able to do it
nemunaire has quit [Ping timeout: 264 seconds]
trem has quit [Quit: Leaving]
nemunaire has joined #linux-amlogic
<khilman> xdarklight: is ethernet on meson8b-odroidc1 working well for you on my v4.18/integ branch?
<khilman> for me, the kernel boots, and can even DHCP when I add "ip=dhcp" to the cmdline.
<xdarklight> khilman: interesting, I will re-test with your v4.18/integ branch
<xdarklight> khilman: with v4.17-rc3 + my Odroid-C1 patches I needed https://patchwork.kernel.org/patch/10374537/ as well
<khilman> but when I get to a shell (ramdisk), I can't ping anything. 100% packet loss
<xdarklight> that sounds familiar and https://patchwork.kernel.org/patch/10374537/ "fixes" it for me
* khilman tries
<khilman> ah, I see those mentioned now in your "RGMII Ethernet pin cleanup" thread
<xdarklight> yep
<xdarklight> the other two already made it into v4.17-rc(can't remember which one exactly, but I believe 3)
<khilman> funny, I can't seem to find the original patch in my inbox.
<khilman> but got it from patchwork, and it works! NFSroot working now on odroidc1
<khilman> I added that to my "depends" branch (included in integ) until it gets merged.
<xdarklight> ok, great
<xdarklight> should I send your Tested-by to the list (and CC you on that reply)?
tingoose has quit [Ping timeout: 264 seconds]
dsd_ has quit [Quit: Lost terminal]
<khilman> yes please!
<xdarklight> mail sent
vagrantc has quit [Quit: leaving]
<xdarklight> khilman: do you have access to any GXBB board? I'm interested in "cat /sys/kernel/debug/{c9000000,c9100000}.usb/{dr_mode,fifo,hw_params,params,state}" since my own GXBB board died a while ago (I want to know if GXBB suffers from the problem described here: http://lists.infradead.org/pipermail/linux-amlogic/2018-May/007310.html )