Age | Commit message (Collapse) | Author |
|
Drop obsolete environment variables fdt_addr, finduuid, mmcargs, mmcdev,
mmcpart and panel.
Upstream-Status: Submitted [https://lore.kernel.org/all/20221212000930.45505-15-marcel@ziswiler.com/]
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Introduce setup setting setupargs and move earlycon there.
Upstream-Status: Submitted [https://lore.kernel.org/all/20221212000930.45505-14-marcel@ziswiler.com/]
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Remove obsolete net USB start.
While at it also add a comment about enabling distro-boot.
Upstream-Status: Submitted [https://lore.kernel.org/all/20221212000930.45505-13-marcel@ziswiler.com/]
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Remove obsolete SDHC related config defines. Nowadays, all SDHC related
hardware configuration comes from the device tree.
Upstream-Status: Submitted [https://lore.kernel.org/all/20221212000930.45505-12-marcel@ziswiler.com/]
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Update SPDX license identifier string.
While at it also update copyright period.
Upstream-Status: Submitted [https://lore.kernel.org/all/20221212000930.45505-11-marcel@ziswiler.com/]
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Enable optional environment bootcount limit functionality.
Upstream-Status: Submitted [https://lore.kernel.org/all/20221212000930.45505-10-marcel@ziswiler.com/]
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
The distroboot script system scans boot_scripts variable and
try to find and use to boot each script name mentioned there.
Setting global variable "script" breaks this general mechanism
of searching and running a distro boot script.
Remove global variables "script" to fix working the general
distro boot script mechanism.
Upstream-Status: Submitted [https://lore.kernel.org/all/20221212000930.45505-9-marcel@ziswiler.com/]
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
There is no "apply" command enabled for "fdt".
Enable "apply" command to allow overlays to be applied.
Upstream-Status: Submitted [https://lore.kernel.org/all/20221212000930.45505-8-marcel@ziswiler.com/]
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Set the boot delay to one second.
Upstream-Status: Submitted [https://lore.kernel.org/all/20221212000930.45505-7-marcel@ziswiler.com/]
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
This provides correct system prompt for U-Boot console.
Upstream-Status: Submitted [https://lore.kernel.org/all/20221212000930.45505-6-marcel@ziswiler.com/]
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Display build info with information about the version of SCFW, SECO and
TF-A (ATF).
Upstream-Status: Submitted [https://lore.kernel.org/all/20221212000930.45505-5-marcel@ziswiler.com/]
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
U-Boot typically tears down the display controller before handing
control over to Linux. On LCD displays disabling pixel clock leads to a
fading out effect with vertical/horizontal lines. Make sure to disable
back light GPIO Apalis BKL1 before booting Linux.
Upstream-Status: Submitted [https://lore.kernel.org/all/20221212000930.45505-4-marcel@ziswiler.com/]
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Implement PCB version and SoC variant handling which automatically loads
the correct device tree for the Linux kernel.
Upstream-Status: Submitted [https://lore.kernel.org/all/20221212000930.45505-3-marcel@ziswiler.com/]
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Without the DM_EVENT absolutely no output whatsoever and the system does
not boot at all.
Upstream-Status: Submitted [https://lore.kernel.org/all/20221212000930.45505-2-marcel@ziswiler.com/]
Fixes: c5ef2025579e ("dm: fix DM_EVENT dependencies")
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Add the new Apalis iMX8 product variant
0067: Apalis iMX8 QuadMax 8GB Wi-Fi / BT IT
the only difference to the product
0037 Apalis iMX8 QuadMax 4GB Wi-Fi / BT IT
is the 8gb of RAM. Toradex strategy to choose the correct RAM timing in
SCFW is by fuses in the user area telling which RAM timing to load.
This commit makes use of this information to set the correct size of
the RAM and therefore distinguish between the new 0067 and 0037 product
Upstream-Status: Backport [0da8dde6343fb91628794f9772b119bc7241c8a1]
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Drop legacy nfsboot script in favor of distroboot DHCP boot.
Upstream-Status: Backport [1410cba567803b66b1ac7a354f5cda0c5f0e84ec]
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Use the same name of DHCP Distroboot script as in regular eMMC case.
Upstream-Status: Backport [1377a776c3f9c8580462f42a5d078976e5eec3ee]
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
* origin/imx_v2022.04:
MA-20886 imx8ulp: Boot from recovery mode when pressing key
|
|
Make system enter recovery mode when user pressing "sw2" when
i.MX 8ULP EVK and i.MX 8ULP EVK 9×9 board are powered on.
Signed-off-by: Maximus Sun <maximus.sun@nxp.com>
Change-Id: Ifc13c37fff4f6c7352161b6ad7d6014aeeafcc6d
|
|
* origin/imx_v2022.04:
LF-7602: Device tree fixup based on compatible string
|
|
Updated otp_crypto_key & otp_unique_key device tree fix up.
Earlier, device tree fix up was based on hardcoded address, but now it's
based on compatible string of crypto node:- "fsl,imx28-dcp"
Signed-off-by: Kshitiz Varshney <kshitiz.varshney@nxp.com>
|
|
* origin/imx_v2022.04:
crypto: fsl_hash: Remove unnecessary alignment check in caam_hash()
|
|
While working on an LX2160 based board and updating to latest mainline
I noticed problems using the HW accelerated hash functions on this
platform, when trying to boot a FIT Kernel image. Here the resulting
error message:
Using 'conf-freescale_lx2160a.dtb' configuration
Trying 'kernel-1' kernel subimage
Verifying Hash Integrity ... sha256Error: Address arguments are not aligned
CAAM was not setup properly or it is faulty
error!
Bad hash value for 'hash-1' hash node in 'kernel-1' image node
Bad Data Hash
ERROR: can't get kernel image!
Testing and checking with Gaurav Jain from NXP has revealed, that this
alignment check is not necessary here at all. So let's remove this
check completely.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Gaurav Jain <gaurav.jain@nxp.com>
Cc: dullfire@yahoo.com
Reviewed-by: Gaurav Jain <gaurav.jain@nxp.com>
|
|
update-to-5.15.52_2.1.0__toradex_imx_lf_v2022.04
|
|
* origin/imx_v2022.04:
MA-20872 Revert "MA-18775 system will hang about 3s when boot up kernel"
|
|
The problem of the system hanging for about 3 seconds
when booting the kernel is gone, so enable the 8mp early console.
This reverts commit 8f897bce4cce75e7599a8ea952271eab37b1dc51.
Change-Id: I5a4c32f22fc93393610f3ae99fb3ca8e0643990a
|
|
* origin/imx_v2022.04:
MA-20814 add fastboot command to erase u-boot env
|
|
Add fastboot command "fastboot oem erase_uboot_env" to support erase u-boot env.
Signed-off-by: Maximus Sun <maximus.sun@nxp.com>
|
|
* origin/ls_v2022.04:
LF-6627: nand drvier fixups in sdboot on ls1043ardb-pd
|
|
Signed-off-by: WeiLu <w.lu@nxp.com>
|
|
* origin/imx_v2022.04:
LFU-426: qspihdr: Coverity Issue: unchecked return value
MLK-25850: imx8dxl_ddr3l_evk: change the default fdt file name
|
|
fix the unchecked return value(CWE-252) issue in qspihdr tool.
Signed-off-by: Han Xu <han.xu@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
|
|
change the fdt file name with rpmsg postfix as the default.
Signed-off-by: Han Xu <han.xu@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
|
|
* origin/imx_v2022.04:
LF-7382: fastboot: improve emmc write speed
|
|
tested at iMX8MM platfrom reduce almost half write time.
(499s vs 1000s).
About 1/4 improve at 8DXL platform.
100*512 = 51k, which small than emmc erase block size 64k,
which may cause more page management in emmc.
Increase to 4096, about 2M write to emmc each time.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
|
|
* origin/imx_v2022.04:
LFU-428 imx8ulp: Add warning for CAAM non-secure state failure
|
|
When booting from OEM closed part, due to OTPMK not programmed correctly,
CAAM is in non-secure state. Add a warning in SPL to indicate the problem
to users.
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
|
|
* origin/imx_v2022.04:
LF-7369-2 clk: imx93: update LPCG control API
LF-7369-1 clk: imx: implement a clock gate driver for i.MX93
|
|
Use i.MX93 specific LPCG control API.
Signed-off-by: Alice Guo <alice.guo@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
|
|
Add a clock gate driver for i.MX93. Bit0 of LPCG_DIRECT controls the
ON/OFF of LPCG when LPCG is in direct control mode. Bit[2:0] of
LPCG_LPM_CUR controls the ON/OFF of LPCG when LPCG is already in CPULPM
mode.
Signed-off-by: Alice Guo <alice.guo@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
|
|
* origin/imx_v2022.04:
MA-20507-7 trusty: fix dereference null return value
|
|
This fixes the coverity issue: 22852960 Dereference null return value.
Change-Id: I8186b49eb7f248476c4b8d3c773fbd2680da8367
Signed-off-by: Ji Luo <ji.luo@nxp.com>
|
|
* origin/imx_v2022.04:
LF-7332 imx8/ahab: sha256: enable image verification using ARMv8 crypto extention
LF-7332 armv8: SHA-256 using ARMv8 Crypto Extensions
|
|
Merge in LFAC/uboot-nxp from ~NXF60555/uboot-nxp-gaurav:imx_v2022.04 to imx_v2022.04
* commit 'f3b75e3317d17180009af5c866b9a85a855a79be':
LF-7332 imx8/ahab: sha256: enable image verification using ARMv8 crypto extention
LF-7332 armv8: SHA-256 using ARMv8 Crypto Extensions
|
|
* origin/imx_v2022.04:
LFU-427 imx93: Print ELE FW version
LFU-393 imx93: Add reset cause print
|
|
Print ELE FW version in uboot log for debug purpose
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
|
|
Add reset cause print to u-boot log on i.MX93.
Since the SRC GENERAL registers are read only for non-secure mode.
We have to clear SRSR in secure mode (SPL) and pass the value to
non-secure mode via GPR1 register.
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
|
|
extention
add support for SHA-256 secure hash algorithm using the ARM v8
SHA-256 instructions for verifying image hash.
Signed-off-by: Gaurav Jain <gaurav.jain@nxp.com>
|
|
* origin/imx_v2022.04:
LFU-423: usb: cdns3: gadget: Avoid using usb_ss after null check
MLK-26034 imx6: Disable LCDIF clock before jumping to kernel
|
|
Fix Coverity Issue 22852965, in select_ep(), usb_ss pointer is used
after the null check, here use printf instead dev_err to avoid using
usb_ss after null check.
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
|