00:20
tllim has quit [Quit: Leaving]
00:31
muvlon_ has quit [Ping timeout: 265 seconds]
00:38
nighty- has joined #linux-rockchip
00:44
muvlon_ has joined #linux-rockchip
01:39
anarsoul|3 has quit [Ping timeout: 240 seconds]
02:03
cnxsoft has joined #linux-rockchip
02:29
yann|work has quit [Ping timeout: 256 seconds]
02:42
yann|work has joined #linux-rockchip
02:48
vstehle has quit [Ping timeout: 244 seconds]
02:59
dejavou42 has joined #linux-rockchip
02:59
lurchi_ is now known as lurchi__
03:01
dejavou42 has left #linux-rockchip [#linux-rockchip]
04:20
DunningFreddyKru has quit [Quit: Page closed]
04:20
lurchi_ has joined #linux-rockchip
04:24
lurchi__ has quit [Ping timeout: 240 seconds]
05:00
vstehle has joined #linux-rockchip
05:09
amstan has quit [Ping timeout: 276 seconds]
05:16
vstehle has quit [*.net *.split]
05:16
kaspter has quit [*.net *.split]
05:21
_whitelogger has joined #linux-rockchip
05:35
daniels has joined #linux-rockchip
05:35
seanpaul has joined #linux-rockchip
05:35
norris has joined #linux-rockchip
05:35
ojn has joined #linux-rockchip
05:35
lvrp16 has joined #linux-rockchip
05:35
steev has joined #linux-rockchip
05:35
leah2 has joined #linux-rockchip
05:39
ayaka has quit [Ping timeout: 260 seconds]
05:39
ayaka has joined #linux-rockchip
06:01
<
Ke >
what are the best speeds that people have gotten with uSD on rk3288-veyron-speedy and rk3399-kevin
06:01
<
Ke >
I have super fast samsung uSD cards and have never reached anything above 30MB/s
06:02
<
Ke >
nominal read write speeds should be around 100MB/s
06:03
xerpi has joined #linux-rockchip
06:56
yann|work has quit [Ping timeout: 260 seconds]
06:58
matthias_bgg has joined #linux-rockchip
07:17
sb35 has quit [Ping timeout: 268 seconds]
07:33
athidhep has joined #linux-rockchip
07:33
athidhep has quit [Changing host]
07:33
athidhep has joined #linux-rockchip
07:39
sb35 has joined #linux-rockchip
07:42
athidhep has quit [Ping timeout: 240 seconds]
07:59
perr has joined #linux-rockchip
07:59
perr has joined #linux-rockchip
08:07
yann|work has joined #linux-rockchip
08:20
<
fysa >
SD clock is limiting them I believe
08:20
<
fysa >
quoted speeds on the cards are for 100mhz clocks I think?
08:21
<
fysa >
and I think ours are running quite a bit lower
08:21
<
fysa >
you might be able to overclock with a dt overlay or something
08:22
<
phh >
I think you should have 100Mhz 4bit bus, so ~ 50MB/s?
08:22
<
phh >
I don't think mmc protocol has such a big overhead to fall to 30MB/s
08:23
<
phh >
and afaik mmc clocks are power of 2 multilpes of 25MHz (or 12.5?)
08:24
perr has quit [Read error: Connection reset by peer]
08:24
<
fysa >
I see around 100MB/s on eMMC and 30MB/s on uSD on rk3328
08:28
<
fysa >
ah, SD card on rock64 is limited to DDR50 mode
08:28
<
fysa >
not sure about others
09:11
<
Ke >
fysa: so there is no hw limitation in getting faster bus speeds?
09:17
lukasz_ has joined #linux-rockchip
09:29
<
hgs >
how to extract contents of rk3399 boot.img?
09:35
<
wens >
seems rk3288 and rk3399 dont have UHS-1 enabled for uSD
09:39
<
wens >
highspeed is only 25 MB/s
09:41
<
Ke >
wens: could just patching the device tree help then?
09:41
<
Ke >
if so, why is it not on by default
09:50
xerpi has quit [Quit: Leaving]
09:50
<
Ke >
I guess I could take a look at the dwmmc
09:51
<
Ke >
I'm a big boy and know how to read kernel
09:54
<
wens >
I don't know, I'm not familiar with rockchip stuff
10:04
<
eballetbo >
Ke: device tree (at least for kevin) has the following modes enabled
10:04
<
eballetbo >
sd-uhs-sdr12;
10:04
<
eballetbo >
sd-uhs-sdr104
10:04
<
eballetbo >
sd-uhs-sdr50;
10:04
<
eballetbo >
sd-uhs-sdr25;
10:06
<
eballetbo >
i don't think is a dt problem, what's the speed detectec by the kernel for your sd-card?
10:07
<
wens >
the driver code does not has HS or UHS enabled by default. The device tree properties do that.
10:07
<
wens >
if the modes aren't enabled, the kernel won't even try them
10:10
<
wens >
looks like they are enabled for some boards, like kevin, veyron, but not others
10:13
<
eballetbo >
ooi, how do you exactly test the speed? just to run the same test here
10:15
<
Ke >
eballetbo: standard dd if=... of=/dev/mmcblk0p2 bs=1M conv=fsync
10:15
<
Ke >
cached writes with flush
10:17
<
Ke >
eballetbo: if you can get better speed at any test at all, please let me know
10:18
<
Ke >
any technically correct test above 40MB/s is definitely of interest
10:18
<
Ke >
or even 30, I am not quite sure I have not exaggerated a bit
10:19
<
Ke >
I think typical is about 27
10:19
<
eballetbo >
Ke: sure, I can test this afternoon
10:20
ramcq has quit [Quit: brb]
10:20
<
eballetbo >
not sure about the results :P ,but I have interest on it
10:25
<
Ke >
eballetbo: this is the dmesg from veyron-speedy, I keep seeing 148500000Hz and SDR104 a lot
10:25
<
Ke >
I am not sure how to figure out the speeds as such
10:27
<
Ke >
IIRC it was similar on Kevin
10:27
<
Ke >
have to check later today
10:29
<
wens >
Ke: SDR104 means top speed is 104 MB/s
10:33
ramcq has joined #linux-rockchip
10:36
<
eballetbo >
Ke: My sdcard is detected as
10:37
<
eballetbo >
[ 2.922826] mmc0: new ultra high speed SDR50 SDHC card at address 0001
10:37
<
eballetbo >
and running the following I get
10:37
<
eballetbo >
root@debian:~# dd if=/dev/urandom of=rnd_data bs=1024 count=1024k conv=sync
10:37
<
eballetbo >
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 39.2514 s, 27.4 MB/s
10:37
<
eballetbo >
1048576+0 records out
10:37
<
eballetbo >
1048576+0 records in
10:37
<
Ke >
seems to be exactly in line with the "(13:19:15) < Ke> I think typical is about 27"
10:38
<
eballetbo >
I suppose that if your card is detected as SDR104 then should be faster.
10:38
<
Ke >
we have measure about 60MB/s at work with similar cards
10:38
<
Ke >
I think also my usb-sd adaptor does
10:41
<
Ke >
having string SDR104 does not a priori imply the bus speed is SDR104, especially, when the clock speed is 148500000Hz
10:43
<
Ke >
"UHS104 (SDR104) also support a clock frequency of 208 MHz, which could transfer 104 MB/s."
10:44
<
Ke >
even if the bus speed is high, the host controller could be still limited to lower speeds ar DMA side or something
10:52
<
wens >
debugfs should report the actual bus speed in /sys/kernel/debug/mmcN/ios
10:56
<
eballetbo >
yeah, also dmesg shows it, my bus speed is 100MB (matches with a SDR50 type card), so if your SD-card is faster and the clock speed is faster you should get faster results I guess. We're missing something
10:57
<
eballetbo >
not sure if I have a UHS104 card here
10:58
<
Ke >
does mmc2 correspond to mmcblk2?
10:58
indy has joined #linux-rockchip
11:00
<
Ke >
I guess readlink /sys/block/mmcblk0/device
11:00
<
Ke >
anyway it's mmc0 and timing spec:6 (sd uhs SDR104)
11:01
nighty- has quit [Quit: Disappears in a puff of smoke]
11:05
<
Ke >
what about that dma thing? is it expected that dma by a controller is way faster?
11:07
xypron has quit [Remote host closed the connection]
11:10
sb35 has quit [Ping timeout: 276 seconds]
11:10
<
wadim_ >
Ke: at what freq. is your controller running?
11:10
<
Ke >
clock:150000000 Hz
11:10
<
Ke >
the same details as I get in dmesg
11:11
<
wadim_ >
on a rk3288?
11:12
<
Ke >
yes, I don't have Kevin at hand atm
11:14
<
wadim_ >
I never saw a rk3288 device running with up to 150Mhz :/ interesting it is working for you
11:16
<
Ke >
if by working you mean, I get text on debugfs and kernel log, sure
11:16
<
Ke >
it's still slow
11:17
<
wens >
what about read performance?
11:17
cnxsoft has quit [Read error: Connection reset by peer]
11:18
cnxsoft has joined #linux-rockchip
11:21
<
Ke >
hmm, somethin weird, I get 63.5 MB/s
11:21
<
Ke >
dd iflag=direct bs=100M count=1 if=/dev/mmcblk0 of=/dev/null
11:22
<
Ke >
also with 200M
11:24
<
eballetbo >
more than me ...
11:24
<
eballetbo >
# dd iflag=direct bs=500M count=1 if=/dev/mmcblk0 of=/dev/null
11:24
<
eballetbo >
524288000 bytes (524 MB, 500 MiB) copied, 11.0619 s, 47.4 MB/s
11:24
<
eballetbo >
1+0 records out
11:24
<
eballetbo >
1+0 records in
11:24
<
eballetbo >
It makes sense as you sd-card and bus speed is faster
11:24
<
Ke >
hmm apparently my writes were too small originally
11:25
<
Ke >
also I had sudo blkdiscard "$disk"
11:25
<
Ke >
disk=/dev/disk/by-partlabel/SD_kernel; sudo blkdiscard "$disk" && sync && sudo dd if=/dev/zero "of=${disk}" bs=32M conv=fsync oflag=direct
11:25
<
Ke >
33537536 bytes (34 MB, 32 MiB) copied, 0.596419 s, 56.2 MB/s
11:26
xypron has joined #linux-rockchip
11:26
<
Ke >
this is the most common benchmark I did when updating the kernel, not very good benchmark
11:27
<
Ke >
still this is moderately slow, but a lot better than before
11:32
<
eballetbo >
I don't think this is slow, assuming your clk is at 150MHz you can get maximum 75MHz, 56.2 MB/s doesn't seem too bad for me. Well, these sd test always confuses me with the results :P
11:33
<
eballetbo >
s/75MHz/75MB/
11:39
<
Ke >
thanks everyone
11:39
<
Ke >
I am almost sure I have benchmarked this properly at some point
11:41
<
Kelsar >
hmm... how do i get my system image onto the nvme connected to the arm board...
12:00
XingZheng has joined #linux-rockchip
12:00
<
hgs >
hi all, should i be concerned about the follow message "Trasfer Length NOT set, please use new version tool" in the console while flashing the images
12:03
cnxsoft has quit [Read error: Connection reset by peer]
12:03
cnxsoft has joined #linux-rockchip
12:05
afaerber has quit [Quit: Leaving]
12:19
afaerber has joined #linux-rockchip
12:25
athidhep has joined #linux-rockchip
12:25
athidhep has joined #linux-rockchip
12:25
athidhep has quit [Changing host]
13:02
tllim has joined #linux-rockchip
13:17
lurchi_ is now known as lurchi__
13:29
yann|work has quit [Ping timeout: 240 seconds]
13:31
amstan has joined #linux-rockchip
13:31
amstan has joined #linux-rockchip
13:31
amstan has quit [Changing host]
13:42
tllim has quit [Quit: Leaving]
14:00
gsh has joined #linux-rockchip
14:01
yann has joined #linux-rockchip
14:07
cnxsoft has quit [Quit: cnxsoft]
14:16
JohnDoe_71Rus has joined #linux-rockchip
14:23
Kelsar has joined #linux-rockchip
14:26
yann has quit [Ping timeout: 244 seconds]
14:27
yann has joined #linux-rockchip
14:42
ayaka has quit [Ping timeout: 240 seconds]
14:42
anarsoul|3 has joined #linux-rockchip
14:43
anarsoul has quit [Ping timeout: 248 seconds]
14:48
ayaka has joined #linux-rockchip
14:54
anarsoul|3 has quit [Ping timeout: 240 seconds]
15:28
JohnDoe7 has joined #linux-rockchip
15:29
matthias_bgg has quit [Quit: Leaving]
15:31
JohnDoe_71Rus has quit [Ping timeout: 240 seconds]
16:08
gsh has quit [Ping timeout: 252 seconds]
16:16
hanetzer has quit [Ping timeout: 244 seconds]
16:21
hanetzer has joined #linux-rockchip
16:29
anarsoul|3 has joined #linux-rockchip
16:30
yann has quit [Ping timeout: 255 seconds]
16:55
vagrantc has joined #linux-rockchip
17:01
anarsoul|2 has joined #linux-rockchip
17:04
anarsoul|3 has quit [Ping timeout: 260 seconds]
17:28
kaspter has quit [Read error: Connection reset by peer]
17:29
kaspter has joined #linux-rockchip
18:11
anarsoul|2 has quit [Ping timeout: 240 seconds]
18:13
anarsoul|2 has joined #linux-rockchip
18:45
unics has joined #linux-rockchip
18:56
unics has quit [Quit: Leaving]
18:58
Easyfab has joined #linux-rockchip
20:12
tllim has joined #linux-rockchip
20:17
Easyfab has quit [Quit: Leaving]
21:09
lurchi__ is now known as lurchi_
21:17
lukasz_ has quit [Ping timeout: 240 seconds]
21:17
lukasz has joined #linux-rockchip
21:28
LargePrime has quit [Remote host closed the connection]
21:31
LargePrime has joined #linux-rockchip
21:34
Substring has joined #linux-rockchip
21:36
lurchi_ is now known as lurchi__
21:46
lurchi__ is now known as lurchi_
22:10
afaerber has quit [Quit: Leaving]
22:34
afaerber has joined #linux-rockchip
22:48
lukasz has quit [Quit: Leaving]
22:50
Substring has quit [Quit: Leaving]
23:01
anarsoul|3 has joined #linux-rockchip
23:03
anarsoul|2 has quit [Ping timeout: 255 seconds]
23:04
vstehle has quit [Ping timeout: 240 seconds]