mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 15:32:25 +00:00
parent
ff57bf617b
commit
52a4293bbc
2
repos/dde_linux/recipes/pkg/usb_modem_drv/README
Normal file
2
repos/dde_linux/recipes/pkg/usb_modem_drv/README
Normal file
@ -0,0 +1,2 @@
|
||||
|
||||
Package for bundling wifi_drv and wifi_firmware
|
1
repos/dde_linux/recipes/pkg/usb_modem_drv/archives
Normal file
1
repos/dde_linux/recipes/pkg/usb_modem_drv/archives
Normal file
@ -0,0 +1 @@
|
||||
_/src/usb_modem_drv
|
1
repos/dde_linux/recipes/pkg/usb_modem_drv/hash
Normal file
1
repos/dde_linux/recipes/pkg/usb_modem_drv/hash
Normal file
@ -0,0 +1 @@
|
||||
2021-06-16 dd96cd0014c9d20b1f0e44333cd1361cfd8bf988
|
12
repos/dde_linux/recipes/pkg/usb_modem_drv/runtime
Normal file
12
repos/dde_linux/recipes/pkg/usb_modem_drv/runtime
Normal file
@ -0,0 +1,12 @@
|
||||
<runtime ram="16M" caps="300" binary="usb_modem_drv">
|
||||
|
||||
<requires> <uplink/> <usb/> <rm/> </requires>
|
||||
<provides> <terminal/> </provides>
|
||||
|
||||
<config mac="02:00:00:00:01:01" mode="uplink_client"/>
|
||||
|
||||
<content>
|
||||
<rom label="ld.lib.so"/>
|
||||
<rom label="usb_modem_drv"/>
|
||||
</content>
|
||||
</runtime>
|
32
repos/dde_linux/recipes/src/usb_modem_drv/content.mk
Normal file
32
repos/dde_linux/recipes/src/usb_modem_drv/content.mk
Normal file
@ -0,0 +1,32 @@
|
||||
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/dde_linux)
|
||||
|
||||
MIRROR_FROM_REP_DIR := src/drivers/usb_modem \
|
||||
src/lx_kit \
|
||||
src/include \
|
||||
lib/import/import-usb_modem_include.mk \
|
||||
lib/import/import-usb_arch_include.mk \
|
||||
lib/mk/usb_modem_include.mk \
|
||||
$(foreach SPEC, \
|
||||
arm arm_64 x86_32 x86_64, \
|
||||
lib/mk/spec/$(SPEC)/lx_kit_setjmp.mk)
|
||||
|
||||
MIRROR_FROM_PORT_DIR := $(shell cd $(PORT_DIR); \
|
||||
find src/drivers/usb_modem -type f | \
|
||||
grep -v ".git")
|
||||
|
||||
MIRROR_FROM_PORT_DIR := $(filter-out $(MIRROR_FROM_REP_DIR), \
|
||||
$(MIRROR_FROM_PORT_DIR))
|
||||
|
||||
content: $(MIRROR_FROM_REP_DIR) $(MIRROR_FROM_PORT_DIR)
|
||||
|
||||
$(MIRROR_FROM_REP_DIR):
|
||||
$(mirror_from_rep_dir)
|
||||
|
||||
$(MIRROR_FROM_PORT_DIR):
|
||||
mkdir -p $(dir $@)
|
||||
cp $(PORT_DIR)/$@ $@
|
||||
|
||||
content: LICENSE
|
||||
LICENSE:
|
||||
( echo "GNU General Public License version 2, see:"; \
|
||||
echo "https://www.kernel.org/pub/linux/kernel/COPYING" ) > $@
|
1
repos/dde_linux/recipes/src/usb_modem_drv/hash
Normal file
1
repos/dde_linux/recipes/src/usb_modem_drv/hash
Normal file
@ -0,0 +1 @@
|
||||
2021-06-16 7410cea2eb1989efc4e7cd44ff36be590842f0c2
|
8
repos/dde_linux/recipes/src/usb_modem_drv/used_apis
Normal file
8
repos/dde_linux/recipes/src/usb_modem_drv/used_apis
Normal file
@ -0,0 +1,8 @@
|
||||
base
|
||||
os
|
||||
nic_session
|
||||
uplink_session
|
||||
usb_session
|
||||
timer_session
|
||||
terminal_session
|
||||
nic_driver
|
@ -8,6 +8,7 @@ only. QMI devices might be supported in the future.
|
||||
|
||||
Tested devices:
|
||||
Huawai ME906s (P/V: 12d1:15c1)
|
||||
Fibocom L830-EB-00 (P/V: 2cb7:0210)
|
||||
|
||||
Other devices can be added by enabling the MBIM configuration profile for the
|
||||
USB device in ' Driver::Device::set_config' (main.cc) of this driver.
|
||||
@ -16,11 +17,13 @@ Configuration snippet:
|
||||
|
||||
!<start name="usb_modem_drv">
|
||||
! <resource name="RAM" quantum="10M"/>
|
||||
! <requires>
|
||||
! <service name="Uplink"/>
|
||||
! </requires>
|
||||
! <provides>
|
||||
! <service name="Nic"/>
|
||||
! <service name="Terminal"/>
|
||||
! </provides>
|
||||
! <config mac="02:00:00:00:01:01" />
|
||||
! <config mac="02:00:00:00:01:01" mode="uplink_client"/>
|
||||
!</start>
|
||||
|
||||
The driver offers two Genode sessions: The first one is a terminal session where
|
||||
|
Loading…
Reference in New Issue
Block a user