2014-09-12 18:34:49 +00:00
|
|
|
create_boot_directory
|
|
|
|
|
2017-04-14 17:19:39 +00:00
|
|
|
import_from_depot genodelabs/src/[base_src] \
|
|
|
|
genodelabs/pkg/[drivers_interactive_pkg] \
|
|
|
|
genodelabs/src/init \
|
|
|
|
genodelabs/src/dynamic_rom \
|
|
|
|
genodelabs/src/nitpicker \
|
|
|
|
genodelabs/src/demo \
|
|
|
|
genodelabs/src/libc \
|
|
|
|
genodelabs/src/libpng \
|
|
|
|
genodelabs/src/zlib
|
2014-09-12 18:34:49 +00:00
|
|
|
|
2017-04-14 17:19:39 +00:00
|
|
|
install_config {
|
2014-09-12 18:34:49 +00:00
|
|
|
<config>
|
|
|
|
<parent-provides>
|
2017-01-18 16:10:07 +00:00
|
|
|
<service name="PD"/>
|
|
|
|
<service name="CPU"/>
|
2014-09-12 18:34:49 +00:00
|
|
|
<service name="ROM"/>
|
|
|
|
<service name="RAM"/>
|
|
|
|
<service name="RM"/>
|
|
|
|
<service name="LOG"/>
|
|
|
|
<service name="IRQ"/>
|
|
|
|
<service name="IO_MEM"/>
|
|
|
|
<service name="IO_PORT"/>
|
|
|
|
</parent-provides>
|
2017-04-14 17:19:39 +00:00
|
|
|
|
2014-09-12 18:34:49 +00:00
|
|
|
<default-route>
|
|
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
|
|
</default-route>
|
2017-04-14 17:19:39 +00:00
|
|
|
|
2014-09-12 18:34:49 +00:00
|
|
|
<start name="timer">
|
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
<provides><service name="Timer"/></provides>
|
|
|
|
</start>
|
2017-04-14 17:19:39 +00:00
|
|
|
|
|
|
|
<start name="drivers">
|
|
|
|
<resource name="RAM" quantum="32M"/>
|
|
|
|
<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>
|
|
|
|
|
2014-09-12 18:34:49 +00:00
|
|
|
<start name="nitpicker">
|
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
<provides><service name="Nitpicker"/></provides>
|
|
|
|
<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="3" content="client" label="no" hover="always" />
|
2014-09-12 18:34:49 +00:00
|
|
|
|
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-09-12 18:34:49 +00:00
|
|
|
</config>
|
|
|
|
</start>
|
2017-04-14 17:19:39 +00:00
|
|
|
|
2014-09-12 18:34:49 +00:00
|
|
|
<start name="pointer">
|
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
<route>
|
|
|
|
<service name="Nitpicker"> <child name="nitpicker" /> </service>
|
|
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
|
|
</route>
|
|
|
|
</start>
|
2017-04-14 17:19:39 +00:00
|
|
|
|
2014-09-12 18:34:49 +00:00
|
|
|
<start name="dynamic_rom">
|
|
|
|
<resource name="RAM" quantum="4M"/>
|
|
|
|
<provides><service name="ROM"/></provides>
|
|
|
|
<config verbose="yes">
|
|
|
|
<rom name="dialog">
|
|
|
|
<inline description="example menu">
|
|
|
|
<dialog>
|
|
|
|
<frame>
|
|
|
|
<vbox>
|
|
|
|
<button name="virtualbox">
|
|
|
|
<label text="VirtualBox"/>
|
|
|
|
</button>
|
|
|
|
<button name="toolchain" hovered="yes">
|
|
|
|
<label text="Tool chain"/>
|
|
|
|
</button>
|
|
|
|
<button name="log" hovered="yes" selected="yes">
|
|
|
|
<label text="Log window"/>
|
|
|
|
</button>
|
|
|
|
<button name="config" selected="yes">
|
|
|
|
<label text="Configuration"/>
|
|
|
|
</button>
|
|
|
|
</vbox>
|
|
|
|
</frame>
|
|
|
|
</dialog>
|
|
|
|
</inline>
|
|
|
|
<sleep milliseconds="2000" />
|
|
|
|
<inline description="example menu">
|
|
|
|
<dialog>
|
|
|
|
<frame>
|
|
|
|
<vbox>
|
|
|
|
<button name="virtualbox" hovered="yes">
|
|
|
|
<label text="VirtualBox"/>
|
|
|
|
</button>
|
|
|
|
<button name="toolchain">
|
|
|
|
<label text="Tool chain"/>
|
|
|
|
</button>
|
|
|
|
<button name="log" selected="yes">
|
|
|
|
<label text="Log window"/>
|
|
|
|
</button>
|
|
|
|
<button name="config" selected="yes" hovered="yes">
|
|
|
|
<label text="Configuration"/>
|
|
|
|
</button>
|
|
|
|
</vbox>
|
|
|
|
</frame>
|
|
|
|
</dialog>
|
|
|
|
</inline>
|
|
|
|
<sleep milliseconds="2000" />
|
|
|
|
</rom>
|
|
|
|
</config>
|
|
|
|
</start>
|
2017-04-14 17:19:39 +00:00
|
|
|
|
2014-09-12 18:34:49 +00:00
|
|
|
<start name="menu_view">
|
|
|
|
<resource name="RAM" quantum="5M"/>
|
|
|
|
<config xpos="200" ypos="100">
|
2017-01-18 16:10:07 +00:00
|
|
|
<libc stderr="/dev/log"/>
|
|
|
|
<vfs>
|
|
|
|
<tar name="menu_view_styles.tar" />
|
|
|
|
<dir name="dev"> <log/> </dir>
|
|
|
|
</vfs>
|
2014-09-12 18:34:49 +00:00
|
|
|
</config>
|
|
|
|
<route>
|
2017-01-18 16:10:07 +00:00
|
|
|
<service name="ROM" label="dialog"> <child name="dynamic_rom" /> </service>
|
2014-09-12 18:34:49 +00:00
|
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
|
|
</route>
|
|
|
|
</start>
|
2017-04-14 17:19:39 +00:00
|
|
|
|
2014-09-12 18:34:49 +00:00
|
|
|
<start name="scout">
|
|
|
|
<resource name="RAM" quantum="64M" />
|
|
|
|
</start>
|
|
|
|
</config>}
|
|
|
|
|
2017-04-14 17:19:39 +00:00
|
|
|
build { app/menu_view }
|
2014-09-12 18:34:49 +00:00
|
|
|
|
2017-04-14 17:19:39 +00:00
|
|
|
build_boot_image { menu_view menu_view_styles.tar }
|
2014-09-12 18:34:49 +00:00
|
|
|
|
|
|
|
run_genode_until forever
|