98 points · by ndsipa_pomu · 1y ago · 44 comments
SoC – Ky X1
CPU – 8-core 64-bit RISC-V processor
GPU – Not mentioned
VPU – Not mentioned
AI Accelerator – 2 TOPSIf it's the same as K1/M1 then ok, 512 MB L2 per 4 core cluster is simply inadequate for a normal Linux workstation workload.
I don't know where they (or SpacemiT) get the "30% faster than A55" claim because I certainly haven't seen any such thing. On some micro benchmarks such as my own primes one the K1 comes in at slightly more clock cycles than the U74 in JH7110, but pulls slightly ahead on high clock speed. Both are right around A55 performance, and 30% faster than A53.
On real-world tasks such as building software (e.g. Linux kernel, gcc) all 8 cores on a K1 working together come in slightly slower than the 4 cores on the JH7110 -- not much in it, call it the same. If you use `-j4` then it's miles slower.
I'm pretty sure that's down to the smaller caches. Or possibly TLB misses. U74 has 40-entry L1 Data and Instruction TLBs, and a direct-mapped 512-entry L2 TLB -- bigger than A53, smaller than A55. I haven't seen any information on the X60 core's TLB structure.
Half the problem with orange pi is lack of main Linux distribution support.
Haven't tried it on mine recently so no clue if it's better now.
1. 【淘宝】https://e.tb.cn/h.Tx3SapHVd5dL2Td?tk=zhC2eNxK64H CZ028 「香橙派Orange Pi开发板RV2八核RISC-V架构双网口WiFi蓝牙双M2接口」 点击链接直接打开 或者 淘宝搜索直接打开
thx for any insights..
Yes, I'm currently using it to successfully test vector instructions. A blog post is being written, but may take a week or so.
Keep an eye on blog.habets.se, or ping me here on HN in about a week.
We're still very early in the RISC V ecosystem, so most of the processors in production pre-date current standardizations, which requires applications to target specific silicon. To add insult to injury, those individual processors are relatively new, so the dedicated image processing and vector/tensor hardware doesn't have much support yet.
It seems to be the same one as the BananaPi BPI-F3, see: https://www.reddit.com/r/RISCV/comments/1j6c6xz/orange_pi_rv...
The link you posted goes to the exact same board as in the article.
> It's a cheaper Spacemit K1.
> The CPU spec from dtb:
> compatible = "ky,x60", "riscv"; model = "Ky(R) X60"; riscv,isa = "rv64imafdcv"; riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "v", "zicbom", "zicboz", "zicntr", "zicond", "zicsr", "zifencei", "zihintpause", "zihpm", "zfh", "zfhmin", "zba", "zbb", "zbc", "zbs", "zkt", "zvfh", "zvfhmin", "zvkt", "sscofpmf", "sstc", "svinval", "svnapot", "svpbmt";
> It also have a ARM China Linlon v5 VPU and Imagination IMG GPU. The PMIC and UART is same as K1.
> And the ubuntu image from orangepi just use the same BSP kernel/uboot/opensbi from Spacemit's linux-bianbu.
Is there such a thing as a (cheap) SBC that runs RISC-V, which has good documentation (books, forums, whatever) on getting started programming on it? I'd like to get into assembly more, and hardware, and I'm interested in RISC-V for its open nature, but it can feel overwhelming getting the foot in the door.
Or is this it, and I'm just being overwhelmed by all the talk? Where would I go to get clear documentation on programming and experimenting with an Orange Pi RV2, if I went that route?
Is the hardware open and simple enough I can reasonably run a custom assembly written mini-kernel?
The Bouffalo Labs BL808 and Sophgo SG2000 series are both asymmetric multiprocessor SoCs that allow you to run a full OS, such as Linux, on one core, and run bare metal on the other. Unlike symmetric multiprocessing, you aren't just running a premptable thread on a spare core, but you get full control of the core, with direct GPIO access and a mailbox for messaging the OS core.
You can set up a development environment in Linux, on the faster core, and compile and run your application on the smaller core, for really fast development and debugging.
Check out the Ox64 and Oz64 boards from Pine64 or the Duo series from Milk-V, for cheap breakout boards using those processors.
I may go first with some code extraction and customization from linux, before probably ending with a lot of "hand compiled" linux code.
And yes, lower-power for the moment, since I would first use that for self-hosting.
Here's an English datasheet for the SG2000 series: https://github.com/sophgo/sophgo-doc/releases/download/sg200...
…and for the C906 core itself: https://occ-intl-prod.oss-ap-southeast-1.aliyuncs.com/resour...
It's cool to see RISC-V, but I'd go with a different company.
One solution would be to always boot from the SD card and either have it partitioned to provide the SD storage that you want, or use the eMMC etc to provide the storage.