| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Upgrade mcore-demos, jailhouse-imx and imx-mkimage to LF6.6.36_2.1.0
|
| |
| |
| |
| | |
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The fix made in commit 2db7047ba40e
("imx-boot: Fix 8M multi-config build problems")
broke builds not using U-Boot multi-config, as the link created ends up being a
simple recursive link when UBOOT_DTB_NAME_EXTRA is the same as UBOOT_DTB_NAME.
It fails with something like this:
```
| ./../scripts/dtb_check.sh imx8mq-evk.dtb evk.dtb imx8mq-var-dart-dt8mcustomboard.dtb
| Can't find u-boot DTB file, please copy from u-boot
```
caused by a symlink like this:
```
lrwxrwxrwx 1 esben 1000001 35 Oct 29 21:32 imx8mq-var-dart-dt8mcustomboard.dtb -> imx8mq-var-dart-dt8mcustomboard.dtb
```
Fixes: 2db7047ba40e ("imx-boot: Fix 8M multi-config build problems")
Signed-off-by: Esben Haabendal <esben@geanix.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using the UUU-tagged bootloader image directly with UUU can cause UUU
to hang. The bootloader image is split on a certain transmit size, and
the hang occurs if the tag does not fit with the final bytes of the
bootloader image and must be split into a new transmit package.
The UUU tag is needed by UUU only in the SD Card image file itself so
that UUU can find the end of the boot partition.
Rework the design so the default bootloader and the default imx-boot
binaries are not tagged.
Also, extend the UUU tagging to fslc so it can gain the same benefit.
Fixes: https://github.com/Freescale/meta-freescale/pull/1762
Fixes: https://github.com/nxp-imx/mfgtools/issues/416
Co-authored-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
| |
The variable suggests the ability to override when there is no reason
to override.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
| |
- Add i.MX 91 support
- Add missing STMM deploy
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Building in the NXP layer meta-imx with the latest imx-boot recipe, the
dtb is not found during mkimage build:
```
| NOTE: building iMX8MP - TEE=tee.bin-stmm flash_evk_stmm_capsule
| dtc -@ -I dts -O dtb -o signature.dtbo signature.dts
| fdtoverlay -i imx8mp-evk.dtb -o imx8mp-evk.dtb signature.dtbo
| Couldn't open blob from 'imx8mp-evk.dtb': No such file or directory
```
The problem is the recipe does now copy the dtb from u-boot-imx with a
config-adorned name, e.g., imx8mp-evk.dtb-sd, but mkimage is still
expecting imx8mp-evk.dtb.
Add a link for compatibility.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
| |
Signed-off-by: Rogerio Guerra Borin <rogerio.borin@toradex.com>
(cherry picked from commit dc6b22f9151e5487258a22de1aa564f5239c0e1b)
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since commit 5e12dc911d0c541f43aa6d0c046fb87e8b7c1f7e on layer
openembedded-core, the class uboot-sign is supposed to be inherited by
u-boot recipes only, but the imx-boot recipe is currently inheriting
it. With this commit we change this situation by inheriting from
uboot-config instead so it can access relevant variables related to the
U-Boot configuration without inheriting the tasks defined by uboot-sign
which pertain exclusively to u-boot recipes (uboot_generate_rsa_keys,
uboot_assemble_fitimage); this in turn allows us to get rid of the
prepend to uboot_assemble_fitimage which only existed to allow that
extraneous task to succeed.
Nevertheless, the main issue solved by the commit is a conflict that
happens when imx-boot is used together a U-Boot configured not to
generate a boot container, i.e. with UBOOT_PROVIDES_BOOT_CONTAINER="0"
in which case both the U-Boot and the imx-boot recipe would try to
deploy the same files due to to extraneous tasks inherited, leading to
build errors like this:
ERROR: imx-boot-1.0-r0 do_deploy: Recipe imx-boot is trying to install
files into a shared area when those files already exist. The files
and the manifests listing them are:
/workdir/.../deploy/images/colibri-imx8x/u-boot-colibri-imx8x.dtb
(matched in manifest-colibri_imx8x-u-boot-toradex.deploy)
/workdir/.../deploy/images/colibri-imx8x/u-boot.dtb
(matched in manifest-colibri_imx8x-u-boot-toradex.deploy)
...
As part of this change we set variable UBOOT_DTB_BINARY to match the
setting in uboot-sign.bbclass, which duplicates information. This is not
ideal but it should work as that value is unlikely to change. The ideal
solution would likely be setting it in uboot-config.bbclass (provided by
layer openembedded-core); that's left as a future improvement.
Signed-off-by: Rogerio Guerra Borin <rogerio.borin@toradex.com>
(cherry picked from commit 45941f64766cd78f1491f74bf7483de52c43c9c5)
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
| |
Update recipes to NXP BSP version 6.6.23-2.0.0.
This commit introduces the 'imx95' target.
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
|
|
|
|
|
|
| |
The folder iMX9 has been replaced by iMX91 and iMX93.
Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update the package to be aligned with the NXP BSP LF6.6.3-1.0.0.
Relevant changes:
- cbb9937 Autobuild needs to download the OEI for m7 TCM.
- 70baf79 LFU-641: capsule: Fix build break due to bashism
- 6db27a3 Fix nightly for i.MX95.
- 25a110b MLK-26161 Fix comment in pad_image script
- 51310e2 imx95: Add workaroud for kernel container authentication
- 2ec5bc4 imx95: Update V2X dummy address
- 12ac14f MA-21906 iMX95: update TEE address
- b6b8cc3 LF-10796 iMX95: Update ATF address to DDR
- 2b853a5 Add more fcb header files as reference.
- 89f38b5 Add docs on mSel.
- 5940f1d i.MX95: unify oei ddr file name and output warning when there are no any oei images
- 947a90e i.MX95: Fix quick boot fw name and some cleanup
- e9bc2c5 iMX95: add suport to append DDR PHY training data data to DDR OEI
- 089554c Update address for DRAM-based M7 images.
- a0b0cb5 iMX95: Change the flash_lpboot_sm_a55_flexspi target
- 9c19c1c iMX95: Fix the FSPI FCB CRC issue
- 5fe9dcf iMX95: pack tcm oei image to container image to initialize m7 tcm by edma(edma programming through cortex-m33/cortex-a55)
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add UUU_BOOTLOADER_UNTAGGED flag to add the possibility to deploy a
imx-boot binary without the tagged footer
'UUUBURNXXOEUZX7+A-XY5601QQWWZ%sEN' at the end.
The addition of the footer 'UUUBURNXXOEUZX7+A-XY5601QQWWZ%sEN' at the end
causes issues when the binary is loaded into RAM memory, this footer may
cause issues where the binary size exceeds the typical USB package size
used by UUU (1021 bytes).
As example, if the footer is split across two distinct USB packages,
such as sending 'UUUBURNXXXOE' in the last packet and
'UZX7+A-XY5601QQWWZ%sEND' in the next one, it can lead to UUU halting
while waiting for a response in SDPS mode.
After sending 'UUUBURNXXXOE', iMX8MP's boot room starts SPL, not waiting
for the next packet ('UZX7+A-XY5601QQWWZ%sEND'), leading to UUU
breaking.
Therefore, deploy both binaries separately (-tagged and -untagged) to
allow users to choose the appropriate binary.
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Relevant changes:
- c436545 LF-10397 imx8: Fix SCU container file offset issue
- 5c97f59 imx9: Fix flash_singleboot_spinand broken
- c684071 iMX9: Add signature DTS file
- e019f61 imx9: Add System ready relevant targets
- 5c58565 Support MSEL option for MX95 SM.
- d683e41 Add FW header support
- 703bc3c Update LPDDR5 FW to v202306
- cc6c3a4 imx95: Clean up targets in soc.mak and update Readme.imx95
- 3686be1 Add SM target with OEI+SM+M7(TCM)+AP.
- e8d6d79 Update SM targets. Add SM target with M7 image in DDR.
- 2ae36d5 Add SM+M7 target for i.MX9.
- 3b13c36 Replace the OEI image with the prebuilt one
- b41f521 Add SM only target for i.MX9.
- 0eaf132 Introduce LPDDR_FW_PREFIX parameter
- 3b69364 add Readme for i.MX95
- f308051 add temp m33 oei.bin from ROM team
- 94e72ee update for entry and lpboot
- 4fb55b7 imx95: Add targets to include M7 image
- 68e4acb Add support for both OEI entry and destination addresses
- fae7490 Add the target that embed OEI and Synopsys PHY FW
- 17b2a94 Update to support meta data for i.MX9
- b437ce9 add a new target for zebu
- 241701b support M7
- 72439ea support i.MX95 OEI
- 4648479 imx9: enable a55 image when lpboot for i.MX95
- 092a1a9 imx9: make AHAB_IMG could be passed from command line
- 6ef5326 iMX9: use -m33 & a55
- e9bf5c4 mkimage_imx8: add m33 option
- ae6a77f Fix autobuild failure
- 621803d Update Yocto build name to Common [YOCIMX-7230]
- 3fefc2a Add example usage for autobuild
- e439c8e Fix README and SCR permission
- e1acbb6 Extract common logic from autobuild.mak
- e8ed7ad Use common boottools location [YOCIMX-7189]
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
|
|
|
|
|
| |
Reported-by: Joao Marcos Costa <joaomarcos.costa@bootlin.com>
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
| |
Support imx91p and a "translation" rule for mx9.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
|
|
|
|
| |
UBOOT_SIGN_ENABLE is set
|
|
|
|
| |
BOOT_STAGING in compile_mx8 to fix 'Can't find u-boot DTB file, please copy from u-boot' error
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Generate multiple U-boots if env UBOOT_CONFIG contains
multiple configs and support for the case where env
UBOOT_DTB_NAME is defined in the machine's configuration
and has flags for each dtb-file for a specific u-boot configs.
UBOOT_CONFIG = "a b"
UBOOT_DTB_NAME[a] = "a.dtb"
UBOOT_DTB_NAME[b] = "b.dtb"
Skip to create symlink as imx-boot in deploy directory and
print warning about unique wks.in file if env UBOOT_CONFIG
contains multiple configs. This prevents wic-images from
been created that only point on imx-boot.
See PR #1439 and #1642
Signed-off-by: Maxim Paymushkin <maxim.paymushkin@gmail.com>
Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
|
|
|
|
|
|
|
|
|
|
| |
Rework imx-boot and use-imx-security-controller-firmware.bbclass with a
generic SOC revision design implemented in imx-base.inc. This does
replace the machine feature design using `soc-rev*`, but maintains
backwards compatibility by incorporating that design into the default
settings.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Relevant changes:
- 5cfd218 MA-21144 imx8m: fix pad_image script
- 1752a0a imx8ulp: Change to use A2 as default REV
- d523fce imx8m: Add Multiple u-boot DTB support to FIT
- 4981b77 MA-21096 Fix tee.bin can't be compressed as expected on 8ulp/8q.
- ac12242 MA-21092 Adjust print log for compressed tee.bin
Refresh the patch for fixing mkimage_uboot issue for imx8m machines.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Relevant changes:
- d489494 Add SCR file SCR-imx-lib.txt for imx-mkimage
- 9c3eae7 imx93: Add bootaux container for M33
- a9deaa5 MA-20928 Add support for TEE compression
- c015c34 iMX93: support flash XIP boot
- e72c588 iMX8DXL: update default hash algorithm for kernel image to SHA256
- 11fedfb Revert "iMX8DXL: add flash_kernel_sha256 target for sha256 hash alogorithm"
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
|
|
|
|
|
|
| |
It is based on 5.15.71_2.2.0 NXP BSP release.
Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
|
|
|
|
| |
Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br>
|
|
|
|
|
|
| |
It comes from 5.15.52-2.2.0 BSP.
Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Relevant changes:
- 3bfcfcc iMX8DXL: update default hash algorithm for kernel image to SHA256
- 6e44968 Revert "iMX8DXL: add flash_kernel_sha256 target for sha256 hash alogorithm"
- 67ac638 imx8ulp: Update fspi_header_atxp to support GD25LX256E
- 15ac07f Removed default server. Please define in your .bashrc.
- b6a8e30 Change netrc check to a warning.
- 62b49b9 Fix issue when N=latest.
- 0bf9cba Use Nexus for auto build downloads.
- 7913800 imx8ulp: Add new target to pack ROM patch signed image
- bf2924b iMX8DXL: add flash_kernel_sha256 target for sha256 hash alogorithm
- fe3cdb2 iMX8ULP: update README for A1 silicon
- 735945e iMX8M: use name mkeficapsule
- 0d4d3b1 iMX8M: use GUID for mkeficapsule
- ee1d098 iMX8M: add a delete_capsule_key target
- 95d74cd imx8ulp: Update flash_kernel for A1 part
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replace do_compile() with EXTRA_OEMAKE:
- The cd ${S} is redundant
- The clean operation is already done in do_configure()
- The two steps building the bin and mkimage_mx8 are the default
behavior of the top-level Makefile with target mkimage_mx8
Drop redundant cd ${S} in do_install().
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes:
```
37648c8 iMX8ULP: update README for A1 silicon
46c0b5c iMX8M: use name mkeficapsule
809e209 iMX8M: use GUID for mkeficapsule
c2dfe3e iMX8M: add a delete_capsule_key target
3948fde imx8ulp: Update flash_kernel for A1 part
a735d32 Add MX9 autobuild.
96dba6b iMX8M: correct the path of mkimage_uboot
47e6dd4 imx8ulp: Add A1 part image build
bd068a5 iMX8M: add capsule support
57a8eda makefile: compile in the specified directory
fce2236 iMX93: support flash_lpboot and flash_lpboot_flexspi
400f62b imx9: Add DDR PHY FW to boot image
74b2c48 iMX93: support flash_lpboot_no_ahabfw_flexspi image
9826dea iMX93: support m33 in single boot
58b70e2 mkimage: support an optional m4 load addr option
4ee8733 Container: Update sentinel
d6815e4 Container: Add Chinese Algorithm SM3
8acf49b iMX9: Add iMX93 support
dc4b1e2 imx8ulp: Update flash_kernel target loading address
```
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These are needed by do_uboot_assemble_fitimage code after
https://git.openembedded.org/openembedded-core/commit/?id=5e12dc911d0c541f43aa6d0c046fb87e8b7c1f7e
since this code now expects these directories to exist even if
we are not using it
Fixes
run.do_uboot_assemble_fitimage.2153024: line 1
64: cd: /mnt/b/yoe/master/build/tmp/work/imx8qm_var_som-yoe-linux-musl/imx-boot/1.0-r0/git/imx8qm_var_som_defconfig: No such file or
directory
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Drop patches incorporated in the new version:
- 0001-mkimage_fit_atf-fix-fit-generator-node-naming.patch
- 0001-Add-support-for-overriding-BL32-and-BL33-not-only-BL.patch
- 0001-Add-LDFLAGS-to-link-step.patch
- 0001-Add-support-for-overriding-BL31-BL32-and-BL33.patch
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We should have a single definition for `IMX_EXTRA_FIRMWARE` variable as
this is SoC specific and not machine, or recipe, dependent. This removes
multiple assignments from:
- conf/machine/imx8mq-evk.conf
- conf/machine/include/imx8mm-evk.inc
- conf/machine/include/imx8mn-evk.inc
- conf/machine/include/imx8mp-evk.inc
- recipes-bsp/imx-mkimage/imx-boot_1.0.bb
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
| |
When UBOOT_SIGN_ENABLE we want to use the DTB in which mkimage has
added the signature node.
Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Upstream TF-A and downstream TF-A fork uses different deployment
locations for results binaries, which leads to failures during image
build when switching between upstream and downstream versions.
Drop the custom TF-A deployment location, which is only specific to NXP
downstream deployment, allowing the TF-A binaries from upstream and
downstream to be picked up from the same location, namely - image
deployment folder.
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
|
|
|
|
|
|
|
|
| |
22346a3 For iMX8DXL, rename silicon REVISION to REV similar to 8X
a8decee LF-4794 iMX8ULP: move OPTEE OS base address to 0xa6000000
62bfe50 Rename the QM/QX/DXL field return targets
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
| |
From the patch 0001-Add-support-for-overriding-BL32-and-BL33-not-only-BL.patch
an occurrence of tee.bin wasn't replaced by $BL32.
In addition, this patch use $BL31 and $BL32 value, in a displayed line, instead
hardcoded values.
Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
imx-mkimage is compiled with the host gcc, thus if one needs to add
explicit linker flags one should use BULD_LDFLAGS, not the ones
forseen for the cross compiler.
Prevents, on distros with an older gcc (e.g. OpenSuse 15.3 with gcc 7.5.0),
the following error.
| Compiling mkimage_imx8
| gcc -O2 -Wall -std=c99 -I .../imx-boot/1.0-r0/recipe-sysroot-native/usr/include -L .../imx-boot/1.0-r0/recipe-sysroot-native/usr/lib
mkimage_imx8.c -o mkimage_imx8 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=.../imx-boot/1.0-r0=/usr/src/debug/imx-boot/1.0-r0
-fdebug-prefix-map=.../imx-boot/1.0-r0=/usr/src/debug/imx-boot/1.0-r0 -fdebug-prefix-map=.../imx-boot/1.0-r0/recipe-sysroot=
-fdebug-prefix-map=.../imx-boot/1.0-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -lz
| gcc: error: unrecognized command line option ‘-fmacro-prefix-map=.../imx-boot/1.0-r0=/usr/src/debug/imx-boot/1.0-r0’
| make[1]: *** [soc.mak:87: mkimage_imx8] Error 1
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|\
| |
| | |
simplify the use of imx-boot-containers
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Choosing if the boot container FIT image is built with imx-mkimage/
imx-boot or the U-Boot provided binman can be done with the
imx-boot-container MACHINEOVERRIDES.
Change the used overrides from *nxp-bsp to *generic-bsp.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
| |
| |
| |
| |
| |
| | |
When the variable BL31 is empty, BL33 was initialized instead of BL31.
Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
|
|/
|
|
|
|
|
| |
This script gives the address, the offset and the size of binaries have been
stored into U-Boot FIT image that contains TF-A, U-Boot and OP-TEE.
Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The imx8dx-mek machine is similar to imx8qxp-mek and so the mx8qxp override
was included in the MACHINEOVERRIDES hierarchy. This is non-standard, and
the rework of the SOC overrides didn't handle it properly, leading to a
build break:
```
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: 8QX boot binary build
| cp: failed to access '/home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/git/iMX8DX/scfw_tcm.bin': Not a directory
| WARNING: /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636:179 exit 1 from 'cp /home/aquino/src/ossystems/oel-platform/build/tmp/deploy/images/imx8dx-mek/imx-boot$
tools/scfw_tcm.bin /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/git/iMX8DX/scfw_tcm.bin'
| WARNING: Backtrace (BB generated script):
| #1: compile_mx8x, /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636, line 179
| #2: do_compile, /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636, line 151
| #3: main, /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636, line 189
ERROR: Task (/home/aquino/src/ossystems/oel-platform/sources/meta-freescale/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_compile) failed with exit code '1'
```
Fix the problem by removing mx8qxp from the mx8dx hierarchy and adapting
existing mx8qxp overrides appropriately.
Fixes: #1027
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
Append a tag to the bootloader image used in the SD card image. The tag
contains the size of the bootloader image so UUU can easily find the end of
the bootloader in the SD card image.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Includes update to patch 0001-mkimage_fit_atf-fix-fit-generator-node-naming.patch
which is partially applied by 1527fb9.
Fixes in update:
---
7a277c8 LF-4794 iMX8ULP: move OPTEE OS base address to 0xa6000000
9a04474 Update iMX8DXL clean target to remove intermediate files
dfe6265 Fix build warning
c78d727 Fix iMX8DXL ahab container image extraction
9bd94cc LF-4522 Parse and extract the u-boot-atf container
6cf67ed iMX8QM/QX/DXL/ULP: Add core id to -data option
1527fb9 iMX8M: fix FIT DT node unit address
cbf03b6 Fix issue with C0 versus B0 nightly pull for VAL.
7f98709 iMX8M: soc: fix support to override u-boot DTB file name
c9cce4f iMX8ULP: support xip for m33 and add README
----
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
| |
mkimage tool is provided as a part of sysroot and should not be used as
a local copy, since it contains runtime dependencies which local copy
does not account for.
Drop the local copy on mkimage, introduce the patch that fixes mkimage
invocations in build system.
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Following commits are included in this update:
----
1112c88 ("MLK-25706: iMX8M: soc: fix support to override u-boot DTB file name")
5af389c ("iMX8ULP: support xip for m33 and add README")
37faca4 ("MLK-25490 imx8m: Remove unused DDR registers file")
4e241ae ("iMX8M: Support to override u-boot DTB file name")
7e5ff11 ("imx8ulp: Workaround ATXP flash header for dual boot")
394188b ("Support iMX8ULP secure boot")
32bf25f ("imx8ulp: Add flash_dualboot_m33 to generate M33 container")
aa44b32 ("imx8ulp: Move M33 image before AP image for single boot")
ad70dd2 ("imx8qm: cockpit: fix Linux image name in nightly targets")
----
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
The dcd files are apparently not needed and can be dropped.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|