Age | Commit message (Collapse) | Author |
|
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>
|
|
Newer buildhost distributions as Fedora 32 come with GCC10+, which causes:
gcc -isystemtmp/work/lx2160acex7-poky-linux/u-boot-qoriq/2019.10+fslgit-r0/recipe-sysroot-native/usr/include -O2 -pipe -Ltmp/work/lx2160acex7-poky-linux/u-boot-qoriq/2019.10+fslgit-r0/recipe-sysroot-native/usr/lib -Ltmp/work/lx2160acex7-poky-linux/u-boot-qoriq/2019.10+fslgit-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,tmp/work/lx2160acex7-poky-linux/u-boot-qoriq/2019.10+fslgit-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,tmp/work/lx2160acex7-poky-linux/u-boot-qoriq/2019.10+fslgit-r0/recipe-sysroot-native/lib -Wl,-rpath,tmp/work/lx2160acex7-poky-linux/u-boot-qoriq/2019.10+fslgit-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,tmp/work/lx2160acex7-poky-linux/u-boot-qoriq/2019.10+fslgit-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -o scripts/dtc/dtc scripts/dtc/dtc.o scripts/dtc/flattree.o scripts/dtc/fstree.o scripts/dtc/data.o scripts/dtc/livetree.o scripts/dtc/treesource.o scripts/dtc/srcpos.o scripts/dtc/checks.o scripts/dtc/util.o scripts/dtc/dtc-lexer.lex.o scripts/dtc/dtc-parser.tab.o
tmp/hosttools/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x10): multiple definition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [scripts/Makefile.host:106: scripts/dtc/dtc] Error 1
make[2]: *** [tmp/work/lx2160acex7-poky-linux/u-boot-qoriq/2019.10+fslgit-r0/git/scripts/Makefile.build:432: scripts/dtc] Error 2
make[1]: *** [tmp/work/lx2160acex7-poky-linux/u-boot-qoriq/2019.10+fslgit-r0/git/Makefile:528: scripts] Error 2
make[1]: Leaving directory 'tmp/work/lx2160acex7-poky-linux/u-boot-qoriq/2019.10+fslgit-r0/build/mdr_gt_tfa_defconfig
'Backporting' fix from mainline to this failure.
Signed-off-by: Jens Rehsack <sno@netbsd.org>
|
|
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 to commit 1e55b2f9e7 (LSDK-20.04-update-290520), which contains
since LSDK-20.04 (3cd9bc3993):
1e55b2f9e7 lx2160a : Update eMMC boot environment variable
98247c2b65 mmc: fsl_esdhc: workaround for hardware 3.3v IO reliability issue
9cd843a51c mmc: fsl_esdhc: read register once for card inserted status
8ded21cab5 configs: ls1012afrwy: drop env qspi_bootcmd
8911beb6ca armv8: ls1028a: clean up the environment variables
93d1089cbb configs: ls1012afrwy: fix board name
aab85e08a4 configs: ls1046aqds: support distro boot
d78a7f85ec configs: ls2080aqds: support distro boot
8c65af759f configs: ls1088aqds: support distro boot
eae5fa98d3 include/configs: ls1012aqds: add default environment variable
9a9f2f8f34 armv8: ls1028aqds: add some environments
be032ac3b4 configs: ls1028aqds: add lpuart config
bd2c372fdc armv8: ls1028aqds: add lpuart dts support
e8c89a28e7 arm: dts: ls1028a: add lpuart nodes
c4cfcc2a34 board: freescale: ls1028a: mux changes for lpuart
Signed-off-by: Jens Rehsack <sno@netbsd.org>
|
|
Forward rcw to commit e0fab6d (LSDK-20.04-update-290520), which contains:
e0fab6d lx2160a_rev2 : Add proper dividers for flexspi for top platform freq
05975f0 lx2160aqds_rev2: add RCW for 2000_800_2900_13_5_2
Signed-off-by: Jens Rehsack <sno@netbsd.org>
|
|
Bumping SRCREV to fbc036b for tag LSDK-20.04-update-290520, which contains
following changes since 14d03e6 (LSDK-20.04):
fbc036b lx2: ddr: phy: add fip file for 2019.04 firmware
f56e808 lx2: ddr: phy: Add 2019.04 ddr phy binaries
Signed-off-by: Jens Rehsack <sno@netbsd.org>
|
|
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>
|
|
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
|
|
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>
|
|
Instead of default compile stage, which compiles for all built-in boards,
compile those boards which are needed (based on machine configuration).
Since BOARDS is a list either, do not run make for each target board but
handle all of them in one run.
Signed-off-by: Jens Rehsack <sno@netbsd.org>
|
|
With the removal of u-boot-qoriq-fw-utils in
commit d15639a0a27393aa455adae113f4692c27367e89
Author: Otavio Salvador <otavio@ossystems.com.br>
Date: Thu Apr 2 11:19:34 2020 -0300
u-boot-qoriq-fw-utils: Drop recipe as libubootenv works as replacement
u-boot-qoriq-common_2019.10.inc has lost any raison d'ĂȘtre. Move the
content of to u-boot-qoriq-common_2019.10.inc intou-boot-qoriq_2019.10.bb
for easier maintenance.
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>
|
|
Signed-off-by: Simone Agresta <simone.agresta@bticino.it>
|
|
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
|
|
As 'imx' override is now filtered out, we need to whitelist the
'use-mainline-bsp' as a valid one.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Change-Id: I393a43720bc8896d1aadaf1fed059e3102489f25
|
|
Backport patches to fix build failure on powerpc machines:
| /bin/sh: 1: python2: not found
| make[4]: *** [scripts/dtc/pylibfdt/_libfdt.so] Error 127
| make[3]: *** [scripts/dtc/pylibfdt] Error 2
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>
|
|
Main updates:
Common binary support for LX2-Rev1 and LX2-Rev2
LX2160A: PCIe ECAM Support
Inphi: skip error return if all PLLs are not locked
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
|
Now LX2160A rev2 is supported. Install rcw for both rev1 and rev2.
LX2160A rev2 processor fixes some PCIe/qDMA/SATA/USB/FlexCAN issues. A new
Reference Design Board (https://www.nxp.com/part/LX2160A-RDB-B) ships it.
RCW binaries in folder lx2160ardb_rev2 is for the Reference Design Board
with Rev 2 processor. Old boards uses rcw binariess in folder lx2160ardb.
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
|
Improved handling responses on AUX channel to fix failure on some
Dell monitors.
License-Update:
use 'LA_OPT_NXP_Software_License v11 February 2020'
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
|
In imx-boot's Makefile, it downloads a native tool mkimage_uboot and
executes it, but this native tool requires libssl.so.1.1, which is in
${STAGING_LIBDIR_NATIVE}, we need set LD_LIBRARY_PATH to include it, or
it might run into following errors:
| ./mkimage_uboot -E -p 0x3000 -f u-boot.its u-boot.itb
| ./mkimage_uboot: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
|
|
Signed-off-by: Alexandru Palalau <ioan-alexandru.palalau@nxp.com>
|
|
LICENSE should be "Proprieraty", not "NXP-Binary-EULA", otherwise fetch
with fsl-eula-unpack will fail.
Fixes #360
Signed-off-by: Matthias Schiffer <matthias.schiffer@tq-group.com>
|
|
[G1/G2]: Fix H264 conformance test failure caused by changes in latest release
[G1]: Fix memory leak, inlcudes: h264/mpeg2/mpeg4/vc1/rv/avs
[Mpeg4]: Fix DivX3 can't be decoded caused by wrong sscanf string
Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
|
|
Use different name for dpu, pxp, opencl and viv g2d lib
Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
|
|
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
|
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
|
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
|
New changes:
3cd9bc3993 net/dsa: Remove (c) in copyright line
c8c2bb1533 i2c: mxc: fix copyright
024518ee2e configs: ls1021a: Append CMA configuration to bootargs
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
|
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
|
The right u-boot version is 2019.10. LSDK-20.04 is an unified tag for all
qoriq components.
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
|
* Changes to migrate build system to Python 3:
* waf: update to 2.0.12
* waf: use python3
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
|
|
Certain packages are using linux-imx-headers, which enforces them to use
NXP BSP since headers are provided from the NXP kernel tree.
Those recipes, which requires NXP kernel headers, are now including the
use-imx-headers class to make sure the correct headers package is used.
Since the introduction of separation between NXP and Mainline BSP for
certain machines, recipes which are NXP-dependent are getting their
COMPATIBLE_HOST to be marked as (null) effectively making them
incompatible with mainline BSP which is expected behavior.
By extending this restriction into the use-imx-headers class, all
recipes which inherits is (because it is required) are getting
automatically restricted to NXP BSP, hence making package NXP-dependent
much easier.
linux-imx-headers is marked as "NXP-only" but it is done explicitly
inside the recipe in order to avoid confusion of inheriting the class.
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
|
|
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
|
|
Upgrade recipe to pull sources from lf-5.4.y branch.
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
|
|
Update recipe to pull sources from new branch, which is aligned with new
kernel version 5.4.3
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
|
|
Update recipe to pull sources from new branch, which is aligned with new
kernel version 5.4.3
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
|
|
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Upgrade utils for management complex to latest release from NXP (LSDK-20.04)
containing following updates/fixes since last update to LSDK-19.09:
8672a5f add API for MC 10.20.4
f607121 api: add symlink for MC 10.20.2
52a26c3 api: add symlink for MC 10.20.1
117b644 add API for MC 10.20.0
86f3ec4 add API for MC 10.19.0
d2628c1 Set the DPNIs configuration to default state
Signed-off-by: Jens Rehsack <sno@netbsd.org>
|
|
Upgrade reset config word for QorIQ platform to LSDK-20.04 with following
fixes/commits since LSDK-19.09:
* 5689bf9 ls1028a: Increase FSPI clock frequency
* 882217e Update QSPI speed to higher value of order of max at 75MHz
* 153f772 LX2160A-Rev2: Add serdes lane equalization settings ethernet interfaces
* 6d3370b Update NXP Copyright information
* 74b88fb lx2160a_rev2 : Add support for lx2160a Rev2 configuration files
* 0cfa084 ls1043ardb: Update async clock frequency provided to Fman module
* d7a4fbd ls1028a: Add RCW for 899b
* b1d0b6c LS1028a: Add workaround for sata errata A-010554
Signed-off-by: Jens Rehsack <sno@netbsd.org>
|
|
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>
|
|
Since the replacement of u-boot-fw-utils with libubootenv in OE-Core,
U-Boot recipe requires an additional target to be built, which contains
the default environment.
This target has been introduced in U-Boot with version 2019.07 and is
missing in NXP fork of U-Boot source tree, therefore one patch from the
U-Boot source tree is backported in order to introduce a missing build
target.
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
|
|
Update u-boot-qoriq from u-boot-qoriq_2019.09 to u-boot-qoriq_2020.04 since
LSDK-19.09 doesn't support 'make u-boot-initial-env'.
Fixes incompatibility to OE-core commit
4882a93566f2ef24787777d33950f12a9cc5db4e u-boot: Restore valid default environment for running system
Signed-off-by: Jens Rehsack <sno@netbsd.org>
|
|
Now we are using libubootenv and dropped the u-boot-qoriq-fw-utils, we
need to move the configuration file to the main recipe.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Now we are using libubootenv and dropped the u-boot-fslc-fw-utils, we
need to move the configuration file to the main recipe.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
When building an image for a external meta-freescale machine,
e.g. raspberrypi3, and with meta-freescale in bblayer.conf we get:
NOTE: Multiple providers are available for u-boot-mkimage-native
(u-boot-imx-tools-native, u-boot-tools-native) Consider defining
a PREFERRED_PROVIDER entry to match u-boot-mkimage-native
Set COMPATIBLE_MACHINE to reduce visibility only for mx6, mx7 and
mx8 machines.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
|
|
This partially revert commit 4e5c7e0d4959b027698e15565df7d3286e6860fa:
u-boot-fslc: Set build dir only for u-boot recipe
Not setting the build dir in u-boot-fslc-common is breaking the build of
u-boot-fslc-mxsboot.
Instead of unsetting ${B}, set correctly the output and source dir in make
Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
|
|
Splits out the IMX u-boot tools build to it's own recipe. This is
required because these are native tools and thus need to be in a -native
recipe to be properly relocated (instead of being built as part of the
target u-boot-imx recipe). If the tools aren't built in a -native
recipe, then the mkimage tool will contain a hard coded path to the
uninative program loader from the sandbox where it was first built and
this will not get corrected when restored from sstate. The result is
that the mkimage_uboot executable can't run because it's looking for a
hard coded program loader that does not exist, resulting in strange
build errors like:
./mkimage_uboot: Command not found
even though the executable is obviously in the correct location.
Signed-off-by: Joshua Watt <Joshua.Watt@garmin.com>
|