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, DSP

    Add the support in u-boot and update kernel DTS to disable nodes for
    fused modules

    Signed-off-by: Ye Li
    Reviewed-by: Peng Fan
    (cherry picked from commit 9f8a807c5984b9d7859e6a70a2807843ab95b3f6)

    Ye Li
     
  • 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)

    Ye Li
     
  • 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)

    Ye Li
     
  • Current MDIO wait time is too long, which introduce long delay when
    PHY negotiation register checking. Reduce it to 10us

    Signed-off-by: Ye Li
    Reviewed-by: Fugang Duan
    (cherry picked from commit a2cc69517416eb0246437e610333bf93e234708e)

    Ye Li
     
  • Default negotiation timeout is 4s, it is too short for some network
    environment, increase it to 20s

    Signed-off-by: Ye Li
    Reviewed-by: Fugang Duan
    (cherry picked from commit 350797b85130f5a67a6dbbd5bc347af48e26f7f1)

    Ye Li
     
  • Fixes: 077f8afa2bf0 ("configs: imx8: add support for dtb overlay")
    Signed-off-by: Silvano di Ninno
    (cherry picked from commit d9421508d10115b02ab7e5edfed533e5cdcf43b1)

    Silvano di Ninno
     
  • Fixes: b81e528dd232 ("TEE-520 core: imx: Set TZASC region 0 to non-sec")
    Signed-off-by: Silvano di Ninno
    (cherry picked from commit ab7cf304d782f3ab88d37d81ed17a7f388ad4a11)

    Silvano di Ninno
     
  • 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)

    Silvano di Ninno
     
  • 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)

    Silvano di Ninno
     

11 Jun, 2020

1 commit


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 read

    Signed-off-by: Ye Li

    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

    Ye Li
     

25 May, 2020

1 commit


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ă

    Ye Li
     

18 May, 2020

1 commit


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_defconfig

    The 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

    Jason Liu
     

15 May, 2020

1 commit


08 May, 2020

23 commits