18 May, 2020
7 commits
-
To avoid both A/B slots are marked as unbootable because
of some random failures, we will need to reset at spl stage
when current slot load/verify fail but already with flag
"successful_boot" set.imx8q can't be reset via the psci driver because the atf
is not avaiable at spl stage, porting the sc_pm_reboot()
scu api so we can do reset at spl stage for imx8qm/imx8qxp
mek boards.Test: reset on imx8qm_mek and imx8qxp_mek.
Change-Id: Ifa0bdea9393e413942a8a0188a4f937fa0aa9ab8
Signed-off-by: Ji Luo
(cherry picked from a5c5748101c383bc3afb424a3ef2689ab2664846) -
Add implementation to load hdmi rx/tx firmwares, use different config to
guide the function.Change-Id: Ibb43c2301b5f6cdc8b5103bd04cc30baefac9b9f
Signed-off-by: Ji Luo -
Add new keymaster commands to get Manufacure Production key (mppubk).
Since the mppubk can only be generated in OEM CLOSED imx8q board, so
we can only use this command when the board is HAB/AHAB closed.Commands to extract the mppubk:
* $fastboot oem get-mppubk
* $fastboot get_staged mppubk.binTest: Generate and dump the mppubk.bin
Change-Id: Idc59e78ca6345497e744162664b8293f50d1eda4
Signed-off-by: Ji Luo
(cherry picked from commit 52300d644a275dfa4fe73ecb51601a8efaff8ab7) -
new imx8mn chips have Cortex-M7 inside, not like other imx8m devices
of imx8mm and imx8mq which have Cortex-M4 inside. the names of MACROs
used to boot MCU on imx8m devices is modified to make them more common
to cover M4 and M7.
annotations are also modified based on the differences between M4 and
M7.Change-Id: Ida272e6ecdf577eeaadb9f1242f4524bd1014cac
Signed-off-by: faqiang.zhu
(cherry picked from commit eb825f8d4fbc2289b9ccf8f457fcba04922c8259) -
imx-regs-imx8mm.h is used both for imx8mm and imx8mn, while mcu in
imx8mn is Cortex-M7, it's different from Cortex-M4 in imx8mm, change
the MACRO name of mcu TCM base address from M4_BOOTROM_BASE_ADDR to
MCU_BOOTROM_BASE_ADDR.
since this MACRO will be used in common code for i.MX chips, the same
MACRO name in other files are also modified.Change-Id: I433dd78d11c485d0f4cb82bab299f61cb29dce45
Signed-off-by: faqiang.zhu
(cherry picked from commit e2eb616fdbc4ce6475b084ab11b77cd5dcaa6fd2) -
This commit enables dual bootloader feature for imx8m/imx8q, but
as commit 'a2018ab' already brings in some dual bootloader codes
when enabling fastboot support, so this commit won't be a complete
and standalone patch to introduce the dual bootloader feature.This commit will do the following:
1. clean up dual bootloader flow and add missing implementation.
2. Merge the dual bootloader entry for fit and container to one
function 'mmc_load_image_raw_sector_dual_uboot'.Change-Id: Ic9410a48092cc05de599dd897fc912177e2a1fe1
Signed-off-by: Ji Luo -
The CAAM driver in u-boot will use JR0 by default, but for
imx8q, both JR0 and JR1 are assigned to SECO and A core
should never access them.
Power on the JR3 in this patchset and use it to complete
the CAAM operations for imx8q.Test: CAAM self test cases pass for imx8q.
below patches are merged to this commit:
MA-13964 imx8q: Kick the CAAM JR before kicking the SMMU
MA-13969 Fix CAAM build warningsChange-Id: Ie3d77d1f2910e7f4c257c797c12b5c8a30ad936a
Signed-off-by: Ji Luo
(cherry picked from commit d6e0fdcde5773fed4804cdacf927808bd2da3d7d)
13 May, 2020
2 commits
-
Add support for imx8mn audio board 2.0 support
reuse common settings from imx8mn evk som
Rework for imx_v2020.04 defconfig, dts and SPLReviewed-by: Ye Li
Signed-off-by: Adrian Alonso
(cherry picked from commit 363f021b0fc9424ab0bc7b05d546b10496d7001e) -
Add support for imx8mm audio board 2.0 support
reuse common settings from imx8mm evk som
Rework for imx_v2020.04 defconfig, dts and SPLReviewed-by: Ye Li
Signed-off-by: Adrian Alonso
(cherry picked from commit 77f136e35ec167f2c569791cc60229fea6ceae20)
11 May, 2020
16 commits
-
Enable the splash screen basing on video link and DM video
Update the DTS to fix the bpp in lcdif node and add aliasSigned-off-by: Ye Li
(cherry picked from commit d27ebc05a6620cf66d568c7c7224e7fa449eaa73) -
Enable the splash screen basing on video link
Update the DTS to fix the bpp in lcdif node and add aliasSigned-off-by: Ye Li
(cherry picked from commit 93a53c60a73dab539fdf98542a367e83820df775) -
Enable the splash screen basing on video link for all iMX6UL/iMX6ULL
9x9 EVK and 14x14 EVK boards.
Update the DTS to add lcd timing and fix the bppSigned-off-by: Ye Li
(cherry picked from commit 0a6b3da40e61968ad2b10e1c2ffd9e45bc8293bc) -
Update DTS for LCDIF, MIPI DSI and panel relevant nodes.
Enable the video drivers and splash screen in board codseSigned-off-by: Ye Li
(cherry picked from commit 52d4c7c3e98d573f1c3e4e67e02dd4b08be6bee7) -
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 e14979fc1798a933be643b4f52d2bfca5df1e552) -
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 6901ffb66e516a3e52d2120522dc1be18de5bafa) -
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) -
Update DTS to add DCSS and HDMI nodes and enable
HDMI splash screen on imx8mq evkSigned-off-by: Ye Li
(cherry picked from commit 41cef3e27d6cde0d655141343808e8ae025b5144) -
Implement the power on and clock settings for DCSS and HDMI drivers
Signed-off-by: Ye Li
(cherry picked from commit e97703d2e708f3e44c1276b46b9293fc24ba7a73) -
Update the DTS to add video relevants nodes and alias.
Enable the configurations iMX8 video, bridge and display drivers to
show splash screenSigned-off-by: Ye Li
(cherry picked from commit 97da906e0b965ccbcfa2edcbd4cccffce948b0d3) -
Update iMX8QM and MEK board DTS to add display relevant nodes and alias.
Add splash screen and video drivers configurationsSigned-off-by: Ye Li
(cherry picked from commit fe7d3eac8a6595c01a29961c2b15db787b4f0c22) -
Add video driver for DPU, display driver for LVDS and bridge driver
for it6263 LVDS to HDMI convertorSigned-off-by: Ye Li
(cherry picked from commit 65f54f7a7562a005177281a8bb397774b676ad2b) -
For ARM platforms which enabled video link, shut down it before entering
into kernel.Signed-off-by: Ye Li
(cherry picked from commit e60d5c3d3f61915512999975012715ce0c65c7be) -
enum dcache_option already shift left 2 bits,
PMD_ATTRINDX(option), will wrongly shift left the attr 4bits, which
is wrong. And make the region user set not has expected attribute
and might affect the splitted block region.Reviewed-by: Ye Li
Signed-off-by: Peng Fan
(cherry picked from commit 1ee28331a60243e91a63a8ec1fe6bbdb56cfeb08) -
SCFW has fixed a overflow issue in sc_rm_is_pad_owned API. This
requires u-boot to update API implementation, since it will cause
compatible issue. Otherwise all pad checking will have problem and
cause pad setting not continue.Due to the compatible issue, the new u-boot only works with new
SCFW (API version: 1.21).old scfw + old u-boot: API overflow issue
old scfw + new u-boot, or new scfw + old u-boot: API compatible issue
new scfw + new u-boot: WorkingSigned-off-by: Ye Li
Reviewed-by : Jason Liu(cherry picked from commit e84fb02056fe50146856320b96de909dad4c0058)
-
The commit "TEE-520 core: imx: Set TZASC region 0 to non-sec"
added configure_tzc380 function in imx_sec_init to set region 0 to
non-sec, however imx_sec_init is called only on SOCs which has CAAM.
For SOCs use DCP, like 6SLL, 6ULL/6ULZ, 6SL, this function does not
execute, and cause the trustzone won't be configured.Signed-off-by: Ye Li
Reviewed-by: Peng Fan
(cherry picked from commit ab351d816b582382baf82c72546d8b7b3618de29)
09 May, 2020
2 commits
-
Add logic to automatically update umctl2's setting based
on phy training CDD value for rank to rank space issueSigned-off-by: Oliver Chen
Signed-off-by: Jacky Bai
Acked-by: Ye Li
(cherry picked from commit 29a786185b48aff47e3ba55035c5462d3f9f2166) -
break will let the function return -ENOENT, and cause
boot error. Return 0 to fix the issue.Signed-off-by: Peng Fan
(cherry picked from commit f619c8509f91c5691376720fba7ce2a0109d7f5c)
08 May, 2020
1 commit
-
The compatible string "fsl,imx27-usb" is missed in USB OTG nodes,
which causes the nodes failed to bind with USB host driver.Signed-off-by: Ye Li
Reviewed-by: Peng Fan
07 May, 2020
4 commits
-
iMX8MP has 6 fused parts in each qualification tier, with core, VPU,
ISP, NPU or DSP fused respectively.The configuration tables for enabled modules:
MIMX8ML8DVNLZAA Quad Core, VPU, NPU, ISP, DSP
MIMX8ML7DVNLZAA Quad Core, NPU, ISP
MIMX8ML6DVNLZAA Quad Core, VPU, ISP
MIMX8ML5DVNLZAA Quad Core, VPU
MIMX8ML4DVNLZAA Quad Lite
MIMX8ML3DVNLZAA Dual Core, VPU, NPU, ISP, DSPAdd the support in u-boot and update kernel DTS to disable nodes for
fused modulesSigned-off-by: Ye Li
Reviewed-by: Peng Fan -
Using this way to check if OTG bus active, not depending on checking
OTG register. Because checking OTG register only working for first
cold boot from ROM. While doing partition reboot, SCFW will turn off
the entire conn SS, so that way won't work.Signed-off-by: Ye Li
Reviewed-by: Peng Fan -
Fixes: 077f8afa2bf0 ("configs: imx8: add support for dtb overlay")
Signed-off-by: Silvano di Ninno -
Fixes: b81e528dd232 ("TEE-520 core: imx: Set TZASC region 0 to non-sec")
Signed-off-by: Silvano di Ninno
06 May, 2020
4 commits
-
As it is done in ATF for i.MX 8 SoC.
Enable and set region 0 attribute to be allow secure
and non-secure transaction.Signed-off-by: Silvano di Ninno
Reviewed-by: Ye Li -
Porting the iMX6Q DDR3/LPDDR2 ARM2, iMX6DL DDR3/LPDDR2 ARM2 and
iMX6Q POP LPDDR2 ARM2 board codes from v2019.04.Signed-off-by: Ye Li
(cherry picked from commit 8ce8ab2f9b875fe43489d7624a296f036e43e585)
(cherry picked from commit 34d29f3cdbf5e9f30ff9593295af4c85d3833ee3)
(cherry picked from commit 6f8ff60c04d8c5ab1e017db45ef6909f2d31447f) -
Add DTS files to support iMX6Q/DL DDR3/LPDDR2 ARM2 and iMX6Q POP LPDDR2 ARM2 boards.
Signed-off-by: Ye Li
(cherry picked from commit a699bafb441fc8b3aeff895f60b8531923f66733)
(cherry picked from commit a8d33d1be3394685dc571044d07227173b4fcf35)
(cherry picked from commit 0f6c98703cc6a3a03de062e99c519a2eb4a2d82c) -
Porting the iMX6ULL DDR3 validation board support from v2019.04 u-boot.
Signed-off-by: Ye Li
05 May, 2020
4 commits
-
Porting the iMX6UL DDR3/LPDDR2 validation board support from
v2019.04 u-boot.Signed-off-by: Ye Li
-
Porting the iMX6SLL LPDDR3/LPDDR2 validation board support from
v2019.04 u-boot.Signed-off-by: Ye Li
-
Porting the iMX6SX 17x17 DDR3/LPDDR2 (14x14) validation board and 19x19
DDR3/LPDDR2 validation board support from v2019.04 u-boot.Signed-off-by: Ye Li
-
Porting the iMX7D 12x12 DDR3/LPDDR3 validation board and 19x19
DDR3/LPDDR2/LPDDR3 validation board support from v2019.04 u-boot.Signed-off-by: Ye Li