2012-04-17 16:46:14 +00:00
|
|
|
create_boot_directory
|
2019-05-03 11:19:17 +00:00
|
|
|
import_from_depot [depot_user]/src/[base_src] \
|
|
|
|
[depot_user]/pkg/[drivers_interactive_pkg] \
|
|
|
|
[depot_user]/src/init \
|
|
|
|
[depot_user]/src/nitpicker
|
|
|
|
build {
|
|
|
|
server/loader
|
|
|
|
test/loader
|
|
|
|
test/nitpicker
|
|
|
|
}
|
2012-04-17 16:46:14 +00:00
|
|
|
|
2019-05-03 11:19:17 +00:00
|
|
|
install_config {
|
2012-04-17 16:46:14 +00:00
|
|
|
<config>
|
|
|
|
<parent-provides>
|
|
|
|
<service name="ROM"/>
|
|
|
|
<service name="IRQ"/>
|
|
|
|
<service name="IO_MEM"/>
|
|
|
|
<service name="IO_PORT"/>
|
|
|
|
<service name="PD"/>
|
|
|
|
<service name="RM"/>
|
|
|
|
<service name="CPU"/>
|
|
|
|
<service name="LOG"/>
|
|
|
|
</parent-provides>
|
|
|
|
<default-route>
|
|
|
|
<any-service> <parent/> <any-child/> </any-service>
|
2017-05-07 20:36:11 +00:00
|
|
|
</default-route>
|
2019-05-03 11:19:17 +00:00
|
|
|
<default caps="100"/>
|
2012-04-17 16:46:14 +00:00
|
|
|
|
|
|
|
<start name="timer">
|
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
<provides><service name="Timer"/></provides>
|
|
|
|
</start>
|
2019-05-03 11:19:17 +00:00
|
|
|
|
|
|
|
<start name="drivers" caps="1000">
|
|
|
|
<resource name="RAM" quantum="32M" constrain_phys="yes"/>
|
|
|
|
<binary name="init"/>
|
|
|
|
<route>
|
|
|
|
<service name="ROM" label="config"> <parent label="drivers.config"/> </service>
|
|
|
|
<service name="Timer"> <child name="timer"/> </service>
|
|
|
|
<any-service> <parent/> </any-service>
|
|
|
|
</route>
|
|
|
|
<provides>
|
|
|
|
<service name="Input"/> <service name="Framebuffer"/>
|
|
|
|
</provides>
|
|
|
|
</start>
|
|
|
|
|
2012-04-17 16:46:14 +00:00
|
|
|
<start name="nitpicker">
|
|
|
|
<resource name="RAM" quantum="1M"/>
|
2020-06-11 14:06:21 +00:00
|
|
|
<provides> <service name="Gui"/> </provides>
|
2014-07-18 14:12:19 +00:00
|
|
|
<config>
|
2016-03-09 14:32:23 +00:00
|
|
|
<domain name="" layer="2" /> <default-policy domain=""/>
|
2014-07-18 14:12:19 +00:00
|
|
|
</config>
|
2012-04-17 16:46:14 +00:00
|
|
|
</start>
|
2019-05-03 11:19:17 +00:00
|
|
|
|
2012-04-17 16:46:14 +00:00
|
|
|
<start name="loader">
|
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
<provides><service name="Loader"/></provides>
|
2016-11-06 13:27:26 +00:00
|
|
|
<config>
|
2016-11-24 14:28:32 +00:00
|
|
|
<policy label_prefix="test-loader">
|
2016-11-06 13:27:26 +00:00
|
|
|
<parent-rom name="testnit"/>
|
2016-12-01 18:00:11 +00:00
|
|
|
<parent-rom name="ld.lib.so"/>
|
2016-11-06 13:27:26 +00:00
|
|
|
</policy>
|
|
|
|
</config>
|
2012-04-17 16:46:14 +00:00
|
|
|
</start>
|
2017-05-07 20:36:11 +00:00
|
|
|
<start name="test-loader" caps="200">
|
2012-04-17 16:46:14 +00:00
|
|
|
<resource name="RAM" quantum="1G"/>
|
|
|
|
</start>
|
|
|
|
</config>}
|
|
|
|
|
2019-05-03 11:19:17 +00:00
|
|
|
build_boot_image { testnit loader test-loader }
|
2012-04-17 16:46:14 +00:00
|
|
|
run_genode_until forever
|