Re: Root filesystem for risc-v board

Kazuhiro Hayashi

Hello Pavel,

We have a development branch in isar-cip-core, by which
we can generate a rootfs for QEMU riscv64.

Please note that this is not an official recipes of isar-cip-core and
there is no plan to be merged into master because it uses sid-ports repository.

Step to build rootfs (tarball):

$ git clone -b thond/riscv-dev
$ cd isar-cip-core
$ wget
$ chmod a+x kas-container
$ ./kas-container build kas-cip.yml:kas/board/qemu-riscv64.yml:kas/opt/sid-ports.yml:kas/opt/debian-kernel.yml

then you can see the rootfs tarball at:

By the latest CI, the rootfs image (tarball) was uploaded to S3:

Please let me know if you need more information.

Best regards,

-----Original Message-----
From: cip-dev@... <cip-dev@...> On Behalf Of Pavel Machek
Sent: Friday, August 12, 2022 5:22 PM
To: cip-dev@...; Chris.Paterson2@...
Subject: [cip-dev] Root filesystem for risc-v board


So... how do you get root filesystem for RISC-V board? Ideally I'd
like to get something Debian based.

Best I could try is debootstrap for Debian testing:

sudo debootstrap --no-check-gpg --foreign --arch=riscv64 --keyring
--include=debian-ports-archive-keyring unstable /some/suitable/dir

Unfortunately, I can't get debootstrap --second-stage to work (I get
sigsegv in ldconfig, I guess testing may be too experimental?). Is it
possible to debootstrap stable or testing distributions?

I don't think CIP project provides binary images somewhere. What is
recommended way to get a root filesystem? Is there suitable
documentation I should follow?

Thanks and best regards,
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

Join { to automatically receive all group messages.