21 Sep, 2018
2 commits
-
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.Change-Id: I4e2afbed2c55caad0a9f804fa8d85511c3bfea38
Signed-off-by: zhang sanshan -
The "imx_env.h" is not included, so when using default mfgtool environments,
we get build break.Signed-off-by: Ye Li
Reviewed-by: Peng Fan
20 Sep, 2018
3 commits
-
Since we set the fdt_file value when running on iMX6ULZ. This
cause the saved fdt_file change be overwritten. So users can't
set to their own fdt_file.Signed-off-by: Ye Li
Reviewed-by: Peng Fan -
Since the mx6ulz don't have FEC, it needs to use USB2NET dongle
to connect network. We decouple the CONFIG_FEC_MXC with CONFIG_CMD_NET.
For 6ull, all defconfigs need to enable the CONFIG_FEC_MXC explicitly.Another change is adding ${usb_net_cmd} environment for usb start command
in netboot scripts on 6ulz.Signed-off-by: Ye Li
Reviewed-by: Peng Fan -
When running uuu on iMX8MQ, meet USB enumeration failure in fastboot.
The root cause is a cache issue in dwc3 driver. When the issue happens, the ctrl_req in
gadget driver is allocated at 0xfe932f40, and the usb_composite_dev (cdev)
is allocated at 0xfe932f60. So after we submit the setup request (cache flushed) to USB
controller, any accessing to usb_composite_dev variable will cause the cache refill, then
when setup transfer is completed, reading the setup data in ctrl_req will gets old value from
cache not from memory.The ctrl_req is allocated by API dma_alloc_coherent, but u-boot don't have cohernet memory.
so it still needs cache maintain operations before/after HW accessing. Since the cache flush or
invalidate bases on cache line, so when the allocated memory size is not cache line aligned,
potentially it may meet such issue.This patch modifies the dma_alloc_coherent API to round the size to cache line aligned.
Signed-off-by: Ye Li
Reviewed-by: Peng Fan
18 Sep, 2018
5 commits
-
Add the imx8qxp_mek_spl_fspi_defconfig to allow booting from QSPI.
Signed-off-by: Abel Vesa
Reviewed-by: Ye Li -
Allow iMX8QXP SPL to boot from QSPI.
Signed-off-by: Abel Vesa
Reviewed-by: Ye Li -
This transforms almost all related functions from mmc specific to device
independent. This allows the container size to be computed from QSPI and other
future devices that will be supported for boot.Signed-off-by: Abel Vesa
Reviewed-by: Ye Li -
When running uuu to burning NAND on imx8mq DDR4 ARM2, meet two u-boot environments problems.
1. fastboot won't be run in regular u-boot, due the bootcmd_mfg is not correct.
2. mtdparts in bootargs are not updated to align with uuu.Signed-off-by: Ye Li
-
Add SPL and u-boot support to load images from RAWNAND device when booting
from RAWNAND. The NAND SPL loads the FIT image from nandfit mtdpart at 64MB
offset of NAND. Users need uuu to burn the FIT image, kernel, DTB and rootfs
to all fixed mtdparts.Since NAND SPL needs large BSS and MALLOC size, this patch also moves the MALLOC
pool to DDR, and enable MALLOC_F pool on OCRAM for all malloc before DDR initialization.Signed-off-by: Ye Li
17 Sep, 2018
1 commit
-
add config for emmc, nand and qspi boot
Signed-off-by: Robby Cai
15 Sep, 2018
2 commits
-
enable fastboot for i.MX8QXP arm2 lpddr4 validation defconfig and add
NAND parameters for all configs.Signed-off-by: Han Xu
-
20M read size is not large enough for current kernel
Signed-off-by: Han Xu
14 Sep, 2018
3 commits
-
Add i.MX6ULZ support. the i.MX6ULZ is SW compatible
with i.MX6ULL. so most code of i.MX6ULL can be reused
by i.MX6ULZ.Signed-off-by: Bai Ping
-
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
2 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