From a8e554fe313b4cd5e349987c609a6419e29b65a2 Mon Sep 17 00:00:00 2001 From: Harsh Sharma Date: Mon, 4 Apr 2022 17:29:32 -0500 Subject: Updated lora 1303 tag --- .../lora/lora-gateway-sx1303_2.0.12.bb | 78 ++++++++++++++++++++++ .../lora/lora-gateway-sx1303_2.0.9.bb | 78 ---------------------- 2 files changed, 78 insertions(+), 78 deletions(-) create mode 100644 recipes-connectivity/lora/lora-gateway-sx1303_2.0.12.bb delete mode 100644 recipes-connectivity/lora/lora-gateway-sx1303_2.0.9.bb diff --git a/recipes-connectivity/lora/lora-gateway-sx1303_2.0.12.bb b/recipes-connectivity/lora/lora-gateway-sx1303_2.0.12.bb new file mode 100644 index 0000000..f6c5fac --- /dev/null +++ b/recipes-connectivity/lora/lora-gateway-sx1303_2.0.12.bb @@ -0,0 +1,78 @@ +DESCRIPTION = "LoRa Packet Forwarder" +HOMEPAGE = "https://github.com/Lora-net/sx1302_hal" +PRIORITY = "optional" +SECTION = "console/utils" +# Semtech license is a modified BSD-style license +LICENSE = "Proprietary" +LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=d2119120bd616e725f4580070bd9ee19" +DEPENDS = "logrotate" +RDEPENDS_${PN} += "bash" +PR = "r0" + +SRCREV = "100104ee350a0e469b348ac383486d311caaf5e5" +#SRCREV = "V${PV}" + +SRC_URI = "git://github.com/MultiTechSystems/sx1302_hal.git;protocol=https;branch=master \ + file://global_conf.json.MTAC_003_0_0.EU868 \ + file://global_conf.json.MTAC_003_0_0.US915 \ + file://global_conf.json.MTCAP3.EU868 \ + file://global_conf.json.MTCAP3.US915 \ +" + + +S = "${WORKDIR}/git" +B = "${S}" + +LORA_DIR = "/opt/lora" + + +CFLAGS += " -I${S}/packet_forwarder/inc -I${S}/libloragw/inc -I${S}/libtools/inc -I${S}/inc -I. -std=gnu11" + +do_compile() { + oe_runmake packet_forwarder LDFLAGS=${LDFLAGS} + oe_runmake util_boot LDFLAGS=${LDFLAGS} + oe_runmake util_chip_id FLAGS=${LDFLAGS} + oe_runmake util_net_downlink LDFLAGS=${LDFLAGS} + # oe_runmake util_spectral_scan LDFLAGS=${LDFLAGS} +} + +do_install() { + install -d ${D}${LORA_DIR} + install -d ${D}${LORA_DIR}/forwarder-utils-sx1303 + install -d ${D}${LORA_DIR}/gateway-utils-sx1303 + install -m 755 packet_forwarder/lora_pkt_fwd ${D}${LORA_DIR}/lora_pkt_fwd_sx1303 + install -m 755 libloragw/test_loragw* ${D}${LORA_DIR}/gateway-utils-sx1303/ + install -m 755 util_boot/boot ${D}${LORA_DIR}/forwarder-utils-sx1303/util_boot + install -m 755 util_chip_id/chip_id ${D}${LORA_DIR}/forwarder-utils-sx1303/util_chip_id + install -m 755 util_net_downlink/net_downlink ${D}${LORA_DIR}/forwarder-utils-sx1303/util_net_downlink + # install -m 755 util_spectral_scan/util_spectral_scan ${D}${LORA_DIR}/forwarder-utils-sx1303/ +} + +do_install_append_mtcdt() { + install -m 644 ${WORKDIR}/global_conf.json.MTAC_003_0_0.EU868 ${D}${LORA_DIR}/global_conf.json.MTAC_003_0_0.EU868 + install -m 644 ${WORKDIR}/global_conf.json.MTAC_003_0_0.US915 ${D}${LORA_DIR}/global_conf.json.MTAC_003_0_0.US915 +} + +do_install_append_mtcap() { + install -m 644 ${WORKDIR}/global_conf.json.MTCAP3.EU868 ${D}${LORA_DIR}/global_conf.json.MTCAP3.EU868 + install -m 644 ${WORKDIR}/global_conf.json.MTCAP3.US915 ${D}${LORA_DIR}/global_conf.json.MTCAP3.US915 +} + +do_install_append_mtcdt3() { + install -m 644 ${WORKDIR}/global_conf.json.MTAC_003_0_0.EU868 ${D}${LORA_DIR}/global_conf.json.MTAC_003_0_0.EU868 + install -m 644 ${WORKDIR}/global_conf.json.MTAC_003_0_0.US915 ${D}${LORA_DIR}/global_conf.json.MTAC_003_0_0.US915 +} + +do_install_append_mtcdt3hs() { + install -m 644 ${WORKDIR}/global_conf.json.MTAC_003_0_0.EU868 ${D}${LORA_DIR}/global_conf.json.MTAC_003_0_0.EU868 + install -m 644 ${WORKDIR}/global_conf.json.MTAC_003_0_0.US915 ${D}${LORA_DIR}/global_conf.json.MTAC_003_0_0.US915 +} + + +FILES_${PN} += "${LORA_DIR}" + +# disable this on purpose for dev purposes +do_rm_work() { + echo "skipping" + +} diff --git a/recipes-connectivity/lora/lora-gateway-sx1303_2.0.9.bb b/recipes-connectivity/lora/lora-gateway-sx1303_2.0.9.bb deleted file mode 100644 index 0f0fb24..0000000 --- a/recipes-connectivity/lora/lora-gateway-sx1303_2.0.9.bb +++ /dev/null @@ -1,78 +0,0 @@ -DESCRIPTION = "LoRa Packet Forwarder" -HOMEPAGE = "https://github.com/Lora-net/sx1302_hal" -PRIORITY = "optional" -SECTION = "console/utils" -# Semtech license is a modified BSD-style license -LICENSE = "Proprietary" -LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=d2119120bd616e725f4580070bd9ee19" -DEPENDS = "logrotate" -RDEPENDS_${PN} += "bash" -PR = "r0" - -# SRCREV = "100104ee350a0e469b348ac383486d311caaf5e5" -SRCREV = "V${PV}" - -SRC_URI = "git://github.com/MultiTechSystems/sx1302_hal.git;protocol=https;branch=master \ - file://global_conf.json.MTAC_003_0_0.EU868 \ - file://global_conf.json.MTAC_003_0_0.US915 \ - file://global_conf.json.MTCAP3.EU868 \ - file://global_conf.json.MTCAP3.US915 \ -" - - -S = "${WORKDIR}/git" -B = "${S}" - -LORA_DIR = "/opt/lora" - - -CFLAGS += " -I${S}/packet_forwarder/inc -I${S}/libloragw/inc -I${S}/libtools/inc -I${S}/inc -I. -std=gnu11" - -do_compile() { - oe_runmake packet_forwarder LDFLAGS=${LDFLAGS} - oe_runmake util_boot LDFLAGS=${LDFLAGS} - oe_runmake util_chip_id FLAGS=${LDFLAGS} - oe_runmake util_net_downlink LDFLAGS=${LDFLAGS} - # oe_runmake util_spectral_scan LDFLAGS=${LDFLAGS} -} - -do_install() { - install -d ${D}${LORA_DIR} - install -d ${D}${LORA_DIR}/forwarder-utils-sx1303 - install -d ${D}${LORA_DIR}/gateway-utils-sx1303 - install -m 755 packet_forwarder/lora_pkt_fwd ${D}${LORA_DIR}/lora_pkt_fwd_sx1303 - install -m 755 libloragw/test_loragw* ${D}${LORA_DIR}/gateway-utils-sx1303/ - install -m 755 util_boot/boot ${D}${LORA_DIR}/forwarder-utils-sx1303/util_boot - install -m 755 util_chip_id/chip_id ${D}${LORA_DIR}/forwarder-utils-sx1303/util_chip_id - install -m 755 util_net_downlink/net_downlink ${D}${LORA_DIR}/forwarder-utils-sx1303/util_net_downlink - # install -m 755 util_spectral_scan/util_spectral_scan ${D}${LORA_DIR}/forwarder-utils-sx1303/ -} - -do_install_append_mtcdt() { - install -m 644 ${WORKDIR}/global_conf.json.MTAC_003_0_0.EU868 ${D}${LORA_DIR}/global_conf.json.MTAC_003_0_0.EU868 - install -m 644 ${WORKDIR}/global_conf.json.MTAC_003_0_0.US915 ${D}${LORA_DIR}/global_conf.json.MTAC_003_0_0.US915 -} - -do_install_append_mtcap() { - install -m 644 ${WORKDIR}/global_conf.json.MTCAP3.EU868 ${D}${LORA_DIR}/global_conf.json.MTCAP3.EU868 - install -m 644 ${WORKDIR}/global_conf.json.MTCAP3.US915 ${D}${LORA_DIR}/global_conf.json.MTCAP3.US915 -} - -do_install_append_mtcdt3() { - install -m 644 ${WORKDIR}/global_conf.json.MTAC_003_0_0.EU868 ${D}${LORA_DIR}/global_conf.json.MTAC_003_0_0.EU868 - install -m 644 ${WORKDIR}/global_conf.json.MTAC_003_0_0.US915 ${D}${LORA_DIR}/global_conf.json.MTAC_003_0_0.US915 -} - -do_install_append_mtcdt3hs() { - install -m 644 ${WORKDIR}/global_conf.json.MTAC_003_0_0.EU868 ${D}${LORA_DIR}/global_conf.json.MTAC_003_0_0.EU868 - install -m 644 ${WORKDIR}/global_conf.json.MTAC_003_0_0.US915 ${D}${LORA_DIR}/global_conf.json.MTAC_003_0_0.US915 -} - - -FILES_${PN} += "${LORA_DIR}" - -# disable this on purpose for dev purposes -do_rm_work() { - echo "skipping" - -} -- cgit v1.2.3 From d3d1e0a33a4b55a57b3cfc40a98ae55a3bd2ec45 Mon Sep 17 00:00:00 2001 From: Andrii Pientsov Date: Fri, 8 Apr 2022 12:46:25 +0300 Subject: MTX-4329 mPower R.6.0.x: MTCAP3 - TPM Support, brownout detection / response GP-1490 --- ...id-spurious-errors-when-checking-for-3.x-.patch | 67 ++++++++++++++++++++++ recipes-connectivity/openssl/openssl_1.1.1n.bb | 1 + 2 files changed, 68 insertions(+) create mode 100644 recipes-connectivity/openssl/openssl/0001-eng_dyn-Avoid-spurious-errors-when-checking-for-3.x-.patch diff --git a/recipes-connectivity/openssl/openssl/0001-eng_dyn-Avoid-spurious-errors-when-checking-for-3.x-.patch b/recipes-connectivity/openssl/openssl/0001-eng_dyn-Avoid-spurious-errors-when-checking-for-3.x-.patch new file mode 100644 index 0000000..c074d30 --- /dev/null +++ b/recipes-connectivity/openssl/openssl/0001-eng_dyn-Avoid-spurious-errors-when-checking-for-3.x-.patch @@ -0,0 +1,67 @@ +From d6bf4a2218aeb246ba7d34f02e895c37569c8265 Mon Sep 17 00:00:00 2001 +From: Tomas Mraz +Date: Wed, 16 Mar 2022 12:09:52 +0100 +Subject: [PATCH] eng_dyn: Avoid spurious errors when checking for 3.x engine + +Reviewed-by: Paul Dale +Reviewed-by: Richard Levitte +(Merged from https://github.com/openssl/openssl/pull/17902) +--- + crypto/engine/eng_dyn.c | 33 ++++++++++++++++++++++----------- + 1 file changed, 22 insertions(+), 11 deletions(-) + +diff --git a/crypto/engine/eng_dyn.c b/crypto/engine/eng_dyn.c +index 6a0ddc162d..27d7b893cd 100644 +--- a/crypto/engine/eng_dyn.c ++++ b/crypto/engine/eng_dyn.c +@@ -393,6 +393,26 @@ static int int_load(dynamic_data_ctx *ctx) + return 0; + } + ++/* ++ * Unfortunately the version checker does not distinguish between ++ * engines built for openssl 1.1.x and openssl 3.x, but loading ++ * an engine that is built for openssl 3.x will cause a fatal ++ * error. Detect such engines, since EVP_PKEY_get_base_id is exported ++ * as a function in openssl 3.x, while it is named EVP_PKEY_base_id ++ * in openssl 1.1.x. Therefore we take the presence of that symbol ++ * as an indication that the engine will be incompatible. ++ */ ++static int using_libcrypto_3(dynamic_data_ctx *ctx) ++{ ++ int ret; ++ ++ ERR_set_mark(); ++ ret = DSO_bind_func(ctx->dynamic_dso, "EVP_PKEY_get_base_id") != NULL; ++ ERR_pop_to_mark(); ++ ++ return ret; ++} ++ + static int dynamic_load(ENGINE *e, dynamic_data_ctx *ctx) + { + ENGINE cpy; +@@ -442,18 +462,9 @@ static int dynamic_load(ENGINE *e, dynamic_data_ctx *ctx) + /* + * We fail if the version checker veto'd the load *or* if it is + * deferring to us (by returning its version) and we think it is too +- * old. +- * Unfortunately the version checker does not distinguish between +- * engines built for openssl 1.1.x and openssl 3.x, but loading +- * an engine that is built for openssl 3.x will cause a fatal +- * error. Detect such engines, since EVP_PKEY_get_base_id is exported +- * as a function in openssl 3.x, while it is named EVP_PKEY_base_id +- * in openssl 1.1.x. Therefore we take the presence of that symbol +- * as an indication that the engine will be incompatible. ++ * old. Also fail if this is engine for openssl 3.x. + */ +- if (vcheck_res < OSSL_DYNAMIC_OLDEST +- || DSO_bind_func(ctx->dynamic_dso, +- "EVP_PKEY_get_base_id") != NULL) { ++ if (vcheck_res < OSSL_DYNAMIC_OLDEST || using_libcrypto_3(ctx)) { + /* Fail */ + ctx->bind_engine = NULL; + ctx->v_check = NULL; +-- +2.25.1 + diff --git a/recipes-connectivity/openssl/openssl_1.1.1n.bb b/recipes-connectivity/openssl/openssl_1.1.1n.bb index f3a2c54..434e7b1 100644 --- a/recipes-connectivity/openssl/openssl_1.1.1n.bb +++ b/recipes-connectivity/openssl/openssl_1.1.1n.bb @@ -15,6 +15,7 @@ SRC_URI = "https://www.openssl.org/source/openssl-${PV}.tar.gz \ file://run-ptest \ file://0001-skip-test_symbol_presence.patch \ file://0001-buildinfo-strip-sysroot-and-debug-prefix-map-from-co.patch \ + file://0001-eng_dyn-Avoid-spurious-errors-when-checking-for-3.x-.patch \ file://afalg.patch \ file://reproducible.patch \ " -- cgit v1.2.3 From 6d4402d83d6586078b53fabc2f958350b1c6e05c Mon Sep 17 00:00:00 2001 From: Harsh Sharma Date: Fri, 8 Apr 2022 10:03:10 -0500 Subject: Updated lora 1303 recipe --- .../lora/lora-gateway-sx1303_2.0.12.bb | 78 ------------------ .../lora/lora-gateway-sx1303_2.0.17.bb | 94 ++++++++++++++++++++++ 2 files changed, 94 insertions(+), 78 deletions(-) delete mode 100644 recipes-connectivity/lora/lora-gateway-sx1303_2.0.12.bb create mode 100644 recipes-connectivity/lora/lora-gateway-sx1303_2.0.17.bb diff --git a/recipes-connectivity/lora/lora-gateway-sx1303_2.0.12.bb b/recipes-connectivity/lora/lora-gateway-sx1303_2.0.12.bb deleted file mode 100644 index f6c5fac..0000000 --- a/recipes-connectivity/lora/lora-gateway-sx1303_2.0.12.bb +++ /dev/null @@ -1,78 +0,0 @@ -DESCRIPTION = "LoRa Packet Forwarder" -HOMEPAGE = "https://github.com/Lora-net/sx1302_hal" -PRIORITY = "optional" -SECTION = "console/utils" -# Semtech license is a modified BSD-style license -LICENSE = "Proprietary" -LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=d2119120bd616e725f4580070bd9ee19" -DEPENDS = "logrotate" -RDEPENDS_${PN} += "bash" -PR = "r0" - -SRCREV = "100104ee350a0e469b348ac383486d311caaf5e5" -#SRCREV = "V${PV}" - -SRC_URI = "git://github.com/MultiTechSystems/sx1302_hal.git;protocol=https;branch=master \ - file://global_conf.json.MTAC_003_0_0.EU868 \ - file://global_conf.json.MTAC_003_0_0.US915 \ - file://global_conf.json.MTCAP3.EU868 \ - file://global_conf.json.MTCAP3.US915 \ -" - - -S = "${WORKDIR}/git" -B = "${S}" - -LORA_DIR = "/opt/lora" - - -CFLAGS += " -I${S}/packet_forwarder/inc -I${S}/libloragw/inc -I${S}/libtools/inc -I${S}/inc -I. -std=gnu11" - -do_compile() { - oe_runmake packet_forwarder LDFLAGS=${LDFLAGS} - oe_runmake util_boot LDFLAGS=${LDFLAGS} - oe_runmake util_chip_id FLAGS=${LDFLAGS} - oe_runmake util_net_downlink LDFLAGS=${LDFLAGS} - # oe_runmake util_spectral_scan LDFLAGS=${LDFLAGS} -} - -do_install() { - install -d ${D}${LORA_DIR} - install -d ${D}${LORA_DIR}/forwarder-utils-sx1303 - install -d ${D}${LORA_DIR}/gateway-utils-sx1303 - install -m 755 packet_forwarder/lora_pkt_fwd ${D}${LORA_DIR}/lora_pkt_fwd_sx1303 - install -m 755 libloragw/test_loragw* ${D}${LORA_DIR}/gateway-utils-sx1303/ - install -m 755 util_boot/boot ${D}${LORA_DIR}/forwarder-utils-sx1303/util_boot - install -m 755 util_chip_id/chip_id ${D}${LORA_DIR}/forwarder-utils-sx1303/util_chip_id - install -m 755 util_net_downlink/net_downlink ${D}${LORA_DIR}/forwarder-utils-sx1303/util_net_downlink - # install -m 755 util_spectral_scan/util_spectral_scan ${D}${LORA_DIR}/forwarder-utils-sx1303/ -} - -do_install_append_mtcdt() { - install -m 644 ${WORKDIR}/global_conf.json.MTAC_003_0_0.EU868 ${D}${LORA_DIR}/global_conf.json.MTAC_003_0_0.EU868 - install -m 644 ${WORKDIR}/global_conf.json.MTAC_003_0_0.US915 ${D}${LORA_DIR}/global_conf.json.MTAC_003_0_0.US915 -} - -do_install_append_mtcap() { - install -m 644 ${WORKDIR}/global_conf.json.MTCAP3.EU868 ${D}${LORA_DIR}/global_conf.json.MTCAP3.EU868 - install -m 644 ${WORKDIR}/global_conf.json.MTCAP3.US915 ${D}${LORA_DIR}/global_conf.json.MTCAP3.US915 -} - -do_install_append_mtcdt3() { - install -m 644 ${WORKDIR}/global_conf.json.MTAC_003_0_0.EU868 ${D}${LORA_DIR}/global_conf.json.MTAC_003_0_0.EU868 - install -m 644 ${WORKDIR}/global_conf.json.MTAC_003_0_0.US915 ${D}${LORA_DIR}/global_conf.json.MTAC_003_0_0.US915 -} - -do_install_append_mtcdt3hs() { - install -m 644 ${WORKDIR}/global_conf.json.MTAC_003_0_0.EU868 ${D}${LORA_DIR}/global_conf.json.MTAC_003_0_0.EU868 - install -m 644 ${WORKDIR}/global_conf.json.MTAC_003_0_0.US915 ${D}${LORA_DIR}/global_conf.json.MTAC_003_0_0.US915 -} - - -FILES_${PN} += "${LORA_DIR}" - -# disable this on purpose for dev purposes -do_rm_work() { - echo "skipping" - -} diff --git a/recipes-connectivity/lora/lora-gateway-sx1303_2.0.17.bb b/recipes-connectivity/lora/lora-gateway-sx1303_2.0.17.bb new file mode 100644 index 0000000..1eade0b --- /dev/null +++ b/recipes-connectivity/lora/lora-gateway-sx1303_2.0.17.bb @@ -0,0 +1,94 @@ +DESCRIPTION = "LoRa Packet Forwarder" +HOMEPAGE = "https://github.com/MultiTechSystems/sx1302_hal" +PRIORITY = "optional" +SECTION = "console/utils" +# Semtech license is a modified BSD-style license +LICENSE = "Proprietary" +LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=d2119120bd616e725f4580070bd9ee19" +DEPENDS = "logrotate" +RDEPENDS_${PN} += "bash" + +PR = "r6" + +#SRCREV = "06531662f3ef73a0e9878ed5313451d8a6cafbc5" +SRCREV = "V${PV}" + +SRC_URI = "git://github.com/MultiTechSystems/sx1302_hal.git;protocol=https;branch=master \ + file://reset_lgw.sh \ + file://global_conf.json.MTAC_003_0_0.EU868 \ + file://global_conf.json.MTAC_003_0_0.US915 \ + file://global_conf.json.MTCAP3.EU868 \ + file://global_conf.json.MTCAP3.US915 \ +" + +SRC_URI[sha256sum] = "48ef8bc6d6496f2c97495bca8891413ca08fea03c9099495d212110dffad8027" + + +S = "${WORKDIR}/git" +B = "${S}" + +LORA_DIR = "/opt/lora" + + +CFLAGS += "-DNODEBUG -I${S}/packet_forwarder/inc -I${S}/libloragw/inc -I${S}/libtools/inc -I${S}/inc -I. -std=gnu11" + +do_compile() { + oe_runmake packet_forwarder LDFLAGS=${LDFLAGS} + oe_runmake util_boot LDFLAGS=${LDFLAGS} + oe_runmake util_chip_id FLAGS=${LDFLAGS} + oe_runmake util_net_downlink LDFLAGS=${LDFLAGS} + # oe_runmake util_spectral_scan LDFLAGS=${LDFLAGS} +} + +do_install() { + install -d ${D}${LORA_DIR} + install -d ${D}${libdir}/lora + install -d ${D}${libdir}/lora/lgw-sx1303/lgw + install -d ${D}${includedir}/lora/lgw-sx1303/lgw + + install -m 0644 libloragw/libloragw.a ${D}${libdir}/lora/lgw-sx1303/lgw/ + install -m 0644 libloragw/library.cfg ${D}${libdir}/lora/lgw-sx1303/lgw/ + install -m 0644 libloragw/inc/* ${D}${includedir}/lora/lgw-sx1303/lgw/ + + install -d ${D}${LORA_DIR}/forwarder-utils-sx1303 + install -d ${D}${LORA_DIR}/gateway-utils-sx1303 + install -m 755 ${WORKDIR}/reset_lgw.sh ${D}${LORA_DIR}/ + install -m 755 packet_forwarder/lora_pkt_fwd ${D}${LORA_DIR}/lora_pkt_fwd_sx1303 + install -m 755 libloragw/test_loragw* ${D}${LORA_DIR}/gateway-utils-sx1303/ + install -m 755 util_boot/boot ${D}${LORA_DIR}/forwarder-utils-sx1303/util_boot + install -m 755 util_chip_id/chip_id ${D}${LORA_DIR}/forwarder-utils-sx1303/util_chip_id + install -m 755 util_net_downlink/net_downlink ${D}${LORA_DIR}/forwarder-utils-sx1303/util_net_downlink + # install -m 755 util_spectral_scan/util_spectral_scan ${D}${LORA_DIR}/forwarder-utils-sx1303/ +} + +do_install_append_mtcdt() { + install -m 755 ${WORKDIR}/global_conf.json.MTAC_003_0_0.EU868 ${D}${LORA_DIR}/ + install -m 755 ${WORKDIR}/global_conf.json.MTAC_003_0_0.US915 ${D}${LORA_DIR}/ +} + +do_install_append_mtcap() { +} + + +do_install_append_mtcap3() { + install -m 755 ${WORKDIR}/global_conf.json.MTCAP3.EU868 ${D}${LORA_DIR}/ + install -m 755 ${WORKDIR}/global_conf.json.MTCAP3.US915 ${D}${LORA_DIR}/ +} + +do_install_append_mtcdt3() { + install -m 755 ${WORKDIR}/global_conf.json.MTAC_003_0_0.EU868 ${D}${LORA_DIR}/ + install -m 755 ${WORKDIR}/global_conf.json.MTAC_003_0_0.US915 ${D}${LORA_DIR}/ +} + +do_install_append_mtcdt3hs() { + install -m 755 ${WORKDIR}/global_conf.json.MTAC_003_0_0.EU868 ${D}${LORA_DIR}/ + install -m 755 ${WORKDIR}/global_conf.json.MTAC_003_0_0.US915 ${D}${LORA_DIR}/ +} + + +FILES_${PN} += "${LORA_DIR}" + +# disable this on purpose for dev purposes +do_rm_work() { + echo "skipping" +} -- cgit v1.2.3 From 578984195194e7520440cc1a55a5555f728518b4 Mon Sep 17 00:00:00 2001 From: Harsh Sharma Date: Fri, 8 Apr 2022 10:11:38 -0500 Subject: lora 1303 changed src uri to use https --- recipes-connectivity/lora/lora-gateway-sx1303_2.0.17.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-connectivity/lora/lora-gateway-sx1303_2.0.17.bb b/recipes-connectivity/lora/lora-gateway-sx1303_2.0.17.bb index 1eade0b..ba03cea 100644 --- a/recipes-connectivity/lora/lora-gateway-sx1303_2.0.17.bb +++ b/recipes-connectivity/lora/lora-gateway-sx1303_2.0.17.bb @@ -13,7 +13,7 @@ PR = "r6" #SRCREV = "06531662f3ef73a0e9878ed5313451d8a6cafbc5" SRCREV = "V${PV}" -SRC_URI = "git://github.com/MultiTechSystems/sx1302_hal.git;protocol=https;branch=master \ +SRC_URI = "https://github.com/MultiTechSystems/sx1302_hal.git;protocol=https;branch=master \ file://reset_lgw.sh \ file://global_conf.json.MTAC_003_0_0.EU868 \ file://global_conf.json.MTAC_003_0_0.US915 \ -- cgit v1.2.3 From e0196978c1999ed18625164168864a8f9dcfc13d Mon Sep 17 00:00:00 2001 From: Harsh Sharma Date: Fri, 8 Apr 2022 10:23:42 -0500 Subject: Updated sx1303 checksum --- recipes-connectivity/lora/lora-gateway-sx1303_2.0.17.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-connectivity/lora/lora-gateway-sx1303_2.0.17.bb b/recipes-connectivity/lora/lora-gateway-sx1303_2.0.17.bb index ba03cea..ec0c81e 100644 --- a/recipes-connectivity/lora/lora-gateway-sx1303_2.0.17.bb +++ b/recipes-connectivity/lora/lora-gateway-sx1303_2.0.17.bb @@ -21,7 +21,7 @@ SRC_URI = "https://github.com/MultiTechSystems/sx1302_hal.git;protocol=https;bra file://global_conf.json.MTCAP3.US915 \ " -SRC_URI[sha256sum] = "48ef8bc6d6496f2c97495bca8891413ca08fea03c9099495d212110dffad8027" +SRC_URI[sha256sum] = "6499b73e97cb3e97fcfc02f4ebeee78cf273ccfec7f2221e2b1b9d1f02e7d408" S = "${WORKDIR}/git" -- cgit v1.2.3 From 5789e247f268a8e100eb600d983a1ef09bfc32da Mon Sep 17 00:00:00 2001 From: John Klug Date: Fri, 8 Apr 2022 10:23:20 -0500 Subject: lora-gateway-sx1303 uses git --- recipes-connectivity/lora/lora-gateway-sx1303_2.0.17.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/recipes-connectivity/lora/lora-gateway-sx1303_2.0.17.bb b/recipes-connectivity/lora/lora-gateway-sx1303_2.0.17.bb index ec0c81e..312eda4 100644 --- a/recipes-connectivity/lora/lora-gateway-sx1303_2.0.17.bb +++ b/recipes-connectivity/lora/lora-gateway-sx1303_2.0.17.bb @@ -10,10 +10,9 @@ RDEPENDS_${PN} += "bash" PR = "r6" -#SRCREV = "06531662f3ef73a0e9878ed5313451d8a6cafbc5" SRCREV = "V${PV}" -SRC_URI = "https://github.com/MultiTechSystems/sx1302_hal.git;protocol=https;branch=master \ +SRC_URI = "git://github.com/MultiTechSystems/sx1302_hal.git;protocol=https;branch=master \ file://reset_lgw.sh \ file://global_conf.json.MTAC_003_0_0.EU868 \ file://global_conf.json.MTAC_003_0_0.US915 \ -- cgit v1.2.3