16 Jun, 2020

2 commits


06 May, 2020

6 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
     
  • To align with other iMX8M platforms, use CONFIG_TARGET_IMX8MN_DDR4_EVK for
    DDR4 EVK board and will use CONFIG_TARGET_IMX8MN_EVK for LPDDR4 EVK.

    Signed-off-by: Ye Li
    (cherry picked from commit 2fa2f90417df4c68beb78e40c77725ca3caba08e)
    (cherry picked from commit 2e06698f0cfd0d06dce80f99b742d5b236e80d02)

    Ye Li
     
  • Enable multiple environment storage devices on iMX8MN DDR4 EVK board.
    Remove duplicated CONFIG_ENV_OFFSET since we use env_get_offset to
    override it.

    Signed-off-by: Ye Li
    (cherry picked from commit 5c93b1e7f58a0280f7dda71865361c62d3ba6270)
    (cherry picked from commit d34d36d32acb5aa1d91e349acd7fc8aee3f096fe)

    Ye Li
     
  • Update below codes for DDR4 EVK:
    1. Change SPL to non-DM
    2. Add DM FEC ENET support
    3. Enable Flexspi NOR support
    4. Add USB typec host and device mode support

    Signed-off-by: Ye Li

    Ye Li
     
  • 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


08 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

  • Support pinctrl/clk/sdhc, include ddr4 timing data.

    Log:
    U-Boot SPL 2019.10-rc3-00356-g497c500423-dirty (Sep 16 2019 - 10:54:58 +0800)
    Normal Boot
    Trying to boot from BOOTROM
    image offset 0x8000, pagesize 0x200, ivt offset 0x0

    U-Boot 2019.10-rc3-00356-g497c500423-dirty (Sep 16 2019 - 10:54:58 +0800)

    CPU: Freescale i.MX8MNano rev1.0 at 24 MHz
    Reset cause: POR
    Model: NXP i.MX8MNano DDR4 EVK board
    DRAM: 2 GiB
    MMC: FSL_SDHC: 1, FSL_SDHC: 2
    Loading Environment from MMC... *** Warning - bad CRC, using default environment

    In: serial
    Out: serial
    Err: serial
    Net: No ethernet found.
    Hit any key to stop autoboot: 0

    Signed-off-by: Peng Fan

    Peng Fan