From 2089e3b08f775687c2827b790f5d1cf27c71f064 Mon Sep 17 00:00:00 2001 From: John Klug Date: Mon, 2 Jul 2018 17:00:23 -0500 Subject: LoRa fix for reading FPGA revision in AEP --- .../lora/lora-gateway-geolocation_5.1.0.bb | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'recipes-connectivity/lora/lora-gateway-geolocation_5.1.0.bb') diff --git a/recipes-connectivity/lora/lora-gateway-geolocation_5.1.0.bb b/recipes-connectivity/lora/lora-gateway-geolocation_5.1.0.bb index eda0247..3eb9ddc 100644 --- a/recipes-connectivity/lora/lora-gateway-geolocation_5.1.0.bb +++ b/recipes-connectivity/lora/lora-gateway-geolocation_5.1.0.bb @@ -5,16 +5,19 @@ SECTION = "console/utils" LICENSE = "Proprietary" LIC_FILES_CHKSUM = "file://mlinux4/LICENSE.TXT;md5=86776875df1423114abfcec938f3e565" DEPENDS = "" -PR = "r3" +# Source revision +PSR = "r1" +# Recipe revision +PR = "r4" SRCREV = "v${PV}" -SRC_URI = "http://multitech.net/downloads/lora-packet-forwarder-geolocation_arm926ejste_${PV}.tar.gz \ +SRC_URI = "http://multitech.net/downloads/lora-packet-forwarder-geolocation_arm926ejste_${PV}-${PSR}.tar.gz \ file://config.json \ file://config_64ch.json \ " -SRC_URI[md5sum] = "58d8c18e54ebd84dbd89d70e0640da16" -SRC_URI[sha256sum] = "899441f301d50ae9de9efe6ac6d01e6557e952eedf47fc055c782671ab81dd1b" +SRC_URI[md5sum] = "ee5b1f030d513e59248c4146d5629a18" +SRC_URI[sha256sum] = "a2154e9e79f713fef8ec6db7477c4df16aaae4537cccd65489bd28f75197ec5a" S = "${WORKDIR}" @@ -29,7 +32,8 @@ do_install() { install -m 0644 mlinux4/libsx1301ar/* ${D}${includedir}/lora install -d ${D}/sbin - install -m 0755 mlinux4/gateway-utils-geo/fpga_flash_loader ${D}/sbin/sem-fpga-loader + # Set UID to be able to read FPGA revision as non-root. + install -m 04755 mlinux4/gateway-utils-geo/fpga_flash_loader ${D}/sbin/sem-fpga-loader install -d ${D}/opt/lora/ install -d ${D}/opt/lora/gateway-utils-geo -- cgit v1.2.3