20 Aug, 2018
4 commits
-
Disable inclusion of unused EFI loader as this is the cause of
the build race condition.Bug: 73019385
Change-Id: Ie2f9ce6492c768c88f89e80262c1feb03750e0c5
-
Load kernel.dtb from oem_bootloader root, or fall
back to default behavior if that doesn't work.
oem_bootloader should be ext2 or ext4.Bug: 72662957
Test: U-Boot loads modified dtb from
oem_bootloader, or loads original dtb if
kernel.dtb doesn't exist or oem_bootloader
isn't formattedChange-Id: Ic93b572a482e85726e2fa0792997348c855f41a1
-
This patch add support for iot_imx8mq.
Change-Id: Ia77d80fe1ad8b36c47e8a2ab18c286f6e522abcf
Signed-off-by: Luo Ji -
Remove clk_ignore_unused
Enlarge dom0 memory to 2048M
Support booting 6 cores
support creating partition from parsing device treeSigned-off-by: Peng Fan
(cherry picked from commit dff1ad048f0767a91c6e62904612b0f5ac9c52d7)
17 Aug, 2018
2 commits
-
On imx8mq_evk, the eMMC connects USDHC0 and SD connects USDHC1, so
we have wrong settings and cause problem when running uuu release
script for imx8mq evk.Signed-off-by: Ye Li
-
Since the u-boot gadget class drivers don't support super speed, if
we set DWC3 gadget driver to super speed, the device mode will meet problem
when using USB3.0 cable. So force the DWC3 gadget driver to high speed
for both SPL and regular u-boot.Signed-off-by: Ye Li
16 Aug, 2018
3 commits
-
Enable TZASC on i.MX 8mm.
There is a need on 8MM to enable
the BYPASS ID SWAP bit (GPR10 bit 1) in order
for GPU not to generated AXI bus errors.Signed-off-by: Silvano di Ninno
Reviewed-by: Peng Fan -
CONFIG_CMD_RUN is set to n which do not suppert "run".
use getenv to pass boot cmd to bootcmdChange-Id: I3866786758b8dd16b2685ec157e8322daa304374
Signed-off-by: zhang sanshanConflicts:
drivers/usb/gadget/f_fastboot.c -
The "findtee" is actually not used on mx6ullevk, because there is only
one uTee-6ullevk image for optee. So remove the "run findtee"Signed-off-by: Ye Li
Reviewed-by: Peng Fan
(cherry picked from commit ef29246aaa2d8f00623c381afb9e79c3dbfd1597)
15 Aug, 2018
7 commits
-
Remove CONFIG_BCB_SUPPORT config from BSP u-boot defconfig files.
So that we can eliminate such errors during boot up:can't find partition: misc, dump the partition table
idx 0, ptn 0 name='gpt' start=0 len=2048
idx 1, ptn 0 name='tos' start=0 len=2047
idx 2, ptn 0 name='all' start=0 len=7864320
idx 3, ptn 0 name='bootloader' start=2 len=4094
idx 4, ptn 1 name='mmcsdb1' start=20480 len=1024000
idx 5, ptn 2 name='mmcsdb2' start=1228800 len=6635520
cannot get the partion info for misc
Cannot find partition 4080
do_raw_read failed, ret 1
read_bootctl, bcb_rw_block read failed
read command failedSigned-off-by: Ye Li
(cherry picked from commit 4d282a7a429876f1c1c67754a1d5c7aaaf75bb43) -
The BCB_SUPPORT is not needed by fastboot to support uuu, change it to
disabled at default. Android header file explicitly enables this
config, so there is no impact to android.Signed-off-by: Ye Li
(cherry picked from commit 36fd8fd0d5f34d69ef9a1a3833f3f052d64a25b3) -
BSP u-boot has enabled fastboot for uuu. But the BCB is not needed. It will
gives some errors during u-boot boot up.
This patch uses CONFIG_BCB_SUPPORT to control bcb codes, so that BSP u-boot can
disable it.Signed-off-by: Ye Li
(cherry picked from commit e64a0eedb1ea84fbdbb67630fba88b92d1b49ed2) -
enable fastboot for i.MX8MM flexspi u-boot
Signed-off-by: Han Xu
(cherry picked from commit ea221c08862666926e613f649359905400773d9c)
Signed-off-by: Ye Li -
Update AHAB codes to use container image related structures in image.h
Signed-off-by: Ye Li
Reviewed-by: Peng Fan -
Add relevant functions and files to parse the container image set from mmc/sd
and get the total size of it. So we can get the offset of u-boot-atf.bin image
when it is padded to container image set at 1KB alignment position.Signed-off-by: Ye Li
-
Add a weak function spl_mmc_get_uboot_raw_sector to get u-boot raw sector.
At default it returns CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR. Users
can overwrite it to return customized offset.Signed-off-by: Ye Li
14 Aug, 2018
1 commit
-
Get such build error below due to the changes in tcpc.h
(MLK-19181-2: i.MX850: SPL enable usb support).
Fix the issue by removing unused tcpc and usb header files from spl.cspl/board/freescale/imx8qxp_mek/spl.o: In function `tcpc_setup_ufp_mode':
spl.c:(.text.tcpc_setup_ufp_mode+0x0): multiple definition of `tcpc_setup_ufp_mode'
spl/board/freescale/imx8qxp_mek/imx8qxp_mek.o:imx8qxp_mek.c:(.text.tcpc_setup_ufp_mode+0x0): first defined here
spl/board/freescale/imx8qxp_mek/spl.o: In function `tcpc_setup_dfp_mode':
spl.c:(.text.tcpc_setup_dfp_mode+0x0): multiple definition of `tcpc_setup_dfp_mode'
spl/board/freescale/imx8qxp_mek/imx8qxp_mek.o:/home/leyoen/Workspace/u-boot-upgrading/u-boot/board/freescale/imx8qxp_mek/imx8qxp_mek.c:547: first defined here
scripts/Makefile.build:359: recipe for target 'spl/board/freescale/imx8qxp_mek/built-in.o' failedSigned-off-by: Ye Li
13 Aug, 2018
6 commits
-
set the fastboot_bytes env for uuu download
Signed-off-by: Han Xu
-
Pull down the DSI_EN gpio to disable mipi dsi panel before booting kernel.
This avoids display full yellow screen before kernel mipi driver probes
the device.For MIPI2HDMI card, this DSI_EN gpio is not used. So nothing impact to it.
Signed-off-by: Ye Li
(cherry picked from commit e73adc9a139f2e8bb92bda1631fa2f2391a8a5e3) -
The pinctrl supports to set any bit in input register on iMX6 if
the MSB of input value is 0xff. But the driver uses signed int for
input value, so when executing the codes below, it won't meet.
Because this is arithmetic right shift.if (input_val >> 24 == 0xff)
Fix the issue by changing the input_val, config_val and mux_mode to u32.
Signed-off-by: Ye Li
Acked-by: Fugang Duan
(cherry picked from commit e464bbcd13d472ddf2df5b62b0002a127147e17b) -
Move some configs from imx8mq_evk_android.h to imx8mq_evk_android_defconfig
to sync with BSP team.Test: build and boot ok on evk_imx8mq.
Change-Id: I954f2c284b368ca26c6fb44a6db6a200cb1e6da7
Signed-off-by: Ji Luo -
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
-
This is debug patch for DX DDR3 ARM2 support, which is pushed by mistake.
This reverts commit 3514c8a2a6add2e6f1574814bbe326684f3062f3.
Signed-off-by: Ye Li
11 Aug, 2018
9 commits
-
In file included from arch/arm/mach-imx/imx8m/soc.c:11:0:
arch/arm/mach-imx/imx8m/soc.c: In function ‘imx_gpc_set_m_core_pgc’:
./arch/arm/include/asm/io.h:44:28: warning: cast to pointer from integer of differen t size [-Wint-to-pointer-cast]
#define __arch_getl(a) (*(volatile unsigned int *)(a))
^
./arch/arm/include/asm/io.h:122:31: note: in expansion of macro ‘__arch_getl’
#define readl(c) ({ u32 __v = __arch_getl(c); __iormb(); __v; })
^~~~~~~~~~~
arch/arm/mach-imx/imx8m/soc.c:427:8: note: in expansion of macro ‘readl’
val = readl(GPC_BASE_ADDR + offset);
^~~~~
./arch/arm/include/asm/io.h:49:29: warning: cast to pointer from integer of differen t size [-Wint-to-pointer-cast]
#define __arch_putl(v,a) (*(volatile unsigned int *)(a) = (v))
^
./arch/arm/include/asm/io.h:117:48: note: in expansion of macro ‘__arch_putl’
#define writel(v,c) ({ u32 __v = v; __iowmb(); __arch_putl(__v,c); __v; })
^~~~~~~~~~~
arch/arm/mach-imx/imx8m/soc.c:432:2: note: in expansion of macro ‘writel’
writel(val, GPC_BASE_ADDR + offset);
^~~~~~
arch/arm/mach-imx/imx8m/soc.c: In function ‘imx8m_usb_power’:
arch/arm/mach-imx/imx8m/soc.c:453:16: warning: unused variable ‘ret’ [-Wunused-varia ble]
unsigned long ret;
^~~Signed-off-by: Li Jun
-
enable fastboot for i.MX8QX MEK FlexSPI u-boot
Signed-off-by: Han Xu
-
Signed-off-by: Ye Li
-
When rewoked eMMC to MMC socket, change MMC driver can recognize the card
Enable the fastboot to test usb gadgetSigned-off-by: Ye Li
-
As there is problem with super speed with SDP, we force the dwc3
usb speed to be high speed.Signed-off-by: Li Jun
-
As the SDP protocol use the predefined ep num for communication, we can't
change its name hence reset its ep num while do ep autoconfig, this is
only apply for SPL.Signed-off-by: Li Jun
-
uuu can download whole uboot and run it
fastboot also enabled.malloc start at 0x182000, size is 0x6000 (24K)
So BSS and malloc use all OCRAM_Sstack move to endof OCRAM 0x91FFF0.
ATF start at 91000AFT about 48K, 0x91000 - 0x91D000,
Stack size is about 16K.
Signed-off-by: Frank Li
-
Enable DWC3 USB support at i.MX850D platform
Signed-off-by: Frank Li
-
Need initialize UDC before run sdp download
Signed-off-by: Frank Li
10 Aug, 2018
8 commits
-
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
(cherry picked from commit e5b822615a5aa2fadb481002c286f35d996999f8) -
Disable the LTSSM when link is down in uboot.
Otherwise, the pcie ep/rc validation system in kernel
would be impacted by the enabled ltssm stat in the uboot.Signed-off-by: Richard Zhu
Reviewed-by: Ye Li -
By default, imx8qm/qxp b0 silicon set the IO voltage to 2.5v, but mek/arm2
boards are designed as 1.8v voltage for enet IO, so force the IO voltage
to 1.8 by setting COMP_CTL_GPIO_1V8_3V3 pins like:
The pin setting:
1.8V/3.3V : bit4=0, bit[30]=1, bit[2:0]=000
2.5V : bit4=1, bit[30]=1, bit[2:0]=010Reviewed-by: Ye Li
Signed-off-by: Fugang Duan -
Add a defconfigs for SPL build for iMX8QM DDR4 ARM2 board and
for the iMX8QM LPDDR4 ARM2 boardSigned-off-by: Teo Hall
-
Enable SPL support for iMX8QM ARM2 boards
Signed-off-by: Teo Hall
-
Add all necessary configs when building for SPL based on
CONFIG_SPL_BUILD set.Signed-off-by: Teo Hall
-
Add spl implementation for LPDDR4 and DDR4 iMX8QM boards.
Signed-off-by: Teo Hall
-
Add a separate defconfig which builds SPL along with u-boot proper.
Signed-off-by: Abel Vesa