meta-nuvoton: npcm7xx-igps: update to 02.01.18
Changelog:
IGPS 02.01.18 - Jul 27th 2023
==============
- BootBlock 10.10.18 Date: 24.07.24
================== ===============
Add support for baud rate setting
supported baud rates 115200, 460800
- Support BAUD Rate configuration (115200, 460800)
- XML: Add baud rate setting to BootblockAndHeader.XML
Default value is 115200.
Signed-off-by: Tim Lee <timlee660101@gmail.com>
Change-Id: I93d6b37fdf1d4662cfe84b11dd73d7aa3d24aaf6
diff --git a/meta-nuvoton/recipes-bsp/images/npcm7xx-bootblock_10.10.18.bb b/meta-nuvoton/recipes-bsp/images/npcm7xx-bootblock_10.10.18.bb
new file mode 100644
index 0000000..f3d1aa2
--- /dev/null
+++ b/meta-nuvoton/recipes-bsp/images/npcm7xx-bootblock_10.10.18.bb
@@ -0,0 +1,26 @@
+SUMMARY = "Primary bootloader for NPCM7XX (Poleg) devices"
+DESCRIPTION = "Primary bootloader for NPCM7XX (Poleg) devices"
+HOMEPAGE = "https://github.com/Nuvoton-Israel/npcm7xx-bootblock"
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+FILENAME = "Poleg_bootblock_${PV}.bin"
+
+S = "${WORKDIR}"
+
+SRCREV = "4fa655f95547b927b0133c8ed96c88c5d14ac7b3"
+SRC_URI = " \
+ https://raw.githubusercontent.com/Nuvoton-Israel/bootblock/${SRCREV}/LICENSE;name=lic \
+ https://github.com/Nuvoton-Israel/bootblock/releases/download/BootBlock_${PV}/Poleg_bootblock_basic.bin;downloadfilename=${FILENAME};name=bin \
+"
+
+SRC_URI[lic.md5sum] = "b234ee4d69f5fce4486a80fdaf4a4263"
+SRC_URI[bin.sha256sum] = "a33f3fe96786929a8f35e986ae76bbd1bf53459770a6ece7d6777dced1d62ddf"
+
+inherit deploy
+
+do_deploy () {
+ install -D -m 644 ${WORKDIR}/${FILENAME} ${DEPLOYDIR}/Poleg_bootblock.bin
+}
+
+addtask deploy before do_build after do_compile