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

2 commits


21 Dec, 2020

1 commit


11 Dec, 2020

1 commit

  • Fix below build warning when enabling BEE config on iMX6UL EVK board.

    arch/arm/mach-imx/mx6/bee.c: In function ‘bee_test’:
    arch/arm/mach-imx/mx6/bee.c:201:2: warning: implicit declaration of
    function ‘flush_dcache_range’; did yomean ‘check_cache_range’?
    [-Wimplicit-function-declaration]
    201 | flush_dcache_range(address, address + range);
    | ^~~~~~~~~~~~~~~~~~
    | check_cache_range

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

    Ye Li
     

20 Nov, 2020

1 commit


16 Nov, 2020

3 commits


09 Nov, 2020

3 commits


06 Nov, 2020

6 commits

  • Update fuse path to disable modules correctly.

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

    Peng Fan
     
  • Update node path for 5.10 Kernel.
    - aips-bus renamed to bus
    - gpmi-nand renamed to nand-controller

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

    Peng Fan
     
  • Following Linux, set GIC clk to 500M. If U-Boot has different settings
    compared with kernel required, kernel will dump. However we could not
    let kernel runtime change GIC clk parents, because it is CLK_IS_CRITICAL
    and CLK_SET_PARENT_GATE, it will always fail. There is no otherway
    to address the issue unless let U-Boot configure it ready.

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

    Peng Fan
     
  • Because LCDIF has lots of pinmux conflict with modules like eQOS, SPI,
    ADC, LPUART1, etc. We can't support it by default.
    Introduce a new DTS for LCDIF enablement and disable conflicted nodes.

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

    Ye Li
     
  • Support iMX8DXL in mxsfb driver by below changes:
    1. Enable iMX8 in lcdif registers file
    2. Add u-boot clock driver support for iMX8
    3. Change the FB buffer alignment to align it at allocation. So
    it won't overlay with other memory at mmu_set_region_dcache_behaviour

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

    Ye Li
     
  • Update the LCDIF clocks to align with u-boot clock driver.
    Since u-boot imx8 clock driver can gate and divide on slice clock,
    so it does not create two clocks on slice clock.

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

    Ye Li
     

03 Nov, 2020

2 commits


30 Oct, 2020

2 commits


29 Oct, 2020

8 commits


19 Oct, 2020

8 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
     
  • Rename fsl-ls1028a-qds.dts to fsl-ls1028a-qds.dtsi so that
    it can be used as common device tree for lpuart and duart.
    Add lpuart device tree and duart device tree respectively
    for qds which are used with duart and lpuart console.

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

    Yuantian Tang
     
  • Add lpuart nodes to enable lpuart feature

    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 NAND boot support for i.MX8MP by adding i.MX8MP in nandbcb support
    list, reading boot_search_count from fuse.

    i.MX8MN NAND boot is same as i.MX8MP, fix some issues as well.

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

    Han Xu
     
  • Fix regulator settings for imx8mn ab2 targets which use
    regulator framework to power on main VDD_5V0 by calling
    regulators_enable_boot_on

    Signed-off-by: Adrian Alonso
    Reviewed-by: Ye Li
    (cherry picked from commit 138594ca0e49a6da1ed3c9df0a1fe81463a9a3d4)

    Adrian Alonso
     
  • 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
     
  • 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