<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-xilinx.git/meta-xilinx-bsp/classes/kernel-simpleimage.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>2022-01-14T23:37:02+00:00</updated>
<entry>
<title>Initial restructure/split of meta-xilinx-bsp</title>
<updated>2022-01-14T23:37:02+00:00</updated>
<author>
<name>Mark Hatle</name>
<email>mark.hatle@xilinx.com</email>
</author>
<published>2021-12-15T21:52:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-xilinx.git/commit/?id=f900c6a0c8908e370689235230094308ec419cf9'/>
<id>urn:sha1:f900c6a0c8908e370689235230094308ec419cf9</id>
<content type='text'>
Create a new meta-xilinx-core, move core functionality to the core, keeping
board specific files in the bsp layer.

zynqmp-generic changed from require &lt;board&gt; to include, so if meta-xilinx-bsp
is not available it will not fail.

Signed-off-by: Mark Hatle &lt;mark.hatle@xilinx.com&gt;
</content>
</entry>
<entry>
<title>Convert to new override syntax</title>
<updated>2021-09-29T05:12:06+00:00</updated>
<author>
<name>Sai Hari Chandana Kalluri</name>
<email>chandana.kalluri@xilinx.com</email>
</author>
<published>2021-09-29T05:12:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-xilinx.git/commit/?id=6921a88182ce51763fcf61273972df99dc2faee5'/>
<id>urn:sha1:6921a88182ce51763fcf61273972df99dc2faee5</id>
<content type='text'>
This is the result of automated script (0.9.0) conversion:

    oe-core/scripts/contrib/convert-overrides.py .

    converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Sai Hari Chandana Kalluri &lt;chandana.kalluri@xilinx.com&gt;
</content>
</entry>
<entry>
<title>kernel-simpleimage.bbclass: Use proper variable to get the kernel image.</title>
<updated>2021-09-28T15:16:51+00:00</updated>
<author>
<name>Ashwini Lomate</name>
<email>ashwini.lomate@xilinx.com</email>
</author>
<published>2021-07-28T16:00:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-xilinx.git/commit/?id=e2c74279e40aadf590cb472194f4a12e93eb68e7'/>
<id>urn:sha1:e2c74279e40aadf590cb472194f4a12e93eb68e7</id>
<content type='text'>
This patch will use proper variable to get kernel image

Signed-off-by: Ashwini Lomate &lt;ashwini.lomate@xilinx.com&gt;
Signed-off-by: Mark Hatle &lt;mark.hatle@xilinx.com&gt;
</content>
</entry>
<entry>
<title>kernel-simpleimage.bbclass: Fix do_prep_simpleimage `[[: not found`</title>
<updated>2019-08-16T00:27:54+00:00</updated>
<author>
<name>Michael Monaghan</name>
<email>michael.l.monaghan@nasa.gov</email>
</author>
<published>2019-07-30T23:43:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-xilinx.git/commit/?id=a0cec9bc3ea52c373a93ddd5d3356927a121f9b4'/>
<id>urn:sha1:a0cec9bc3ea52c373a93ddd5d3356927a121f9b4</id>
<content type='text'>
While developing a custom MicroBlaze machine configuration with
meta-xilinx-bsp, the linux-xlnx recipe would fail when configured to use
the “simpleImage.devicetree-name” kernel image type.

Though the do_prep_simpleimage task does not fail, messages were left in
the log indicating the “[[“ bash extension could not be found.

DEBUG: Executing shell function do_prep_simpleimage
temp/run.do_prep_simpleimage.66740:
[[: not found
DEBUG: Shell function do_prep_simpleimage finished

The two offending lines are in kernel-simpleimage.bbclass. Here's one of
them for reference.

if [[ "${type}" =~ "simpleImage" ]] &amp;&amp; [ ${ARCH} = "microblaze" ]; then

The problem is that “[[“ will return -1 since the extension is not found
and the if statement will simply interpret the error as false causing
the task to continue, even if the image type was "simpleImage"!

Testing was done using the official crops/poky docker image. The
crops/poky system shell was confirmed to include the “[[“ extension
however, it appears that the extension is disabled within the recipe
shell scripts. In addition, "[[" does not appear to be used by any
openembedded-core recipes so I made this patch to convert the two
instances of "[[" to "[". The patch was created for master, but the
problem appears to exist on all branches of meta-xilinx.

Signed-off-by: Michael Monaghan &lt;michael.l.monaghan@nasa.gov&gt;
Signed-off-by: Manjukumar Matha &lt;manjukumar.harthikote-matha@xilinx.com&gt;
</content>
</entry>
<entry>
<title>kernel-simpleimage.bbclass: Deploy simpleImage strip</title>
<updated>2019-06-28T23:03:55+00:00</updated>
<author>
<name>Manjukumar Matha</name>
<email>manjukumar.harthikote-matha@xilinx.com</email>
</author>
<published>2019-04-04T04:41:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-xilinx.git/commit/?id=05729aebcf6efc5ec7ac3a9448e66bf29151575c'/>
<id>urn:sha1:05729aebcf6efc5ec7ac3a9448e66bf29151575c</id>
<content type='text'>
Deploy simpleImage strip file generated during kernel build of
simpleImage elf.

Signed-off-by: Manjukumar Matha &lt;manjukumar.harthikote-matha@xilinx.com&gt;
</content>
</entry>
<entry>
<title>kernel-simpleimage.bbclass: Deploy simpleImage unstrip file</title>
<updated>2019-06-28T23:01:51+00:00</updated>
<author>
<name>Manjukumar Matha</name>
<email>manjukumar.harthikote-matha@xilinx.com</email>
</author>
<published>2019-03-20T01:23:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-xilinx.git/commit/?id=ae8770ac3b74a2805d6bd5b1a30418631e401f9e'/>
<id>urn:sha1:ae8770ac3b74a2805d6bd5b1a30418631e401f9e</id>
<content type='text'>
While using JTAG flow to boot MB machines, you need an elf file.
Deploy simpleImage unstrip file which can be used for JTAG flow

Signed-off-by: Manjukumar Matha &lt;manjukumar.harthikote-matha@xilinx.com&gt;
</content>
</entry>
<entry>
<title>kernel-simpleimage.bbclass: Use dts for simpleImage generation for Microblaze</title>
<updated>2019-06-28T22:55:55+00:00</updated>
<author>
<name>Manjukumar Matha</name>
<email>manjukumar.harthikote-matha@xilinx.com</email>
</author>
<published>2019-03-09T19:07:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-xilinx.git/commit/?id=f1eea49cd2e3ba606db810bcb26b1a9b03e14a88'/>
<id>urn:sha1:f1eea49cd2e3ba606db810bcb26b1a9b03e14a88</id>
<content type='text'>
Use dts for SimpleImage generation for Microblaze. This patch fixes the
issue of not able to boot because dtb was used for SimpleImage
generation.

Signed-off-by: Manjukumar Matha &lt;manjukumar.harthikote-matha@xilinx.com&gt;
</content>
</entry>
<entry>
<title>linux-xlnx.inc: Add support for simpleImage</title>
<updated>2019-01-02T04:03:46+00:00</updated>
<author>
<name>Manjukumar Matha</name>
<email>manjukumar.harthikote-matha@xilinx.com</email>
</author>
<published>2018-11-19T17:40:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-xilinx.git/commit/?id=c767e4b5ef2b91b16767117607feb31191f24df8'/>
<id>urn:sha1:c767e4b5ef2b91b16767117607feb31191f24df8</id>
<content type='text'>
Add a new class to enable build simpleImage.

Signed-off-by: Manjukumar Matha &lt;manjukumar.harthikote-matha@xilinx.com&gt;
</content>
</entry>
</feed>
