Upgrade uuu to latest release, which introduces support for container
format v2 required on newer SoCs such as i.MX943 and i.MX95 B0.
This version adds support for macOS on ARM. As a result, the former
executable uuu_mac has been renamed to uuu_mac_x86, and a new
uuu_mac_arm binary is provided.
Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
The series [1] changed the way sources are fetched/unpacked and
S needs to follow that. Additionally for git repos it moved away from
having 'git/' as the checkout directory.
This has been partly tested by building weston based image for
imx6/imx6ull/imx7/imx8/imx8mm/imx8mp/imx95 based images.
E.g. none of the recipes specific for qoriq is built time tested.
As walnascar is no longer compatible with master/whinlatter drop
it from LAYERSERIES_COMPAT.
[1] https://lore.kernel.org/openembedded-core/20250616095000.2918921-1-alex.kanavin@gmail.com/
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Bump the uuu revision to the latest tag.
While testing, I found that the the udev rules didn't always kick in
soon enough, so a small patch is needed to also have some retry logic
on linux.
Due to the transition of github.com/NXPMicro/mfgtools to
github.com/nxp-imx/mfgtools, this commit updates the repository links
to ensure future fetches will not break.
The recipe still works because NXPMicro repository became an alias to
nxp-imx.
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Since 1.4.243, uuu includes zstd support. Currently, this dependency is
not specified, and thus if nativesdk-uuu is built, cmake will err during
do_configure reporting that the package is missing.
To fix this, add zstd to DEPENDS.
Signed-off-by: Ken Sloat <ken.s@variscite.com>
This apparently prevents the recipe from actually building for the
most useful variants, native and nativesdk - it's really rare that one
would actually want to run uuu itself _on_ an imx target.
Moreover, we have a test setup where we use Raspberry Pis for power
cycling, exposing the serial console etc. from various boards, so we
do want to build uuu for the BSPs we put on those RPis in order to
automatically test bootstrapping of imx boards.
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 <otavio@ossystems.com.br>
Fetch QorIQ's source code from github.com/nxp-qoriq,
as original source.codeaurora.org/external/qoriq will
stop to access from April 2023.
Signed-off-by: Jun Zhu <junzhu@nxp.com>
The QoriQ SoCs use a different cst tool for secure boot than i.MX SoCs
so we should name it with SoC family prefix to avoid confusion.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Since OE-Core commit 9379f80f48 ("license/insane: Show warning for
obsolete license usage"), LICENSE field not containing SPDX identifiers
are treated with WARNING.
An automated conversion using scripts/contrib/convert-spdx-licenses.py to
convert to use the standard SPDX license identifiers has been done on
the entire layer.
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
This rework the recipes making use of new imx-generic-bsp override; it
has been applied to:
- alsa-state
- firmware-imx
- imx-kobs
- imx-test
- imx-uuc
- linux-fslc
- linux-fslc-lts
- packagegroup-fsl-mfgtool
- u-boot-fslc
- uuu
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Essentially, we extend the overrides to a generic-bsp, nxp-bsp, and
mainline-bsp.
So, for example, the mx8mq override is split into:
- imx-generic-bsp: compatible with every i.MX SoC and both BSP variants
- imx-nxp-bsp: compatible with every i.MX SoC but specific to NXP BSP
- imx-mainline-bsp: compatible with every i.MX SoC but specific to Mainline BSP
- mx8-generic-bsp: compatible with every i.MX8 SoC and both BSP variants
- mx8-nxp-bsp: compatible with every i.MX8 SoC but specific to NXP BSP
- mx8-mainline-bsp: compatible with every i.MX8 SoC but specific to Mainline BSP
- mx8m-generic-bsp: compatible with every i.MX8M SoC and both BSP variants
- mx8m-nxp-bsp: compatible with every i.MX8M SoC but specific to NXP BSP
- mx8m-mainline-bsp: compatible with every i.MX8M SoC but specific to Mainline BSP
- mx8mq-generic-bsp: compatible with every i.MX8MQ SoC and both BSP variants
- mx8mq-nxp-bsp: compatible with every i.MX8MQ SoC8 but specific to NXP BSP
- mx8mq-mainline-bsp: compatible with every i.MX8MQ SoC but specific to Mainline BSP
The extender mechanism is responsible for extending the override list to
include the generic overrides. We can then use the three different
variants to handle the metadata correctly.
Generically speaking, the conversion mainly was automated (with a lot of
back and forth until getting it right).
To convert an existing layer, the following script can be used:
```sh
git ls-files classes recipes-* \
| xargs sed -i \
-e 's,:\(mx[6-8]\w*\),:\1-nxp-bsp,g' \
-e 's,(\(mx[6-8]\w*\)),(\1-nxp-bsp),g' \
-e 's,\(mx[6-8]\w*\)|,\1-nxp-bsp|,g' \
-e 's,|\(mx[6-8]\w*\)),|\1-nxp-bsp),g' \
\
-e 's,:\(mx[5s]\w*\),:\1-generic-bsp,g' \
-e 's,(\(mx[5s]\w*\)),(\1-generic-bsp),g' \
-e 's,\(mx[5s]\w*\)|,\1-generic-bsp|,g' \
-e 's,|\(mx[5s]\w*\)),|\1-generic-bsp),g' \
\
-e 's,:\(vf\w*\),:\1-generic-bsp,g' \
-e 's,:\(vf[56]0\w*\),:\1-generic-bsp,g' \
-e 's,\(vf\w*\)|,\1-generic-bsp|,g' \
-e 's,|\(vf\w*\)),|\1-generic-bsp),g' \
-e 's,\(vf[56]0\w*\)|,\1-generic-bsp|,g' \
-e 's,|\(vf[56]0\w*\)),|\1-generic-bsp),g' \
\
-e 's,:\(imx\) ,:\1-nxp-bsp ,g' \
-e 's,(\(imx\)),(\1-nxp-bsp),g' \
-e 's,\(imx\)|,\1-nxp-bsp|,g' \
-e 's,|\(imx\)),|\1-nxp-bsp),g'
for d in $(find -type d | egrep '/mx[6-8]w*'); do
git mv $d $d-nxp-bsp
done
for d in $(find -type d | egrep '/imx$'); do
git mv $d $d-nxp-bsp
done
for d in $(find -type d | egrep '/mx[5s]w*'); do
git mv $d $d-generic-bsp
done
```
Fixes: #791.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Changelog:
dcc3e3f clarify project license to be GPLv2
ed28469 devregs_imx8mm.dat: add mipi csi regs
2c92a1d scripts: add rough idea of a technical reference parser
05a0313 devregs: add fancy color mode
d713004 devregs: add imx8mm to fixit manual list
Update the license in the recipe now that it has been clarified.
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
qemu-qoriq resues qemu.inc from oe-core. As oe-core had upgraded to 5.2.0 which
switched to meson+ninja, build error appear as qemu-qoriq version is 4.1.0.
Copy a working qemu.inc from gatesgarth branch to not break the build.
Some errors:
| stdout: Applying patch cross.patch
| patching file configure
| Hunk #1 FAILED at 6973.
| Hunk #2 FAILED at 6999.
| 2 out of 2 hunks FAILED -- rejects in file configure
| Patch cross.patch does not apply (enforce with -f)
...
| DEBUG: Executing shell function do_configure
| ERROR: unknown option --with-suffix=qemu-qoriq
Signed-off-by: Ting Liu <ting.liu@nxp.com>
qemu-qoriq reuses poky's qemu.inc which has upgraded to 5.1.
qemu-qoriq is based on 4.1 in which tests/data/acpi/disassemle-aml.sh
does not exist. This leads to do_install_ptest fail.
Override do_install_ptest in qemu-qoriq recipe.
Signed-off-by: Ting Liu <ting.liu@nxp.com>
New commits:
dfe30d3 ls1012a: Corrected '$pfe_fw' in if condition for PFE
8896ae9 ls1012a-rdb/frwy: Move files to correct place.
715934d ls1012a-frwy: Update kernel address in input_uimage_secure
0026632 ls1012a-rdb: Add script for qspi
e76f23d ls1012a-rdb: Add 'input_uimage_secure' for ls1012a-rdb
Signed-off-by: Ting Liu <ting.liu@nxp.com>
Fixes
create_hdr_common.c:42: multiple definition of `file_field'; parse_utils.o:/mnt/b/yoe/master/build/tmp/work/x86_64-linux/cst-native/git-r0/git/common/parse_utils.c:29: first defined here
| collect2: error: ld returned 1 exit status
| make: *** [Makefile:131: create_hdr_isbc] Error 1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Drop the patch stored in this layer, since the PR with the same patch has
been merged upstream.
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Update the package to the latest version available upstream, and
add patch which introduces support for i.MX8M Nano SoC.
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
*update to lsdk 1909 tag
include the following changes:
bfad3c9 - ls1028: ima-evm: Adds bootscripts for enforce mode.
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
gen_keys when cross-built can not execute on build host
so better to depend on native version and call out native gen_keys
binary
Fixes
TOPDIR/build/tmp/work/mips32r2-yoe-linux/cst/git-r0/temp/run.do_install.29171: line 111: ./gen_keys: cannot execute binary file: Exec format error
WARNING: TOPDIR/build/tmp/work/mips32r2-yoe-linux/cst/git-r0/temp/run.do_install.29171:1 exit 126 from './gen_keys 1024'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
It has started to fail now that we have libssh dependency in 4.1 instead
of libssh2 in earlier versions, so this recipe needs to be upgraded to
use 4.1 release as well, but I dont have way to test it out.
Signed-off-by: Khem Raj <raj.khem@gmail.com>