<apritzel>
so do we have any A133 boards with DDR4 memory (not LPDDR4)? Has the DRAM support been tested for those, if yes, what are the MR values to use?
apritzel has quit [Ping timeout: 480 seconds]
cnxsoft has joined #linux-sunxi
cnxsoft has quit [Remote host closed the connection]
cnxsoft has joined #linux-sunxi
hexdump02 has joined #linux-sunxi
hexdump0815 has quit [Ping timeout: 480 seconds]
dsimic is now known as Guest11695
dsimic has joined #linux-sunxi
Guest11695 has quit [Ping timeout: 480 seconds]
szemzoa has quit []
JohnDoe_71Rus has joined #linux-sunxi
bauen1_ has quit [Ping timeout: 480 seconds]
gsz has joined #linux-sunxi
hexdump02 has quit []
hexdump0815 has joined #linux-sunxi
paulk-bis has quit [Ping timeout: 480 seconds]
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
gsz has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
paulk-ter has joined #linux-sunxi
gsz has joined #linux-sunxi
bauen1 has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
mripard has joined #linux-sunxi
bauen1_ has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
pmp-p is now known as Guest11709
pmp-p has joined #linux-sunxi
Guest11709 has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
<warpme>
guys: i compared h616 vs rk3566 in mem transfers ( https://gist.github.com/warpme/663fd6ee809d297c41d152088509b6ac ) It is understandable ddr3 vs ddr4 gives 20..40% diff. But why mem-to-framebuffer is 10x diff? (is a53 vs a55 explanation? no...)?
<mripard>
cacheable vs non-cacheable buffers ?
apritzel has joined #linux-sunxi
warpme has quit []
<apritzel>
warpme: the memory subsystem in the A55 was significantly improved over the A53, so that surely contributes to the gains you see in the *normal* numbers
<apritzel>
but the framebuffer differences are most likely due to cached vs. non-cached, as mripard said
<apritzel>
the tinymembench docs mentions expected numbers between 100 and 300MB/s for uncached framebuffer accesses, so that looks fine
<apritzel>
if you have the OrangePi Zero3, that has LPDDR4 (on A53), so you could see how much this has an impact
<apritzel>
but in general we did not really do any work on optimising DRAM performance in the last years, we are just happy if it works at all and is stable ;-)
<apritzel>
jernej was reworking the size detection lately for the H616, with the aim of porting this to the H6 and A523 driver as well, I guess the A133 would join in
<loki666>
apritzel: yet it was size misdetection
apritzel has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
johnohhh1 has joined #linux-sunxi
johnohhh1 has quit []
gsz has quit [Ping timeout: 480 seconds]
<apritzel>
MasterR3C0RD: did you by chance manage to update the A133 DRAM "driver"? I see you agreed to most of jernej's comments to what I posted in January
<warpme>
well - here are some tests also with zero3 (lpddr4): https://gist.github.com/warpme/91c0ced506c0ec6edc9f5611eb7dfff4 With this i'm not sure that having _only_ foss code for dram init is right idea. compare this to rk world where vendor provides spl and this spl gives expected perf (not working perf). I think bringing back alternative allowing use vendor boot0 blob might be preferred by some pragmatic users who prefers perf for
<loki666>
apritzel I guess I can test your sunxi-fel branch... Just never used fel so far...
<loki666>
What would be a minimal test ?
<loki666>
Boot device without SD card and run ./sunxi-fel --list --verbose ?
<apritzel>
warpme: sorry, but there is really no alternative really to our FOSS DRAM code, we cannot really accommodate those blobs easily
<apritzel>
loki666: just "sunxi-fel ver" for a start
<loki666>
Ok I'll try that
<apritzel>
loki666: but this wouldn't really test much, so if you have a mainline U-Boot, you should try: sunxi-fel uboot u-boot-sunxi-with-spl.bin
<apritzel>
warpme: and to be honest: most of the BSP code I have seen is shockingly bad, in many aspects
<loki666>
I'll use the u-boot image of my buildroot
<apritzel>
warpme: And my hunch is they don't really understand the DRAM init properly either, so they copy something from the IP vendor and add random hacks that makes it work(TM) for them
<apritzel>
warpme: do you see performance differences between BSP and our DRAM code? Because I think so far we just copy the BSP config, mostly bit by bit
<apritzel>
warpme: so by optimisation I mean optimisations on top of the BSP reference performance, which sometimes looks lacking, just by comparing this to JEDEC parameters
<apritzel>
warpme: and I got significantly better DRAM performance out of that
loki6669 has joined #linux-sunxi
loki666 has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
warpme has joined #linux-sunxi
paulk has joined #linux-sunxi
paulk-ter has quit [Ping timeout: 480 seconds]
cnxsoft1 has quit [Ping timeout: 480 seconds]
junari has joined #linux-sunxi
<junari>
I'm trying to figure out the gmac1 code and adding the necessary parts from the BSP. In fact, only 700 lines of code have been added now (mostly hacks, but it is necessary for understanding further work). Right now I'm getting error 4510000.ethernet: Failed to reset the dma
junari has quit [Remote host closed the connection]
gsz has quit [Ping timeout: 480 seconds]
evgeny_boger1 has joined #linux-sunxi
evgeny_boger has quit [Read error: Connection reset by peer]
apritzel has joined #linux-sunxi
<apritzel>
loki666: oh great, many thanks for testing! Is there any chance you could confirm this on the Github pull request, so that the maintainers see the confirmation there?
vagrantc has quit [Quit: leaving]
<loki666>
apritzel: will do
mripard has quit [Quit: WeeChat 4.5.1]
wasutton3 has joined #linux-sunxi
evgeny_boger1 has quit [Ping timeout: 480 seconds]