nmhw-fwupdate: add netmodule firmware updater
nmhw-fwupdate provides a generic way to install or update any given firmware packages (e.g. gnss, lte modem, bootloaders, ...). this package is added to all image types in the netmodule linux reference distro. BugzID: 61471 Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
This commit is contained in:
parent
0ec49d8c46
commit
65ea5940ac
|
|
@ -55,6 +55,7 @@ IMAGE_INSTALL_append = " \
|
|||
${FIRMWARE} \
|
||||
wireless-regdb-static \
|
||||
udev-rules-nmhw \
|
||||
nmhw-fwupdate \
|
||||
"
|
||||
|
||||
IMAGE_INSTALL_append_am335x-nrhw16 = " \
|
||||
|
|
|
|||
|
|
@ -0,0 +1,30 @@
|
|||
SUMMARY = "Generic NetModule Update tool"
|
||||
DESCRIPTION = "Generic NetModule update tool for firmware, bootloaders, etc"
|
||||
AUTHOR = "Alexandre Bard"
|
||||
|
||||
SECTION = "core"
|
||||
LICENSE = "GPLv2+"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
||||
|
||||
SRC_URI = " \
|
||||
git://git.netmodule.intranet/nmos/nm-updater.git;user=gitea;protocol=ssh;user=gitea;protocol=ssh \
|
||||
"
|
||||
SRCREV = "${AUTOREV}"
|
||||
|
||||
S = "${WORKDIR}/git/src"
|
||||
|
||||
FILES_${PN} = " \
|
||||
/lib \
|
||||
/usr \
|
||||
"
|
||||
|
||||
inherit allarch
|
||||
|
||||
do_install () {
|
||||
install -d ${D}/usr/bin
|
||||
install -m 0755 nmhw-fwupdate.sh ${D}/usr/bin/nmhw-fwupdate
|
||||
install -m 0755 list-devices.sh ${D}/usr/bin/list-devices
|
||||
|
||||
install -d ${D}/usr/lib
|
||||
install -m 0755 lib-nmhw/* ${D}/usr/lib/
|
||||
}
|
||||
Loading…
Reference in New Issue