00:33
radxanaoki has quit [Quit: radxanaoki]
00:40
Schimsalabim has quit [Read error: Connection reset by peer]
00:40
Schimsalabim has joined #linux-sunxi
00:45
vagrantc has quit [Ping timeout: 480 seconds]
00:57
radxanaoki has joined #linux-sunxi
01:10
kikuchan has quit [Quit: Page closed]
01:11
zoengjay has quit [Ping timeout: 480 seconds]
01:11
zoengjay has joined #linux-sunxi
01:40
zoengjay has quit [Ping timeout: 480 seconds]
01:40
zoengjay has joined #linux-sunxi
02:02
zoengjay has quit [Read error: Connection reset by peer]
02:02
zoengjay has joined #linux-sunxi
02:03
cnxsoft has joined #linux-sunxi
02:11
zoengjay has quit [Ping timeout: 480 seconds]
02:12
zoengjay has joined #linux-sunxi
02:15
apritzel has quit [Ping timeout: 480 seconds]
02:16
Schimsalabim has quit [Ping timeout: 480 seconds]
02:16
Schimsalabim has joined #linux-sunxi
03:05
radxanaoki has quit [Quit: radxanaoki]
03:05
bauen1 has quit [Ping timeout: 480 seconds]
03:08
radxanaoki has joined #linux-sunxi
03:47
hexdump01 has joined #linux-sunxi
03:49
hexdump0815 has quit [Ping timeout: 480 seconds]
03:51
zoengjay has quit [Remote host closed the connection]
03:51
zoengjay has joined #linux-sunxi
03:57
ity1 has quit [coherence.oftc.net resistance.oftc.net]
03:57
palmer has quit [coherence.oftc.net resistance.oftc.net]
03:57
sauce has quit [coherence.oftc.net resistance.oftc.net]
03:57
Turl_ has quit [coherence.oftc.net resistance.oftc.net]
03:57
jakllsch has quit [coherence.oftc.net resistance.oftc.net]
03:57
lvrp16_ has quit [coherence.oftc.net resistance.oftc.net]
03:57
revy_ has quit [coherence.oftc.net resistance.oftc.net]
03:57
narmstrong has quit [coherence.oftc.net resistance.oftc.net]
03:57
arnd has quit [coherence.oftc.net resistance.oftc.net]
03:57
kepstin has quit [coherence.oftc.net resistance.oftc.net]
03:57
smaeul has quit [coherence.oftc.net resistance.oftc.net]
03:57
IlikeTech has quit [coherence.oftc.net resistance.oftc.net]
03:57
tlwoerner has quit [coherence.oftc.net resistance.oftc.net]
03:57
anarsoul has quit [coherence.oftc.net resistance.oftc.net]
03:57
flyback has quit [coherence.oftc.net resistance.oftc.net]
03:57
eldondev has quit [coherence.oftc.net resistance.oftc.net]
03:57
benettig has quit [coherence.oftc.net resistance.oftc.net]
03:57
steev has quit [coherence.oftc.net resistance.oftc.net]
03:57
NishanthMenon has quit [coherence.oftc.net resistance.oftc.net]
03:57
Lightsword has quit [coherence.oftc.net resistance.oftc.net]
03:57
cyrozap has quit [coherence.oftc.net resistance.oftc.net]
03:57
sh1 has quit [coherence.oftc.net resistance.oftc.net]
03:57
MasterR3C0RD has quit [coherence.oftc.net resistance.oftc.net]
03:57
gnarface has quit [coherence.oftc.net resistance.oftc.net]
03:57
jason123onirc has quit [coherence.oftc.net resistance.oftc.net]
03:57
wasutton- has quit [coherence.oftc.net resistance.oftc.net]
03:57
macromorgan has quit [coherence.oftc.net resistance.oftc.net]
03:57
Asara has quit [coherence.oftc.net resistance.oftc.net]
03:57
buZz has quit [coherence.oftc.net resistance.oftc.net]
03:57
aren has quit [coherence.oftc.net resistance.oftc.net]
03:57
wigyori has quit [coherence.oftc.net resistance.oftc.net]
03:57
hexdump01 has quit [coherence.oftc.net resistance.oftc.net]
03:57
Schimsalabim has quit [coherence.oftc.net resistance.oftc.net]
03:57
barni2000[m] has quit [coherence.oftc.net resistance.oftc.net]
03:57
Newbyte has quit [coherence.oftc.net resistance.oftc.net]
03:57
Tooniis[m] has quit [coherence.oftc.net resistance.oftc.net]
03:57
diego71_ has quit [coherence.oftc.net resistance.oftc.net]
03:57
munchaus1n has quit [coherence.oftc.net resistance.oftc.net]
03:57
arti has quit [coherence.oftc.net resistance.oftc.net]
03:57
farhan3 has quit [coherence.oftc.net resistance.oftc.net]
03:57
gamiee has quit [coherence.oftc.net resistance.oftc.net]
03:57
heartburn has quit [coherence.oftc.net resistance.oftc.net]
03:57
DuClare has quit [coherence.oftc.net resistance.oftc.net]
03:57
kasesag has quit [coherence.oftc.net resistance.oftc.net]
03:57
linkmauve has quit [coherence.oftc.net resistance.oftc.net]
03:57
dsimic has quit [coherence.oftc.net resistance.oftc.net]
03:57
soupborsh[m] has quit [coherence.oftc.net resistance.oftc.net]
03:57
Robot_ has quit [coherence.oftc.net resistance.oftc.net]
03:57
mnemoc has quit [coherence.oftc.net resistance.oftc.net]
03:57
freemangordon1 has quit [coherence.oftc.net resistance.oftc.net]
03:57
ungeskriptet_ has quit [coherence.oftc.net resistance.oftc.net]
03:57
Raqbit339890 has quit [coherence.oftc.net resistance.oftc.net]
03:57
aggi has quit [coherence.oftc.net resistance.oftc.net]
03:57
digetx has quit [coherence.oftc.net resistance.oftc.net]
03:57
jernej has quit [coherence.oftc.net resistance.oftc.net]
03:57
dliviu has quit [coherence.oftc.net resistance.oftc.net]
03:57
megi has quit [coherence.oftc.net resistance.oftc.net]
03:57
jelly has quit [coherence.oftc.net resistance.oftc.net]
03:57
loki666 has quit [coherence.oftc.net resistance.oftc.net]
03:57
Hypfer has quit [coherence.oftc.net resistance.oftc.net]
03:57
libv has quit [coherence.oftc.net resistance.oftc.net]
03:57
LordKalma has quit [coherence.oftc.net resistance.oftc.net]
03:57
hramrach has quit [coherence.oftc.net resistance.oftc.net]
03:57
jemk has quit [coherence.oftc.net resistance.oftc.net]
03:57
__ad has quit [coherence.oftc.net resistance.oftc.net]
03:57
paulk-ter has quit [coherence.oftc.net resistance.oftc.net]
03:57
kuba2k2 has quit [coherence.oftc.net resistance.oftc.net]
03:57
pmp-p has quit [coherence.oftc.net resistance.oftc.net]
03:57
mripard has quit [coherence.oftc.net resistance.oftc.net]
03:57
aperezdc has quit [coherence.oftc.net resistance.oftc.net]
03:57
psydroid has quit [coherence.oftc.net resistance.oftc.net]
03:57
montjoie has quit [coherence.oftc.net resistance.oftc.net]
03:57
igraltist has quit [coherence.oftc.net resistance.oftc.net]
03:57
f_ has quit [coherence.oftc.net resistance.oftc.net]
03:57
machinehum has quit [coherence.oftc.net resistance.oftc.net]
03:57
PPA has quit [coherence.oftc.net resistance.oftc.net]
03:57
milek7 has quit [coherence.oftc.net resistance.oftc.net]
03:57
Nemo_bis has quit [coherence.oftc.net resistance.oftc.net]
03:57
kilobyte has quit [coherence.oftc.net resistance.oftc.net]
03:57
indy has quit [coherence.oftc.net resistance.oftc.net]
03:57
massoud has quit [coherence.oftc.net resistance.oftc.net]
03:57
inf has quit [coherence.oftc.net resistance.oftc.net]
03:57
Esmil has quit [coherence.oftc.net resistance.oftc.net]
03:57
rtp has quit [coherence.oftc.net resistance.oftc.net]
03:57
swiftgeek has quit [coherence.oftc.net resistance.oftc.net]
03:57
ats has quit [coherence.oftc.net resistance.oftc.net]
03:57
Danct12 has quit [coherence.oftc.net resistance.oftc.net]
03:57
juri_ has quit [coherence.oftc.net resistance.oftc.net]
03:57
theslowcoder has quit [coherence.oftc.net resistance.oftc.net]
03:57
maz has quit [coherence.oftc.net resistance.oftc.net]
03:57
dok has quit [coherence.oftc.net resistance.oftc.net]
03:57
daschaos has quit [coherence.oftc.net resistance.oftc.net]
03:57
alikates has quit [coherence.oftc.net resistance.oftc.net]
03:57
rellla has quit [coherence.oftc.net resistance.oftc.net]
03:57
gamiee_ has quit [coherence.oftc.net resistance.oftc.net]
03:57
electricworry has quit [coherence.oftc.net resistance.oftc.net]
03:57
blathijs has quit [coherence.oftc.net resistance.oftc.net]
03:57
veremitz has quit [coherence.oftc.net resistance.oftc.net]
03:57
immibis has quit [coherence.oftc.net resistance.oftc.net]
03:57
ynezz has quit [coherence.oftc.net resistance.oftc.net]
03:58
hexdump01 has joined #linux-sunxi
03:58
Schimsalabim has joined #linux-sunxi
03:58
paulk-ter has joined #linux-sunxi
03:58
soupborsh[m] has joined #linux-sunxi
03:58
barni2000[m] has joined #linux-sunxi
03:58
Newbyte has joined #linux-sunxi
03:58
dsimic has joined #linux-sunxi
03:58
Tooniis[m] has joined #linux-sunxi
03:58
kuba2k2 has joined #linux-sunxi
03:58
ity1 has joined #linux-sunxi
03:58
sauce has joined #linux-sunxi
03:58
Robot_ has joined #linux-sunxi
03:58
swiftgeek has joined #linux-sunxi
03:58
mnemoc has joined #linux-sunxi
03:58
pmp-p has joined #linux-sunxi
03:58
mripard has joined #linux-sunxi
03:58
diego71_ has joined #linux-sunxi
03:58
freemangordon1 has joined #linux-sunxi
03:58
munchaus1n has joined #linux-sunxi
03:58
aperezdc has joined #linux-sunxi
03:58
ungeskriptet_ has joined #linux-sunxi
03:58
kepstin has joined #linux-sunxi
03:58
sh1 has joined #linux-sunxi
03:58
Raqbit339890 has joined #linux-sunxi
03:58
psydroid has joined #linux-sunxi
03:58
aggi has joined #linux-sunxi
03:58
tlwoerner has joined #linux-sunxi
03:58
montjoie has joined #linux-sunxi
03:58
IlikeTech has joined #linux-sunxi
03:58
smaeul has joined #linux-sunxi
03:58
ats has joined #linux-sunxi
03:58
anarsoul has joined #linux-sunxi
03:58
Danct12 has joined #linux-sunxi
03:58
eldondev has joined #linux-sunxi
03:58
MasterR3C0RD has joined #linux-sunxi
03:58
digetx has joined #linux-sunxi
03:58
gnarface has joined #linux-sunxi
03:58
jernej has joined #linux-sunxi
03:58
macromorgan has joined #linux-sunxi
03:58
f_ has joined #linux-sunxi
03:58
igraltist has joined #linux-sunxi
03:58
dliviu has joined #linux-sunxi
03:58
linkmauve has joined #linux-sunxi
03:58
benettig has joined #linux-sunxi
03:58
theslowcoder has joined #linux-sunxi
03:58
flyback has joined #linux-sunxi
03:58
wasutton- has joined #linux-sunxi
03:58
jason123onirc has joined #linux-sunxi
03:58
juri_ has joined #linux-sunxi
03:58
megi has joined #linux-sunxi
03:58
NishanthMenon has joined #linux-sunxi
03:58
jelly has joined #linux-sunxi
03:58
Turl_ has joined #linux-sunxi
03:58
Asara has joined #linux-sunxi
03:58
loki666 has joined #linux-sunxi
03:58
Hypfer has joined #linux-sunxi
03:58
libv has joined #linux-sunxi
03:58
buZz has joined #linux-sunxi
03:58
LordKalma has joined #linux-sunxi
03:58
hramrach has joined #linux-sunxi
03:58
jakllsch has joined #linux-sunxi
03:58
machinehum has joined #linux-sunxi
03:58
maz has joined #linux-sunxi
03:58
arti has joined #linux-sunxi
03:58
dok has joined #linux-sunxi
03:58
farhan3 has joined #linux-sunxi
03:58
alikates has joined #linux-sunxi
03:58
aren has joined #linux-sunxi
03:58
steev has joined #linux-sunxi
03:58
gamiee_ has joined #linux-sunxi
03:58
daschaos has joined #linux-sunxi
03:58
gamiee has joined #linux-sunxi
03:58
heartburn has joined #linux-sunxi
03:58
DuClare has joined #linux-sunxi
03:58
electricworry has joined #linux-sunxi
03:58
kasesag has joined #linux-sunxi
03:58
PPA has joined #linux-sunxi
03:58
immibis has joined #linux-sunxi
03:58
veremitz has joined #linux-sunxi
03:58
milek7 has joined #linux-sunxi
03:58
Nemo_bis has joined #linux-sunxi
03:58
ynezz has joined #linux-sunxi
03:58
blathijs has joined #linux-sunxi
03:58
jemk has joined #linux-sunxi
03:58
__ad has joined #linux-sunxi
03:58
indy has joined #linux-sunxi
03:58
kilobyte has joined #linux-sunxi
03:58
Lightsword has joined #linux-sunxi
03:58
cyrozap has joined #linux-sunxi
03:58
narmstrong has joined #linux-sunxi
03:58
lvrp16_ has joined #linux-sunxi
03:58
arnd has joined #linux-sunxi
03:58
palmer has joined #linux-sunxi
03:58
wigyori has joined #linux-sunxi
03:58
revy_ has joined #linux-sunxi
03:58
inf has joined #linux-sunxi
03:58
rellla has joined #linux-sunxi
03:58
Esmil has joined #linux-sunxi
03:58
rtp has joined #linux-sunxi
03:58
massoud has joined #linux-sunxi
04:08
cnxsoft has quit []
04:47
smaeul has quit [Read error: Connection reset by peer]
04:48
smaeul has joined #linux-sunxi
04:48
cnxsoft has joined #linux-sunxi
04:56
bauen1 has joined #linux-sunxi
05:06
JohnDoe_71Rus has joined #linux-sunxi
05:24
radxanaoki1 has joined #linux-sunxi
05:24
radxanaoki has quit [Quit: radxanaoki]
05:35
radxanaoki1 has quit [Remote host closed the connection]
06:37
radxanaoki has joined #linux-sunxi
06:47
radxanaoki1 has joined #linux-sunxi
06:47
radxanaoki has quit [Quit: radxanaoki]
06:54
ungeskriptet_ has quit [Remote host closed the connection]
06:54
ungeskriptet has joined #linux-sunxi
07:00
zoengjay has quit [Remote host closed the connection]
07:01
cnxsoft has quit []
07:01
zoengjay has joined #linux-sunxi
07:01
cnxsoft has joined #linux-sunxi
07:09
apritzel has joined #linux-sunxi
07:30
apritzel has quit [Ping timeout: 480 seconds]
07:40
cnxsoft has quit [Read error: Connection reset by peer]
07:43
szemzoa has joined #linux-sunxi
07:53
Schimsalabim has quit [Ping timeout: 480 seconds]
07:53
Schimsalabim has joined #linux-sunxi
08:01
bauen1 has quit [Ping timeout: 480 seconds]
08:16
Schimsalabim has quit [Ping timeout: 480 seconds]
08:21
Schimsalabim has joined #linux-sunxi
08:31
bauen1 has joined #linux-sunxi
08:50
<
kuba2k2 >
Nice find! If you don't mind sharing a patch/what you've changed, I'd be happy to test it
08:54
<
kuba2k2 >
Now I'm wondering if it can be overclocked to 100mhz or something, haha...
09:35
ynezz has quit [Ping timeout: 480 seconds]
09:51
apritzel has joined #linux-sunxi
10:42
dliviu has quit [Quit: Going away]
10:45
dliviu has joined #linux-sunxi
11:04
radxanaoki1 has quit []
11:39
zoengjay has quit []
11:47
<
kuba2k2 >
apritzel: I tested your patches, the read speed is now 22.2 MiB/s :)
11:47
<
kuba2k2 >
however, the mount time didn't improve at all, it's still 8 sec for some reason
11:48
<
kuba2k2 >
I assume it must be caused by something else then
11:50
<
apritzel >
how does this "mount time" manifest, really? Is that just a gap in the boot log, where nothing happens for 8 seconds?
11:51
<
kuba2k2 >
pretty much, yes
11:51
<
apritzel >
because actually mounting an ext4 file system has always been almost always instantaneous for me
11:53
<
apritzel >
So I guess it's something else then, just in the proximity of the rootfs mount?
11:54
<
kuba2k2 >
you can see that both say "mounting root" (message generated by OpenRC) at around 2 sec
11:55
<
kuba2k2 >
and the "EXT4-fs (mmcblk0p2): mounted filesystem" comes in much later on mainline
12:34
montjoie_ has joined #linux-sunxi
12:35
montjoie has quit [Ping timeout: 480 seconds]
13:17
<
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)
13:28
libv_ has joined #linux-sunxi
13:30
libv has quit [Ping timeout: 480 seconds]
13:43
libv_ is now known as libv
14:32
<
apritzel >
kuba2k2: yeah, please don't do this ;-)
14:34
JohnDoe_71Rus has joined #linux-sunxi
14:35
<
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)
14:36
<
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
14:37
<
apritzel >
the H616 and newer SoCs like the A523 do support switching PortF to 1.8V (internally), but that's not implemented in mainline
14:37
<
apritzel >
(I have some patches, but couldn't get it to work)
15:26
<
jernej >
apritzel: does your fix also improve performance on h616?
15:29
<
apritzel >
jernej: do, that was purely a D1/T113 clock issue. Do you see MMC performance issues on H616?
15:30
<
jernej >
I mean U-Boot H6 clock driver code is shared with h616, right?
15:31
<
jernej >
I think I got report that emmc is slower in U-Boot for H616
15:33
<
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
15:33
<
apritzel >
there are some nasty hacks floating around that massively limit the clocks, to work around that issue
15:34
<
apritzel >
which apart from being implemented nastily, of course has the side effect of limiting the performance
15:35
<
jernej >
do you think driver needs rewrite to DMA approach?
15:35
<
apritzel >
jernej: I hope not, since that complicates things
15:36
<
apritzel >
I have seen patches implementing this already (years ago), to reach higher eMMC performance, but I wasn't a big fan
15:37
<
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
15:38
<
apritzel >
jernej: my U-Boot patch just affects NCAT2, so effectively just the T113 (for now)
15:38
<
jernej >
understood
15:40
<
jernej >
so emmc code still needs check, right? do you remember if it works linux?
15:43
<
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
15:44
<
apritzel >
if anyone wants to investigate, I would be quite grateful
15:45
<
jernej >
maybe me :)
15:46
<
jernej >
do you have your fifo optimizations on gh?
15:46
<
apritzel >
they are merged for years now, commit 0b508ca821d383b2fd might give you some leads
15:47
<
apritzel >
(that's a fix for the A20, but contains the SHA of the original commit)
15:48
<
apritzel >
maybe a first step could be to disable them again? It's not an easy switch though, IIRC
15:48
<
apritzel >
jernej: many thanks!
15:48
<
jernej >
ah, I think I remember this
16:57
vagrantc has joined #linux-sunxi
17:07
hazardchem has quit [Read error: Connection reset by peer]
17:07
hazardchem has joined #linux-sunxi
17:14
dsimic is now known as Guest10157
17:15
dsimic has joined #linux-sunxi
17:16
Guest10157 has quit [Ping timeout: 480 seconds]
17:20
<
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?
17:22
<
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
17:22
<
jernej >
apritzel: also one observation, BSP selects AHB transfers
*before* command is sent and also after (which doesn't matter imo)
17:22
<
jernej >
so maybe this is needed
17:23
<
jernej >
apritzel: with ext4ls. ok, I'll read big file into memory
17:24
<
apritzel >
ah, selecting FIFO transfers before sending any command might be an interesting detail
17:27
<
jernej >
probably not the reason...
17:40
<
jernej >
what is interesting that single word read fails quicker than your optimized approach
17:40
<
jernej >
when reading large file
17:43
<
apritzel >
where you looking at BSP U-Boot code? Does that do FIFO transfers only as well?
17:47
<
apritzel >
*were you looking ...
17:47
<
jernej >
yeah, I was looking at BSP code, but I have yet to figure if fifo transfers are used
17:48
<
jernej >
there is Kconfig option to do dma only, so it may be fundamentally broken
17:48
<
jernej >
but I have to go for now
17:48
<
apritzel >
thanks for trying!
18:32
apritzel has quit [Ping timeout: 480 seconds]
19:12
<
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)
19:16
<
megi >
it's just one extra functions and some minor modifications to a few others
19:40
paulk has joined #linux-sunxi
19:41
paulk-ter has quit [Read error: Connection reset by peer]
19:44
ftg has joined #linux-sunxi
20:10
<
jernej >
megi: any reason why you disabled dma for spl?
20:20
<
megi >
sorry wrong link
21:03
<
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
21:10
digetx is now known as Guest10207
21:10
digetx has joined #linux-sunxi
21:13
Guest10207 has quit [Ping timeout: 480 seconds]
21:23
smaeul has quit [Read error: No route to host]
21:24
smaeul has joined #linux-sunxi
21:24
evgeny_boger has joined #linux-sunxi
21:41
apritzel has joined #linux-sunxi
21:56
ynezz has joined #linux-sunxi
21:57
ynezz is now known as Guest10217
21:58
Guest10217 is now known as ynezz
22:46
evgeny_boger has quit [Ping timeout: 480 seconds]
23:12
Robot_ has quit [Ping timeout: 480 seconds]
23:30
digetx is now known as Guest10223
23:30
digetx has joined #linux-sunxi
23:33
Guest10223 has quit [Ping timeout: 480 seconds]
23:46
bauen1 has quit [Ping timeout: 480 seconds]