Hello everyone,
Is it possible to compile Sculpt using kernel=Linux board=pc ? I am getting this error:
checking configuration syntax CHECK init generating initrd cp: cannot stat 'genode/initramfs': No such file or directory while executing "exec cp genode/initramfs init" (procedure "build_initrd" line 16)
Hi Johnny,
AFAIK, generally, if you want to compile for execution on Linux, you should use 'KERNEL=linux BOARD=linux' as arguments. With this, 'make run/sculpt' indeed finishes successfully on my machine. However, from my understanding, this is of no use because Sculpt cannot be run directly on Linux.
Cheers, Martin
On 26.01.23 18:32, Johnny Nunez wrote:
Hello everyone,
Is it possible to compile Sculpt using kernel=Linux board=pc ?
I am getting this error:
checking configuration syntax
CHECK init
generating initrd
cp: cannot stat 'genode/initramfs': No such file or directory
while executing
"exec cp genode/initramfs init"
(procedure "build_initrd" line 16)
Genode users mailing list users@lists.genode.org https://lists.genode.org/listinfo/users
Hi Johnny,
I just found out that you can actually run sculpt on Linux. But you have to use another run script:
build/x86_64$ make run/sculpt_test KERNEL=linux BOARD=linux DEPOT=tar LOG=core
This script can also be used to run Sculpt in Qemu. The DEPOT and LOG variables are optional. LOG=core [2] routes the main serial output channel of Sculpt to your Linux console while DEPOT=tar [1] provides your Sculpt with a TAR archive of a basic depot (program/library packages). Note that Linux Sculpt has no access to persistent storage (use the RAM FS instead) or network for now.
Cheers, Martin
[1] repos/gems/run/sculpt.run -> depot_archive [2] repos/gems/run/sculpt.run -> log_route
On 28.01.23 07:47, Martin Stein wrote:
Hi Johnny,
AFAIK, generally, if you want to compile for execution on Linux, you should use 'KERNEL=linux BOARD=linux' as arguments. With this, 'make run/sculpt' indeed finishes successfully on my machine. However, from my understanding, this is of no use because Sculpt cannot be run directly on Linux.
Cheers, Martin