Raspi 3 SPI Benchmark


Rendering Error in layout Widget/Social: Call to a member function exists() on null. Please enable debug mode for more information.
More
8 years 1 week ago - 8 years 1 week ago #2832 by KingBonecrusher
I`ve tested my newly arrived Raspi and was really upset about the speed. But after reading the full manual i was able to improve the speed. Here are my results...
time flashrom -p linux_spi:dev=/dev/spidev0.0 -r out.bin

Calibrating delay loop... OK.
Found Winbond flash chip "W25Q128.V" (16384 kB, SPI) on linux_spi.
Reading flash... done.
7m24.111s


And now, please have a closer look to this:

spispeed=xxxx

flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=8000 -r out.bin

Calibrating delay loop... OK.
Found Winbond flash chip "W25Q128.V" (16384 kB, SPI) on linux_spi.
Reading flash... done.
31.551s

flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=6000 -r out.bin

Calibrating delay loop... OK.
Found Winbond flash chip "W25Q128.V" (16384 kB, SPI) on linux_spi.
Reading flash... done.
42.224s

flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=4000 -r out.bin

Calibrating delay loop... OK.
Found Winbond flash chip "W25Q128.V" (16384 kB, SPI) on linux_spi.
Reading flash... done.
58.783s

flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=2000 -r out.bin

Calibrating delay loop... OK.
Found Winbond flash chip "W25Q128.V" (16384 kB, SPI) on linux_spi.
Reading flash... done.
1m55.168s


At least use:
flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=8000

This improves read/write really!!!!
Last edit: 8 years 1 week ago by KingBonecrusher.
The following user(s) said Thank You: CygnusX1

Please Log in or Create an account to join the conversation.

More
8 years 1 week ago #2836 by CygnusX1
Replied by CygnusX1 on topic Raspi 3 SPI Benchmark

KingBonecrusher wrote: I`ve tested my newly arrived Raspi and was really upset about the speed. But after reading the full manual i was able to improve the speed. Here are my results...

time flashrom -p linux_spi:dev=/dev/spidev0.0 -r out.bin

Calibrating delay loop... OK.
Found Winbond flash chip "W25Q128.V" (16384 kB, SPI) on linux_spi.
Reading flash... done.
7m24.111s


And now, please have a closer look to this:

spispeed=xxxx

flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=8000 -r out.bin

Calibrating delay loop... OK.
Found Winbond flash chip "W25Q128.V" (16384 kB, SPI) on linux_spi.
Reading flash... done.
31.551s

flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=6000 -r out.bin

Calibrating delay loop... OK.
Found Winbond flash chip "W25Q128.V" (16384 kB, SPI) on linux_spi.
Reading flash... done.
42.224s

flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=4000 -r out.bin

Calibrating delay loop... OK.
Found Winbond flash chip "W25Q128.V" (16384 kB, SPI) on linux_spi.
Reading flash... done.
58.783s

flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=2000 -r out.bin

Calibrating delay loop... OK.
Found Winbond flash chip "W25Q128.V" (16384 kB, SPI) on linux_spi.
Reading flash... done.
1m55.168s


At least use:
flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=8000

This improves read/write really!!!!


I have a Pi 3 coming and will definitely give it a try. Have you tried this on a Pi 2?
Thanks for your contribution!

If I helped you buy me a latte!

Please Log in or Create an account to join the conversation.

More
8 years 1 week ago #2837 by KingBonecrusher

I have a Pi 3 coming and will definitely give it a try. Have you tried this on a Pi 2?
Thanks for your contribution!


Never had an Pi 2.

Please Log in or Create an account to join the conversation.

More
8 years 1 week ago #2847 by thaGH05T
Replied by thaGH05T on topic Raspi 3 SPI Benchmark
The hardware inst much of a limitation more than the chip CygnusX1. But this is definitely great stuff.
The following user(s) said Thank You: CygnusX1

Please Log in or Create an account to join the conversation.

More
8 years 6 days ago #2873 by KingBonecrusher
I was able to test it today on a MacBook Pro 11,2. Crazy fast, read time was ~18secs :-)

But a little hard to find out the right way to connect the pi to the ic. I had to load the battery full, then i had to power down the pi. With power plugged in the pi i have connected the test clip, pi powers up itself. No other way was working!

Please Log in or Create an account to join the conversation.

More
8 years 3 days ago #2891 by CygnusX1
Replied by CygnusX1 on topic Raspi 3 SPI Benchmark

KingBonecrusher wrote: I was able to test it today on a MacBook Pro 11,2. Crazy fast, read time was ~18secs :-)

But a little hard to find out the right way to connect the pi to the ic. I had to load the battery full, then i had to power down the pi. With power plugged in the pi i have connected the test clip, pi powers up itself. No other way was working!

flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=8000

This makes the Pi 3 haul ass!

If I helped you buy me a latte!

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #2920 by Bigwezel
Replied by Bigwezel on topic Raspi 3 SPI Benchmark
i just tried this on a pi 2

The speed is insane, normally about 4-5 mins, with that line it took about 30 seconds....

Thanks for sharing that awesome knowledge!

Please Log in or Create an account to join the conversation.

Who's Online

We have 471 guests and no members online

N00BZ

  • ljamal
  • ljamal74
  • mikeg2atest
  • ducchinhbui
  • anjarezt

Cookies