Add BAN.AI runtime

This commit is contained in:
Ehmry - 2019-04-08 14:34:16 +02:00
parent 8ea2f9cf48
commit f981c1e27f
4 changed files with 101 additions and 2 deletions

View File

@ -33,7 +33,7 @@ CONFIG_PUBLIC_SRC_REPORT_ROM=genodelabs/src/report_rom/2019-03-17
CONFIG_PUBLIC_SRC_ROM_BLOCK=ehmry/src/rom_block/2019-04-05-a
CONFIG_PUBLIC_SRC_SEOUL_NOVA=alex-ab/src/seoul-nova/2019-04-05
CONFIG_PUBLIC_SRC_SHOW_INPUT=ehmry/src/show_input/2019-04-07
CONFIG_PUBLIC_SRC_SSH_CLIENT=ehmry/src/ssh_client/2019-03-29
CONFIG_PUBLIC_SRC_SSH_CLIENT=ehmry/src/ssh_client/2019-04-08
CONFIG_PUBLIC_SRC_STDCXX=genodelabs/src/stdcxx/2019-02-25
CONFIG_PUBLIC_SRC_TERMINAL=ehmry/src/terminal/2019-04-05
CONFIG_PUBLIC_SRC_VBOX_NOVA=genodelabs/src/vbox5-nova/2019-03-17

View File

@ -34,7 +34,7 @@
<!-- <pkg path="_/pkg/dual_nic_vbox" info="32bit VirtualBox as a Nic service"/> -->
<index name="Alpine">
<pkg path="_/pkg/installer-alpine_seoul_nova" info="Alpine Linux as a Seoul VMM guest installer with 8GiB disk"/>
<pkg path="_/pkg/alpine_seoul_nova" info="Alpine Linux as a Seoul VMM guest with 8GiB disk"/>
<pkg path="_/pkg/alpine_seoul_nova" info="Alpine Linux as a Seoul VMM guest"/>
</index>
</index>
@ -42,6 +42,7 @@
<pkg path="_/pkg/oberon" info="Oberon RISC emulator (requires three-button mouse)"/>
<pkg path="_/pkg/soyuz" info="Training program for the Soyuz-TMA spacecraft"/>
<pkg path="_/pkg/templeos" info="The Temple Operating System hosted in VirtualBox for NOVA"/>
<pkg path="_/pkg/ban.ai" info="BAN.AI Public Access Multics"/>
</index>
<index name="Utilities">

19
runtimes/ban.ai/Tupfile Normal file
View File

@ -0,0 +1,19 @@
TARGET_NAME = ban.ai
PKG_DEPENDS += \
@(SDK_USER)/src/libc/@(SDK_VERSION) \
@(SDK_USER)/src/vfs/@(SDK_VERSION) \
@(PUBLIC_SRC_INIT) \
@(PUBLIC_SRC_LIBCRYPTO) \
@(PUBLIC_SRC_LIBSSH) \
@(PUBLIC_SRC_VFS_LWIP) \
@(PUBLIC_SRC_SSH_CLIENT) \
@(PUBLIC_SRC_TERMINAL) \
@(PUBLIC_SRC_VFS_JITTERENTROPY) \
@(PUBLIC_SRC_VFS_TTF) \
@(PUBLIC_SRC_ZLIB) \
include_rules
: runtime |> !collect_pkg_runtime |>
: |> !pkg |>

79
runtimes/ban.ai/runtime Normal file
View File

@ -0,0 +1,79 @@
<runtime ram="16M" caps="512" binary="init">
<requires>
<file_system label="fonts"/>
<nic/>
<nitpicker/>
<rtc/>
</requires>
<content>
<rom label="init"/>
<rom label="libc.lib.so"/>
<rom label="libcrypto.lib.so"/>
<rom label="libm.lib.so"/>
<rom label="libssh.lib.so"/>
<rom label="ssh_client"/>
<rom label="terminal"/>
<rom label="vfs.lib.so"/>
<rom label="vfs_jitterentropy.lib.so"/>
<rom label="vfs_lwip.lib.so"/>
<rom label="zlib.lib.so"/>
</content>
<config>
<parent-provides>
<service name="CPU"/>
<service name="LOG"/>
<service name="PD"/>
<service name="RM"/>
<service name="ROM"/>
<service name="File_system"/>
<service name="Nic"/>
<service name="Nitpicker"/>
<service name="Timer"/>
<service name="Rtc"/>
</parent-provides>
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<start name="terminal">
<resource name="RAM" quantum="8M"/>
<provides> <service name="Terminal"/> </provides>
<config>
<vfs> <dir name="fonts"> <fs label="fonts"/> </dir> </vfs>
</config>
<route>
<service name="File_system"> <parent label="fonts"/> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>
<start name="ssh_client" caps="256">
<resource name="RAM" quantum="8M" />
<exit propagate="yes"/>
<config>
<vfs>
<inline name="host">
<host name="m.trnsz.com" user="dps8" known="no"/></inline>
<dir name="dev">
<rtc/>
<jitterentropy name="random"/>
<log/>
</dir>
<dir name="socket"> <lwip dhcp="yes"/> </dir>
</vfs>
<libc stdout="/dev/log" stderr="/dev/log" socket="/socket" rtc="/dev/rtc"/>
</config>
<route>
<service name="Terminal" label=""> <child name="terminal"/> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>
</config>
</runtime>