28 May, 2020

1 commit

  • When primary image boot is failed, ROM will select secondary image to
    boot if SIT (secondary image table) exists. However, SPL does not know
    the secondary boot, still loads the FIT from the position of primary image.

    Introduce a config to add secondary image sector offset to FIT sector
    offset. This config is default set to 0. Secondary image should configure
    it to the same value of firstSectorNumber field in SIT.

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

    Ye Li
     

18 May, 2020

1 commit


15 May, 2020

1 commit


11 May, 2020

1 commit


27 Apr, 2020

10 commits

  • The previous NAND boot looking the rootfs by the mtd index, which is
    easy get impacted by other mtd devices, such as SPI NOR. Changed it to
    the unique nand rootfs partition name can avoid this issue.

    Signed-off-by: Han Xu
    (cherry picked from commit a69e5febae6c1f98b2f2304501ca8fed085299b8)

    Han Xu
     
  • v5.4 kernel has removed the "fsl-" prefix from DTB. Update the kernel DTB
    names for imx8 and imx8m platforms.

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

    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
     
  • Add the uuu environment to each board, when booting from USB, the
    u-boot will use them by default

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

    Ye Li
     
  • When booting dual linux with jailhouse, inmate linux will use
    the 2nd uart, so not restrict access the uart for jailhouse case.

    The best solution would be using SIP call to ATF, for simplicity,
    directly modify the RDC register.

    Signed-off-by: Peng Fan
    (cherry picked from commit b22b70ff0b5bbacea7383bde9e8893bb504199c3)
    (cherry picked from commit e5768d04b57599ef8d5fcb4664d87b7c3ba50feb)
    (cherry picked from commit 0a7bb85d05f567274d54b4aaf6d061b0b1c03b33)

    Peng Fan
     
  • Need loadimage before execute mmcboot.

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

    Peng Fan
     
  • Add jailhouse env. Currently need to pass clk_ignore_unused to bootargs
    to avoid linux root cell shutdown clocks used by inmates.

    If only want a minimal clk being on in inmates, the clks could
    be added in clk_inits_on in linux kernel drivers/clk/imx/clk-imx8mm.c
    or use init-on-array under clk node.

    Signed-off-by: Peng Fan
    (cherry picked from commit 7732b3b87423069c1c31d25ec07201098062b717)
    (cherry picked from commit 718b0792dfedcf68b6c2e93d3eefe499ec463433)
    (cherry picked from commit d18597669c701aebbf0a29c22f68a2347ea4eaf2)

    Peng Fan
     
  • 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
     

07 Jan, 2020

1 commit


27 Dec, 2019

1 commit


21 Nov, 2019

1 commit

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

05 Nov, 2019

1 commit


08 Oct, 2019

1 commit