28 Jan, 2021

1 commit


17 Jan, 2021

1 commit

  • Sync config change after refining the config
    dependency.

    Test: builds.

    Change-Id: I32c36e822458c8eea9dde4ba4d874a65475f3a26
    Signed-off-by: Ji Luo
    (cherry picked from commit 45cd8014f7e81ed7b9ed7766e5d5911384eb3de4)

    Ji Luo
     

13 Jan, 2021

2 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
     
  • 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
     

08 Jan, 2021

3 commits

  • 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
     
  • The device IDs are provisioned from bootloader, this commit
    add commands to provision the deivce IDs:
    $ fastboot oem append-device-id

    Test: Device IDs provision and attest.

    Change-Id: Id3c737d3da02f7ba463e51b0525f3cb9bcf0c6d1
    Signed-off-by: Ji Luo
    (cherry picked from commit 7575ac07ac625c35269868511297385a69c96196)

    Ji Luo
     

20 Nov, 2020

2 commits

  • * origin/dn_uboot: (14 commits)
    Revert "mmc: move mmc_power_cycle() after controller initialization"
    Revert "mmc: rework mmc_set_initial_state"
    board: freescale: vid.c: add parantheses to fix build warning
    net: pfe_eth: read PFE ESBC header flash with spi_flash_read API
    lx2160a: Fix address for secure boot headers
    ...

    BJ DevOps Team
     
  • TEE memory region are moved to 0x56000000 ~ 0x58000000 to
    support i.MX 8MN DDR3L board:

    TEE-619 imx: 8mn: add support for i.MX 8MN DDR3L EVK

    DD3L EVK board only has 512MB of DDR.
    move OP-TEE mapping for all the 8MN boards.

    Signed-off-by: Silvano di Ninno

    Adjust the fastboot buffer region to avoid conflicts.

    Test: Super partition flash on imx8mn.

    Change-Id: I56bd0194f24f9f267f436b4b6d762948d96bf815
    Signed-off-by: Ji Luo
    (cherry picked from commit e70c3875de6060cd3ab983fdc6cc207c45e646a7)

    Ji Luo
     

16 Nov, 2020

1 commit

  • Since optee has moved to 0x56000000 on iMX8MN EVK. So mtest address
    will conflict with optee and u-boot relocation. Set the mtest space
    after the optee reserved region and adjust size for 1GB DDR3L EVK.

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

    Ye Li
     

09 Nov, 2020

3 commits


06 Nov, 2020

1 commit

  • Use a dedicated defconfig for LCDIF splash screen to resolve conflict.
    Update board codes to add relevant configs and control mux for LCDIF pins.

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

    Ye Li
     

05 Nov, 2020

2 commits

  • Starting with commit 7d9701db4089 ("cmd: mdio/mii: add Kconfig help and
    allow break dependency"), CMD_MDIO depends on the PHYLIB Kconfig which
    should be enabled properly from the Kconfig and not through any define
    from a header file.

    Move all LS1088AQDS configs to enable PHYLIB and related through
    Kconfig options. Also, remove the defines from the header file so that
    we do not redefine the same symbol.

    Signed-off-by: Ioana Ciornei

    Ioana Ciornei
     
  • Starting with commit 7d9701db4089 ("cmd: mdio/mii: add Kconfig help and
    allow break dependency"), CMD_MDIO depends on the PHYLIB Kconfig which
    should be enabled properly from the Kconfig and not through any define
    from a header file.

    Move all LS1088ARDB configs to enable PHYLIB and related through
    Kconfig options. Also, remove the defines from the header file so that
    we do not redefine the same symbol.

    Signed-off-by: Ioana Ciornei

    Ioana Ciornei
     

30 Oct, 2020

3 commits


29 Oct, 2020

9 commits


19 Oct, 2020

10 commits

  • Conflicts:
    arch/arm/cpu/armv8/Kconfig
    drivers/pci/pcie_layerscape_fixup.c
    drivers/video/imx/Makefile
    drivers/video/nxp/Kconfig
    drivers/video/nxp/Makefile
    drivers/video/nxp/hdp/Makefile
    drivers/video/nxp/hdp/test_base_sw.c

    Signed-off-by: Ye Li

    Ye Li
     
  • mux changes in board file to enable lpuart1 and macro
    define for lpuart1 used for mux changes in board configuation
    register 13

    Signed-off-by: Vabhav Sharma
    Signed-off-by: Yuantian Tang

    Yuantian Tang
     
  • Rename old LPDDR4 EVK to EVK-QCA board which uses QCA wifi and BD71847
    pmic, assign dedicated u-boot DTS and defconfig for this board, So we
    can drop it easily in future.

    Set default EVK configuration for new LPDDR4 EVK which uses NXP PCA9540A
    PMIC and NXP AW-CM358SM WIFI module.

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

    Ye Li
     
  • Add i.MX8MP/MN in imx_env to indicate it needs to burn boot image to fit
    partition.

    Signed-off-by: Han Xu
    Reviewed-by: Ye Li
    (cherry picked from commit 66637530cdab04ffa1e5b771256c73dbcfee4494)

    Han Xu
     
  • This board uses 4GB DDR4 and replace emmc and flexspi to a raw NAND
    socket. Add the support for this board, including SD boot, NAND boot,
    and inline ECC (top 1/8 DDR used for ecc).

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

    Ye Li
     
  • latest DXL scfw disabled fspi access nor memory via AHB, removed the
    CONFIG_SYS_FSL_FSPI_AHB macro for DXL to use IPS to read data.

    Signed-off-by: Han Xu
    Reviewed-by: Frank Li
    (cherry picked from commit 206feea0cee5167defa86a7ddc5fdb7870c77f3f)

    Han Xu
     
  • This commit does some clean-up to guard the codes/configs with
    correct configs, so we can enable/disable the feature without
    modifying the codes.

    Test: builds and boots on imx8qm.

    Signed-off-by: Ji Luo
    Change-Id: Ic4cf4d9f47bd5a4317b2621a5378cb4b192e52fb
    (cherry picked from commit 2c2363e47b858bd178c44869328eca211b2c3f62)

    Ji Luo
     
  • Add relevant configs and DTS for iMX8MN 11x11 DDR3L EVK in SPL/u-boot.
    Compared with LPDDR4 EVK, the DDR3L EVK has below changes:
    1. DDR is changed to 1GB DDR3L
    2. WIFI chip is changed.
    3. Power rails changed:
    a) VDD_ARM is combined to VDD_SOC, so disable buck2.
    b) NVCC_DRAM needs 1.35v for DDR3L.
    c) VDD_SOC sets to 0.85v since DDR runs at 1600MTS
    4. NO GPU and MIPI display. Splash screen is disabled.

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

    Ye Li
     
  • Rename the iMX8DXL DDR3 validation board to EVK board. Changes the names of
    configs and dts.

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

    Ye Li
     
  • Disable unused dts and configs for imx8q to reduce the boot time.

    The 'part_get_info_by_name' can be very time consuming as it will
    loop through all the GPT entries to find the matched partition,
    specify the number of 'misc' partition and use 'part_get_info' to
    load the partition info directly will save much time.

    With this patch, about 300ms can be save for imx8qm, about 350ms
    can be saved for imx8qxp.

    Test: boot tests.

    Signed-off-by: Ji Luo
    Change-Id: I66bc7e002caea62754b670d0a30860a23a17ff61
    (cherry picked from commit d25c0c7b9de22abd6c326975199c86c943e742cf)

    Ji Luo
     

29 Sep, 2020

2 commits