14 Sep, 2018
2 commits
-
Default address of earlycon parameter is not correct,
use correct value for imx7ulp_evk.Test: imx7ulp_evk boots ok.
Change-Id: I2cecb6bfacca573013313ba4ae3783784ccfd506
Signed-off-by: Luo Ji -
The TRNG as used in RNG4, used in CAAM has a documentation issue. The
effect is that it is possible that the entropy used to instantiate the
DRBG may be old entropy, rather than newly generated entropy. There is
proper programming guidance, but it is not in the documentation.Signed-off-by: Aymen Sghaier
13 Sep, 2018
6 commits
-
Remove reserved memory for OP-TEE in u-boot
configs file. Memory is reserved through the use
of device tree instead.Signed-off-by: Silvano di Ninno
-
fix tee_file environment variable for i.mx 6sl/6sll/6ul evk boards
Signed-off-by: Silvano di Ninno
-
Android Auto need different bootargs for imx8q, override default
dts node "/chosen/bootargs" to change the bootargs.Change-Id: I32f741624b7d3ed7e91f36a466ae641fe11dfe8e
Signed-off-by: Luo Ji -
Load bootargs from the "/chosen/bootargs" dts node
and combine it with the bootargs in bootimage header.Change-Id: I68c9b0d53fff1f51c4d91aa513dfd38b5d9650d4
Signed-off-by: Luo Ji -
Assign security features to specific config.
Now, use AVB_RPMB to enable RPMB stored rollback
index.After this refine,
for imx6/7/8 Android release, use no AVB_RPMB,
for imx6/7 AndroidThings, use AVB_RPMB.This patch also fix below build error for imx6/7:
vendor/nxp-opensource/uboot-imx/lib/avb/fsl/fsl_avbkey.c:711:2: error:
implicit declaration of function 'fsl_fuse_read'
[-Werror=implicit-function-declaration]
if (fsl_fuse_read((uint32_t *)blob, RPMBKEY_FUSE_LENW,
RPMBKEY_FUSE_OFFSET)){Change-Id: I734479f0627901f372f4b211b2e710bd103eb244
Signed-off-by: Haoran.Wang -
In some situation, like uuu, the current mmc device
won't return the correct value. Avoid the NULL
pointer in secure storage proxy which may cause
panic.Change-Id: Ie24afc270fec0b0977dee71b7fc44fe94876e410
Signed-off-by: Haoran.Wang
12 Sep, 2018
16 commits
-
Enabled FASTBOOT relating configs to support EVK EMMC board.
Signed-off-by: Shenwei Wang
-
Allow iMX8QXP SPL to boot from eMMC.
Signed-off-by: Abel Vesa
-
This patch fix the bug that when keymaster tipc not
initialized the access will make uboot panic.Change-Id: I6500219061ce69103c5f98750eaa5ace4854efea
Signed-off-by: Haoran.Wang -
Duplicated Trusty OS supported defconfig for
imx8qm/qxp platform which support both Android
and Android Automotive.Enable ARM64 smc instructions for TIPC calls.
Change-Id: I55d965fa5d65ac324ccfbca9f149bbd56342f1ed
Signed-off-by: Haoran.Wang -
Duplicate the Android Auto defconfig for Trusty OS.
Change-Id: Ib0563edb40cd4ae3cfd35cbc2b9659e4d4707ff6
Signed-off-by: Haoran.Wang -
Align the callback to ARM64 environment for
Trusty OS.TEST: AIY-3G & AIY-1G board's TIPC and AVB handler
works.Change-Id: I65806f56267a4a9278db04a462e351da181618cb
Signed-off-by: Haoran.Wang -
Fixes 9486251ced24("MLK-19494 configs: imx8qm mek android audo: correct xen physical memory")
correct text base, IPC address, memmap.
Signed-off-by: Peng Fan
-
TCPC is not necessary for android auto and it will cost
some boot time, disable this feature will save about 100ms
on imx8qxp and about 30ms on imx8qm.Change-Id: Ibe5ab95d70b0b71f15efa862fd97e89cf64f0978
Signed-off-by: Luo Ji -
Separate tcpc related operations with config CONFIG_USB_TCPC
so we can enable/disable this feature separately.Test: Boot ok on both imx8qm/8qxp_mek.
Change-Id: I46ef775e8deb4443944c0e969a4ced67c11ac48c
Signed-off-by: Luo Ji -
DDR address 0x88000000 - 0x90000000 is reserved for M4, conflicts may
happen if we set the CONFIG_FASTBOOT_BUF_ADDR as 0x80280000 and
the CONFIG_FASTBOOT_BUF_SIZE as 0x19000000.
Change the CONFIG_FASTBOOT_BUF_ADDR to 0x98000000 to avoid such issue.Change-Id: I141b6b3efc40d36ec6eb523e6ffb804c314dba52
Signed-off-by: Luo Ji -
Remove some unnecessary nodes based on default dts file to reduce
u-boot boot time, add node '/config/load-environment' and set its
value as '0' to tell u-boot not to load environment variables from
eMMC.
This commit can save about 220ms on imx8qxp and about 270ms on imx8qm..Test: Boots ok on both imx8qm/imx8qxp.
Change-Id: If2010e0a537a6ae322f51c771d2eee723a089e50
Signed-off-by: Luo Ji -
When Trusty OS allocates the mem region from 0xfe0000000-0xffffffff, the get_effective_memsize
does not return correct memory size. There is a check in get_effective_memsize to find the memreg
where the u-boot is running, and return the size of that memreg as the result of get_effective_memsize.
When using aligned start, the value is 0x80200000 since it is 2MB aligned. Thus the finding of memreg
will fail and return the PHYS_SDRAM_1_SIZE because u-boot text base is 0x80020000.
This cause u-boot relocating to the high memory where has been occupied by Trusty OS.Signed-off-by: Ye Li
Reviewed-by: Peng Fan -
CPU 2/3 are fused on iMX8MD, power down the two cores in SPL to
save power.Signed-off-by: Ye Li
Reviewed-by: Peng Fan -
Since iMX8MQLite has disabled DCSS and HDMI by fuse. We should check
it when initialize HDMI splash screen and exit.Signed-off-by: Ye Li
-
When framebuffer driver init is failed, we should return the err value not 0.
So the video init can exit immediately.Signed-off-by: Ye Li
-
Since VPU/DCSS/HDMI are disabled on iMX8QLite, the CPU core 2/3 are disabled
on iMX8MD, we have to update kernel DTB to disable relevant nodes. The MIPI-DSI
can input from DCSS or LCDIF, so we need to check the input in DTB and onlySigned-off-by: Ye Li
11 Sep, 2018
5 commits
-
iMX8MQ has two variant versions: iMX8MD and iMX8MQLite. Add dummy CPU ID
for these two, and check the fuses to get correct versions.Signed-off-by: Ye Li
-
Add DDR4 init codes, u-boot dtb and defconfig to support DDR4 EVK.
The DDR4 EVK removed eMMC and Flexspi, but use NAND instead. Current
codes support to boot from SD and enable NAND access in regular u-boot.Signed-off-by: Ye Li
Acked-by: Peng Fan -
Read boot reason from SRC(system reset controller) and report
it to kernel by "androidboot.bootreason=<>" kernel commandline.
This is enabled on imx6/7/7ulp/8m, imx8 will report default value
"androidboot.bootreason=reboot" since it can't get such info on
A core at u-boot stage.Test: Boot reason report ok on imx6qp/imx7ulp/imx8qxp.
Change-Id: I03effaa03bc513bec6153e82c1a04e29c07e7db8
Signed-off-by: Ji Luo -
add fastboot support for nand u-boot.
1. Add fastboot related configs
2. enlarge the SPL size for i.MX8MQ DDR4 NAND config
3. include the imx_env for boot command settingsSigned-off-by: Han Xu
-
add fastboot for qspi u-boot
Signed-off-by: Han Xu
10 Sep, 2018
5 commits
-
The script used to add qspi header to u-boot.imx/u-boot-dtb.imx fails to
build out of tree when using O= option.Some problems found:
1. The qspi-header file need to be copied out of source tree.
2. In mkimage flags, we need to add $(QSPI-HEADER) and %$(PLUGIN).bin.
Otherwise it will fails to filter out $(QSPI-HEADER) and $(PLUGIN).bin because the $(PLUGIN) is
extend to full path.
3. u-boot-dtb.imx also need update to add qspi-header.Signed-off-by: Ye Li
-
- fix the blksize is 0 bug when boot device is sata
- add the sparse image support in the process flash sataSigned-off-by: Richard Zhu
Signed-off-by: Ye Li -
enable the sata fastboot on imx6q/qp boards.
update the sata boot env.Signed-off-by: Richard Zhu
-
for 8qm B0, bootloader in eMMC boot partition should be 0, it is
different from 8qm A0, which need to be 33K.Change-Id: I3606aaee733b3a159bc818ac4938c34ec65f5896
Signed-off-by: faqiang.zhu -
XEN tool has changed GUEST_RAM0_BASE to 2GB, since we assigned
3584M RAM to DomU, so reflect the change in configuration file.Signed-off-by: Peng Fan
08 Sep, 2018
1 commit
-
Need to power down HDMI_PLL_0 after HDMI firmware is loaded, else
resource is left ON when entering low power states thus impacting low
power number.Signed-off-by: Ranjani Vaidyanathan
07 Sep, 2018
3 commits
-
To support the uuu, pack the common qspi header with u-boot binary for
i.MX6/7 qspi u-boot.Signed-off-by: Han Xu
-
Enable fastboot for i.MX7d qspi u-boot. Decouple mmc_env with
CONFIG_ENV_IS_IN_MMC. Disable CONFIG_SPI_FLASH_USE_4K_SECTORS for better
erase performance.Signed-off-by: Han Xu
-
Non-A/B devices should include dtbo in recovery.img to prevent mismatch
with recovery if OTA failure. Load dtbo from recovery.img for Non-A/B
devices in recovery mode.Change-Id: Ie8b12aeb562b80a172769af0b163df3c672c9af0
Signed-off-by: Ji Luo
06 Sep, 2018
2 commits
-
We read the ROM version to determine the CPU revision before B1 chip.
The rom version is 4 bytes word, it has major version at low byte,
minor version at second byte.On B0.1 chip, the value is 0x1020 not 0x20, if reading the word and comparing
with 0x20, the result is wrong.Fix the issue by only reading the lowest byte for major version.
Signed-off-by: Ye Li
(cherry picked from commit 8d0812e63155cca91ecb78c630a450e7d5e5fd00) -
When running on ARM64 platforms like imx8 and imx8m, the initrd_high should set to
0xffffffffffffffff not 0xffffffff. Otherwise the initramfs will be relocated to high
memory by u-boot before booting up kernel.
This may not cause issue, but to align with previous imx series and save boot time,
we'd better disable relocation for initramfs.Signed-off-by: Ye Li
(cherry picked from commit 33d88b0f2e31d965fd455bff9da7391d6a7b3594)