12 Oct, 2018
5 commits
-
After loading hdmi firmware, create partition, HDMI power domain will be
off, this will cause HDMI firmware being lost.Signed-off-by: Peng Fan
Reviewed-by: Ye Li -
camera sometime can't been open once run M4 image.
ISI-CH0 probe funtion is not called when meet issue.The root cause is:
M4 image set assign resource SC_R_ISI_CH0 into m4 partition
when open camera in m4 side.
Uboot will call update_fdt_with_owned_resources to check the pd
in current dts node. it will call sc_rm_is_resource_owned to
check the pd whether in other partition, If yes, it will delete
the dts node. uboot delete isi_0 node whose pd is SC_R_ISI_CH0.add CONFIG_SKIP_RESOURCE_CHECING to skip checking resource when load dtb.
Change-Id: Ibf79c0bb9bc133bd7e395be57ca4a1f2ca5cf75a
Signed-off-by: zhang sanshan -
Currently it's not possible to authenticate additional boot images in HAB
open configuration.The hab.c code is checking if the SEC_CONFIG[1] fuse is programmed prior
to calling the hab_authenticate_image() API function. Users cannot check
if their additional boot images has been correctly signed prior to closing
their device.Enable hab.c to authenticate additional boot images in open mode so HAB
events can be retrieved through get_hab_status() function.Signed-off-by: Breno Lima
Reviewed-by: Ye Li -
Add fastboot command "fastboot oem set-rpmb-key" to program the rpmb
key which should be staged first.
Usage:
1. fastboot stage my-rpmb-key.bin
2. fastboot oem set-rpmb-keyTest: rpmb key programed successfully on imx8qxp.
Change-Id: I95474a6367eb8ef0db16bb38680975b8c45b84f1
Signed-off-by: Ji Luo -
enable fastboot for uuu in i.MX6ULL 14x14 QSPI config
Signed-off-by: Han Xu
11 Oct, 2018
2 commits
-
Introduce dom0fdt_file env to let user could change
the dom0 dtb file.Signed-off-by: Peng Fan
Reviewed-by: Ye Li -
The codes in imx8mq ARM2 SPL still return back to ROM when booting from
usb serial download. This is old way to support mfgtool not uuu.
Update the codes to support uuu when SPL SDP is enabled.Signed-off-by: Ye Li
10 Oct, 2018
4 commits
-
Enabled fastboot relating macros in optee config to
support uuu.Signed-off-by: Shenwei Wang
-
The mmc_get_boot_dev reads from SRC SBMR register. When booting with USB
serial download, this function does not return correctly. Because SBMR won't
reflect the USB boot.The patch adds USB boot checking to this function to fix the issue.
Signed-off-by: Ye Li
-
Currently the is_boot_from_usb is checking the USB PHY Powerdown bit. This
way has a defect that if we run any usb function in u-boot the checking will
always return true.This patch improves the way to avoid such problem above. A new arch-specific flag is
added to indicate if it is USB boot. We check the USB PHY PWD bit at early of boot
stage then set that flag. So any following calling of is_boot_from_usb will return
correct value.Signed-off-by: Ye Li
-
change default dtb to imx6sx-sdb-emmc.dtb when config as emmc
Signed-off-by: Frank Li
09 Oct, 2018
11 commits
-
The current keep-alive check mechanism uses a static variable that is
initialized to 0. When the function is first called, it may happen to
catch the 8-bit keep-alive counter right when it overflows, hence
returning BUSY.This patch will keep checking the counter for 10us, every 1us, but it
will immediately return if the keep-alive counter changed.Signed-off-by: Laurentiu Palcu
-
There is no need to have README in all i.MX documents name.
Remove README from i.MX docs name and add .txt file extension.Signed-off-by: Breno Lima
Reviewed-by: Ye Li -
The Serial Download Protocol feature is availible in various
i.MX SoCs.Move README.sdp document to imx/misc directory.
Signed-off-by: Breno Lima
-
The current High Assurance Boot document README.mxc_hab
include details for the following features in a single file:- HAB Secure Boot
- HAB Encrypted BootSplit HAB documentation in a specific directory for a cleaner
documentation structure, subsequent patches will include more
content in HAB documentation.Signed-off-by: Breno Lima
-
The following documents describe device details according to the
i.MX family:- README.imx25
- README.imx27
- README.imx5
- README.imx6
- README.mxsMove all device common related document to doc/imx/common for a better
directory structure.Signed-off-by: Breno Lima
-
The following documents describe the image type used by the mkimage
tool to generate U-Boot images for i.MX devices.- README.imximage
- README.mxsimageMove all mkimage related document to doc/imx/mkimage for a better
directory structure.Signed-off-by: Breno Lima
-
Currently the Serial Download Protocol tools and procedure are
documented in two places:- doc/imx/README.sdp
- doc/imx/README.imx6It is better to consolidate all SDP related information into
README.sdp file, so move the content from README.imx6 to
README.sdp.Signed-off-by: Breno Lima
-
Currently the U-Boot doc/ directory contains the following files
that are only relevant for i.MX devices:- doc/README.imx25
- doc/README.imx27
- doc/README.imx5
- doc/README.imx6
- doc/README.imximage
- doc/README.mxc_hab
- doc/README.mxs
- doc/README.mxsimage
- doc/README.sdpMove all content to a common i.MX folder for a better documentation
structure.Signed-off-by: Breno Lima
-
Currently the U-Boot project contains 2 documentation directories:
- doc/
- Documentation/The Documentation directory only contains device tree bindings related
content, so move the 2 files to doc/device-tree-bindings/.This commit is based in a previous submission in U-Boot upstream:
http://git.denx.de/?p=u-boot.git;a=commit;h=ad7061ed742e1312289644268859a0f4b512aaeeSigned-off-by: Breno Lima
-
Decouple the CONFIG_SYS_MMC_ENV_DEV with CONFIG_ENV_IS_IN_MMC to fix
wrong mmcdev value in spinor build image.Signed-off-by: Ye Li
Reviewed-by: Peng Fan -
We are using CONFIG_SYS_MMC_ENV_DEV for default value of mmcdev env.
But this config is bound with CONFIG_ENV_IS_IN_MMC, so it is not valid
for qspi build image.Fix the issue by decoupling two configs.
Signed-off-by: Ye Li
08 Oct, 2018
1 commit
-
Serial init in board_init_f will cost much time, skip it here
because the serial will be initialized again in board_init_r
and it's more faster (after cache is enabled). We will miss
some logs before the serial is ready but it's ok for Android Auto.
This commit will save about 190ms on imx8qm.Test: boot ok for both imx8qm and imx8qxp.
Change-Id: If6efdc19794aecda862f22b6fec7f7aba2005766
Signed-off-by: Ji Luo
Reviewed-by: Ye Li
01 Oct, 2018
6 commits
-
Specify the default dtb file for kernel boot per i.MX7ULP
board config.Signed-off-by: Shenwei Wang
Reviewed-by: Frank Li
Reviewed-by: Ye Li -
This reverts commit 26766be89286cad4946655b3004ab0fc4ef63a65.
-
This is a hack for imx8qm-mek, since the offset of the flash.bin image
on eMMC differs when compared to imx8qxp-mek. Basically, the default value
is 32K, but for 8qm-mek it's 0. This can go away once the qm and qxp get
aligned (again) from this point of view.Signed-off-by: Abel Vesa
Reviewed-by: Ye Li -
Optimize the DDR4 init flow. Split the common flow
with the DDR specific timing config. So the common
flow can be reused.Signed-off-by: Bai Ping
-
For LPDDR4 and DDR4, we use the same dram_timing struct
to config parameters. rename the 'lpddr4_timing' to
'dram_timing' for common use.Signed-off-by: Bai Ping
-
For LPDDR4 or DDR4, the ddr phy train flow is the same.
So rename the 'lpddr4_ddrphy_train.c' to 'ddrphy_train.c'.
make it more common for reuse and move it to driver/ddr/imx8m/.Signed-off-by: Bai Ping
29 Sep, 2018
3 commits
-
We enable the pull-up resistor for i2c pad by setting the PAD_CTL_PUE.
But this requires to enable pull resistors first by setting PAD_CTL_PE on iMX8MM,
otherwise the pull-up won't work.Signed-off-by: Ye Li
-
For imx8 chips, if boot from usb, lock status will be ignored for the
convenience of using uuu. For imx6 and imx7, the presistdata partition
is ignored, so unlock operation can alway succeed.Change-Id: I842bab9fd2c04f8a864f4a134b63efc4436f71a4
Signed-off-by: faqiang.zhu -
The current u-boot configures the fdt_file environment variable
to the file name of that built together with u-boot. Sometimes
Linux kernel needs another dtb file other than the one built with
u-boot. For example, imx7ulp needs to build imx7ulp-evk-qspi.dts for
u-boot, but the kernel needs imx7ulp-evk.dts. Adding this new
macro to let the user have an option to specify a dtb file to run
Linux kernel.Signed-off-by: Shenwei Wang
28 Sep, 2018
8 commits
-
sd_dev should be 0
Signed-off-by: Frank Li
-
Add the imx8qm_mek_spl_fspi_defconfig to allow booting from QSPI.
Signed-off-by: Abel Vesa
Reviewed-by: Ye Li -
Allow iMX8QM mek SPL to boot from QSPI.
Signed-off-by: Abel Vesa
Reviewed-by: Ye Li -
Add a defconfig for SPL build for iMX8QM MEK board
Signed-off-by: Abel Vesa
Reviewed-by: Ye Li -
Enable SPL support for iMX8QM MEK board.
Signed-off-by: Abel Vesa
Reviewed-by: Ye Li -
Add all necessary configs when building for SPL based on CONFIG_SPL_BUILD set.
Signed-off-by: Abel Vesa
Reviewed-by: Ye Li -
Add spl implementation for iMX8QM MEK board.
Signed-off-by: Abel Vesa
Reviewed-by: Ye Li -
VTS need commandline 'androidboot.dtbo_idx='
to verify fdt overlay. Pass the dtb index as "0" here since we
only have one dtb in dtbo partition and haven't enabled the dtb
overlay.Test: VTS case "VtsFirmwareDtboVerification#testVerifyOverlay" pass
on imx8mq and imx8qxp.Change-Id: I33b089bf5a945e0b558bbb189b183a38f145dcbe
Signed-off-by: Ji Luo