Skip to content

Commit fda163e

Browse files
committed
rak7289v2: Use gpsd for concentratord + time-sync.
1 parent f923d0d commit fda163e

File tree

5 files changed

+24
-11
lines changed

5 files changed

+24
-11
lines changed

conf/rak_rak7289v2/.config

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -523,9 +523,9 @@ CONFIG_TARGET_INIT_CMD="/sbin/init"
523523
CONFIG_TARGET_INIT_SUPPRESS_STDERR=y
524524
CONFIG_VERSIONOPT=y
525525
CONFIG_VERSION_DIST="ChirpStack Gateway OS"
526-
CONFIG_VERSION_NUMBER="4.5.2"
526+
CONFIG_VERSION_NUMBER="4.5.3"
527527
CONFIG_VERSION_CODE="RAK7289v2"
528-
CONFIG_VERSION_REPO="https://downloads.openwrt.org/releases/23.05.4"
528+
CONFIG_VERSION_REPO="https://downloads.openwrt.org/releases/23.05.5"
529529
CONFIG_VERSION_HOME_URL="https://www.chirpstack.io/"
530530
CONFIG_VERSION_MANUFACTURER=""
531531
CONFIG_VERSION_MANUFACTURER_URL=""
@@ -4271,10 +4271,10 @@ CONFIG_LIBCURL_UNIX_SOCKETS=y
42714271
# CONFIG_PACKAGE_libev is not set
42724272
# CONFIG_PACKAGE_libevdev is not set
42734273
# CONFIG_PACKAGE_libevent2 is not set
4274-
# CONFIG_PACKAGE_libevent2-core is not set
4274+
CONFIG_PACKAGE_libevent2-core=y
42754275
# CONFIG_PACKAGE_libevent2-extra is not set
42764276
# CONFIG_PACKAGE_libevent2-openssl is not set
4277-
# CONFIG_PACKAGE_libevent2-pthreads is not set
4277+
CONFIG_PACKAGE_libevent2-pthreads=y
42784278
# CONFIG_PACKAGE_libexif is not set
42794279
# CONFIG_PACKAGE_libexpat is not set
42804280
# CONFIG_PACKAGE_libexslt is not set
@@ -4517,7 +4517,7 @@ CONFIG_PACKAGE_libucode=y
45174517
# CONFIG_PACKAGE_libupnp is not set
45184518
# CONFIG_PACKAGE_libupnpp is not set
45194519
# CONFIG_PACKAGE_liburcu is not set
4520-
# CONFIG_PACKAGE_libusb-1.0 is not set
4520+
CONFIG_PACKAGE_libusb-1.0=y
45214521
# CONFIG_PACKAGE_libusb-compat is not set
45224522
CONFIG_PACKAGE_libustream-mbedtls=y
45234523
# CONFIG_PACKAGE_libustream-openssl is not set
@@ -4731,6 +4731,7 @@ CONFIG_PACKAGE_luci-app-firewall=y
47314731
# CONFIG_PACKAGE_luci-app-ledtrig-rssi is not set
47324732
# CONFIG_PACKAGE_luci-app-ledtrig-switch is not set
47334733
# CONFIG_PACKAGE_luci-app-ledtrig-usbport is not set
4734+
# CONFIG_PACKAGE_luci-app-lldpd is not set
47344735
# CONFIG_PACKAGE_luci-app-lorawan-basicstation is not set
47354736
# CONFIG_PACKAGE_luci-app-lxc is not set
47364737
# CONFIG_PACKAGE_luci-app-minidlna is not set
@@ -5550,8 +5551,8 @@ CONFIG_PACKAGE_nftables-json=y
55505551
# CONFIG_PACKAGE_htpdate is not set
55515552
# CONFIG_PACKAGE_linuxptp is not set
55525553
# CONFIG_PACKAGE_ntp-keygen is not set
5553-
# CONFIG_PACKAGE_ntp-utils is not set
5554-
# CONFIG_PACKAGE_ntpd is not set
5554+
CONFIG_PACKAGE_ntp-utils=y
5555+
CONFIG_PACKAGE_ntpd=y
55555556
# CONFIG_PACKAGE_ntpdate is not set
55565557
# end of Time Synchronization
55575558

@@ -6552,7 +6553,7 @@ CONFIG_PACKAGE_uboot-envtools=y
65526553
# CONFIG_PACKAGE_gnuplot is not set
65536554
# CONFIG_PACKAGE_gpioctl-sysfs is not set
65546555
# CONFIG_PACKAGE_gpiod-tools is not set
6555-
# CONFIG_PACKAGE_gpsd is not set
6556+
CONFIG_PACKAGE_gpsd=y
65566557
# CONFIG_PACKAGE_gpsd-clients is not set
65576558
# CONFIG_PACKAGE_gpsd-utils is not set
65586559
# CONFIG_PACKAGE_grep is not set
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
server 127.127.28.0
2+
fudge 127.127.28.0 flag1 1 refid GPS
3+
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
uci -q batch << EOI
2+
set gpsd.core.enabled='1'
3+
set gpsd.core.device='/dev/ttyS1'
4+
commit gpsd
5+
EOI
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
uci -q batch << EOI
2+
set chirpstack-concentratord-slot1.@sx1302[0].gnss_dev_path='gpsd://localhost:2947'
3+
commit concentratord-slot1
4+
EOI

feeds.conf.default

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
src-git packages https://git.openwrt.org/feed/packages.git;openwrt-23.05
2-
src-git luci https://git.openwrt.org/project/luci.git;openwrt-23.05
3-
src-git routing https://git.openwrt.org/feed/routing.git;openwrt-23.05
1+
src-git packages https://git.openwrt.org/feed/packages.git^b5ed85f6e94aa08de1433272dc007550f4a28201
2+
src-git luci https://git.openwrt.org/project/luci.git^63ba3cba5b7bfb803a875d4d8f01248634687fd5
3+
src-git routing https://git.openwrt.org/feed/routing.git^e351d1e623e9ef2ab78f28cb1ce8d271d28c902d
44
src-link chirpstack /workdir/feeds/chirpstack-openwrt-feed

0 commit comments

Comments
 (0)