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)
18 May, 2020
1 commit
-
Add board level support and configs for standard android and android automotive,
each board has android/android auto specific header files include.Test: boot/fastboot/avb/AB switch/trusty test.
Change-Id: I3beb84f251451d0003f0ef44d0cba51d0d773ca3
Signed-off-by: Ji Luo
15 May, 2020
1 commit
-
Found the default negotiation timeout 4s is not enough in our test
environment. Increase it to 20s to avoid timeout.Signed-off-by: Ye Li
Reviewed-by: Fugang Duan
(cherry picked from commit e7252f1bd9f0034bc05bfab5c088d82ab2112062)
11 May, 2020
1 commit
-
Update board codes and DTS files to add display relevant nodes and
configurations.
Support two video links with MIPI DSI:
1. MIPI DSI to HDMI convertor, this is default
2. RM67191 panelSigned-off-by: Ye Li
(cherry picked from commit 05498bdd53c77c5d6ead68da82cd34afde0ba17a)
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) -
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) -
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) -
uuu will use fastboot command to write emmc, enable it as
default for iMX8MM EVK boardSigned-off-by: Frank Li
Signed-off-by: Ye Li
(cherry picked from commit ed6898da1c1a78dbf59ac4d6d291bc25e14c636e) -
Add the uuu environment to each board, when booting from USB, the
u-boot will use them by defaultSigned-off-by: Ye Li
(cherry picked from commit e36e653ca2f5b0e879d84925219455790acaf2d2) -
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) -
Need loadimage before execute mmcboot.
Signed-off-by: Peng Fan
Reviewed-by: Ye Li
(cherry picked from commit 016bb84267ff3882228ffbde64c2c670be7a8f16)
(cherry picked from commit b3b1b44f6eea2d811f6bbb2d398997513c43775a) -
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) -
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
-
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-bootSigned-off-by: Ye Li
07 Jan, 2020
1 commit
-
Adjust the environment for booting a mainline kernel by default.
Signed-off-by: Fabio Estevam
Reviewed-by: Peng Fan
27 Dec, 2019
1 commit
-
Passing earlycon string in the command line may be
useful during bring up, but not after such phase.Remove the earlycon string to align with the other i.MX SoCs
command lines.Signed-off-by: Fabio Estevam
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
05 Nov, 2019
1 commit
-
add phy-reset-gpios to reset phy
Add board_phy_config to configure phy
Enable DM_ETHSigned-off-by: Peng Fan
08 Oct, 2019
1 commit
-
Add board and SoC dts
Add ddr training code
support SD/MMC/GPIO/PINCTRL/UARTSigned-off-by: Peng Fan