04 Dec, 2018
1 commit
-
Enable the memory operation commands because we need them
sometimes, this won't increase much boot time.Test: build and boot on imx8qm_mek.
Change-Id: Idad8de845203c3d958dd58c58b17b7d8a5d65b4f
Signed-off-by: Ji Luo
27 Nov, 2018
2 commits
-
uuu doesn't parse SPL+FIT format for mek_8q platforms. this patch
delete SPL and FIT related configurations in defconfig file for uuu
uboot.Change-Id: If7c352a60a1534b1a5af9f0b661953c9c60191dc
Signed-off-by: faqiang.zhu -
defconfig files for uuu uboot and uboot flashed to board need to be
different.
because ab slot feature need to be used, defconfig of BSP team won't
be used.this patch add for defconfig files for uuu uboot used on imx8. these
two files are directly copied from the files below:
1. imx8qm_mek_android_defconfig
2. imx8qxp_mek_android_defconfig
3. imx8mm_evk_android_defconfig
4. imx8mq_evk_android_defconfigthey are respectively be pasted as:
1. imx8qm_mek_android_uuu_defconfig
2. imx8qxp_mek_android_uuu_defconfig
3. imx8mm_evk_android_uuu_defconfig
4. imx8mq_evk_android_uuu_defconfigChange-Id: I483593beb99477f1821c529254856d372d274661
Signed-off-by: faqiang.zhu
23 Nov, 2018
1 commit
-
for 8qxp_mek and 8qm_mek platforms, container is used instead of FIT,
SPL now will load container, not FIT.
This modification can minish the size of u-boot image.Change-Id: Id7e3e62bf95db5941264c3370a3e092e9b77a42f
Signed-off-by: faqiang.zhu
22 Nov, 2018
2 commits
-
Fix typo "ONFIG_CMD_FLASH=y" in defconfig, correct it to
CONFIG_CMD_FLASH=ySigned-off-by: Ye Li
(cherry picked from commit eabb33f2a422aa677816bb984efd1885ae3b9c19) -
Too many macros are used in fsl_avbkey.c and
make it difficult to maintain.
This patch made some refine by:
1. Move all avb/atx operations to fsl_avb.c.
2. Refine the functions logic.
3. Drop some unsupported conditions/functions.Test: build and boot on
imx8qm_mek/imx8mq_evk/imx6qp_sabresd/imx7d_pico/imx8m_aiy.Change-Id: I5c99732acfc47d53cdf188d69223983777e577f4
Signed-off-by: Luo Ji
16 Nov, 2018
1 commit
-
Enable dm usb using the base board otg usb port for fastboot usage
Signed-off-by: Peng Fan
Reviewed-by: Ye Li
15 Nov, 2018
1 commit
-
Enable dm serial for xen uboot.
Log as below:
#xl console 1
MMC: FSL_SDHC: 0
Loading Environment from ... *** Warning - bad CRC, using default environmentFailed (-5)
In: serial@5a060000
Out: serial@5a060000
Err: serial@5a060000
flash target is MMC:0
Fastboot: Normal
Normal Boot
=>Signed-off-by: Peng Fan
Reviewed-by: Peng Fan
Reviewed-by: Flynn xu
12 Nov, 2018
4 commits
-
Enable HAB for imx8m Android Things platform, this will enable
HAB verify for bootloader.img(atf+tee+u-boot) at spl stage.
Disable the HAB verify for bootimg because we will use AVB to
verify it.Test: Build and boot ok on AIY.
Change-Id: Ia6ee456c7c5fa71afc3740689adf898f411c6c4e
Signed-off-by: Ji Luo -
Add fastboot commands "fastboot oem at-get-vboot-unlock-challenge"
and "fastboot oem at-unlock-vboot" to support the authenticated
unlock feature for Android Things devices. Use software random
numbers generator to generate the 16 bytes random challenge, it
should be replaced with hardware encrypted random generator when
the TEE part is ready.Test: Generate unlock challenge by:
./avbtool make_atx_unlock_credential
--output=atx_unlock_credential.bin
--intermediate_key_certificate=atx_pik_certificate.bin
--unlock_key_certificate=atx_puk_certificate.bin
--challenge=my_generated_challenge.bin
--unlock_key=testkey_atx_puk.pem
validated the unlock credential successfully on imx7d_pico
and AIY.Change-Id: I4b8cee87c9e96924169479b65020a081136681f6
Signed-off-by: Ji Luo -
Change-Id: Ia9e76742d0501d3222d5837057d8bc916f2ff989
Signed-off-by: Haoran.Wang -
Because sysdeps.h in trusty include stdint.h, so we need to define
USE_STDINT.Test: Local build test and flash on imx7d. Verify provision som
key and product key succeed.
Bug: None
Change-Id: I08db7c10dd4453a87f15ff4432335fe4c41f9c5f
09 Nov, 2018
1 commit
-
Some configs are missed in imx8mm_evk_fspi_defconfig file, so the FAT
commands are not supported in flexspi u-boot and cause kernel booting
failed from SD card.
Also add the missed splash screen configs for MIPI DSI.Signed-off-by: Ye Li
03 Nov, 2018
5 commits
-
Refact the i.MX8MQ dram init flow to reuse the common dram
driver used by i.MX8MM.Signed-off-by: Bai Ping
-
iMX8MM DDR3L validation board uses FPGA to link with SPI NOR flash
on ECSPI1 port. Update the codes and configurations to enable the
ECSPI1 to access SPI NOR in u-boot.Signed-off-by: Ye Li
Reviewed-by: Peng Fan -
Generate the key blob and store it to the last block of boot1 partition
after setting the rpmb key. The key blob should be checked in spl and be
passed to Trusty OS if it's valid. If the key blob are damaged, RPMB
storage proxy service will return fail and should make the device hang.Test: Build and boot ok on imx8qm/qxp.
Change-Id: Ia274cd72109ab6ae15920e91b2a2008e1f1e667c
Signed-off-by: Ji Luo -
Add defconfig for nand on lpddr4 arm2 board
Signed-off-by: Teo Hall
-
Signed-off-by: Frank Li
26 Oct, 2018
1 commit
-
Open configs to enable spl build for imx8q on both
Android and Android Auto.Change-Id: Ide757086ad0208973ac8510ba4a2f1c84aecdfad
Signed-off-by: Luo Ji
25 Oct, 2018
1 commit
-
Add DDR3 init codes, board codes, defconfig and DTS into u-boot.
Basic modules are ready: SD, UART, I2C, USB host and NAND.There is a FPGA on this board. It controls WDOG_B, and ENET PHY RESET.
So reset and ethernet won't work at default.Signed-off-by: Ye Li
Acked-by: Peng Fan
16 Oct, 2018
2 commits
-
Add support for FIT image loading of ATF and uboot proper for iMX8QXP mek.
Signed-off-by: Abel Vesa
-
Add support for FIT image loading of ATF and uboot proper for iMX8QM mek.
Signed-off-by: Abel Vesa
12 Oct, 2018
1 commit
-
enable fastboot for uuu in i.MX6ULL 14x14 QSPI config
Signed-off-by: Han Xu
10 Oct, 2018
1 commit
-
Enabled fastboot relating macros in optee config to
support uuu.Signed-off-by: Shenwei Wang
01 Oct, 2018
2 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.
29 Sep, 2018
1 commit
-
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
3 commits
-
Add the imx8qm_mek_spl_fspi_defconfig to allow booting 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 -
Add imx8qxp_lpddr4_arm2_spl_defconfig for lpddr4 boards
Signed-off-by: Teo Hall
27 Sep, 2018
3 commits
-
Adding new config file to enable OP-TEE support.
Signed-off-by: Silvano di Ninno
-
This commit remove some unnecessary u-boot commands to
reduce the u-boot image size. this will decrease about
17K bytes size and about 10ms boot time for imx8qm.Test: build and boot ok on imx8qm and imx8qxp.
Change-Id: I54e4836e0504f69bf295fe8412bd2361a0324b73
Signed-off-by: Ji Luo -
add iminfo command for all 7d configs
Signed-off-by: Han Xu
26 Sep, 2018
2 commits
-
Add fastboot for qspi and nand config for ulz platform, also changed to
use 64K sector size for qspi erase.Signed-off-by: Han Xu
-
This reverts commit af92ba299b2b87cde02bbd4f534f1a30b45552cd.
Disable the CONFIG_DM_DEVICE_REMOVE will cause device_remove function
do nothing. But it is needed by some drivers like usb, mmc, sf. When
running "usb start" then "usb stop", it does not stop the usb, and cause
problem to next "usb start".
25 Sep, 2018
1 commit
-
The BOARD_LATE_INIT config does not have input prompt, so we can't
configure it to Y in defconfig. Modify the Kconfig in mx7ulp to select
the BOARD_LATE_INIT when the boards are used.Signed-off-by: Ye Li
Reviewed-by: Peng Fan
20 Sep, 2018
1 commit
-
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
18 Sep, 2018
2 commits
-
Add the imx8qxp_mek_spl_fspi_defconfig to allow booting from QSPI.
Signed-off-by: Abel Vesa
Reviewed-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