regarding Sculpt on virt_qemu_riscv

Martin Stein martin.stein at genode-labs.com
Tue Feb 21 11:35:03 CET 2023


Hi Pranab,

If you try enforcing your questions that fast, it might demotivate
others to answer you.

You're getting a compile error because jitterentropy has not been
enabled yet on riscv:

$ find repos/ -name *jitterentropy-base-genode-nstime.h*
repos/libports/src/lib/jitterentropy/spec/arm_v8/jitterentropy-base-genode-nstime.h
repos/libports/src/lib/jitterentropy/spec/x86_64/jitterentropy-base-genode-nstime.h
repos/libports/src/lib/jitterentropy/spec/arm_v6/jitterentropy-base-genode-nstime.h
repos/libports/src/lib/jitterentropy/spec/x86_32/jitterentropy-base-genode-nstime.h
repos/libports/src/lib/jitterentropy/spec/arm_v7/jitterentropy-base-genode-nstime.h

However, you could try and enabling it yourself. Obviously, you'd need
to create this header first:

repos/libports/src/lib/jitterentropy/spec/arm_v7/jitterentropy-base-genode-nstime.h

Then, you'd need to create the corresponding lib makefile...

repos/libports/lib/mk/spec/riscv/jitterentropy.mk

... and adapt the jitterentropy import file in order to consider riscv
targets:

repos/libports/lib/import/import-jitterentropy.mk

Then, let see what fails next and let it guide you. If you get stuck,
don't hesitate to ask the list.

Cheers,
Martin

On 21.02.23 10:44, Pranab Kumar Rout cs21m045 wrote:
> Hello,
> Can anyone explain why this fatal error
> (jitterentropy-base-genode-nstime.h: *No such file or directory*) is
> being produced while running:
> 
>     /make run/sculpt_test KERNEL=hw BOARD=virt_qemu_riscv/
> 
> 
> Please provide some solution to deal with this problem.
> [pls ref to my prev email]
> 
> Thanks & regards,
> Pranab



More information about the users mailing list