add networkmanaer and modemmanager to the image

This commit is contained in:
DanyLE
2025-07-21 19:48:15 +02:00
parent 37571d17cc
commit c790eefea5
7 changed files with 21 additions and 5 deletions

View File

@@ -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
```

View File

@@ -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"

View File

@@ -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 "

View File

@@ -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

View File

@@ -0,0 +1 @@
PACKAGECONFIG:remove =" systemd "

View File

@@ -0,0 +1 @@
PACKAGECONFIG:append = " modemmanager ppp wifi dhcpcd iwd resolvconf nmtui wwan "

View File

@@ -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 "