<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-xilinx.git/meta-xilinx-core/classes-recipe/dfx_user_dts.bbclass, branch master</title>
<subtitle>Mirror of git.yoctoproject.org/meta-xilinx.git</subtitle>
<id>https://git.enea.com/cgit/linux/meta-xilinx.git/atom?h=master</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-xilinx.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-xilinx.git/'/>
<updated>2024-11-21T20:47:51+00:00</updated>
<entry>
<title>various: Fix variable usage</title>
<updated>2024-11-21T20:47:51+00:00</updated>
<author>
<name>Mark Hatle</name>
<email>mark.hatle@amd.com</email>
</author>
<published>2024-11-21T20:47:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-xilinx.git/commit/?id=ab07add28ff4c8acf68157de49ff29f59238e4e0'/>
<id>urn:sha1:ab07add28ff4c8acf68157de49ff29f59238e4e0</id>
<content type='text'>
Remove most direct references to WORKDIR.

S = "${WORKDIR}" is no longer allowed, adjust this to refer to UNPACKDIR

${WORKDIR}/package is also incorrect, adjust to ${PKGD}.

Signed-off-by: Mark Hatle &lt;mark.hatle@amd.com&gt;
</content>
</entry>
<entry>
<title>dfx_user_dts: Fix copying fw files if input is absolute path</title>
<updated>2024-10-04T15:02:47+00:00</updated>
<author>
<name>Sandeep Gundlupet Raju</name>
<email>sandeep.gundlupet-raju@amd.com</email>
</author>
<published>2024-10-03T04:17:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-xilinx.git/commit/?id=3a6d1b61b5dde1a7dc658d730b7d0e8bd4d82da8'/>
<id>urn:sha1:3a6d1b61b5dde1a7dc658d730b7d0e8bd4d82da8</id>
<content type='text'>
FW files are not copied to ${nonarch_base_libdir}/firmware/xilinx/${PN}/
if SRC_URI is absolute file path, So fix logic to copy the files to
${nonarch_base_libdir}/firmware/xilinx/${PN} directory.

Signed-off-by: Sandeep Gundlupet Raju &lt;sandeep.gundlupet-raju@amd.com&gt;
Signed-off-by: Mark Hatle &lt;mark.hatle@amd.com&gt;
</content>
</entry>
<entry>
<title>dfx_user_dts.bbclass: Make bit or bin or pdi as required input</title>
<updated>2024-04-04T20:20:05+00:00</updated>
<author>
<name>Sandeep Gundlupet Raju</name>
<email>sandeep.gundlupet-raju@amd.com</email>
</author>
<published>2024-04-03T19:56:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-xilinx.git/commit/?id=c09d6fbc6f6eb486498d81aa1f191b4be4767d7a'/>
<id>urn:sha1:c09d6fbc6f6eb486498d81aa1f191b4be4767d7a</id>
<content type='text'>
1. Make bit or bin or pdi as required input for firmware recipes. If bit
   or bin or pdi of respective soc_family is not included then raise
   bitbake parse skip recipe errors.
2. Check for absolute dtbo/bin/bit path if any of these files exits
   in SRC_URI.
3. Skip recipe if both dtbo and dts/dtsi found in SRC_URI.
4. Fix logic to convert from bit to bin for zynqmp or zynq soc family.

Signed-off-by: Sandeep Gundlupet Raju &lt;sandeep.gundlupet-raju@amd.com&gt;
Signed-off-by: Mark Hatle &lt;mark.hatle@amd.com&gt;
</content>
</entry>
<entry>
<title>dfx_user_dts: Fix build issue if SRC_URI has only one file</title>
<updated>2024-02-09T15:42:33+00:00</updated>
<author>
<name>Sandeep Gundlupet Raju</name>
<email>sandeep.gundlupet-raju@amd.com</email>
</author>
<published>2024-02-07T06:16:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-xilinx.git/commit/?id=a4cb65b56e0262ca236eb613d96973078424de69'/>
<id>urn:sha1:a4cb65b56e0262ca236eb613d96973078424de69</id>
<content type='text'>
1. If SRC_URI has only one file without any space as shown below

SRC_URI = "file://vck190-dfx-static.pdi"

With this it fails to detect input entries. This is due to current
search logic doesn't work unless there is a space after end of file
name or new line for each entry as shown below.

SRC_URI = "file://vck190-dfx-static.pdi "

or

SRC_URI = " \
    file://vck190-dfx-static.pdi \
    "

So rewrite the logic to split the SRC_URI enteries and then
search key w/o the trailing space.

2. Remove get_dt_count function to avoid duplication.
3. Add docs for *_PATH variables.
4. Add warn message when multiple dtbo or bit or bin or pdi file is
   found.
5. Fix DTSI_PATH, BIT_PATH build issue when input files are absolute
   path.

Signed-off-by: Sandeep Gundlupet Raju &lt;sandeep.gundlupet-raju@amd.com&gt;
Signed-off-by: Mark Hatle &lt;mark.hatle@amd.com&gt;
</content>
</entry>
<entry>
<title>dfx_user_dts.bbclass: Fix build issue with bin and dtsi as input</title>
<updated>2024-01-03T17:02:12+00:00</updated>
<author>
<name>Sandeep Gundlupet Raju</name>
<email>sandeep.gundlupet-raju@amd.com</email>
</author>
<published>2023-12-21T20:19:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-xilinx.git/commit/?id=b122d894dfa417c59f6c68c17e31705c0b268dbf'/>
<id>urn:sha1:b122d894dfa417c59f6c68c17e31705c0b268dbf</id>
<content type='text'>
In dfx_user_dts.bbclass fix build issue with bin and dtsi as input file
to firmware recipe. In case of bin file as input bootgen operation is
not performed and directly copy from ${S} directory. Also remove check
condition if dtbo with firmware-name doesn't exist which is not
required in case of bin file as input.

Signed-off-by: Sandeep Gundlupet Raju &lt;sandeep.gundlupet-raju@amd.com&gt;
</content>
</entry>
<entry>
<title>dfx_user_dts.bbclass: Add bit or bin or pdi only packaging</title>
<updated>2023-12-20T22:37:00+00:00</updated>
<author>
<name>Sandeep Gundlupet Raju</name>
<email>sandeep.gundlupet-raju@amd.com</email>
</author>
<published>2023-12-16T05:27:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-xilinx.git/commit/?id=036b989385188ecb202416a7bdce57bbbceb6951'/>
<id>urn:sha1:036b989385188ecb202416a7bdce57bbbceb6951</id>
<content type='text'>
1. Add support for packaging bit or bin or pdi only.
2. Fix logic for bit or bin found by adding space in search key,
   If user has .bit.bin file as input then both .bit and .bin was
   set to trun. In SRC_URI between two files there will be a space.
3. Remove versal soc family check condition and inverse the logic
   with zynq and zynqmp to support next generation silicon devices.
4. Fix UnboundLocalError: local variable 'dts_file' referenced
   before assignment.

Signed-off-by: Sandeep Gundlupet Raju &lt;sandeep.gundlupet-raju@amd.com&gt;
Signed-off-by: Mark Hatle &lt;mark.hatle@amd.com&gt;
</content>
</entry>
<entry>
<title>dfx_user_dts.bbclass: Make bitstream bin as default loadable file</title>
<updated>2023-12-08T17:30:55+00:00</updated>
<author>
<name>Sandeep Gundlupet Raju</name>
<email>sandeep.gundlupet-raju@amd.com</email>
</author>
<published>2023-12-01T16:39:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-xilinx.git/commit/?id=410a0d133485390ef4bd1148bfcd43d5b225fbd8'/>
<id>urn:sha1:410a0d133485390ef4bd1148bfcd43d5b225fbd8</id>
<content type='text'>
Make bitstream bin as default loadable file for Zynq 7000(Full) and
ZynqMP(Full, DFx) dynamic configurations.

Below use case are covered as part this patch.

1. If user provides a .bin file as input to dfx_user_dts bbclass then
   deploy this bin file to lib/firmware directory without any conversion.
2. If user provides a .bit file as input to dfx_user_dts bbclass then
   convert .bit file to .bin file using bootgen tool and deploy this bin
   file to lib/firmware directory.
3. Refactor fpga-manager.bbclass with dfx_user_dts.bbclass.

Signed-off-by: Sandeep Gundlupet Raju &lt;sandeep.gundlupet-raju@amd.com&gt;
Signed-off-by: Mark Hatle &lt;mark.hatle@amd.com&gt;
</content>
</entry>
<entry>
<title>classes: Move classes to match bbclass scope functionality</title>
<updated>2023-12-08T17:30:55+00:00</updated>
<author>
<name>Sandeep Gundlupet Raju</name>
<email>sandeep.gundlupet-raju@amd.com</email>
</author>
<published>2023-12-01T05:07:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-xilinx.git/commit/?id=9b391bbaf9ed0b83a493f20e48594a1c1e3004ce'/>
<id>urn:sha1:9b391bbaf9ed0b83a493f20e48594a1c1e3004ce</id>
<content type='text'>
Move classes to classes-global or classes-recipe as appropriate to
match bbclass scope functionality. Below is the list.

classes-recipe: (inherited by recipes)
    amd_spi_image.bbclass
    dfx_user_dts.bbclass
    image-wic-utils.bbclass
    kernel-simpleimage.bbclass
    qemuboot-xilinx.bbclass
    xilinx-fetch-restricted.bbclass
    xilinx-platform-init.bbclass

classes-global: (inherited globally)
    xilinx-microblaze.bbclass

classes: (usage context is not clearly defined)
    gen-machine-conf.bbclass
    image-types-xilinx-qemu.bbclass
    xilinx-testimage.bbclass
    xilinx-vars.bbclass
    xilinx-deprecated.bbclass

Signed-off-by: Sandeep Gundlupet Raju &lt;sandeep.gundlupet-raju@amd.com&gt;
Signed-off-by: Mark Hatle &lt;mark.hatle@amd.com&gt;
</content>
</entry>
</feed>
