05 Feb, 2021

1 commit

  • i.MX8MQ B2 is using same value in OCOTP_READ_FUSE_DATA like B1, so
    we have to check the ROM verision to distinguish the revision.

    As we have checked the B1 rev for sticky bits work around in
    secure boot. So it won't apply on B2.

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

    Ye Li
     

28 Jan, 2021

3 commits


27 Jan, 2021

2 commits


17 Jan, 2021

1 commit

  • Refine the dependency of some configs to make it
    easier to add/modify android config files.

    Test: builds.

    Change-Id: Iccb044dadc7ce1e0b839bf83e2e9157e718f286c
    Signed-off-by: Ji Luo
    (cherry picked from commit 86f4f99a367bbc0ef99d4ab2a0b4078babfbfbd2)

    Ji Luo
     

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

1 commit

  • 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