ChanServ changed the topic of #linux-sunxi to: Allwinner/sunxi development - Did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait for an answer! - This channel is logged at https://oftc.irclog.whitequark.org/linux-sunxi
radxanaoki has quit [Quit: radxanaoki]
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
vagrantc has quit [Ping timeout: 480 seconds]
radxanaoki has joined #linux-sunxi
kikuchan has quit [Quit: Page closed]
zoengjay has quit [Ping timeout: 480 seconds]
zoengjay has joined #linux-sunxi
zoengjay has quit [Ping timeout: 480 seconds]
zoengjay has joined #linux-sunxi
zoengjay has quit [Read error: Connection reset by peer]
zoengjay has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
zoengjay has quit [Ping timeout: 480 seconds]
zoengjay has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
radxanaoki has quit [Quit: radxanaoki]
bauen1 has quit [Ping timeout: 480 seconds]
radxanaoki has joined #linux-sunxi
hexdump01 has joined #linux-sunxi
hexdump0815 has quit [Ping timeout: 480 seconds]
zoengjay has quit [Remote host closed the connection]
zoengjay has joined #linux-sunxi
ity1 has quit [coherence.oftc.net resistance.oftc.net]
palmer has quit [coherence.oftc.net resistance.oftc.net]
sauce has quit [coherence.oftc.net resistance.oftc.net]
Turl_ has quit [coherence.oftc.net resistance.oftc.net]
jakllsch has quit [coherence.oftc.net resistance.oftc.net]
lvrp16_ has quit [coherence.oftc.net resistance.oftc.net]
revy_ has quit [coherence.oftc.net resistance.oftc.net]
narmstrong has quit [coherence.oftc.net resistance.oftc.net]
arnd has quit [coherence.oftc.net resistance.oftc.net]
kepstin has quit [coherence.oftc.net resistance.oftc.net]
smaeul has quit [coherence.oftc.net resistance.oftc.net]
IlikeTech has quit [coherence.oftc.net resistance.oftc.net]
tlwoerner has quit [coherence.oftc.net resistance.oftc.net]
anarsoul has quit [coherence.oftc.net resistance.oftc.net]
flyback has quit [coherence.oftc.net resistance.oftc.net]
eldondev has quit [coherence.oftc.net resistance.oftc.net]
benettig has quit [coherence.oftc.net resistance.oftc.net]
steev has quit [coherence.oftc.net resistance.oftc.net]
NishanthMenon has quit [coherence.oftc.net resistance.oftc.net]
Lightsword has quit [coherence.oftc.net resistance.oftc.net]
cyrozap has quit [coherence.oftc.net resistance.oftc.net]
sh1 has quit [coherence.oftc.net resistance.oftc.net]
MasterR3C0RD has quit [coherence.oftc.net resistance.oftc.net]
gnarface has quit [coherence.oftc.net resistance.oftc.net]
jason123onirc has quit [coherence.oftc.net resistance.oftc.net]
wasutton- has quit [coherence.oftc.net resistance.oftc.net]
macromorgan has quit [coherence.oftc.net resistance.oftc.net]
Asara has quit [coherence.oftc.net resistance.oftc.net]
buZz has quit [coherence.oftc.net resistance.oftc.net]
aren has quit [coherence.oftc.net resistance.oftc.net]
wigyori has quit [coherence.oftc.net resistance.oftc.net]
hexdump01 has quit [coherence.oftc.net resistance.oftc.net]
Schimsalabim has quit [coherence.oftc.net resistance.oftc.net]
barni2000[m] has quit [coherence.oftc.net resistance.oftc.net]
Newbyte has quit [coherence.oftc.net resistance.oftc.net]
Tooniis[m] has quit [coherence.oftc.net resistance.oftc.net]
diego71_ has quit [coherence.oftc.net resistance.oftc.net]
munchaus1n has quit [coherence.oftc.net resistance.oftc.net]
arti has quit [coherence.oftc.net resistance.oftc.net]
farhan3 has quit [coherence.oftc.net resistance.oftc.net]
gamiee has quit [coherence.oftc.net resistance.oftc.net]
heartburn has quit [coherence.oftc.net resistance.oftc.net]
DuClare has quit [coherence.oftc.net resistance.oftc.net]
kasesag has quit [coherence.oftc.net resistance.oftc.net]
linkmauve has quit [coherence.oftc.net resistance.oftc.net]
dsimic has quit [coherence.oftc.net resistance.oftc.net]
soupborsh[m] has quit [coherence.oftc.net resistance.oftc.net]
Robot_ has quit [coherence.oftc.net resistance.oftc.net]
mnemoc has quit [coherence.oftc.net resistance.oftc.net]
freemangordon1 has quit [coherence.oftc.net resistance.oftc.net]
ungeskriptet_ has quit [coherence.oftc.net resistance.oftc.net]
Raqbit339890 has quit [coherence.oftc.net resistance.oftc.net]
aggi has quit [coherence.oftc.net resistance.oftc.net]
digetx has quit [coherence.oftc.net resistance.oftc.net]
jernej has quit [coherence.oftc.net resistance.oftc.net]
dliviu has quit [coherence.oftc.net resistance.oftc.net]
megi has quit [coherence.oftc.net resistance.oftc.net]
jelly has quit [coherence.oftc.net resistance.oftc.net]
loki666 has quit [coherence.oftc.net resistance.oftc.net]
Hypfer has quit [coherence.oftc.net resistance.oftc.net]
libv has quit [coherence.oftc.net resistance.oftc.net]
LordKalma has quit [coherence.oftc.net resistance.oftc.net]
hramrach has quit [coherence.oftc.net resistance.oftc.net]
jemk has quit [coherence.oftc.net resistance.oftc.net]
__ad has quit [coherence.oftc.net resistance.oftc.net]
paulk-ter has quit [coherence.oftc.net resistance.oftc.net]
kuba2k2 has quit [coherence.oftc.net resistance.oftc.net]
pmp-p has quit [coherence.oftc.net resistance.oftc.net]
mripard has quit [coherence.oftc.net resistance.oftc.net]
aperezdc has quit [coherence.oftc.net resistance.oftc.net]
psydroid has quit [coherence.oftc.net resistance.oftc.net]
montjoie has quit [coherence.oftc.net resistance.oftc.net]
igraltist has quit [coherence.oftc.net resistance.oftc.net]
f_ has quit [coherence.oftc.net resistance.oftc.net]
machinehum has quit [coherence.oftc.net resistance.oftc.net]
PPA has quit [coherence.oftc.net resistance.oftc.net]
milek7 has quit [coherence.oftc.net resistance.oftc.net]
Nemo_bis has quit [coherence.oftc.net resistance.oftc.net]
kilobyte has quit [coherence.oftc.net resistance.oftc.net]
indy has quit [coherence.oftc.net resistance.oftc.net]
massoud has quit [coherence.oftc.net resistance.oftc.net]
inf has quit [coherence.oftc.net resistance.oftc.net]
Esmil has quit [coherence.oftc.net resistance.oftc.net]
rtp has quit [coherence.oftc.net resistance.oftc.net]
swiftgeek has quit [coherence.oftc.net resistance.oftc.net]
ats has quit [coherence.oftc.net resistance.oftc.net]
Danct12 has quit [coherence.oftc.net resistance.oftc.net]
juri_ has quit [coherence.oftc.net resistance.oftc.net]
theslowcoder has quit [coherence.oftc.net resistance.oftc.net]
maz has quit [coherence.oftc.net resistance.oftc.net]
dok has quit [coherence.oftc.net resistance.oftc.net]
daschaos has quit [coherence.oftc.net resistance.oftc.net]
alikates has quit [coherence.oftc.net resistance.oftc.net]
rellla has quit [coherence.oftc.net resistance.oftc.net]
gamiee_ has quit [coherence.oftc.net resistance.oftc.net]
electricworry has quit [coherence.oftc.net resistance.oftc.net]
blathijs has quit [coherence.oftc.net resistance.oftc.net]
veremitz has quit [coherence.oftc.net resistance.oftc.net]
immibis has quit [coherence.oftc.net resistance.oftc.net]
ynezz has quit [coherence.oftc.net resistance.oftc.net]
hexdump01 has joined #linux-sunxi
Schimsalabim has joined #linux-sunxi
paulk-ter has joined #linux-sunxi
soupborsh[m] has joined #linux-sunxi
barni2000[m] has joined #linux-sunxi
Newbyte has joined #linux-sunxi
dsimic has joined #linux-sunxi
Tooniis[m] has joined #linux-sunxi
kuba2k2 has joined #linux-sunxi
ity1 has joined #linux-sunxi
sauce has joined #linux-sunxi
Robot_ has joined #linux-sunxi
swiftgeek has joined #linux-sunxi
mnemoc has joined #linux-sunxi
pmp-p has joined #linux-sunxi
mripard has joined #linux-sunxi
diego71_ has joined #linux-sunxi
freemangordon1 has joined #linux-sunxi
munchaus1n has joined #linux-sunxi
aperezdc has joined #linux-sunxi
ungeskriptet_ has joined #linux-sunxi
kepstin has joined #linux-sunxi
sh1 has joined #linux-sunxi
Raqbit339890 has joined #linux-sunxi
psydroid has joined #linux-sunxi
aggi has joined #linux-sunxi
tlwoerner has joined #linux-sunxi
montjoie has joined #linux-sunxi
IlikeTech has joined #linux-sunxi
smaeul has joined #linux-sunxi
ats has joined #linux-sunxi
anarsoul has joined #linux-sunxi
Danct12 has joined #linux-sunxi
eldondev has joined #linux-sunxi
MasterR3C0RD has joined #linux-sunxi
digetx has joined #linux-sunxi
gnarface has joined #linux-sunxi
jernej has joined #linux-sunxi
macromorgan has joined #linux-sunxi
f_ has joined #linux-sunxi
igraltist has joined #linux-sunxi
dliviu has joined #linux-sunxi
linkmauve has joined #linux-sunxi
benettig has joined #linux-sunxi
theslowcoder has joined #linux-sunxi
flyback has joined #linux-sunxi
wasutton- has joined #linux-sunxi
jason123onirc has joined #linux-sunxi
juri_ has joined #linux-sunxi
megi has joined #linux-sunxi
NishanthMenon has joined #linux-sunxi
jelly has joined #linux-sunxi
Turl_ has joined #linux-sunxi
Asara has joined #linux-sunxi
loki666 has joined #linux-sunxi
Hypfer has joined #linux-sunxi
libv has joined #linux-sunxi
buZz has joined #linux-sunxi
LordKalma has joined #linux-sunxi
hramrach has joined #linux-sunxi
jakllsch has joined #linux-sunxi
machinehum has joined #linux-sunxi
maz has joined #linux-sunxi
arti has joined #linux-sunxi
dok has joined #linux-sunxi
farhan3 has joined #linux-sunxi
alikates has joined #linux-sunxi
aren has joined #linux-sunxi
steev has joined #linux-sunxi
gamiee_ has joined #linux-sunxi
daschaos has joined #linux-sunxi
gamiee has joined #linux-sunxi
heartburn has joined #linux-sunxi
DuClare has joined #linux-sunxi
electricworry has joined #linux-sunxi
kasesag has joined #linux-sunxi
PPA has joined #linux-sunxi
immibis has joined #linux-sunxi
veremitz has joined #linux-sunxi
milek7 has joined #linux-sunxi
Nemo_bis has joined #linux-sunxi
ynezz has joined #linux-sunxi
blathijs has joined #linux-sunxi
jemk has joined #linux-sunxi
__ad has joined #linux-sunxi
indy has joined #linux-sunxi
kilobyte has joined #linux-sunxi
Lightsword has joined #linux-sunxi
cyrozap has joined #linux-sunxi
narmstrong has joined #linux-sunxi
lvrp16_ has joined #linux-sunxi
arnd has joined #linux-sunxi
palmer has joined #linux-sunxi
wigyori has joined #linux-sunxi
revy_ has joined #linux-sunxi
inf has joined #linux-sunxi
rellla has joined #linux-sunxi
Esmil has joined #linux-sunxi
rtp has joined #linux-sunxi
massoud has joined #linux-sunxi
cnxsoft has quit []
smaeul has quit [Read error: Connection reset by peer]
smaeul has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
bauen1 has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
radxanaoki1 has joined #linux-sunxi
radxanaoki has quit [Quit: radxanaoki]
radxanaoki1 has quit [Remote host closed the connection]
radxanaoki has joined #linux-sunxi
radxanaoki1 has joined #linux-sunxi
radxanaoki has quit [Quit: radxanaoki]
ungeskriptet_ has quit [Remote host closed the connection]
ungeskriptet has joined #linux-sunxi
zoengjay has quit [Remote host closed the connection]
cnxsoft has quit []
zoengjay has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
cnxsoft has quit [Read error: Connection reset by peer]
szemzoa has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
bauen1 has joined #linux-sunxi
<kuba2k2> Nice find! If you don't mind sharing a patch/what you've changed, I'd be happy to test it
<kuba2k2> Now I'm wondering if it can be overclocked to 100mhz or something, haha...
ynezz has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
dliviu has quit [Quit: Going away]
dliviu has joined #linux-sunxi
radxanaoki1 has quit []
zoengjay has quit []
<kuba2k2> apritzel: I tested your patches, the read speed is now 22.2 MiB/s :)
<apritzel> \o/
<kuba2k2> however, the mount time didn't improve at all, it's still 8 sec for some reason
<kuba2k2> I assume it must be caused by something else then
<apritzel> how does this "mount time" manifest, really? Is that just a gap in the boot log, where nothing happens for 8 seconds?
<kuba2k2> pretty much, yes
<apritzel> because actually mounting an ext4 file system has always been almost always instantaneous for me
<apritzel> So I guess it's something else then, just in the proximity of the rootfs mount?
<kuba2k2> you can see that both say "mounting root" (message generated by OpenRC) at around 2 sec
<kuba2k2> and the "EXT4-fs (mmcblk0p2): mounted filesystem" comes in much later on mainline
montjoie_ has joined #linux-sunxi
montjoie has quit [Ping timeout: 480 seconds]
<kuba2k2> mm, overclocking SMHC0_CLK to 150MHz gives me 32.3 MiB/s... it's probably very unstable, though (at 200 MHz it already breaks)
JohnDoe_71Rus has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/]
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 480 seconds]
libv_ is now known as libv
<apritzel> kuba2k2: yeah, please don't do this ;-)
JohnDoe_71Rus has joined #linux-sunxi
<apritzel> for SD card speeds beyond HighSpeed (25MB/s) you would need 1.8V on the I/O lines, which the D1/T113 does not support easily (unless you have a level shifter on the board)
<apritzel> and yes, many cards have enough headroom to go faster even with 3.3V, but it's simply beyond the spec, and thus unstable and not supported
<apritzel> the H616 and newer SoCs like the A523 do support switching PortF to 1.8V (internally), but that's not implemented in mainline
<apritzel> (I have some patches, but couldn't get it to work)
<jernej> apritzel: does your fix also improve performance on h616?
<apritzel> jernej: do, that was purely a D1/T113 clock issue. Do you see MMC performance issues on H616?
<jernej> I mean U-Boot H6 clock driver code is shared with h616, right?
<jernej> I think I got report that emmc is slower in U-Boot for H616
<apritzel> eMMC in U-Boot doesn't really work at all for me, for some unknown reason. I suspect it might be due to it using the FIFO, not DMA
<apritzel> there are some nasty hacks floating around that massively limit the clocks, to work around that issue
<apritzel> which apart from being implemented nastily, of course has the side effect of limiting the performance
<jernej> do you think driver needs rewrite to DMA approach?
<apritzel> jernej: I hope not, since that complicates things
<apritzel> I have seen patches implementing this already (years ago), to reach higher eMMC performance, but I wasn't a big fan
<apritzel> and my FIFO access optimisation brought eMMC up to like 40MB/s, without DMA, so there isn't such a pressing need for that anymore
<apritzel> jernej: my U-Boot patch just affects NCAT2, so effectively just the T113 (for now)
<jernej> understood
<jernej> so emmc code still needs check, right? do you remember if it works linux?
<apritzel> yes, it works nicely in Linux, which made me think of FIFO vs. DMA. My hope is that it's maybe just an issue with the FIFOs not being able to keep up, or something with the FIFO level detection changed
<apritzel> if anyone wants to investigate, I would be quite grateful
<jernej> maybe me :)
<jernej> do you have your fifo optimizations on gh?
<apritzel> they are merged for years now, commit 0b508ca821d383b2fd might give you some leads
<apritzel> (that's a fix for the A20, but contains the SHA of the original commit)
<apritzel> maybe a first step could be to disable them again? It's not an easy switch though, IIRC
<apritzel> jernej: many thanks!
<jernej> ah, I think I remember this
vagrantc has joined #linux-sunxi
hazardchem has quit [Read error: Connection reset by peer]
hazardchem has joined #linux-sunxi
dsimic is now known as Guest10157
dsimic has joined #linux-sunxi
Guest10157 has quit [Ping timeout: 480 seconds]
<jernej> apritzel: I just tested emmc on random board I had connected (T507 based) and emmc seems to work. Do you have any board where emmc fails reliably?
<apritzel> jernej: on every board I tested so far, mostly H616 and H618 TV boxes How did you test this? It seems to work when reading just a few sectors (IIRC something like 6), but then fails for me
<jernej> apritzel: also one observation, BSP selects AHB transfers *before* command is sent and also after (which doesn't matter imo)
<jernej> so maybe this is needed
<jernej> apritzel: with ext4ls. ok, I'll read big file into memory
<apritzel> ah, selecting FIFO transfers before sending any command might be an interesting detail
<jernej> probably not the reason...
<jernej> what is interesting that single word read fails quicker than your optimized approach
<jernej> when reading large file
<apritzel> where you looking at BSP U-Boot code? Does that do FIFO transfers only as well?
<apritzel> *were you looking ...
<jernej> yeah, I was looking at BSP code, but I have yet to figure if fifo transfers are used
<jernej> there is Kconfig option to do dma only, so it may be fundamentally broken
<jernej> but I have to go for now
<apritzel> thanks for trying!
apritzel has quit [Ping timeout: 480 seconds]
<megi> DMA is not that complicated, especially if you can use idma, and it has other benefits (like it's very fast also in SPL with CPU cache disabled)
<megi> it's just one extra functions and some minor modifications to a few others
paulk has joined #linux-sunxi
paulk-ter has quit [Read error: Connection reset by peer]
ftg has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/]
<jernej> megi: any reason why you disabled dma for spl?
<megi> I did not
<megi> sorry wrong link
<jernej> it doesn't work as-is on h616, I need to take a deeper look into all configuration. Still could be an issue with clocks
digetx is now known as Guest10207
digetx has joined #linux-sunxi
Guest10207 has quit [Ping timeout: 480 seconds]
smaeul has quit [Read error: No route to host]
smaeul has joined #linux-sunxi
evgeny_boger has joined #linux-sunxi
apritzel has joined #linux-sunxi
ynezz has joined #linux-sunxi
ynezz is now known as Guest10217
Guest10217 is now known as ynezz
evgeny_boger has quit [Ping timeout: 480 seconds]
Robot_ has quit [Ping timeout: 480 seconds]
digetx is now known as Guest10223
digetx has joined #linux-sunxi
Guest10223 has quit [Ping timeout: 480 seconds]
bauen1 has quit [Ping timeout: 480 seconds]