Age | Commit message (Collapse) | Author |
|
Open configs to enable dual bootloader feature for
imx8q Android Auto.
Test: Build and boot on imx8q.
Change-Id: I99da2ee6b87efd201e16df1046188ae86cab1466
Signed-off-by: Ji Luo <ji.luo@nxp.com>
|
|
Due to some USB configurations are moved to header file to bypass
SPL build. Changes android and androidatuo defconfigs and header
files to avoid build break.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Enable the SPL SDP driver and USB driver in MEK board codes and defconfigs.
Because the USB driver needs larger malloc pool, increase the malloc size
and disable simple malloc
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
After two defconfig files are directly copied from 8mm_evk_android
for 8mm_evk_ddr4_android, this patch adapt the defconfig files.
Device tree used in defconfig files are modifed, a configuration
item of "CONFIG_TARGET_IMX8MM_EVK" is modified to be
"CONFIG_TARGET_IMX8MM_DDR4_EVK"
Change-Id: Ib48449d0c7abab45aff3a58a9c78c481290e7e6a
Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com>
|
|
Add two defconfig files for imx8mm ddr4 version.
These two defconfig files are:
imx8mm_ddr4_evk_android_defconfig
imx8mm_ddr4_evk_android_uuu_defconfig
They are respectively copy from the files below:
imx8mm_evk_android_defconfig
imx8mm_evk_android_uuu_defconfig
Change-Id: Ic2ab2b51328b23446e8f264eb27308d226b57295
Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com>
|
|
To avoid end user executing uboot command through fastboot, the fastboot
command of "ucmd" and "acmd" in the uboot to be flashed into
non-volatile storage device is removed in this partch.
Change-Id: I999b8688a53c2201d02979be68266afc110dfb15
Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com>
|
|
To align aiy_imx8mq uboot used by uuu with other platforms, a defconfig
used to configure and build uboot used by uuu is added.
This "imx8mq_aiy_android_uuu_defconfig" for now is a copy of below file:
imx8mq_aiy_android_defconfig
Change-Id: I7c96297fa13fa7bb02117ceee8675e95f86e7b60
Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com>
|
|
Open configs to enable trusty for imx8mm_evk and also
add new config imx8mm_evk_android_trusty_defconfig based
on imx8mm_evk_android_defconfig.
Test: Trusty starts ok.
Change-Id: Iaea90de21f886ed23082a5e8e8d2fa7fb139a9cb
Signed-off-by: Ji Luo <ji.luo@nxp.com>
|
|
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 <ji.luo@nxp.com>
|
|
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 <faqiang.zhu@nxp.com>
|
|
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_defconfig
they 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_defconfig
Change-Id: I483593beb99477f1821c529254856d372d274661
Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com>
|
|
Open configs to enable uuu for imx8mq_aiy.
Test: uuu flash ok on imx8mq_aiy.
Change-Id: I2c4a1010bf9b32f7cf706e9fa2f75133cf173b35
Signed-off-by: Ji Luo <ji.luo@nxp.com>
|
|
Add support for new target imx8mq_aiy.
Test: build and boot ok on imx8mq_aiy.
Change-Id: I7bb8b66e5235a7122073dcfb4cdc7f165036b9a6
Signed-off-by: Ji Luo <ji.luo@nxp.com>
|
|
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 <faqiang.zhu@nxp.com>
|
|
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 <ji.luo@nxp.com>
|
|
Fix typo "ONFIG_CMD_FLASH=y" in defconfig, correct it to
CONFIG_CMD_FLASH=y
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Enable dm usb using the base board otg usb port for fastboot usage
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
|
|
Enable dm serial for xen uboot.
Log as below:
#xl console 1
MMC: FSL_SDHC: 0
Loading Environment from <NULL>... *** Warning - bad CRC, using default environment
Failed (-5)
In: serial@5a060000
Out: serial@5a060000
Err: serial@5a060000
flash target is MMC:0
Fastboot: Normal
Normal Boot
=>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Flynn xu <flynn.xu@nxp.com>
|
|
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 <ji.luo@nxp.com>
|
|
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 <ji.luo@nxp.com>
|
|
Change-Id: Ia9e76742d0501d3222d5837057d8bc916f2ff989
Signed-off-by: Haoran.Wang <elven.wang@nxp.com>
|
|
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
|
|
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 <ye.li@nxp.com>
|
|
Refact the i.MX8MQ dram init flow to reuse the common dram
driver used by i.MX8MM.
Signed-off-by: Bai Ping <ping.bai@nxp.com>
|
|
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 <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
|
|
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 <ji.luo@nxp.com>
|
|
Add defconfig for nand on lpddr4 arm2 board
Signed-off-by: Teo Hall <teo.hall@nxp.com>
|
|
Signed-off-by: Frank Li <Frank.Li@nxp.com>
|
|
Open configs to enable spl build for imx8q on both
Android and Android Auto.
Change-Id: Ide757086ad0208973ac8510ba4a2f1c84aecdfad
Signed-off-by: Luo Ji <ji.luo@nxp.com>
|
|
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 <ye.li@nxp.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
|
|
Add support for FIT image loading of ATF and uboot proper for iMX8QXP mek.
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
|
|
Add support for FIT image loading of ATF and uboot proper for iMX8QM mek.
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
|
|
enable fastboot for uuu in i.MX6ULL 14x14 QSPI config
Signed-off-by: Han Xu <han.xu@nxp.com>
|
|
Enabled fastboot relating macros in optee config to
support uuu.
Signed-off-by: Shenwei Wang <shenwei.wang@nxp.com>
|
|
Specify the default dtb file for kernel boot per i.MX7ULP
board config.
Signed-off-by: Shenwei Wang <shenwei.wang@nxp.com>
Reviewed-by: Frank Li <Frank.li@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
|
|
This reverts commit 26766be89286cad4946655b3004ab0fc4ef63a65.
|
|
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 <shenwei.wang@nxp.com>
|
|
Add the imx8qm_mek_spl_fspi_defconfig to allow booting from QSPI.
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
|
|
Add a defconfig for SPL build for iMX8QM MEK board
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
|
|
Add imx8qxp_lpddr4_arm2_spl_defconfig for lpddr4 boards
Signed-off-by: Teo Hall <teo.hall@nxp.com>
|
|
Adding new config file to enable OP-TEE support.
Signed-off-by: Silvano di Ninno <silvano.dininno@nxp.com>
|
|
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 <ji.luo@nxp.com>
|
|
add iminfo command for all 7d configs
Signed-off-by: Han Xu <han.xu@nxp.com>
|
|
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 <han.xu@nxp.com>
|
|
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".
|
|
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 <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
|
|
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 <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
|
|
Add the imx8qxp_mek_spl_fspi_defconfig to allow booting from QSPI.
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
|
|
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 <ye.li@nxp.com>
|
|
add config for emmc, nand and qspi boot
Signed-off-by: Robby Cai <robby.cai@nxp.com>
|