27 May, 2020
1 commit
-
Introduce console write hypercall to let Uboot could directly
output with xen console, this needs CONFIG_VERBOSE_DEBUG
enabled in xen.Because input is not a must requirement in android VM,
and develop pvconsole needs more efforts, so let's use
this hypercall first.Signed-off-by: Peng Fan
(cherry picked from commit 8836c3104a1edfe542e0c1cef6690bc9d3d842a0)
(cherry picked from commit aea71150857d4617009730683c95d858acb43392)
(cherry picked from commit 3173d3ac39bed27a3197829ea13ffce5a89b07ac)
(cherry picked from commit 8ece41f15c8d9c407ab0946fa28ba7365419c030)
20 May, 2020
1 commit
-
Rename ddr3 evk to ddr3 validation board.
Reviewed-by: Ye Li
Signed-off-by: Peng Fan
(cherry picked from commit 67f56d67c3631e3f8a42e80386e38d7191cbe35c)
19 May, 2020
4 commits
-
Fix fec phy addr for network support on imx8mn/imx8mn
audio board 2 targetsReviewed-by: Ye Li
Signed-off-by: Adrian Alonso
(cherry picked from commit cef3045bd7cc620051c8dd8e9248157d19b4514f) -
Increase timeout to allow phy net negotiation for
imx8mm/imx8mn audio board 2.0 targetsReviewed-by: Ye Li
Signed-off-by: Adrian Alonso
(cherry picked from commit 4624ee792fc3e46bc40c63b7675e73cd87f9c01c) -
According to the google boot flow, an orange warning should
be displayed on UNLOCKED device to reminder the users of the
potential risks.This commit will show an orange warning logo and warning text
on the screen, it shall be dismissed after 3 seconds, users
can also skip it by pressing the ON-OFF button.Config 'CONFIG_AVB_WARNING_LOGO_COLS' and 'CONFIG_AVB_WARNING_LOGO_ROWS'
define the (x, y) position of the warning logo, its default
value is for 1080*720 resolution display and can be overridden.Test: Orange warning logo show on all imx8m/imx8q platfroms.
Change-Id: I607edb3da039b47ddfac681f855834d8da187af8
Signed-off-by: Ji Luo -
Open configs to enable splash screen feature for standard
android.Test: Splash screen show on all imx7ulp/imx8/imx8m platfroms.
Change-Id: Ie54aa6b1fa2ff0d9a14f9b28a7bec4de5a98d422
Signed-off-by: Ji Luo
18 May, 2020
16 commits
-
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 -
Android implement the userspace fastboot in Android Recovery.
Follow Google's spec, added below 2 fastboot command support:
* fastboot getvar is-userspace
* fastboot reboot fastbootTEST: fastboot commands.
Change-Id: Ib6047413be0a45b3c00626cdb8594809eb8a2b6b
Signed-off-by: Haoran.Wang
(cherry picked from commit 314bded076dfc3e544cc7094ce3f6c4c330be4dd) -
Refine trusty logs output to make it more
simple.Test: boots.
Change-Id: Id94fc245206c5f78e0dbcb0baf5db6475c9f744d
Signed-off-by: Ji Luo
(cherry picked from commit a50b4fca22111fe7b85b5584ff317db55d664c50) -
Add commands to read oem device unlock state from
trusty avb app. Use the oem device unlock state to
determine if the device can be unlocked instead of
the state in persistdata part.Test: Read oem device unlock state from avb app.
Change-Id: Ifccaa788ba0f681c2b3a47151c8474e8da5a2559
Signed-off-by: Ji Luo
(cherry picked from commit c6eaf8e32987f120c0c5441ea39aa0f39a65b50d) -
Decrypt and verify the secure credential in keymaster TA, unlock
operation can only be allowed after secure credential verify pass.Since the mppubk can only be generated on hab closed imx8q, so secure
unlock feature can only supported when hab is closed.Test: secure unlock credential verify on hab closed imx8mm_evk.
Change-Id: I1ab5e24df28d1e75ff853de3adf29f34da1d0a71
Signed-off-by: Ji Luo
(cherry picked from commit 631149fc0fc8ce035311949db643c2708e41435a) -
Add commands to support extract serial number from device.
Commands:
$ fastboot oem get-serial-number
$ fastboot get_stagedTest: serial number upload on imx8mm.
Change-Id: I5c905ab797d4fd28d76c8403914f191eaf2ef687
Signed-off-by: Ji Luo
(cherry picked from commit 250ef119c1dc02908046113893df5eeb9ef40605) -
The A/B slot selection is moved to spl, it may lead to hang
if no bootable slots found. The only way to recover the board
is re-flash images with uuu tool, which is quite inconvenient
for some customers who can't enter serial download mode.This patch will set "spl recovery mode" which will give us a
chance to re-flash images with fastboot commands.Test: Enter spl recovery mode and flash images when no bootable
slots found.Change-Id: I31278f5212bde7609fe2f49e77b3849e92c0c516
Signed-off-by: Ji Luo
(cherry picked from commit 46cc755cf3f42422ee1d7783394e14e8125df2b6) -
It can be dangerous to export some hwcrypto commands to Linux,
add commands to limit some commands within bootloader.Test: hwcrypto commands can't be used after locking boot state.
Change-Id: Ib0a96a87f661778c133178840d8dccf49f151c22
Signed-off-by: Ji Luo
(cherry picked from commit 3fc3f521957677b1f363624494ed866985a25505) -
Add new command to generate bkek from trusty.
Test: generate and dump bkek.
Change-Id: I6b2a30b87c755eecd00ced7c53cfb86e432040de
Signed-off-by: Ji Luo
(cherry picked from commit 6c1087c030de491a12b7f1be9d332f30ba27d183) -
Add sha256 hmac support in u-boot.
Test: hmac calculation.
Change-Id: I0f1438fed8290620a1bb0663d19c21e20098eb5a
Signed-off-by: Ji Luo
(cherry picked from 1e06de6ef23c1ae9d51383f3c57bb045ea180c03) -
In host end, need encrypt the attestation keys and certs
by manufacture protection public key though AES-128-ECB.
Then use below 4 set of commands to provision encrypted
RSA attestation and EC attestation:
* $fastboot stage atte_rsa_key.bin
* $fastboot oem set-rsa-atte-key-enc
* $fastboot stage atte_rsa_cert.bin
* $fastboot oem append-rsa-atte-cert-enc
* $fastboot stage atte_ec_key.bin
* $fastboot oem set-ec-atte-key-enc
* $fastboot stage atte_ec_cert.bin
* $fastboot oem append-ec-atte-cert-encChange-Id: I8a7c64004a17f7dde89f28c3123a2e2b1a6d3346
Signed-off-by: Haoran.Wang
(cherry picked from commit 58965915dd69050429142d3d180c75e98ad14788) -
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 any other existing
multi-core i.MX MPU, users may manually flash mcu firmware with
fastboot, partition name need to be specified at the same time, so the
mcu firmware partition name need to be changed. related enum and
variable names are also modified.Change-Id: Ia801e76fb3a20d0074dbbc1433258358c1a53907
Signed-off-by: faqiang.zhu
Signed-off-by: Ji Luo
(cherry picked from commit dc25b7b27fa5c2293d09789a338a1aed2e3a010f) -
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) -
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 RPMB keyslot is stored in last block of boot1 partition which
is easily erased or tampered, set power-on write protection for this
partition to prevent corruption.Test: Power-on write protection works as expected on imx8m.
Change-Id: Ib7e1094b979f7d94c0a2817391c5b3b5f3205d76
Signed-off-by: Luo Ji
(cherry picked from commit c7e207fbbcd8618d29b1192829c630777fea5220)
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)
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
15 commits
-
The splash screen with DM video needs use bmp_display which needs
enables CONFIG_CMD_BMP. Also changes the splashimage address from
load address to a unused address 0x28000000.Signed-off-by: Ye Li
(cherry picked from commit 7ce7edbee78c88caf0ee1844c4b1c61d11d4bc77) -
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) -
iMX8M dispmix uses GPR registers for display modules in
the mix. Implement a reset driver to use DTBSigned-off-by: Ye Li
(cherry picked from commit a981b518f357ced460fd87445b327aedadc86ee0) -
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) -
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) -
Adding new IMXDPUV1 (aka Seeris, Iris-lite) display control driver.
Signed-off-by: Oliver Brown
Signed-off-by: Ye Li
(cherry picked from commit 43541cba14f851c6eebaa84becd42967f94a9cfd)
(cherry picked from commit 02b99a8ce3ed8f7ab1798b946c10b614ae386924)
(cherry picked from commit 77cce162b55aa1abf49675600b6b3f4aca626f61)
(cherry picked from commit 1871533123be12cf23671f10f90bf9500b99a4d8) -
Current operations structure has provided disable callback, but
there is no API from dsi_host uclass to use it.Add this disable host interface, so that dsi bridge can call it
to disable hostSigned-off-by: Ye Li
(cherry picked from commit f051226ae38d6035c52629fe12f3d661c9891be1) -
The video link framework bases a port-endpoint gragh in DTB to
connect the video components in uclass like: video, display, bridge,
and panel.Using the port-endpoint gragh, we manage multiple video link and
user can select one of them for splash screen.Signed-off-by: Ye Li
(cherry picked from commit d6e6b1293f89b8a26033ac2f82151985f70e4036)