Thread (2 messages) 2 messages, 2 authors, 2022-08-18

RE: [cip-dev] Root filesystem for risc-v board

From: <hidden>
Date: 2022-08-18 05:04:09

Possibly related (same subject, not in this thread)

Hello Pavel,
then you can see the rootfs tarball at:
build/tmp/deploy/images/qemu-riscv64/cip-core-image-cip-core-sid-ports-qemu-riscv64.tar.gz
Sorry, it seems the image is generated as .ext4 by default:
build/tmp/deploy/images/qemu-riscv64/cip-core-image-cip-core-sid-ports-qemu-riscv64.ext4
quoted
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?
My understanding is debian ports only provides packages for sid/experimental suites
so there is no package provided as stable/testing.
http://ftp.ports.debian.org/debian-ports/dists/

Best regards,
Kazu
-----Original Message-----
From: cip-dev@lists.cip-project.org <redacted> On Behalf Of Kazuhiro Hayashi
Sent: Thursday, August 18, 2022 11:54 AM
To: pavel@denx.de; cip-dev@lists.cip-project.org; Chris.Paterson2@renesas.com
Cc: nguyen dat tho(TSDV Eng 1) <redacted>
Subject: Re: [cip-dev] Root filesystem for risc-v board

Hello Pavel,

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

https://gitlab.com/cip-project/cip-core/isar-cip-core/-/tree/thond/riscv-dev

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 https://gitlab.com/cip-project/cip-core/isar-cip-core
$ cd isar-cip-core
$ wget https://raw.githubusercontent.com/siemens/kas/3.0.2/kas-container
$ 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:
build/tmp/deploy/images/qemu-riscv64/cip-core-image-cip-core-sid-ports-qemu-riscv64.tar.gz

By the latest CI, the rootfs image (tarball) was uploaded to S3:
https://gitlab.com/cip-project/cip-core/isar-cip-core/-/jobs/2702654409#L1586

Please let me know if you need more information.

Best regards,
Kazu
quoted
-----Original Message-----
From: cip-dev@lists.cip-project.org <redacted> On Behalf Of Pavel Machek
Sent: Friday, August 12, 2022 5:22 PM
To: cip-dev@lists.cip-project.org; Chris.Paterson2@renesas.com
Subject: [cip-dev] Root filesystem for risc-v board

Hi!

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
/usr/share/keyrings/debian-ports-archive-keyring.gpg
--include=debian-ports-archive-keyring unstable /some/suitable/dir
http://deb.debian.org/debian-ports

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,
								Pavel
--
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help