| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move the PACKAGECONFIG block up beside the fetch variables so it
precedes PACKAGE_ARCH (oelint.var.order.PACKAGECONFIG).
Accept two findings inline: PV:append must join without a leading space
to remain a valid version string (oelint.vars.inconspaces false
positive), and the arm-cot/secure consistency check needs a parse-time
anonymous python (oelint.task.noanonpython).
No functional change.
Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
|
| |
|
|
|
|
|
|
| |
Add the missing mandatory SUMMARY and set SECTION in the shared
qoriq-atf-2.12.inc, covering both qoriq-atf and qoriq-atf-tools, and
expand DESCRIPTION so it is more descriptive than the summary.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
| |
|
|
|
|
|
| |
Order DEPENDS alphabetically per oelint.vars.dependsordered. No
functional change.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Where several versioned recipes share an .inc that already carries the
common metadata (SUMMARY/DESCRIPTION/LICENSE), set HOMEPAGE there once
instead of duplicating it in each .bb: imx-secure-enclave, secure-obj,
qoriq-atf, and u-boot-fslc-common. Removes nine duplicate assignments;
oelint-adv still resolves HOMEPAGE for every consumer via the include.
Recipes whose include carries no metadata (imx-mkimage) or is shared by
different upstreams (linux-imx.inc, used by both linux-fslc and
linux-imx) keep HOMEPAGE in the .bb.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
| |
|
|
|
|
|
|
|
|
| |
Add the mandatory HOMEPAGE to recipes whose upstream repository was not a
plain github/gitlab URL in SRC_URI: those using a source variable or an
included .inc (resolved to the real NXP/Freescale repo), and those hosted
elsewhere (denx, SourceForge, dpdk.org, freedesktop, jhauser). Clears the
oelint-adv oelint.var.mandatoryvar.HOMEPAGE error for these recipes.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Align the continuation lines of multi-line variable assignments, as
suggested by oelint-adv's auto-fix for a single rule
(oelint.vars.multilineident), isolated to one commit.
The auto-fix strips the leading space from a value's first line, which
for a ':append' is a required separator; those five recipes had their
leading space restored by hand, so ':append'/':prepend' concatenation
is unchanged. A few multi-line values (e.g. DESCRIPTION) gain internal
whitespace, which is cosmetic and collapses on display.
Build-tested: parsing all 2948 recipes for an i.MX machine reports
0 errors. A residual set (the restored ':append' recipes, whose
separator space oelint cannot reconcile with its indent preference,
plus opencv/dpdk where oelint's own fix does not satisfy its checker)
is left for per-recipe handling.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Convert leading-tab indentation to spaces in shell task bodies across
the layer. Generated mechanically by oelint-adv's auto-fix for a single
rule (oelint.tabs.notabs), isolated to one commit.
Verified safe: every change is leading indentation of shell/BitBake code
(no mid-line tabs, and none of the affected files contain heredocs where
a tab would be significant), so there is no functional change.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove the stray space between an assignment's opening quote and its
line-continuation backslash, and the space before '%' in inline
${@...} expressions. Generated mechanically by oelint-adv's auto-fix
for a single rule (oelint.vars.notneededspace), isolated to one commit.
The affected values are whitespace-separated lists (leading space is
insignificant) and Python format expressions ("%s"% p is equivalent),
so there is no functional change; a re-run of oelint-adv reports the
rule clean.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Remove trailing whitespace across the layer's recipes. Generated
mechanically by oelint-adv's auto-fix for a single rule
(oelint.spaces.lineend), isolated to one commit so the mechanical
change is easy to review and revert.
Pure whitespace removal with no semantic effect; a re-run of
oelint-adv reports the rule clean. No build change expected.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
| |
|
|
|
|
|
|
|
| |
Replace cp with install in do_install paths so installed files get
explicit permissions and satisfy oelint install-task checks.
Tested with: git diff --check.
Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
commit log:
a266ff458 (HEAD -> lf_v2.12, tag: lf-6.12.49-2.2.0, tag: android-16.0.0_1.2.0, origin/lf_v2.12, origin/HEAD) LF-16386 fix(imx93): correct the system resume flow
d6f58c88a LF-15374: imx93: add SIP support for clearing Tamper Interrupt and reading Tamper status
178411e34 (tag: android-16.0.0_1.0.0) MA-24078 android: Enable ele based RNG
6adc4c6f6 (tag: lf-6.12.34-2.1.0) Add SBOM.spdx.json file
8c534ca40 LF-16101 fix(imx95): Fix build error
15c5f30bc LF-16094 fix(psci): validate the cpu mpidr
08de0ffce Add sourcegraph ignore file
113cb40c4 LF-15964 imx94: Remove release XSPI GMID from ATF initialization
a99aace97 LF-15882 fix(imx93): update the refresh rate setting when dyn_ref disabled
cb45a6082 LF-15879 fix(imx8qm): check if the cluster id is valid
317dc2bd9 LF-15924 fix(imx9): update the pin number of gpio4
dfebef23f LF-15831-2 imx94: Add IMX_CRRM config to support CRRM feature
5abb84bcd LF-15831-1 imx94_psci: Add full system reset support
d9bf10687 Pull request #100: imx93: trdc: Fix header guard
122e3db81 fix(imx93): update the ddr mrs operation flow
d3c9b11bb Add nxp copyright and license
3f7ffc6c5 LF-14665-1 imx8x: Fix build break for imx8dx
3accb0ae1 LF-14665 imx8x: Enable irqsteer power state based on wakeup interrupts.
e194a14ec imx93: trdc: Fix header guard
Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
|
| |
|
|
| |
Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
|
| |
|
|
|
|
| |
Update from LF6.12.20-2.0.0
Signed-off-by: Zelan Zou <zelan.zou@nxp.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>
|
| |
|
|
|
|
| |
Fix some more whitspace warnings.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
| |
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
| |
mbedtls is included in SCR_URI into fetched source code tree.
Signed-off-by: Jun Zhu <junzhu@nxp.com>
|
| |
|
|
| |
Signed-off-by: Jun Zhu <junzhu@nxp.com>
|
| |
|
|
|
|
|
|
| |
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>
|
| |
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
|
| |
It is already internally provided by the recipe, so
don't need to depends on a external provider.
Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
|
| |
|
|
|
|
|
|
| |
this is undefined behaviour, mant times devs used them together to get
the missing space at the beginning of string which append/prepend needs
but thats not intended behaviour
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Due to https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git
it is required to use https protocol for github repo accessing.
Update created with oe-core/scripts/contrib/convert-srcuri.py (see [0])
Fixes:
WARNING: /work/meta-freescale/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2021.07.bb: URL: git://github.com/Freescale/u-boot-fslc.git;branch=2021.07+fslc uses git protocol which is no longer supported by github. Please change to ;protocol=https in the url.
[0] - https://git.openembedded.org/openembedded-core/tree/scripts/contrib/convert-srcuri.py
Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
|
| |
|
|
| |
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix array-bounds build error:
common/runtime_svc.c: In function 'handle_runtime_svc':
common/runtime_svc.c:55:28: error: array subscript 'rt_svc_desc_t {aka const struct rt_svc_desc}[0]' is partly outside array bounds of 'uintptr_t[1]' {aka 'long unsigned int[1]'} [-Werror=array-bounds]
55 | return rt_svc_descs[index].handle(smc_fid, x1, x2, x3, x4, cookie,
| ~~~~~~~~~~~~^~~~~~~
In file included from common/runtime_svc.c:10:
include/common/runtime_svc.h:125:18: note: while referencing '__RT_SVC_DESCS_START__'
125 | extern uintptr_t __RT_SVC_DESCS_START__;
| ^~~~~~~~~~~~~~~~~~~~~~
CC lib/el3_runtime/aarch64/context_mgmt.c
cc1: all warnings being treated as errors
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
| |
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
| |
It will help other boards with same soc to reuse setting.
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
| |
|
|
|
|
|
|
|
| |
New commits:
5ae5233c0 nxp: ls2048a: fix system wake hang
f94d42a08 nxp: csf_hdr_parser: initialize rotpk_hash_table
848f99319 plat: nxp: Add SMC call service to disable specific IPs
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
| |
|
|
| |
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
| |
|
|
|
|
| |
Only lx2160a and lx2162a are supported currently.
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
| |
|
|
|
|
| |
Use atf-2.3.inc to hold common parts for atf and atf-tools.
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
New commits:
9225ad51f Merge pull request #177
bb806100c plat: nxp: fsl_sec: increase job ring size to 128
ac2cd43e6 plat: nxp: ls1048a: fix swlpm20 hang
dae1e7dfe plat: nxp: ls1088a: fix erratum A-010194 about LPM20
b07d81a79 ls1046a: remove workaround for QSPI issue during lpm20
1d600fa0a plat: nxp: ls1088a: fix erratum A-011127 about LPM20
27bb34591 drivers/nxp/ddr: Enable workaround for Erratum A050450
06fcfdadf plat/nxp/fsl_sec: Mask job ring interrupts in POLLING mode for LPM20 state
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
| |
|
|
|
|
|
|
|
| |
LSDK 20.12 supports two atf versions: 1.5 and 2.3. Rename atf_git.bb to
atf_1.5.bb which supports all layerscape arm64 machines.
set PV to "1.5+git${SRCPV}". No code change.
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
| |
|
|
|
|
| |
using append and += together is undefined behavior in bitbake
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
0001-fix-fiptool-build-error.patch fixes below issue:
| gcc fiptool.o tbbr_config.o -o fiptool -lcrypto
| /opt/ci/yocto/dunfell/bld-lx2160ardb/tmp/hosttools/ld: cannot find -lcrypto
| collect2: error: ld returned 1 exit status
| Makefile:39: recipe for target 'fiptool' failed
| make[1]: *** [fiptool] Error 1
The issue was fixed in atf_git.bb in below commit from meta-freescale:
commit: fa4994b2d8da73fd3ae30875b3af8d7a682cdd53
author: Daniel Klauer <daniel.klauer@gin.de>
atf: Fix builds of native tools during build process
0001-Makefile-add-CC-gcc.patch fixes below issue:
| byte_swap.c:9:10: fatal error: stdio.h: No such file or directory
| 9 | #include <stdio.h>
| | ^~~~~~~~~
| compilation terminated.
| create_pbl.c:10:10: fatal error: stdio.h: No such file or directory
| 10 | #include <stdio.h>
| | ^~~~~~~~~
| compilation terminated.
The issue was fixed in atf source code:
commit: 9aae9712ec09ddeae528a1896247e5c432a6a19f
author: Biwen Li <biwen.li@nxp.com>
plat/nxp/tools: fix a makefiles bug that will use default implicit rules
build and test have no problem without them.
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Generally, rcw are deployed to ${DEPLOY_DIR_IMAGE}/rcw/${MACHINE}/.
But there are some machines that don't follow this rule. For example,
lx2160ardb deployed RCW in folder lx2160ardb_rev2 for boards with
Rev2 processor, but folder lx2160ardb for boards with Rev1 processor.
As there are only difference on RCW for them, use variable RCW_FOLDER
to allow selecting rcw folder for building atf targets. For exmaple,
to build atf which supports lx2160ardb with Rev2 processor:
RCW_FOLDER_lx2160ardb = "lx2160ardb_rev2"
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Forward atf and atf-tools to commit 7d748e6f0, which contains since LSDK-20.04:
7d748e6f0 Enable debug print for DDR phy register read write
6af93c00b Merge pull request #106 in GITAM/atf from ~NXA27427/atf:jira/platsec-1135 to LSDK
e15b57995 drivers/nxp/ddr: Fix the address decoding for 1 rank.
f12307a97 ddr: phy_gen2: Enable FFE for rev1 SI
9d3807137 ddr:fix phy debug messages for 2019.04 fw
4c00f9eb2 ddr: phy-gen2: Enable High-Effort WrDQ1D
b0ea56902 ddr: phy-gen2: pll related optimisation
0b895382a ddr: phy-gen2: Enable quickRd2D
9b6676c5a ddr: phy-gen2: improve signal integrity during writes
8d6e26d87 ddr: phy-gen2: dfi optimisation
cd77da485 Fixing memclk calculation
f0245c7ff drivers: ddr: phy-gen2: update DDR PHY firmware to v2019.04
1f29f30e6 Merge pull request #95 in GITAM/atf from ~NXA07556/atf:LSDK to LSDK
60aabf01e armv8: Add workaround for ARM 2PRF memory
77284b357 LS1046A: Remove workaround for SEC when going into LPM20 state
Signed-off-by: Jens Rehsack <sno@netbsd.org>
|
| |
|
|
|
|
|
|
| |
QorIQ platforms have to choose the boot device in rcw. Solid-Run created
an RCW snippet which is able to detect the boot device by checking all
and use first available.
Signed-off-by: Jens Rehsack <sno@netbsd.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When optee enabled in DISTRO_FEATURES, optee-os-qoriq is added as
DEPENDS, and atf tries to find optee binary under ${DEPLOY_DIR_IMAGE}.
This has issue when do_deploy task of optee-os-qoriq does not run
before atf's do_compile.
Switch to find optee binary under ${RECIPE_SYSROOT} instead of
${DEPLOY_DIR_IMAGE}.
Steps to reproduce the issue:
$ echo 'DISTRO_FEATURES_append = " optee"' >>conf/local.conf
$ bitbake -c cleansstate atf optee-os-qoriq
$ bitbake -c install optee-os-qoriq
$ bitbake -c compile atf
| Building lx2160ardb
| Makefile:633: *** 'BL32=.../tmp/deploy/images/lx2160ardb/optee/tee_lx2160ardb.bin'
| was specified, but '.../tmp/deploy/images/lx2160ardb/optee/tee_lx2160ardb.bin'
| does not exist. Stop.
| make: *** Waiting for unfinished jobs....
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Use variable PLATFORM_ADDITIONAL_TARGET to allow define machine
dependent atf targets. This avoids checking ${MACHINE} in shell
script, and allows define additional build target using overrides.
For exmaple:
PLATFORM_ADDITIONAL_TARGET ??= ""
PLATFORM_ADDITIONAL_TARGET_ls1012afrwy = "ls1012afrwy_512mb"
PLATFORM_ADDITIONAL_TARGET_xxx = "yyy" # for other board
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Upgrade NXP reference implementation of Trusted Firmware-A from NXP to
to latest release from NXP (LSDK-20.04):
* Merge pull request #67 in GITAM/atf from ~NXF32311/atf_nxf32311:jira/QLINUX-13542-asleep-does-not-assert-while-ls1046a-going-into-low-power-mode to LSDK
|\
| * c73cd5a74 LS1046A: Fix ASLEEP did not assert when sleep
* | 392a6c75d lx2160a: timer: Configure CNTFRQ register of CNTCTLBase
|/
* 524d1e920 plat: nxp: ota: Update the calling for esdhc_emmc_init
* e8aa4b69b nxp/emmc: Remove card detection logic for SDHC2 controller
Signed-off-by: Jens Rehsack <sno@netbsd.org>
|
| |
|
|
|
|
| |
Upgrade ATF to latest release from NXP.
Signed-off-by: Jens Rehsack <sno@NetBSD.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*update to lsdk 1909 tag
include the following changes:
85e98b9 - nxp: errata: Enable workaround for Erratum A010539 with POLICY_OTA
8882a80 - ddr: phy: phy-gen2: optmial PHY settings
07d897c - plat: nxp: Add OTA support for Secure Boot
9fde61d - nand: fix for bad block management while nand read
c4cbfcd - plat: nxp: ls1028a: Fix RDB reset issue durwing lpm20 exit
3502a08 - plat/nxp/nand: Add missing ONFI Device flag
7497445 - plat: nxp: ls1012afrwy_512mb: Add NXP_SD_BLOCK_BUF_SIZE definition
7f9026a - plat: nxp: ota: show OTA status clearly
ccc6620 - LPM-20 support on ls1028ardb.
fb76032 - moved the PMU Core & cluster mask from lsch3.h
15f9e0e - plat: nxp: Add OTA support with POLICY_OTA option
51c6363 - nxp: drivers: wdt: Add SP805 Watchdog support
3776f41 - nxp: drivers: wdt: Add Watchdog support
761ece9 - plat: nxp: soc-ls1012: Add NXP_SD_BLOCK_BUF_SIZE definition
e77ebd1 - nxp/sd: Add write support for eSDHC
7132834 - plat/lx2: Add support for correct CCN configuration for LX2120
411ed2b - plat/lx2: Correct RNF node to cluster mapping
*Add OTA support
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
|
| |
|
|
| |
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
|
| |
|
|
|
|
|
| |
COMPATIBLE_MACHINE is set two times to the same value, remove the second
occurrence as it is useless.
Signed-off-by: Alban Bedel <alban.bedel@aerq.com>
|
| |
|
|
|
|
|
| |
The ARM Trusted Firmware is machine specific but the package is not set as
such. Set the package architecture to ${MACHINE_ARCH} to fix this.
Signed-off-by: Alban Bedel <alban.bedel@aerq.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
atf builds some native tools such as fiptool during its build process,
this should use Yocto's native toolchain options instead of just the
host's.
This way the fiptool build will actually use the openssl-native dependency
from Yocto's native sysroot, instead of the host's openssl (which may not
exist).
Signed-off-by: Daniel Klauer <daniel.klauer@gin.de>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Previously, ddr-phy built native fiptool during its own build process,
but without using Yocto's native toolchain settings. This results in
unexpected host dependencies. For example, fiptool depends on openssl,
which may or may not be installed on the host.
So now fiptool is built in a separate recipe (atf-tools-native) which can
easily depend on openssl.
Signed-off-by: Daniel Klauer <daniel.klauer@gin.de>
|
| |
|
|
|
|
|
|
|
| |
Use the new optee machine feature to only enable it when it is supported
by the machine and the distro. We use a package config switch to only
add the dependency when it is needed. This prevent a build failure on
machines that don't support optee.
Signed-off-by: Alban Bedel <alban.bedel@aerq.com>
|