Age | Commit message (Collapse) | Author |
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 6557f1c6c8f5c5e6a5585459ab77e3d994ffff81)
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 969f430f983d602afd83b6dd75b299e51463eae9)
|
|
Initial board support for Colibri iMX8QXP using a copy of Apalis iMX8.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 62f0f03e1acb4bb6b0fcca8d4e9bd4d2df04ad33)
|
|
U-Boot in the current 4.9.123 form freezes when initalizing HSIO.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 68a2be9b6247eaf5ac577082d8d5c0c930d37132)
|
|
Current samples are strapped to boot from SD card by default. Also
make sure that the default U-Boot environment boots from SD card.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 67cf06ee02ba39a93fbfd4ed2e82509ec86ba53e)
(cherry picked from commit 82ffe3f0c08c9c4f8e988e1402dc814b71e3be92)
(cherry picked from commit 1d7c4df41d20cb2447a6512de42475f8d754c905)
|
|
Add Toradex config block support for i.MX8QM.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 18426b50681e6cd64ab5977f0ba84efd3f7c4495)
(cherry picked from commit c6d0e1042170d273a5b5434abe867213155d5582)
(cherry picked from commit ae31e946da33510a352795de09aa1c0ea9fc8280)
|
|
Add default memory layout and networking options typically used
on Toradex modules.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 261060112cc55c25e672f6b73374d2a80e00a2e4)
(cherry picked from commit 26db8b3fd1ad8bac8921f0ac11cb29364dc1bbaf)
(cherry picked from commit 3bf49ccc73b2685eb965bcd61907bcffab3f3fd3)
|
|
Use USDHC1 which is eMMC to store U-Boot environment and as default
root device for Linux.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 65b8faac518e90ba1b53013e4639e2cd41e6bf2f)
(cherry picked from commit 5b235d487dea79976597368d2edac64c1b468e4c)
(cherry picked from commit f7bc9e4e18a15e44bc0a06afe0abaddb03f4e9c0)
|
|
Extend bootcmd to also load the HDMI firmware through hdp
command.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 41ef3986ae21dc6fcc4355ab53ccc809d80d361e)
(cherry picked from commit 94d78f51638f4ab3519b845c4fbffe92865cc5b3)
(cherry picked from commit cad9542ed852cee3d3dd0b6c25a36a0de6f22c29)
|
|
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 04e7012224b6971972cb76415980c835a2ba9654)
(cherry picked from commit 0759efaef277ff5e0583a4808593a36d7de0353d)
(cherry picked from commit 6ceb16bf22088785c53d751328347f0b6579fafe)
|
|
NXP LPUART1 is used as Apalis UART1, which is the main console
on our Linux BSP.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 360629c1fd6187de19d0f50feb85c725995e49cc)
(cherry picked from commit 63030dac6afc51d17b04d23ce41af4788f03717e)
(cherry picked from commit 7bbe1708e0cebf3432c234ea74f8d6fb632a023b)
|
|
Make sure that all pins connected to the Micrel KSZ9031 PHY
are muxed. Properly reset the PHY after all muxing has been
applied. This makes sure that strapping is not overwritten by
the SoC default mux (particularly it makes sure that CLK125_NDO
is not driven low during reset).
Make sure to not use CONFIG_DM_ETH as it seems to break ETH
support as is.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit f0a1ceb6f5e2ab3b3618190541b1e7a9fd4c1e4a)
(cherry picked from commit 8f6405070189a8744c2f6a9d9a6e041554fb9046)
(cherry picked from commit 6f24c637fd7725a27249d6a950f587134f30b97c)
|
|
The Apalis iMX8 module does not have PCA9557 GPIO controllers
on the module.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit c80b3bfbe693d5a8851129f4878d0cd3a7325d13)
(cherry picked from commit 898ae105703cd0019a542bc0a17649339c934fa6)
(cherry picked from commit 69d385444efa79d2909f772c4a4b404d1bd7274d)
|
|
Initial board support for Apalis iMX8 using a copy of NXP
iMX8QM ARM2 LPDDR4 board.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 68e401998ba0654292b7914b85433d8453202ec8)
(cherry picked from commit 6b9234fa1f5889f0eeecc6147afffbc859933c99)
(cherry picked from commit 0b7feded806717b4292615373ed6c018324b8ef5)
Conflicts:
arch/arm/cpu/armv8/imx8/Kconfig, file moved
|
|
After loading hdmi firmware, create partition, HDMI power domain will be
off, this will cause HDMI firmware being lost.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 0681ed943c1a00012a8f15e104048f48f2e1fcbe)
|
|
Introduce dom0fdt_file env to let user could change
the dom0 dtb file.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 3d99b1667943658dafd4c3f5d98bab027aab9346)
|
|
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-key
Test: rpmb key programed successfully on imx8qxp.
Change-Id: I95474a6367eb8ef0db16bb38680975b8c45b84f1
Signed-off-by: Ji Luo <ji.luo@nxp.com>
(cherry picked from commit 557981f3ace1f11f1483668dd97076e6c3f1d1cc)
|
|
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 <sanshan.zhang@nxp.com>
|
|
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 <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit f800cd6890900c79266750a4faff375028612ecb)
|
|
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 <ye.li@nxp.com>
(cherry picked from commit 52b48188ec1cc4e352beb034991657df8ce78129)
|
|
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.
|
|
change default dtb to imx6sx-sdb-emmc.dtb when config as emmc
Signed-off-by: Frank Li <Frank.Li@nxp.com>
|
|
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>
(cherry picked from commit 26766be89286cad4946655b3004ab0fc4ef63a65)
|
|
sd_dev should be 0
Signed-off-by: Frank Li <Frank.Li@nxp.com>
(cherry picked from commit 2e8a6b6ec6fec342c1076668e11a28676e8c27eb)
|
|
Allow iMX8QM mek SPL to boot from QSPI.
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit e2c73faa7b2048551824773adf66b3912108d867)
|
|
Add all necessary configs when building for SPL based on CONFIG_SPL_BUILD set.
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 143b65448e5717cfc51b6ac94594eaf651afbb8d)
|
|
Add implementation for ARM2 LPDDR4 board
Signed-off-by: Teo Hall <teo.hall@nxp.com>
(cherry picked from commit a6b6fd8aa69c2f8a9a4c8b5a15de6aa044b39fba)
|
|
Fix the build warning below on iMX7ULP EVK board. The root cause is compiler uses integer
for PHYS_SDRAM 0x60000000 when calculating the value for CONFIG_SYS_MEMTEST_END. So we
add "ul" postfix to define its type to ulong.
In file included from include/config.h:6:0,
from include/common.h:21,
from cmd/mem.c:14:
cmd/mem.c: In function ‘do_mem_mtest’:
include/configs/mx7ulp_evk.h:91:63: warning: integer overflow in expression [-Woverflow]
#define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_MEMTEST_START + (PHYS_SDRAM_SIZE >> 1))
^
cmd/mem.c:877:8: note: in expansion of macro ‘CONFIG_SYS_MEMTEST_END’
end = CONFIG_SYS_MEMTEST_END;
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 5eb040227b2d591acfd04d75a234ede1f78a198a)
|
|
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 <sanshan.zhang@nxp.com>
(cherry picked from commit 23487f8f3ea5406fe37a15f4191ca9ed5350829d)
|
|
The "imx_env.h" is not included, so when using default mfgtool environments,
we get build break.
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
|
|
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 <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>
|
|
Allow iMX8QXP SPL to boot from QSPI.
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
|
|
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 <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>
|
|
defconfig
enable fastboot for i.MX8QXP arm2 lpddr4 validation defconfig and add
NAND parameters for all configs.
Signed-off-by: Han Xu <han.xu@nxp.com>
|
|
20M read size is not large enough for current kernel
Signed-off-by: Han Xu <han.xu@nxp.com>
|
|
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 <silvano.dininno@nxp.com>
|
|
fix tee_file environment variable for i.mx 6sl/6sll/6ul evk boards
Signed-off-by: Silvano di Ninno <silvano.dininno@nxp.com>
|
|
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 <elven.wang@nxp.com>
|
|
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 <elven.wang@nxp.com>
|
|
Fixes 9486251ced24("MLK-19494 configs: imx8qm mek android audo: correct xen physical memory")
correct text base, IPC address, memmap.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
|
|
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 <ji.luo@nxp.com>
|
|
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 <ye.li@nxp.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
|
|
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 <ji.luo@nxp.com>
|
|
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 settings
Signed-off-by: Han Xu <han.xu@nxp.com>
|
|
enable the sata fastboot on imx6q/qp boards.
update the sata boot env.
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
|