2012-05-21 13:39:57 +00:00
|
|
|
create_boot_directory
|
|
|
|
|
2018-04-11 12:14:20 +00:00
|
|
|
import_from_depot genodelabs/src/[base_src] \
|
|
|
|
genodelabs/pkg/[drivers_interactive_pkg] \
|
|
|
|
genodelabs/pkg/terminal \
|
|
|
|
genodelabs/src/nitpicker \
|
|
|
|
genodelabs/src/nit_fb \
|
|
|
|
genodelabs/src/demo \
|
|
|
|
genodelabs/src/init
|
|
|
|
|
|
|
|
install_config {
|
2012-05-21 13:39:57 +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>
|
|
|
|
<service name="Nitpicker"> <child name="nitpicker"/> </service>
|
|
|
|
<service name="Timer"> <child name="timer"/> </service>
|
|
|
|
<service name="Terminal"> <child name="terminal"/> </service>
|
2015-06-08 07:05:32 +00:00
|
|
|
<service name="Platform"> <child name="platform_drv"/> </service>
|
2012-05-21 13:39:57 +00:00
|
|
|
<any-service><parent/></any-service>
|
|
|
|
</default-route>
|
2018-04-11 12:14:20 +00:00
|
|
|
|
2017-05-07 20:36:11 +00:00
|
|
|
<default caps="100"/>
|
2018-04-11 12:14:20 +00:00
|
|
|
|
2012-05-21 13:39:57 +00:00
|
|
|
<start name="timer">
|
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
<provides><service name="Timer"/></provides>
|
|
|
|
</start>
|
|
|
|
|
2018-04-11 12:14:20 +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>
|
2012-05-21 13:39:57 +00:00
|
|
|
<provides>
|
2018-04-11 12:14:20 +00:00
|
|
|
<service name="Input"/> <service name="Framebuffer"/>
|
2012-05-21 13:39:57 +00:00
|
|
|
</provides>
|
|
|
|
</start>
|
|
|
|
|
|
|
|
<start name="nitpicker">
|
2018-04-11 12:14:20 +00:00
|
|
|
<resource name="RAM" quantum="2M"/>
|
2012-05-21 13:39:57 +00:00
|
|
|
<provides><service name="Nitpicker"/></provides>
|
2014-07-18 14:12:19 +00:00
|
|
|
<config>
|
2015-09-30 09:30:02 +00:00
|
|
|
<domain name="pointer" layer="1" content="client" label="no" origin="pointer" />
|
2015-11-18 11:17:32 +00:00
|
|
|
<domain name="default" layer="2" content="client" label="no" focus="click" hover="always" />
|
2016-11-24 14:28:32 +00:00
|
|
|
<policy label_prefix="pointer" domain="pointer"/>
|
2016-03-09 14:32:23 +00:00
|
|
|
<default-policy domain="default"/>
|
2014-07-18 14:12:19 +00:00
|
|
|
</config>
|
2012-05-21 13:39:57 +00:00
|
|
|
<route>
|
2018-04-11 12:14:20 +00:00
|
|
|
<service name="Input"> <child name="drivers"/> </service>
|
|
|
|
<service name="Framebuffer"> <child name="drivers"/> </service>
|
2012-05-21 13:39:57 +00:00
|
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
|
|
</route>
|
2015-09-30 09:30:02 +00:00
|
|
|
</start>
|
2018-04-11 12:14:20 +00:00
|
|
|
|
2014-07-18 14:12:19 +00:00
|
|
|
<start name="pointer">
|
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
</start>
|
2018-04-11 12:14:20 +00:00
|
|
|
|
2012-05-21 13:39:57 +00:00
|
|
|
<start name="terminal_fb">
|
|
|
|
<binary name="nit_fb"/>
|
|
|
|
<resource name="RAM" quantum="4M"/>
|
|
|
|
<provides>
|
|
|
|
<service name="Framebuffer"/>
|
|
|
|
<service name="Input"/>
|
|
|
|
</provides>
|
|
|
|
<config xpos="0" ypos="0" width="640" height="480" refresh_rate="25"/>
|
|
|
|
</start>
|
2018-04-11 12:14:20 +00:00
|
|
|
|
2012-05-21 13:39:57 +00:00
|
|
|
<start name="terminal">
|
|
|
|
<resource name="RAM" quantum="3M"/>
|
|
|
|
<provides><service name="Terminal"/></provides>
|
|
|
|
<route>
|
2018-04-11 12:14:20 +00:00
|
|
|
<service name="ROM" label="config"> <parent label="terminal.config"/> </service>
|
2012-05-21 13:39:57 +00:00
|
|
|
<service name="Input"> <child name="terminal_fb"/> </service>
|
|
|
|
<service name="Framebuffer"> <child name="terminal_fb"/> </service>
|
|
|
|
<any-service> <parent/> <any-child/></any-service>
|
|
|
|
</route>
|
|
|
|
</start>
|
2018-04-11 12:14:20 +00:00
|
|
|
|
2012-05-21 13:39:57 +00:00
|
|
|
<start name="terminal_log">
|
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
<provides><service name="LOG"/></provides>
|
|
|
|
</start>
|
2018-04-11 12:14:20 +00:00
|
|
|
|
|
|
|
<start name="launchpad" caps="2000">
|
2012-05-21 13:39:57 +00:00
|
|
|
<resource name="RAM" quantum="32M"/>
|
|
|
|
<route>
|
|
|
|
<service name="LOG"> <child name="terminal_log"/> </service>
|
|
|
|
<any-service> <any-child/> <parent/></any-service>
|
|
|
|
</route>
|
2013-09-19 13:07:28 +00:00
|
|
|
<config>
|
2018-04-11 12:14:20 +00:00
|
|
|
<launcher name="testnit" ram_quota="1M" caps="100"/>
|
2013-09-19 13:07:28 +00:00
|
|
|
</config>
|
2012-05-21 13:39:57 +00:00
|
|
|
</start>
|
2018-04-11 12:14:20 +00:00
|
|
|
</config>}
|
2012-05-21 13:39:57 +00:00
|
|
|
|
2018-04-11 12:14:20 +00:00
|
|
|
build { server/terminal_log test/nitpicker }
|
2015-06-08 07:05:32 +00:00
|
|
|
|
2018-04-11 12:14:20 +00:00
|
|
|
build_boot_image { terminal_log testnit }
|
2012-05-21 13:39:57 +00:00
|
|
|
|
|
|
|
run_genode_until forever
|