I know that Sculpt supports placing application binaries or libraries on a separate partition from the main OS, so the OS can boot fast and the binaries are loaded on-demand from the second partition.
I’ve tried to set this up myself, but I haven’t been able to fully implement the routing and loading workflow. (I realized that using a ROM_FS and attaching it to a storage filesystem like EXT2 on SATA, specifically on partition 2, should make this possible, but I couldn’t get it to work.)
For example, I want to run an app like test_application that depends on Qt5 libraries, in one of these ways:
Option 1: Separate libraries partition
part0: main partition (OS root)
|
-> app/test_application (loads dependencies from part1)
part1: libs
|
-> qt5_base.lib.so
-> qt5_dejavusans.lib.so
Option 2: Separate apps partition
part0: main partition (OS root)
|
-> init (loads test_application from part1)
part1: apps
|
-> test_application
libs
|
-> qt5_base.lib.so
-> qt5_dejavusans.lib.so
I’m looking for:
-
A concrete example of placing binaries or libraries on a secondary partition.
-
How to configure Genode to load them dynamically at runtime.
-
Any notes on capabilities management, dataspace attachment, or routing for this.
Any example, config snippet, or reference would be really helpful.