16 Jun, 2020
9 commits
-
iMX8MP has 6 fused parts in each qualification tier, with core, VPU,
ISP, NPU or DSP fused respectively.The configuration tables for enabled modules:
MIMX8ML8DVNLZAA Quad Core, VPU, NPU, ISP, DSP
MIMX8ML7DVNLZAA Quad Core, NPU, ISP
MIMX8ML6DVNLZAA Quad Core, VPU, ISP
MIMX8ML5DVNLZAA Quad Core, VPU
MIMX8ML4DVNLZAA Quad Lite
MIMX8ML3DVNLZAA Dual Core, VPU, NPU, ISP, DSPAdd the support in u-boot and update kernel DTS to disable nodes for
fused modulesSigned-off-by: Ye Li
Reviewed-by: Peng Fan
(cherry picked from commit 9f8a807c5984b9d7859e6a70a2807843ab95b3f6) -
Using this way to check if OTG bus active, not depending on checking
OTG register. Because checking OTG register only working for first
cold boot from ROM. While doing partition reboot, SCFW will turn off
the entire conn SS, so that way won't work.Signed-off-by: Ye Li
Reviewed-by: Peng Fan
(cherry picked from commit ae746dcdb19914b5aa10ca8e8e9e9d5de854cdeb) -
According to PHY datasheet, the reset needs assert low at least 10ms,
and wait for at least 72ms before accessing the PHY. Update the codes
to follow the datasheet requirement and add some margin.Signed-off-by: Ye Li
Reviewed-by: Fugang Duan
(cherry picked from commit 78bf94f82d2dc90132e5e80b33c289b9ce0e606c) -
Current MDIO wait time is too long, which introduce long delay when
PHY negotiation register checking. Reduce it to 10usSigned-off-by: Ye Li
Reviewed-by: Fugang Duan
(cherry picked from commit a2cc69517416eb0246437e610333bf93e234708e) -
Default negotiation timeout is 4s, it is too short for some network
environment, increase it to 20sSigned-off-by: Ye Li
Reviewed-by: Fugang Duan
(cherry picked from commit 350797b85130f5a67a6dbbd5bc347af48e26f7f1) -
Fixes: 077f8afa2bf0 ("configs: imx8: add support for dtb overlay")
Signed-off-by: Silvano di Ninno
(cherry picked from commit d9421508d10115b02ab7e5edfed533e5cdcf43b1) -
Fixes: b81e528dd232 ("TEE-520 core: imx: Set TZASC region 0 to non-sec")
Signed-off-by: Silvano di Ninno
(cherry picked from commit ab7cf304d782f3ab88d37d81ed17a7f388ad4a11) -
As it is done in ATF for i.MX 8 SoC.
Enable and set region 0 attribute to be allow secure
and non-secure transaction.Signed-off-by: Silvano di Ninno
Reviewed-by: Ye Li
(cherry picked from commit b81e528dd232b8c2f4d10e89c6bf20c65263b14e) -
enable CONFIG_OF_LIBFDT_OVERLAY. It can be used by u-boot
to apply a dto built by OP-TEE.Signed-off-by: Silvano di Ninno
Reviewed-by: Ye Li
(cherry picked from commit 077f8afa2bf07c42cc3e3c3875f63dba49231443)
11 Jun, 2020
1 commit
-
The correct setting for the RGMII ports on LS1012ARDB is to
enable delay on both Rx and Tx so the interface mode used should
be PHY_INTERFACE_MODE_RGMII_IDSigned-off-by: Chaitanya Sakinam
Signed-off-by: Anji J
03 Jun, 2020
2 commits
-
iMX platforms provide large AHB mapped space for QSPI, each
controller has 256MB. However, current driver only maps small
size (AHB buffer size) of AHB space, this implementation
causes iMX failed to boot M4 with QSPI XIP image.Add config CONFIG_FSL_QSPI_AHB_FULL_MAP (default enabled for iMX)
to address above problem.When the config is set:
1. Full AHB space is divided to each CS.
2. A dedicated LUT entry is used for AHB read only.
3. The MODE instruction in LUT is replaced to standard ADDR instruction
4. The address in spi_mem_op is used to SFAR and AHB readSigned-off-by: Ye Li
-
Add compatible string and driver data for iMX7ULP.
The address in SFA1AD/SFA2AD/SFB1AD/SFB2AD must align with 1KB.
For iMX7ULP which has only 128Bytes AHB buffer, must align it when
setting the registers.Signed-off-by: Ye Li
25 May, 2020
1 commit
-
CONFIG_SOFT_SPI has been removed to defconfig. Merging with
DN added it back to mx6ullevk.h and cause build warning.Signed-off-by: Ye Li
22 May, 2020
1 commit
-
Previous patch "MLK-18044-4: crypto: caam: Fix pointer size to 32bit
for i.MX8M" breaks the 64 bits CAAM.Since i.MX CAAM are all 32 bits no matter the ARM arch (32 or 64),
to adapt and not break 64 bits CAAM support, add a new config
CONFIG_CAAM_64BIT and new relevant type "caam_dma_addr_t".This config is default enabled when CONFIG_PHYS_64BIT is set except
for iMX8M.Signed-off-by: Ye Li
Reviewed-by: Horia Geantă
18 May, 2020
1 commit
-
imx u-boot forced to use general registers on ARM64 platforms. However
this option conflicts with floating-point types used on LS and cause
build error.
Fix the issue by moving to option to IMX8 and IMX8M arch only.Signed-off-by: Ye Li
16 May, 2020
1 commit
-
This patch is to fix the u-boot build issue for both i.MX and LS part
This is just for the sandbox uboot test, will follow the formal patch
review process later on.This passed the build for the following i.MX platforms:
the i.MX6, i.MX7, i.MX8 - totally 163 _defconfigs
This also passed the build for the following LS platforms. I have not
done all the build test for LS platforms but should be okay for others.ls1021aiot_qspi_defconfig
ls1021aiot_sdcard_defconfig
ls1021aqds_ddr4_nor_defconfig
ls1021aqds_ddr4_nor_lpuart_defconfig
ls1021aqds_nand_defconfig
ls1021aqds_nor_defconfig
ls1021aqds_nor_lpuart_defconfig
ls1021aqds_nor_SECURE_BOOT_defconfig
ls1021aqds_qspi_defconfig
ls1021aqds_sdcard_ifc_defconfig
ls1021aqds_sdcard_qspi_defconfig
ls1021atsn_qspi_defconfig
ls1021atsn_sdcard_defconfig
ls1021atwr_nor_defconfig
ls1021atwr_nor_lpuart_defconfig
ls1021atwr_nor_SECURE_BOOT_defconfig
ls1021atwr_qspi_defconfig
ls1021atwr_sdcard_ifc_defconfig
ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig
ls1021atwr_sdcard_qspi_defconfig
ls2080a_emu_defconfig ls2080aqds_defconfig
ls2080aqds_nand_defconfig
ls2080aqds_qspi_defconfig
ls2080aqds_sdcard_defconfig
ls2080aqds_SECURE_BOOT_defconfig
ls2080ardb_defconfig
ls2080ardb_nand_defconfig
ls2080ardb_SECURE_BOOT_defconfig
ls2080a_simu_defconfig
ls2081ardb_defconfig
ls2088aqds_tfa_defconfig
ls2088ardb_qspi_defconfig
ls2088ardb_qspi_SECURE_BOOT_defconfig
ls2088ardb_tfa_defconfig
ls2088ardb_tfa_SECURE_BOOT_defconfigThe following i.MX platform has been done the basic u-boot/kernel boot up test:
i.MX6SXSDB, i.MX6ULEVK, i.MX8QMMEK
Signed-off-by: Jason Liu
15 May, 2020
1 commit
-
This is for the sanbox quick fix. will do formal flow for patch review later on
Test build pass with ls2088ardb_qspi_defconfigSigned-off-by: Jason Liu
08 May, 2020
23 commits
-
Conflicts:
drivers/spi/fsl_qspi.c
include/configs/mx6sxsabresd.h
include/configs/mx6ul_14x14_evk.h
include/configs/mx6ullevk.hAccording to the feedback from Priyanka and Ashish, the qspi framework has
big changes to port the existing Linux driver to replace the old qspi driver.
The patches has been accepted in the u-boot upstream and will be in 2020.07So, the suggestion is to override the imx_uboot conflicts, which means some
platform support is droppped such as the imx7ulp(not on the Linux upstream)
and some imx local patches need be reworked based on community new qspi driverThis need Li Ye and Han Xu to rework on the imx port
Signed-off-by: Jason Liu
-
LS1012A-FRWY and LS1012A-RDB crashes in flash environment when
CONFIG_ENV_ADDR value is set. Unset the config value in *_tfa_defconfig*
to resolve booting crash.Following crash is observed:
Using SERDES1 Protocol: 13576 (0x3508)
"Synchronous Abort" handler, esr 0x96000006
elr: 00000000820452c0 lr : 0000000082013f54 (reloc)
elr: 00000000b7b932c0 lr : 00000000b7b61f54
x0 : 0000000000000000 x1 : 000000007604e004
x2 : 0000000000000001 x3 : 0000000000000000
...
Code: 54ffff80 9100c000 17fffff7 f9402241 (3860c820)
Resetting CPU ...Signed-off-by: Kuldeep Singh
-
Commit 323d3af59fe4 ("configs: ls1012ardb: Enable
CONFIG_SYS_RELOC_GD_ENV_ADDR") enables the config only for LS1012ARDB.Apart from LS1012A-RDB, other platforms such as LS1012A-FRWY, LS2088A
and LS1046A-RDB/FRWY also require this config to be enabled. This also
helps in resolving booting crash observed in flash environment.Signed-off-by: Kuldeep Singh
-
All LS1012A board variants have same CONFIG_ENV_SECT_SIZE and
CONFIG_ENV_SIZE values. If both config values are same, flash
environment cannot be saved. Since, CONFIG_ENV_SECT_SIZE needs to be
same as that of flash sector size, this entry cannot be changed.
Reduce CONFIG_ENV_SIZE value to 0x2000. This also helps in making config
value aligned with other boards environemt size.Signed-off-by: Kuldeep Singh
Signed-off-by: Ashish Kumar -
CONFIG_SYS_MALLOC_LEN is currently set to low value and leaves very less
space to do malloc in flash environmet. Increase the value to get more
memory and also make it align with other boards(ls1046a, ls1043a etc.)
config values.Signed-off-by: Kuldeep Singh
-
This enables DM_I2C and DM_RTC in T1042D4RDB defconfigs,
except T1042D4RDB SECURE_BOOT defconfigSigned-off-by: Biwen Li
-
This supports i2c DM for SoC T1040/T1042
Signed-off-by: Biwen Li
-
This enables DM_I2C in T2080 defconfigs
Signed-off-by: Biwen Li
-
This supports i2c DM for SoC T2080/T2081
Signed-off-by: Biwen Li
-
This enable DM_I2C in T4240RDB defconfigs
Signed-off-by: Biwen Li
-
This supports i2c DM for SoC T4240
Signed-off-by: Biwen Li
-
This supports i2c DM for board MPC8548CDS
Signed-off-by: Biwen Li
-
This supports i2c DM for board MPC8548CDS
Signed-off-by: Biwen Li
-
Enable DM_I2C and DM_RTC in P1010RDB defconfigs,
except P1010RDB SECBOOT defconfigs.Signed-off-by: Biwen Li
-
This supports i2c DM for SoC P1010
Signed-off-by: Biwen Li
-
This enables DM_I2C and DM_RTC in T1024RDB defconfigs,
except T1024RDB SECURE_BOOT defconfigSigned-off-by: Biwen Li
-
This supports i2c DM for SoC T1023/T1024
Signed-off-by: Biwen Li
-
This enables DM_I2C in P4080DS defconfigs,
except P4080DS SRIO_PCIE_BOOT and SECURE_BOOT defconfigsSigned-off-by: Biwen Li
-
This adds i2c node for SoC P4080
Signed-off-by: Biwen Li
-
This enables DM_I2C in P3041DS defconfigs,
except P3041DS SECURE_BOOT and SRIO_PCIE_BOOT defconfigSigned-off-by: Biwen Li
-
This adds i2c node for SoC P3041
Signed-off-by: Biwen Li
-
This enables DM_I2C in P2041RDB defconfig,
except P2041RDB SRIO_PCIE_BOOT and SECURE_BOOT defconfigsSigned-off-by: Biwen Li
-
This supports i2c DM for board P2041RDB
Signed-off-by: Biwen Li