<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-freescale.git, branch fix/duplicated-binaries-for-uuu</title>
<subtitle>Mirror of github.com/Freescale/meta-freescale</subtitle>
<id>https://git.enea.com/cgit/linux/meta-freescale.git/atom?h=fix%2Fduplicated-binaries-for-uuu</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-freescale.git/atom?h=fix%2Fduplicated-binaries-for-uuu'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/'/>
<updated>2023-04-13T21:18:54+00:00</updated>
<entry>
<title>classes/image_populate_mfgtool: fix basehash value change</title>
<updated>2023-04-13T21:18:54+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2023-04-13T21:15:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=cbed368e6bcc7a96edc512a00c5de4813618a513'/>
<id>urn:sha1:cbed368e6bcc7a96edc512a00c5de4813618a513</id>
<content type='text'>
Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>classes/image_populate_mfgtool: avoid error copying duplicated files</title>
<updated>2023-04-13T19:50:02+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2023-04-13T16:29:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=1221046d7ece2f051420b1dfc1f897e088750626'/>
<id>urn:sha1:1221046d7ece2f051420b1dfc1f897e088750626</id>
<content type='text'>
Eventually, multiple `uuu` script may install same binaries. We need to
ensure we install them once, otherwise it'll fail as it might try to
override a existing binary.

This commit ensure all dependencies and binaries are mentioned once,
removing duplication.

Fixes: ae7af6f8 ("classes/image_populate_mfgtool: init")
Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>Merge pull request #1494 from Freescale/fix/issue-1290</title>
<updated>2023-04-13T11:13:37+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2023-04-13T11:13:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=19b3aceb1c8fefc437d291ea595b51f473cca689'/>
<id>urn:sha1:19b3aceb1c8fefc437d291ea595b51f473cca689</id>
<content type='text'>
imx6qdlsabre*: ensure UBOOT_CONFIG setting is always available</content>
</entry>
<entry>
<title>Merge pull request #1493 from Freescale/rework/remove-mfgtool-specific-recipes</title>
<updated>2023-04-13T11:13:16+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2023-04-13T11:13:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=29ec7eaebd34f752d166e8cbcf665da908c9e47c'/>
<id>urn:sha1:29ec7eaebd34f752d166e8cbcf665da908c9e47c</id>
<content type='text'>
linux-*-mfgtool, u-boot-*-mfgtool: Remove specific recipes</content>
</entry>
<entry>
<title>imx6qdlsabre*: ensure UBOOT_CONFIG setting is always available</title>
<updated>2023-04-12T23:43:38+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2023-04-12T23:43:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=06fbf0e23c8f86742ed5000f953bd7a974a061d8'/>
<id>urn:sha1:06fbf0e23c8f86742ed5000f953bd7a974a061d8</id>
<content type='text'>
We cannot tie the UBOOT_CONFIG setting to the U-Boot recipe otherwise if
kernel-fitimage is added in KERNEL_CLASSES, the following build errors
is raised:

,----
| Nothing PROVIDES ‘virtual/kernel’
| ...
| Either UBOOT_MACHINE or UBOOT_CONFIG must be set in the imx6qdlsabresd machine configuration.
`----

kernel-fitimage class inherits uboot-sign which inherits
uboot-config. uboot-config class checks UBOOT_CONFIG and it is not
defined.

The fix is essentially to move the conditional for the variable
assignment instead of using the recipe override.

Fixes: #1290
Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>linux-*-mfgtool, u-boot-*-mfgtool: Remove specific recipes</title>
<updated>2023-04-12T23:09:28+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2023-02-11T20:32:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=88399694f0d4bd8da30b562ba69a6e9d76d5046c'/>
<id>urn:sha1:88399694f0d4bd8da30b562ba69a6e9d76d5046c</id>
<content type='text'>
The use of a specific recipes are not need anymore.

For the U-Boot specific case, the UBOOT_CONFIG mechanism allows multiple
binaries using different configurations so we can remove this recipes
and default to the IMX_DEFAULT_BOOTLOADER as provider.

The Linux specific case is completely unnecessary as the USB gadget is
supported in all versions we support.

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>Merge pull request #1461 from Freescale/topic/inital-mfgtools-support</title>
<updated>2023-04-12T23:00:34+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2023-04-12T23:00:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=56ba9c32d6b3029fb1c2b3fc8ea8778d62f396a8'/>
<id>urn:sha1:56ba9c32d6b3029fb1c2b3fc8ea8778d62f396a8</id>
<content type='text'>
Allow generation of mfgtool bundle</content>
</entry>
<entry>
<title>classes/mfgtool-initramfs-image: remove u-boot-mfgtool dependency</title>
<updated>2023-04-12T20:12:18+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2023-03-22T19:06:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=2db70b26e50beab4b6b05507992f410704fae0d9'/>
<id>urn:sha1:2db70b26e50beab4b6b05507992f410704fae0d9</id>
<content type='text'>
The initramfs image doesn't use the U-Boot binaries so there is no
reason for a dependency on it.

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>classes/image_populate_mfgtool: init</title>
<updated>2023-04-12T20:12:18+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2022-12-14T18:15:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=ae7af6f87782fc0f57fb9f74153465e8a7ea02ea'/>
<id>urn:sha1:ae7af6f87782fc0f57fb9f74153465e8a7ea02ea</id>
<content type='text'>
The class provides the infrastructure for MFGTOOL generation and is tied
to images. To generate the bundle, the task populate_mfgtool must be
called. For example:

,----[ Running populate_mfgtool for core-image-minimal image ]
| $: bitbake core-image-minimal -c populate_mfgtool
`----

The class behavior is controlled through the MFGTOOLCONFIG (analogous to
PACKAGECONFIG) variable. The MFGTOOLCONFIG variable itself specifies a
space-separated list of the script to enable. Following the script, you
can determine the behavior of each script by providing up to two
order-dependent arguments, which are separated by commas. You can omit
any argument you like but must retain the separating commas. The order
is important and specifies the following:

  1. Extra dependencies that should be added to the do_populate_mfgtool
     task, if the script is enabled.
  2. Extra binaries that should be added to the bundle, if the script is
     enabled.

For example:

,----[ Defining foo.uuu.in and bar.uuu script ]
| MFGTOOLCONFIG = "foo.uuu.in bar.uuu"
| MFGTOOLCONFIG[foo.uuu.in] = "dep-foo1:do_deploy dep-foo2:do_deploy,file-foo1"
| MFGTOOLCONFIG[bar.uuu] = "dep-bar1:do_deploy,file-bar1 file-bar2"
`----

The dep-foo1:do_deploy, dep-foo2:do_deploy, and dep-bar1:do_deploy are
added to do_populate_mfgtool dependencies. In addition, file-foo1,
file-bar1, and file-bar2 are copied to the bundle, only if the script is
enabled.

During the mfgtool bundle generation, the uuu.in files are processed and
some variables replaced. The variables are:

  - MACHINE
  - UBOOT_BINARY
  - SPL_BINARY
  - IMAGE_BASENAME

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>uuu-bin: init at 1.4.243</title>
<updated>2023-04-12T20:11:56+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2022-12-14T18:12:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=039b28e30420671fdd932e0a8b6ec355b07cec7c'/>
<id>urn:sha1:039b28e30420671fdd932e0a8b6ec355b07cec7c</id>
<content type='text'>
This recipe uses the pre-built binaries provided by NXP itself so we can
offer Linux, Windows and MacOS binaries. Those binaries are intended for
use in the mfgtool-bundle and not for execution in the host.

We install the binaries in '${libdir}/uuu'.

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
</feed>
