Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flashprog flasher #92

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from
27 changes: 27 additions & 0 deletions recipes-devtools/flashprog-flasher/flashprog-flasher_1.3.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
SUMMARY = "Utility for detecting, reading, writing, verifying and erasing flash chips."
HOMEPAGE = "https://flashprog.org/wiki/Flashprog"
SECTION = "devel"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"

DEPENDS = "libusb pciutils libftdi libgpiod"

PV = "1.0+${SRCPV}"
SRC_URI = "git://github.com/SourceArcade/flashprog.git;protocol=https;branch=1.3.x"
SRCREV = "9fc7d7bffa587b1ef82d313e4a098f5afe0a17da"

# Disable JLINK since it is not needed right now.
# To add it we need to port https://github.com/syntacore/libjaylink to Yocto first.
EXTRA_OEMAKE = "CONFIG_JLINK_SPI=no"

S = "${WORKDIR}/git"

do_install () {
oe_runmake DESTDIR=${D} PREFIX=/usr install
}

FILES:${PN} += " \
${datadir}/FlashProg \
"

inherit pkgconfig
1 change: 1 addition & 0 deletions recipes-extended/packagegroups/packagegroup-rte.bb
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ RDEPENDS:packagegroup-rte-stm = " \
RDEPENDS:packagegroup-rte-coreboot = " \
flashrom \
dediprog-flasher \
flashprog-flasher \
ifdtool \
cbfstool \
"