Hi David...
> On Mar 23, 2020, at 04:17, David Marec <[email protected]> wrote:
>
> That's the point: I do not find any bootgen recipes neither into the
> meta-xilinx (warrior/thud/sumo releases) nor into meta-xilinx-tools …
Are you on master or rel-v2019.2? Or maybe you made a bad merge?
See, from inside meta-xilinx repo/dir:
~/myproject/meta-xilinx$ (2019.2)$ git blame
meta-xilinx-bsp/recipes-bsp/bootgen/bootgen_1.0.bb
2eebacfc (Jaewon Lee 2019-08-14 16:59:10 -0700 1) SUMMARY = "Building
and installing bootgen"
2eebacfc (Jaewon Lee 2019-08-14 16:59:10 -0700 2) DESCRIPTION =
"Building and installing bootgen, a Xilinx tool that lets you stitch binary
files together and generate device boot images"
2eebacfc (Jaewon Lee 2019-08-14 16:59:10 -0700 3)
2eebacfc (Jaewon Lee 2019-08-14 16:59:10 -0700 4) LICENSE = "Apache-2.0"
8dca3b5d (Manjukumar Matha 2019-10-22 22:25:10 -0700 5) LIC_FILES_CHKSUM =
"file://LICENSE;md5=c979df673927004a489691fc457facff"
2eebacfc (Jaewon Lee 2019-08-14 16:59:10 -0700 6)
2eebacfc (Jaewon Lee 2019-08-14 16:59:10 -0700 7) S = "${WORKDIR}/git"
2eebacfc (Jaewon Lee 2019-08-14 16:59:10 -0700 8)
2eebacfc (Jaewon Lee 2019-08-14 16:59:10 -0700 9) DEPENDS += "openssl"
2eebacfc (Jaewon Lee 2019-08-14 16:59:10 -0700 10) RDEPENDS_${PN} +=
"openssl"
2eebacfc (Jaewon Lee 2019-08-14 16:59:10 -0700 11)
7eb28e92 (Jaewon Lee 2019-09-03 11:10:23 -0700 12) REPO ?=
"git://github.com/Xilinx/bootgen.git;protocol=https"
7eb28e92 (Jaewon Lee 2019-09-03 11:10:23 -0700 13) BRANCH ?= "master"
8dca3b5d (Manjukumar Matha 2019-10-22 22:25:10 -0700 14) SRCREV ?=
"f9f477adf243fa40bc8c7316a7aac37a0efd426d"
2eebacfc (Jaewon Lee 2019-08-14 16:59:10 -0700 15)
2eebacfc (Jaewon Lee 2019-08-14 16:59:10 -0700 16) BRANCHARG =
"${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
2eebacfc (Jaewon Lee 2019-08-14 16:59:10 -0700 17) SRC_URI =
"${REPO};${BRANCHARG}"
2eebacfc (Jaewon Lee 2019-08-14 16:59:10 -0700 18)
2eebacfc (Jaewon Lee 2019-08-14 16:59:10 -0700 19) EXTRA_OEMAKE +=
'CROSS_COMPILER="${CXX}" -C ${S}'
c8404058 (Jaewon Lee 2019-08-29 09:42:16 -0700 20) CXXFLAGS_append = "
-std=c++0x"
2eebacfc (Jaewon Lee 2019-08-14 16:59:10 -0700 21)
2eebacfc (Jaewon Lee 2019-08-14 16:59:10 -0700 22) TARGET_CC_ARCH +=
"${LDFLAGS}"
2eebacfc (Jaewon Lee 2019-08-14 16:59:10 -0700 23)
2eebacfc (Jaewon Lee 2019-08-14 16:59:10 -0700 24) do_install() {
2eebacfc (Jaewon Lee 2019-08-14 16:59:10 -0700 25) install -d
${D}${bindir}
2eebacfc (Jaewon Lee 2019-08-14 16:59:10 -0700 26) install -Dm 0755
${S}/bootgen ${D}${bindir}
2eebacfc (Jaewon Lee 2019-08-14 16:59:10 -0700 27) }
2eebacfc (Jaewon Lee 2019-08-14 16:59:10 -0700 28)
2eebacfc (Jaewon Lee 2019-08-14 16:59:10 -0700 29) FILES_${PN} =
"${bindir}/bootgen"
2eebacfc (Jaewon Lee 2019-08-14 16:59:10 -0700 30)
2eebacfc (Jaewon Lee 2019-08-14 16:59:10 -0700 31) BBCLASSEXTEND =
"native nativesdk"
~/myproject/meta-xilinx$ (2019.2)$ git log --oneline origin/rel-v2019.2 | grep
8dca3b5
8dca3b5 bootgen_1.0.bb: Update the license file of bootgen
~/myproject/meta-xilinx$ (2019.2)$ git log --oneline origin/rel-v2019.2 | grep
2eebacf
2eebacf bootgen_1.0.bb: Adding initial bootgen recipe to build bootgen
https://github.com/Xilinx/meta-xilinx/blob/rel-v2019.2/meta-xilinx-bsp/recipes-bsp/bootgen/bootgen_1.0.bb
It is absent from master indeed. If I remember correctly, there are 2
development "trains" in meta-xilinx. The meta-xilinx master branch follows the
open-source (or OSL?) workflow, in which bootgen would be part of u-boot. There
you would use u-boot's SPL in lieu of FSBL, and a simpler implementation (less
features) of bootgen exists. The meta-xilinx rel-20xx.y branches follow the
regular Vivado/meta-xilinx-tools/petalinux workflow. Then bootgen is part of
meta-xilinx.
We use a manual hybrid where we do use meta-xilinx-tools, but not petalinux.
To reduce confusion, it might have been a good idea to put bootgen.bb in
meta-xilinx-tools but there may be a reason why Xilinx didn't.
Hope this helps.-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#4682):
https://lists.yoctoproject.org/g/meta-xilinx/message/4682
Mute This Topic: https://lists.yoctoproject.org/mt/72046244/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-