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>
*include the following changes:
79df057 - vfio/fsl-mc: Check command version on dprc and dpmcp cmdif
475d962 - vfio/fsl-mc: Add support for DPRC command version-2
271b7fa - vfio/fsl-mc: Add interface for device region range
23f6ed8 - vfio/fsl-mc: Setup address space for QBman CE-SH region
89add80 - vfio/fsl-mc: Fix mc-command version check
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
*update to lsdk 1906 tag
include the following changes:
e04690b - scripts/platform: LS1028A: Removes signing of PPA image
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Following changes are included:
29fa8ab imx_usb: use device found by find_imx_device
abe7f5d add support for relocatable installs
3d36c83 Fixed build for Visual Studio 2015 Express.
fe50624 imx_usb.config: add mx8mm_usb_sdp_spl.conf/mx8mm_usb_work.conf lines
f7752f4 mx8mq_usb_work.conf: use bl31-iMX8MQ-2g.bin to match branch boundary-imx_4.9.123_imx8mm_ga of imx-mkimage
8c9eee7 add mx8mm config files
4aa9809 imx_uart: fix type on help
95fe112 imx_usb: fix type on imx_usb help
eed0280 portable: use __builtin_bswap16 for BE16 if >= 4.8 GNUC
e99a093 portable: fix typo s/&&/&/ in BE16 fix
f000130 mx6ull_usb_work.conf: fix copy/paste error in comment
1041959 correct commit "portable.h: fix build with gcc older than 4.8"
bf25425 add mx6ull_usb_work.conf
9a88413 portable.h: fix build with gcc older than 4.8
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
*Update to lsdk 1903 tag
include the following changes:
798304e - libvhost-user: replace vasprintf() to fix build
28930fe - kvm: workaround build break on gcc-7.1.1 / fedora26
e1037e1 - arm/translate-a64: mark path as unreachable to eliminate warning
3bfe2f3 - build-sys: compile with -Og or -O1 when --enable-debug
a5bb74e - exynos4210: workaround UBSAN compilation error
587b286 - dump: Fix build with newer gcc
a6fc8a7 - atomic.h: Work around gcc spurious "unused value" warning
aa62683 - slirp/smb: Replace constant strings by glib string
000e1d7 - usb: Fix build with newer gcc
a58c405 - blkverify: Catch bs->exact_filename overflow
03a56f1 - blkdebug: Catch bs->exact_filename overflow
35c4866 - memfd: fix configure test
8ed0f37 - vfio fsl-mc: Expose DPIO cacheable region as cacheable
9ee40f5 - fsl-mc: mc-bus device fdt node creation
72c76f2 - fsl-mc: Add APIs to provide root mc-portal region
3d9ed87 - fsl-mc: Add API to provide mc-portals region
bee0442 - vfio fsl-mc: Configure and setup irqfd
cd232f7 - vfio fsl-mc: Enable DPMCP emulation
10c4b8b - vfio fsl-mc: Add support to close dpmcp command interface
80fe8bb - vfio fsl-mc: Support non dprc/dpmcp command interface on dpmcp
069f397 - vfio fsl-mc: Add support for dprc command interface on dpmcp
b735296 - vfio fsl-mc: Add support to open dpmcp command interface
14a0c80 - vfio fsl-mc: forward non-emulated mc commands to VFIO
de59bcc - vfio fsl-mc: Add support of get_obj_irq mc commands
ae864b2 - vfio fsl-mc: Add support of set obj_irq mc commands
8119f86 - vfio fsl-mc: Add support of get_irq mc commands
00a9a3f - vfio fsl-mc: Add support of set_irq mc commands
fea28c6 - vfio fsl-mc: Add support of get_obj_region command
09dcb70 - vfio-fsl-mc: Add support of dprc get-attr command
ce6028c - vfio-fsl-mc: Add support of dprc open/close command
2164354 - vfio-fsl-mc: Add framework for handling mc-portal commands
*depends glib-2.0 zlib pixman dtc
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>