Hi, could you please tell me some details about how to test benchmark on H5U ?
I found that all the records in openbenchmarking.org are based on debian, so I guess maybe freedom-u-sdk can not support, so I tried to install debian follow: https://wiki.debian.org/InstallingDebianOn/SiFive/HiFiveUnleashed
But I got some error when execute: proxychains multistrap -d ./riscv64-chroot -f ./multistrap-riscv64.conf (Host system is Ubuntu 18.04 and I use freedom-u-sdk-v1_0) like:
N: Skipping acquire of configured file ‘main/binary-riscv64/Packages’ as repository ‘http://deb.debian.org/debian unstable InRelease’ doesn’t support architecture ‘riscv64’
E: Unable to locate package XXX
apt download failed. Exit value: 100
And the final directory looks like:
$ tree -L 2
.
├── dev
├── etc
│ ├── apt
│ ├── network
│ └── shells
├── lib64 -> ./lib
├── usr
│ └── share
└── var
├── cache
└── lib
And I directly copy the chroot directory to the origin rootfs, but when I chroot, it successed, but I still can’t use apt.
If you want to bootstrap debian, you probably have to start with a debian host system, and it will have to be a very recent version of debian, as the RISC-V stuff is still new.
It is possible to build a useful system via freedom-u-sdk. The current freedom-u-sdk is instructions for building open-embedded. The previous version of freedom-u-sdk is on the archive/buildroot branch, and has an optional debian rootfs that you can boot into.
It’s been so long since I set it up, I’m not certain how I did it… I am running Debian Buster. I think I booted on the “default” SiFive/HiFive Linux/Busybox image. I created a Debian root installation and copied that to SD card. Then booted HiFive, mounted SD card, and chrooted to the Debian installation there. I saw I had this note, which may be helpful: