2018-03-08 17:29:59 +00:00
|
|
|
create_boot_directory
|
|
|
|
|
2019-02-19 13:24:52 +00:00
|
|
|
import_from_depot [depot_user]/src/[base_src] \
|
|
|
|
[depot_user]/pkg/[drivers_interactive_pkg] \
|
|
|
|
[depot_user]/src/init \
|
|
|
|
[depot_user]/src/libc \
|
|
|
|
[depot_user]/src/vfs \
|
2020-07-01 20:26:11 +00:00
|
|
|
[depot_user]/src/nitpicker \
|
|
|
|
[depot_user]/src/gui_fb \
|
2019-02-19 13:24:52 +00:00
|
|
|
[depot_user]/raw/ttf-bitstream-vera-minimal
|
2018-03-08 17:29:59 +00:00
|
|
|
|
|
|
|
install_config {
|
|
|
|
<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>
|
|
|
|
</default-route>
|
|
|
|
|
|
|
|
<default caps="100"/>
|
|
|
|
|
|
|
|
<start name="timer">
|
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
<provides><service name="Timer"/></provides>
|
|
|
|
</start>
|
|
|
|
|
2020-07-10 11:04:12 +00:00
|
|
|
<start name="drivers" caps="1500" managing_system="yes">
|
|
|
|
<resource name="RAM" quantum="64M"/>
|
2018-03-08 17:29:59 +00:00
|
|
|
<binary name="init"/>
|
|
|
|
<route>
|
|
|
|
<service name="ROM" label="config"> <parent label="drivers.config"/> </service>
|
2020-07-01 20:26:11 +00:00
|
|
|
<service name="Timer"> <child name="timer"/> </service>
|
|
|
|
<service name="Capture"> <child name="nitpicker"/> </service>
|
2020-07-16 09:28:18 +00:00
|
|
|
<service name="Event"> <child name="nitpicker"/> </service>
|
2018-03-08 17:29:59 +00:00
|
|
|
<any-service> <parent/> </any-service>
|
|
|
|
</route>
|
2020-07-01 20:26:11 +00:00
|
|
|
</start>
|
|
|
|
|
|
|
|
<start name="nitpicker">
|
|
|
|
<resource name="RAM" quantum="4M"/>
|
2020-07-16 09:28:18 +00:00
|
|
|
<provides>
|
|
|
|
<service name="Gui"/> <service name="Capture"/> <service name="Event"/>
|
|
|
|
</provides>
|
2020-08-13 15:25:21 +00:00
|
|
|
<config focus="rom">
|
2020-07-16 09:28:18 +00:00
|
|
|
<capture/> <event/>
|
2020-07-01 20:26:11 +00:00
|
|
|
<domain name="default" layer="2" content="client" label="no"
|
|
|
|
hover="always" width="1024" height="768"/>
|
|
|
|
<default-policy domain="default"/>
|
|
|
|
</config>
|
2020-07-16 09:28:18 +00:00
|
|
|
<route> <any-service> <parent/> <any-child/> </any-service> </route>
|
2020-07-01 20:26:11 +00:00
|
|
|
</start>
|
|
|
|
|
|
|
|
<start name="gui_fb">
|
|
|
|
<resource name="RAM" quantum="4M"/>
|
|
|
|
<provides> <service name="Framebuffer"/> <service name="Input"/> </provides>
|
|
|
|
<config/>
|
|
|
|
<route>
|
|
|
|
<service name="Gui"> <child name="nitpicker"/> </service>
|
|
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
|
|
</route>
|
2018-03-08 17:29:59 +00:00
|
|
|
</start>
|
|
|
|
|
|
|
|
<start name="font_vfs">
|
|
|
|
<binary name="vfs"/>
|
|
|
|
<resource name="RAM" quantum="4M"/>
|
|
|
|
<provides> <service name="File_system"/> </provides>
|
|
|
|
<config>
|
|
|
|
<vfs>
|
|
|
|
<rom name="VeraMono.ttf"/>
|
|
|
|
<dir name="fonts">
|
|
|
|
<ttf name="regular" path="/VeraMono.ttf" size_px="48" cache="128K"/>
|
|
|
|
</dir>
|
|
|
|
</vfs>
|
|
|
|
<default-policy root="/fonts" />
|
|
|
|
</config>
|
|
|
|
</start>
|
|
|
|
|
|
|
|
<start name="test-text_painter">
|
|
|
|
<resource name="RAM" quantum="2M"/>
|
|
|
|
<config>
|
|
|
|
<vfs> <dir name="fonts"> <fs/> </dir> </vfs>
|
|
|
|
</config>
|
|
|
|
</start>
|
|
|
|
|
|
|
|
</config>}
|
|
|
|
|
2022-09-01 11:12:13 +00:00
|
|
|
build { server/vfs test/text_painter lib/vfs_ttf }
|
2018-03-08 17:29:59 +00:00
|
|
|
|
2020-07-01 20:26:11 +00:00
|
|
|
set fd [open [run_dir]/genode/focus w]
|
|
|
|
puts $fd "<focus label=\"gui_fb -> \" domain=\"default\"/>"
|
|
|
|
close $fd
|
|
|
|
|
2018-03-08 17:29:59 +00:00
|
|
|
build_boot_image { vfs test-text_painter vfs_ttf.lib.so }
|
|
|
|
|
|
|
|
run_genode_until forever
|