11 May, 2020

1 commit


06 May, 2020

1 commit


27 Apr, 2020

7 commits

  • Current codes assume the OPTEE address is at the end of first DRAM bank.
    Adjust the process to allow OPTEE in the middle of first bank.

    When OPTEE memory is removed from first bank, it may split the first bank
    to two banks, so increase the CONFIG_NR_DRAM_BANKS and adjust the MMU
    table for the split case.

    Signed-off-by: Ye Li
    Signed-off-by: Silvano di Ninno
    Tested-by: Silvano di Ninno
    (cherry picked from commit e2a3b770ef847354ebe85c363608f27381d48adc)

    Ye Li
     
  • Both imx8mn/imx8mm EVK boards have eMMC 5.1 chip and support SD3.0
    So we enable the HS400ES and UHS configs to enhance eMMC/SD access

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

    Ye Li
     
  • For imx8mm, the CONFIG_CI_UDC is defined in
    include/configs/imx8mm_evk.h, which leads to CONFIG_CI_UDC can not been
    enabled in Kconfig, and CONFIG_DM_USB_GADGET which we need selected by
    CONFIG_CI_UDC in Kconfig also can not work. So move CONFIG_CI_UDC to
    defconfig files.

    The CONFIG_USB_GADGET_DUALSPEED is selected by CONFIG_CI_UDC in Kconfig
    files too, so we don't need it to be defined in include/configs/imx8mm_evk.h
    files.

    Signed-off-by: Sherry Sun
    Reviewed-by: Ye Li
    (cherry picked from commit cb33ca7a2a5052bdb7b479ae2af5169360625962)

    Sherry Sun
     
  • uuu will use fastboot command to write emmc, enable it as
    default for iMX8MM EVK board

    Signed-off-by: Frank Li
    Signed-off-by: Ye Li
    (cherry picked from commit ed6898da1c1a78dbf59ac4d6d291bc25e14c636e)

    Ye Li
     
  • Enable the SPL SDP for iMX8MM EVK. So that when booting from USB serial
    download mode, the SPL will enter SDP to download FIT image from USB host
    (uuu tool) and boot into FIT image.

    The SDP driver needs larger malloc pool size, so extend the SPL malloc pool
    to 12KB and reduce the SPL BSS MAX to 4KB because BSS actual size is about 1KB.

    Signed-off-by: Ye Li
    (cherry picked from commit bd9cbf66f801ac930f7e62da9ed42653fd3dc7f9)

    Ye Li
     
  • Update the board codes to use latest DDR script and support flexspi boot,
    USB host/gadget, etc.
    Also add DDR4 EVK board support for RAW NAND boot.

    Signed-off-by: Ye Li

    Ye Li
     
  • The SPL size is huge when enabling DM:
    108KB (DM) vs 63KB (Non-DM)

    Since we have limited size of OCRAM and TCM, to support full features
    we have to disable the DM in SPL and use legacy way as imx_v2019.04
    u-boot

    Signed-off-by: Ye Li

    Ye Li
     

23 Apr, 2020

1 commit

  • Print out atf commit in U-Boot.

    Signed-off-by: Peng Fan
    (cherry picked from commit df89948806c38e38119767a67ef0e18f24ac886b)
    (cherry picked from commit 3a17aa1659fbfe675b74ada60a481d93bb557cdc)
    (cherry picked from commit 60780b360889a4366159d342dd7e197faf0d1ca2)

    Peng Fan
     

23 Jan, 2020

1 commit


07 Jan, 2020

1 commit


21 Nov, 2019

2 commits

  • - In ARMv8 NXP Layerscape platforms we also need to make use of
    CONFIG_SYS_RELOC_GD_ENV_ADDR now, do so.
    - On ENV_IS_IN_REMOTE, CONFIG_ENV_OFFSET is never used, drop the define
    to 0.
    - Add Kconfig entry for ENV_ADDR.
    - Make ENV_ADDR / ENV_OFFSET depend on the env locations that use it.
    - Add ENV_xxx_REDUND options that depend on their primary option and
    SYS_REDUNDAND_ENVIRONMENT
    - On a number of PowerPC platforms, use SPL_ENV_ADDR not CONFIG_ENV_ADDR
    for the pre-main-U-Boot environment location.
    - On ENV_IS_IN_SPI_FLASH, check not for CONFIG_ENV_ADDR being set but
    rather it being non-zero, as it will now be zero by default.
    - Rework the env_offset absolute in env/embedded.o to not use
    CONFIG_ENV_OFFSET as it was the only use of ENV_OFFSET within
    ENV_IS_IN_FLASH.
    - Migrate all platforms.

    Cc: Wolfgang Denk
    Cc: Joe Hershberger
    Cc: Patrick Delaunay
    Cc: uboot-stm32@st-md-mailman.stormreply.com
    Signed-off-by: Tom Rini
    Acked-by: Joe Hershberger
    Reviewed-by: Simon Goldschmidt

    Tom Rini
     
  • Today in initr_reloc_global_data() we use some non-obvious tests to
    determine if we need to relocate the env_addr within gd or not. In
    order to facilitate migration of other symbols to Kconfig we need to
    introduce a new symbol for this particular use case.

    Cc: Wolfgang Denk
    Cc: Joe Hershberger
    Signed-off-by: Tom Rini

    Tom Rini
     

05 Nov, 2019

1 commit


04 Nov, 2019

1 commit


08 Oct, 2019

1 commit