add networkmanaer and modemmanager to the image
This commit is contained in:
@@ -14,4 +14,13 @@ Enable GPS
|
||||
|
||||
```sh
|
||||
mmcli -m 0 --command="AT+QGPS=1,30,50,0,2"
|
||||
```
|
||||
|
||||
Wifi
|
||||
|
||||
```sh
|
||||
nmcli radio wifi
|
||||
nmcli radio wifi on
|
||||
nmcli dev wifi list
|
||||
|
||||
```
|
@@ -33,5 +33,4 @@ PREFERRED_PROVIDER_u-boot = "u-boot-megous"
|
||||
# extra kernel CMDLINE_RNDIS option
|
||||
# CMDLINE_RNDIS += " video=DPI-1:480x640,rotate=90 "
|
||||
# accept license for wifi and bluetooth firmware
|
||||
LICENSE_FLAGS_ACCEPTED = "synaptics-killswitch commercial"
|
||||
SERIAL_CONSOLES:append = " ttyS0,115200 "
|
||||
LICENSE_FLAGS_ACCEPTED = "synaptics-killswitch commercial"
|
@@ -17,4 +17,5 @@ SPL_BINARY = "u-boot-sunxi-with-spl.bin"
|
||||
MACHINE_FEATURES:remove = "x11"
|
||||
MACHINE_FEATURES:append = "bluetooth wifi"
|
||||
|
||||
MACHINE_EXTRA_RRECOMMENDS = "pinephone-firmware"
|
||||
MACHINE_EXTRA_RRECOMMENDS = "pinephone-firmware"
|
||||
SERIAL_CONSOLES = " 115200;ttyS0 "
|
@@ -10,7 +10,7 @@ SRCREV = "${AUTOREV}"
|
||||
PV = "0.5.2+git${SRCPV}"
|
||||
S = "${UNPACKDIR}/git"
|
||||
|
||||
DEPENDS:append = " libgudev libgpiod libusb curl "
|
||||
DEPENDS:append = " libgudev libgpiod libusb curl modemmanager "
|
||||
|
||||
inherit meson pkgconfig
|
||||
|
||||
|
@@ -0,0 +1 @@
|
||||
PACKAGECONFIG:remove =" systemd "
|
@@ -0,0 +1 @@
|
||||
PACKAGECONFIG:append = " modemmanager ppp wifi dhcpcd iwd resolvconf nmtui wwan "
|
@@ -1,2 +1,7 @@
|
||||
IMAGE_BOOT_FILES:append:pinephone = " boot.scr ${KERNEL_DEVICETREE} "
|
||||
IMAGE_INSTALL:append:pinephone = " pinephone-firmware eg25-manager glibmm "
|
||||
IMAGE_INSTALL:append:pinephone = " \
|
||||
pinephone-firmware \
|
||||
eg25-manager \
|
||||
modemmanager \
|
||||
gpsd \
|
||||
gps-utils "
|
Reference in New Issue
Block a user