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
steamport is now known as steamport|zzz
distemper has quit [Quit: bye]
distemper has joined #linux-amlogic
cthugha has joined #linux-amlogic
ldevulder has quit [Ping timeout: 264 seconds]
chewitt_ has joined #linux-amlogic
chewitt has quit [Ping timeout: 260 seconds]
default__ has joined #linux-amlogic
cthugha has quit [Ping timeout: 248 seconds]
Elpaulo has joined #linux-amlogic
vagrantc has joined #linux-amlogic
lissyx has joined #linux-amlogic
Barada has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
lissyx has quit [Ping timeout: 256 seconds]
lissyx has joined #linux-amlogic
a5m has joined #linux-amlogic
yann has quit [Ping timeout: 256 seconds]
default__ is now known as ldevulder
lissyx has quit [Ping timeout: 255 seconds]
lissyx has joined #linux-amlogic
afaerber has quit [Quit: Leaving]
afaerber has joined #linux-amlogic
afaerber has quit [Ping timeout: 268 seconds]
yann has joined #linux-amlogic
afaerber has joined #linux-amlogic
[TheBug] has quit [Ping timeout: 264 seconds]
[TheBug] has joined #linux-amlogic
Barada has quit [Quit: Barada]
Barada has joined #linux-amlogic
dsd has joined #linux-amlogic
a5m has quit [Remote host closed the connection]
mag has quit [Quit: Bye]
mag has joined #linux-amlogic
lissyx has quit [Ping timeout: 256 seconds]
Barada has quit [Quit: Barada]
lissyx has joined #linux-amlogic
vagrantc has joined #linux-amlogic
lissyx has quit [Ping timeout: 256 seconds]
yann has quit [Ping timeout: 260 seconds]
afaerber has quit [Quit: Leaving]
vagrantc has quit [Ping timeout: 255 seconds]
vagrantc has joined #linux-amlogic
yann has joined #linux-amlogic
lissyx has joined #linux-amlogic
Ntemis has joined #linux-amlogic
steamport|zzz is now known as steamport
<xdarklight> webczat: nice, that "fill data with 0xff then erase" test seems like a good confirmation that it works
<xdarklight> webczat: did you also run Linux for a few days with discard enabled (on the eMMC / SD card partitions)?
<xdarklight> if you don't get any corruption from that (assuming that you have a working eMMC frequency) then you should send a patch upstream and get feedback from the MMC and Amlogic developers/hackers/interested people
<webczat> xdarklight: the test was done on u-boot. i imply that it works because: a. mmc erase works in general like core supports it well. b. neither kernel nor uboot have erase code in the driver, so there is nothing erase related in the driver itself to test. c. both drivers work in general and erase is probably not the most complicated/special command that needs special support. and d. tested and works on
<webczat> uboot without adding any additional code.
<webczat> so by implication I would assume it works on linux. although yes i could do what you said, but some corruptions could hide themselves
<xdarklight> webczat: there's always the chance of breaking something (even not touching existing code at all could mean that something breaks because of bad weather...) :)
<xdarklight> webczat: if there's some hidden corruption which is hard to notice: bad things happen. but if there's corruption that's easy to spot/reproduce then it would be better NOT to enable erase support until the cause is found
<webczat> xdarklight: okay. i would rather not do this to my still not installed system, but i have no objections and i probably will, especially that I am quite confident that it is tested and works, so have no reason to be afraid (until it breaks hahhaha)
<xdarklight> :D
<webczat> well it is just quite interesting for me why no one did that already.
Ntemis has quit [Remote host closed the connection]
<lvrp16> flash storage in general is a software minefield because of the dozens of controllers in use
<lvrp16> at least you have some control with nand, the moment a controller gets slapped on in asia, the battle is lost
<webczat> lvrp16: but this is testing just one driver. :) they are rather not so different to behave differently in this case?
trem has joined #linux-amlogic
steamport has quit [Quit: ZNC 1.7.0 - https://znc.in]
steamport has joined #linux-amlogic
steamport has left #linux-amlogic [#linux-amlogic]
lissyx has quit [Ping timeout: 240 seconds]
dsd has quit [Ping timeout: 260 seconds]
afaerber has joined #linux-amlogic
<webczat> xdarklight: i have made a patch that enables erase, and i will send it after whatever i wrote in it's description becomes true, that is after I really test linux kernel with discard option
trem has quit [Quit: Leaving]
mag has quit [Quit: Bye]
mag has joined #linux-amlogic