23 Feb, 2021

1 commit


21 Feb, 2021

1 commit

  • Users reported LPDDR4 MR12 value is set to 0 during PHY training,
    not the value from FSP timing structure, which cause compliance test failed.
    The root cause is the CATrainOpt[0] is set to 1 in 2D FSP timing
    but not set in 1D. According to PHY training application node,
    to enable the feature both 1D and 2D need set this field to 1,
    otherwise the training result will be incorrect.
    The PHY training doc also recommends to set CATrainOpt[0] to 0 to use
    MR12 value from message block (FSP structure). So update the LPDDR4
    scripts of all mscale to clear CATrainOpt[0].

    Signed-off-by: Ye Li
    Reviewed-by: Jacky Bai
    (cherry picked from commit 2c98fb859258478e0f8bb8df980a96edff19d359)

    Ye Li
     

05 Feb, 2021

13 commits


28 Jan, 2021

3 commits


27 Jan, 2021

3 commits

  • * origin/ls_v2020.04:
    net: memac_phy: add a timeout to MDIO operations
    armv8: lx2: SVR_SOC_VER: Mask CAN_FD and security bit

    BJ DevOps Team
     
  • We have encountered circumstances when a board design does not include
    pull-up resistors on the external MDIO buses which are not used. This
    leads to the MDIO data line not being pulled-up, thus the MDIO controller
    will always see the line as busy.

    Without a timeout in the MDIO bus driver, the execution is stuck in an
    infinite loop when any access is initiated on that external bus.

    Add a timeout in the driver so that we are protected in this
    circumstance. This is similar to what is being done in the Linux
    xgmac_mdio driver.

    Signed-off-by: Ioana Ciornei

    Ioana Ciornei
     
  • Multiple LX2(LX2160A/LX2162A SoC) personality variants
    exists based on CAN-FD and security bit in SVR.

    Currenly SVR_SOC_VER mask only security bit.
    Update SVR_SOC_VER to mask CAN_FD and security bit
    for LX2 products.

    Signed-off-by: Wasim Khan

    Wasim Khan
     

17 Jan, 2021

3 commits


14 Jan, 2021

3 commits

  • * origin/imx_v2020.04:
    LF-3161-2 mx6ul: bee: Remove XN bit for bee enabled region
    LF-3161-1 arm: imx: Fix speculative instruction prefetch issue

    BJ DevOps Team
     
  • We will test a program on BEE enabled region, so remove XN bit
    to allow execution when current MMU domain is changed to client.

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

    Ye Li
     
  • Default ARM32 MMU setting in u-boot sets XN bit to entire 4GB space no
    matter which DCACHE option is used, and set domain permission to manager.
    This causes MMU ignores the access check and XN bit, so speculative
    instruction can fetch from entire space.

    This patch sets the DDR, ROM, OCRAM without XN bit, and set domain to client
    to enable the XN and access check. So speculative instruction fetch can only
    happens on these 3 regions to avoid prefetch from peripherals and invalid
    regions.

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

    Ye Li
     

13 Jan, 2021

4 commits

  • * origin/ls_v2020.04:
    armv8: ls1028a: fix stream id allocation
    configs: ls1088aqds: add COMMON_ENV to fix distroboot
    board: fsl: ls2088ardb: Program GIC LPI configuration table

    BJ DevOps Team
     
  • When A-050382 errata is enabled, ECAM and EDMA have
    conflicting stream id 40. This patch fixes the same.

    Signed-off-by: Nipun Gupta

    Nipun Gupta
     
  • Add COMMON_ENV(kernel_addr_r, fdt_addr_r and so on)
    to fix a bug that faild to boot to ubuntu, failed
    log as follows,
    ## Executing script at 80000000
    load - load binary file from a filesystemUsage:
    load [ [ [ [bytes [pos]]]]]
    - Load binary file filename from partition part on device
    type interface instance dev to address addr in memory.
    bytes gives the size to load in bytes.
    If bytes is 0 or omitted, the file is read until the end.
    pos gives the file byte position to start reading from.
    If pos is 0 or omitted, the file is read from the start.
    ...
    Bad Linux ARM64 Image magic!
    SCRIPT FAILED: continuing...

    Signed-off-by: Biwen Li

    Biwen Li
     
  • Program GIC LPI configuration table:

    1. Redistributor PROCBASER configuration table (which is common for all
    redistributors)

    2. Redistributor pending table (PENDBASER), for all the available
    redistributors.

    3.Reserve DDR memory region used for GIC LPI configuration table.

    Signed-off-by: Nikhil Gupta

    Nikhil Gupta
     

11 Jan, 2021

1 commit


08 Jan, 2021

8 commits

  • Default reset_cpu in imx_watchdog driver is clearing the WDA bit
    to assert WDOG_B output. However, this requires the iomuxc for the WDOG_B
    is configured by board codes or DTS. Without it, next external reset
    with WDOG_B iomuxc configured will not work.

    On iMX6, we always use internal reset to support some features like bmode.
    So the iomuxc for WDOG_B never be set. Change back the reset_cpu to use
    internal reset.

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

    Ye Li
     
  • Add trusty support to the imx8mp powersave config.

    Change-Id: I269f565f9c50a3db4c4138fca9279d8aa7c47043
    Signed-off-by: zhai.he
    (cherry picked from commit bdf8f5abca965039f54cba8c9e8e5fbafcb14e6a)

    zhai.he
     
  • Add uboot defconfig to load hdmi rx firmware
    Signed-off-by: yang.tian

    Change-Id: If9ab1b40c01442570a7ba8599ab521a3e38349cc
    (cherry picked from commit cbd3d0f18a9b71374195b17eb6f59bb42fa656f5)

    yang.tian
     
  • VDD SOC normal run changed to 0.85V
    LPDDR4 freq0 change from 4000MTS to 2400MTS

    Change-Id: I69676ea5b582a817fb3c367bd861db96ba647540
    (cherry picked from commit 1205f1edfaed1383181d4d52344cc55e5e92a351)

    haidong.zheng
     
  • AOSP adds command 'KM_CLEAR_ATTESTATION_CERT_CHAIN' to clear
    the attestation cert chain, but its ID will conflict with
    'KM_SET_ATTESTATION_KEY_ENC'. This commit will reorder the
    keymaster commands to avoid conflicts.

    Test: ID attestation provision.

    Change-Id: I0046b5bee4e0ffea3bdcff31859452da53d8e50d
    Signed-off-by: Ji Luo
    (cherry picked from commit e19aa1c26047dc719e7561695100dac807925ae7)

    Ji Luo
     
  • Locating the misc partition by ID can help reduce the boot
    time but error may happen if the ID of the misc partition
    is changed. Moving the misc partition to the start of the
    GPT and locate the partition by name is another option but
    it will break the backward compatibility as the GPT is
    changed.

    part_get_info_by_name() will loop the PTE and return the
    matched partition info, but it will cost much time as it
    will reload the whole PTE from storage in each loop.

    This commit provides part_get_info_efi_by_name() to support
    return the partition info by name without reloading the whole
    PTE.

    Test: A/B slot switch in dual bootloader.

    Change-Id: I13cb2a7b3217f73aecc2aec6e06abc0d6e8abcdd
    Signed-off-by: Ji Luo
    (cherry picked from commit cd8f603f0d977ed73f0d0b44437c5c68fcebde25)

    Ji Luo
     
  • This commit fixes Coverity Issue: 11468195, avoid
    uninitialized value using.

    Test: AVB check.

    Change-Id: I04eb8faafd6c9a9fec1aeae0b29edc6940251094
    Signed-off-by: Ji Luo
    (cherry picked from commit 742cc182bf9d0d0a7c8cecdac2a328e5c0bd64cb)

    Ji Luo
     
  • Enable configs to support ID attestation.

    Change-Id: I1478d4981e7a1a10e11e4e71dcbfd49c64331a9d
    Signed-off-by: Ji Luo
    (cherry picked from commit a9ee1ce64fe5b1a79cfcd3ae1da9ed8acaa645fb)

    Ji Luo