Age | Commit message (Collapse) | Author |
|
All our imx8qm/8qxp dts files have a chosen/stdout-path parameter so
passing an earlycon value is not required: the kernel can figure it out
based from dtb.
Passing earlycon=lpuart32 only works with nxp internal linux tree
because we made "lpuart32" add a 0x10 offset by default. That does not
seem upstreamable without breaking other lpuart earlycon users such as
layerscape.
See commit 5481bac06657 ("MLK-13911-12 tty: serial: fsl: add earlycon
support"), inherited in various forms from imx_4.9.y.
This commit makes uboot imx_v2018.03 work out-of-the-box with upstream
linux on imx8qxp-mek.
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Acked-by: Ye Li <ye.li@nxp.com>
|
|
As the M4 use different DDR memory size in normal android/car2 and car
image, use different defconfig for car2 to decrease DDR memory
reservation. So memory reserved for each M4 core is 8MB in car2 and
normal android image. it's 32MB for car image.
Change-Id: Idf608f539cd614a154c78e3a1af28eff1da5c1f2
Signed-off-by: Zhang Bo <bo.zhang@nxp.com>
|
|
change the mtd rootfs partition index number for i.MX8QXP lpddr4 validation board.
Signed-off-by: Han Xu <han.xu@nxp.com>
|
|
Current signed OS container loading address is 0x88000000. It conflicts
with DDR memory reserved for M4. If we build image with ALT_CONFIG enabled.
SCFW will assign that memory to M4. Then authentication to kernel image
will have problem. So modify to new address 0x98000000 which is safe.
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
|
|
Since different ARM2/Validation boards use different kernel FDT, configure
them to CONFIG_DEFAULT_FDT_FILE in defconfig
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
|
|
There are two new validation boards: LPDDR4 board (30123) and DDR3L board (30010)
for imx8x family 17x17 chips. These two boards have same design except the DDR.
Since SCFW is resposible for DDR initialization, U-boot could use one build to
cover two boards.
The 8DX 17x17 DDR3L ARM2 has been added into u-boot before, so we rename the config
CONFIG_TARGET_IMX8DX_DDR3_ARM2 to CONFIG_TARGET_IMX8X_17X17_VAL to cover DDR3L and
LPDDR4.
Considering 8DX and 8QXP 17x17 may solder to the boards, we create two defconfig:
one for DX and another for 8qxp to share with the CONFIG_TARGET_IMX8X_17X17_VAL
but with different FDTs.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Add the NAND support to SPL container parser and enable it for imx8qxp arm2
nand reworked board.
The SPL NAND will read from nandfit mtdpart (128MB offset) to parsing the entire
boot image and get the 3rd container from it. This requires burning tool (uuu)
to program the entire boot image into nandfit.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
When OP-TEE is enabled a share memory is created
between Linux and OP-TEE. on QxP with the use of the SC
subsystem, this creates a new chunk of memory.
Add a new DRAM BANK, so that u-boot is able to capture
correctly all the chunks of memory in meminfo.
Signed-off-by: Silvano di Ninno <silvano.dininno@nxp.com>
|
|
added emmc_dev and sd_dev
Signed-off-by: Frank Li <Frank.Li@nxp.com>
|
|
Add include files necessary for supporting SPL on QXP
ARM2 board
Signed-off-by: Teo Hall <teo.hall@nxp.com>
|
|
Add implementation for ARM2 LPDDR4 board
Signed-off-by: Teo Hall <teo.hall@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>
|
|
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>
|
|
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 <ye.li@nxp.com>
(cherry picked from commit 33d88b0f2e31d965fd455bff9da7391d6a7b3594)
|
|
Enable the mtest command and add relevant configurations for tested memory
range.
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 4bfe6f1e7527921d9f02dbd37eea8924dd6d3336)
|
|
This is debug patch, pushed by mistake. Since we already support
DDR3 ARM2 in previous commit, must revert it.
This reverts commit d0602d2ee64c9ad2bf38a38bfb84f8ff9ac9b68d.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
This is debug patch for DX DDR3 ARM2 support, which is pushed by mistake.
This reverts commit 3514c8a2a6add2e6f1574814bbe326684f3062f3.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
When rewoked eMMC to MMC socket, change MMC driver can recognize the card
Enable the fastboot to test usb gadget
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Add new dts, config and defconfig file for DX DDR3 ARM2 board. Since
it does not have USB3.0 and SD, disable them in DTS and header file. Also move
gpio expander to i2c1 according with its schematic.
In defconfig, fastboot is default enabled due to we need uuu to program
eMMC.
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit e5b822615a5aa2fadb481002c286f35d996999f8)
|
|
Move using "${baudrate}" to mmcargs and netargs where it can
be interpreted when executing "run mmcargs" or "run netargs" commands.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
The sec_boot environment is used for AHAB secure boot. When run command
"env default -f -a", this environment is not set due to its default value
is not added to CONFIG_EXTRA_ENV_SETTINGS. Then the boot flow will go to
AHAB branch to load OS container.
Fix the issue by adding default sec_boot value to CONFIG_EXTRA_ENV_SETTINGS.
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 20fd426d8d1a8aa42343115f853e4d91087b7a5e)
|
|
Remove redundant one
Signed-off-by: Frank Li <Frank.Li@nxp.com>
(cherry picked from commit 9f522a0af06bc0f56a548ff034d8675db4d4f44c)
|
|
Add board level support for android and android auto. Each board has
android/andriod_auto specified header file for defining relevant configuraitons.
And add build targets for their android uboot images building.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
i.MX8QXPB0 mfgtool ramfs may exceed the memory layout boundary with new
layout, change the dtb load address from 0x83800000 to 0x83100000 to
only reserve 1MB for dtb, which should be enough and leave 15MB for
ramfs.
Signed-off-by: Han Xu <han.xu@nxp.com>
(cherry picked from commit 1a7cd5fb2f0f3b853d60fbd52e03cec0f061d329)
|
|
Current size of used environments variables is closed to 4KB size.
We need to enlarge the size, otherwise the saveenv may fail like
"Env export buffer too small"
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 850d6d05a7c496e56a372e72b5f2bc69f72e0c23)
|
|
Add the secure boot relevant environment variables to ARM2 and MEK.
When CONFIG_AHAB_BOOT is enabled, we will switch to boot in this
new way:
1. Load the OS container to address 0x88000000
2. Using auth_cntr to authenticate the OS container. It will load the
kernel and FDT to destination address.
3. Using booti to boot kernel.
Signed-off-by: Ye Li <ye.li@nxp.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 545c8fe112244f20377e97921389c86eacc8551f)
|
|
NAND module is pin conflict with SD/eMMC on i.MX8QXP ARM2 board,
add new config to disable SD/eMMC when booting from NAND.
Signed-off-by: Han Xu <han.xu@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Add board level codes and configs for i.MX8QXP LPDDR4 ARM2 board
and i.MX8QXP DDR3 ARM2 board.
- Enabled DM driver:
FEC, LPUART, LPI2C, GPIO, SD/MMC, FSPI, PCA953X, pinctrl, USB host(EHCI/XHCI)
Power-domain, SC thermal
- Enabled Non-DM driver:
PCIE, fuse, iomux, video(IMXDPUV1), USB device(CI-UDC)
- Disabled driver:
mailbox
- Board defconfigs:
imx8qxp_ddr3_arm2_defconfig
imx8qxp_lpddr4_arm2_fspi_defconfig
imx8qxp_ddr4_arm2_defconfig
Signed-off-by: Ye Li <ye.li@nxp.com>
|