This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
hardwarerelated:star64_model-a_risc-v [2023/07/31 12:49] – chris | hardwarerelated:star64_model-a_risc-v [2024/02/15 10:10] – [First boot] chris | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== What? ===== | ||
+ | Looks like an affordable RISC-V board, got the 8GB RAM model. Shipped from Shenzen/ | ||
+ | * https:// | ||
+ | * Star64 model A SBC, featuring the StarFive JH-7110 SoC | ||
+ | * quad-core SiFive U74 RISC-V 64bit CPU with an IM BXE-4-32-G52-2EE GPU | ||
+ | * power connector: | ||
+ | * 12V 3A or above type M 5.5mm OD/2.1mm ID barrel type DC Jack Connector | ||
+ | * https:// | ||
+ | * This is the one I ordered: https:// | ||
+ | * power consumption: | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * https:// | ||
+ | |||
+ | ===== Distros ===== | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | ===== First boot ===== | ||
+ | * For first boot, I used the image from https:// | ||
+ | * Write that to an sd-card | ||
+ | * You can use a HDMI2usb converter to capture the output, and connect a usb-keyboard for input | ||
+ | * or use serial connection: | ||
+ | * provides more details/ | ||
+ | * Connect a usb/serial converter, connect the GND pin of the converter to for example pin6 of the star64, the adapters RX pin to the star64' | ||
+ | * Execute " | ||
+ | * [[https:// | ||
+ | * later SSH login gets possible | ||
+ | * login pine64/ | ||
+ | |||
+ | < | ||
+ | cat >> | ||
+ | # extend prompt to have temperature | ||
+ | export PS1=' | ||
+ | # colored iostat output | ||
+ | export S_COLORS=always | ||
+ | alias ll='ls -al' | ||
+ | # export LC_ALL=en_GB.UTF-8 | ||
+ | export EDITOR=vi | ||
+ | EOT | ||
+ | </ | ||
+ | * By default, armbian is setting up a 50MB tmpfs for /var/log. That's running out of space when updating the system, I increased it to 300MB in file / | ||
+ | * I added audit=0 in / | ||
+ | ===== Benchmarks ===== | ||
+ | < | ||
+ | [root@star64 55°C ~]$ 7z b -mmt1 | ||
+ | |||
+ | 7-Zip (a) 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21 | ||
+ | p7zip Version 16.02 (locale=en_GB.UTF-8, | ||
+ | |||
+ | LE | ||
+ | CPU Freq: - - - - - - - - 2048000000 | ||
+ | |||
+ | RAM size: 7921 MB, # CPU hardware threads: | ||
+ | RAM usage: | ||
+ | |||
+ | | ||
+ | Dict Speed Usage R/U Rating | ||
+ | | ||
+ | |||
+ | 22: 817 | ||
+ | 23: 791 | ||
+ | 24: 766 | ||
+ | 25: 742 | ||
+ | ---------------------------------- | ||
+ | Avr: | ||
+ | Tot: | ||
+ | [root@star64 57°C ~]$ | ||
+ | </ | ||
+ | |||
+ | * This is very much in line with the results for the [[https:// | ||
+ | * Running sbc-bench: apt install gcc netcat lsof lmsensors ffmpeg p7zip git sysstat libc6-dev binutils gcc-dev | ||
+ | |||
+ | ===== Reported header via serial ===== | ||
+ | < | ||
+ | U-Boot SPL 2021.10 (Jan 19 2023 - 04:09:41 +0800) | ||
+ | DDR version: dc2e84f0. | ||
+ | Trying to boot from SPI | ||
+ | |||
+ | OpenSBI v1.2 | ||
+ | | ||
+ | / __ \ / ____| _ \_ _| | ||
+ | | | | |_ __ ___ _ __ | (___ | |_) || | | ||
+ | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | ||
+ | | |__| | |_) | __/ | | |____) | |_) || |_ | ||
+ | \____/| .__/ \___|_| |_|_____/ | ||
+ | | | | ||
+ | |_| | ||
+ | |||
+ | Platform Name : StarFive VisionFive V2 | ||
+ | Platform Features | ||
+ | Platform HART Count : 5 | ||
+ | Platform IPI Device | ||
+ | Platform Timer Device | ||
+ | Platform Console Device | ||
+ | Platform HSM Device | ||
+ | Platform PMU Device | ||
+ | Platform Reboot Device | ||
+ | Platform Shutdown Device | ||
+ | Firmware Base : 0x40000000 | ||
+ | Firmware Size : 288 KB | ||
+ | Runtime SBI Version | ||
+ | |||
+ | Domain0 Name : root | ||
+ | Domain0 Boot HART : 1 | ||
+ | Domain0 HARTs : 0*, | ||
+ | Domain0 Region00 | ||
+ | Domain0 Region01 | ||
+ | Domain0 Region02 | ||
+ | Domain0 Next Address | ||
+ | Domain0 Next Arg1 : 0x0000000042200000 | ||
+ | Domain0 Next Mode : S-mode | ||
+ | Domain0 SysReset | ||
+ | |||
+ | Boot HART ID : 1 | ||
+ | Boot HART Domain | ||
+ | Boot HART Priv Version | ||
+ | Boot HART Base ISA : rv64imafdcbx | ||
+ | Boot HART ISA Extensions | ||
+ | Boot HART PMP Count : 8 | ||
+ | Boot HART PMP Granularity : 4096 | ||
+ | Boot HART PMP Address Bits: 34 | ||
+ | Boot HART MHPM Count : 2 | ||
+ | Boot HART MIDELEG | ||
+ | Boot HART MEDELEG | ||
+ | |||
+ | |||
+ | U-Boot 2021.10 (Jan 19 2023 - 04:09:41 +0800), Build: jenkins-github_visionfive2-6 | ||
+ | |||
+ | CPU: | ||
+ | Model: StarFive VisionFive V2 | ||
+ | DRAM: 8 GiB | ||
+ | MMC: | ||
+ | Loading Environment from SPIFlash... SF: Detected gd25lq128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB | ||
+ | </ |