Skip to content

Instantly share code, notes, and snippets.

@enjoy-digital
Created January 9, 2020 11:32
Show Gist options
  • Save enjoy-digital/d68e70f526ee8bcae325651dfbc12542 to your computer and use it in GitHub Desktop.
Save enjoy-digital/d68e70f526ee8bcae325651dfbc12542 to your computer and use it in GitHub Desktop.
__ _ __ _ __
/ / (_) /____ | |/_/
/ /__/ / __/ -_)> <
/____/_/\__/\__/_/|_|
(c) Copyright 2012-2019 Enjoy-Digital
BIOS built on Jan 9 2020 12:20:15
BIOS CRC passed (a17ec1cd)
Migen git sha1: 063188e
LiteX git sha1: 2cf95e9f
--=============== SoC ==================--
CPU: VexRiscv @ 100MHz
ROM: 32KB
SRAM: 4KB
MAIN-RAM: 32KB
--============== Boot ==================--
Booting from serial...
Press Q or ESC to abort boot completely.
sL5DdSMmkekro
[LXTERM] Received firmware download request from the device.
[LXTERM] Uploading firmware.bin to 0x40000000 (11988 bytes)...
[LXTERM] Upload complete (7.6KB/s).
[LXTERM] Booting the device.
[LXTERM] Done.
Executing booted program at 0x40000000
--============= Liftoff! ===============--
LiteSDCard CPU testing software built Jan 9 2020 12:24:32
Available commands:
help - this command
reboot - reboot CPU
sdclk <freq> - SDCard set clk frequency (Mhz)
sdinit - SDCard initialization
sdtest <loops> - SDCard test
RUNTIME>
RUNTIME>sdclk 10
RUNTIME>sdinit
RUNTIME>sdtest 4
LOOP WRITE_SPEED READ_SPEED ERRORS
0 3 MB/s 4 MB/s 0
1 3 MB/s 4 MB/s 0
2 3 MB/s 4 MB/s 0
3 3 MB/s 4 MB/s 0
RUNTIME>sdclk 20
RUNTIME>sdtest 4
LOOP WRITE_SPEED READ_SPEED ERRORS
0 3 MB/s 9 MB/s 0
1 7 MB/s 9 MB/s 0
2 8 MB/s 9 MB/s 0
3 8 MB/s 9 MB/s 0
RUNTIME>sdclk 30
RUNTIME>sdtest 4
LOOP WRITE_SPEED READ_SPEED ERRORS
0 13 MB/s 13 MB/s 0
1 12 MB/s 13 MB/s 0
2 13 MB/s 13 MB/s 0
3 9 MB/s 13 MB/s 0
RUNTIME>sdclk 40
RUNTIME>sdtest 4
LOOP WRITE_SPEED READ_SPEED ERRORS
0 9 MB/s 18 MB/s 0
1 17 MB/s 18 MB/s 0
2 11 MB/s 18 MB/s 0
3 10 MB/s 18 MB/s 0
RUNTIME>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment