14 Jan, 2021
3 commits
-
* origin/imx_v2020.04:
LF-3161-2 mx6ul: bee: Remove XN bit for bee enabled region
LF-3161-1 arm: imx: Fix speculative instruction prefetch issue -
We will test a program on BEE enabled region, so remove XN bit
to allow execution when current MMU domain is changed to client.Signed-off-by: Ye Li
Reviewed-by: Peng Fan
(cherry picked from commit e4bd1734bcba2012d4d7dea7598635256f155c96) -
Default ARM32 MMU setting in u-boot sets XN bit to entire 4GB space no
matter which DCACHE option is used, and set domain permission to manager.
This causes MMU ignores the access check and XN bit, so speculative
instruction can fetch from entire space.This patch sets the DDR, ROM, OCRAM without XN bit, and set domain to client
to enable the XN and access check. So speculative instruction fetch can only
happens on these 3 regions to avoid prefetch from peripherals and invalid
regions.Signed-off-by: Ye Li
Reviewed-by: Peng Fan
(cherry picked from commit 25d70768c460bad91aa65f367203af41122399cd)
13 Jan, 2021
2 commits
-
* origin/ls_v2020.04:
armv8: ls1028a: fix stream id allocation
configs: ls1088aqds: add COMMON_ENV to fix distroboot
board: fsl: ls2088ardb: Program GIC LPI configuration table -
When A-050382 errata is enabled, ECAM and EDMA have
conflicting stream id 40. This patch fixes the same.Signed-off-by: Nipun Gupta
21 Dec, 2020
1 commit
-
* origin/imx_uboot:
MA-18406 Fix panic when provision keys on boards without rpmb key
MA-16954 set partition type to efi after flash gpt partition
MLK-25046 imx: bee: Fix build warning of flush_dcache_range
MA-18325 Pad keyslot_package struct to one block size
MA-18304 pass ramdisk address when boot up evk_7ulp
11 Dec, 2020
1 commit
-
Fix below build warning when enabling BEE config on iMX6UL EVK board.
arch/arm/mach-imx/mx6/bee.c: In function ‘bee_test’:
arch/arm/mach-imx/mx6/bee.c:201:2: warning: implicit declaration of
function ‘flush_dcache_range’; did yomean ‘check_cache_range’?
[-Wimplicit-function-declaration]
201 | flush_dcache_range(address, address + range);
| ^~~~~~~~~~~~~~~~~~
| check_cache_rangeSigned-off-by: Ye Li
Reviewed-by: Peng Fan
(cherry picked from commit 134d22e59af3931d283c123c1aa3fc44cb86761d)
20 Nov, 2020
1 commit
-
* origin/dn_uboot: (14 commits)
Revert "mmc: move mmc_power_cycle() after controller initialization"
Revert "mmc: rework mmc_set_initial_state"
board: freescale: vid.c: add parantheses to fix build warning
net: pfe_eth: read PFE ESBC header flash with spi_flash_read API
lx2160a: Fix address for secure boot headers
...
16 Nov, 2020
3 commits
-
Low drive mode needs to update GPU freq in kernel DTB. But 5.4 and 5.10
kernel are using different GPU node pathes. Update low_drive_gpu_freq
to support both two paths.Signed-off-by: Ye Li
Reviewed-by: Peng Fan
(cherry picked from commit cb1c6e4279030b859133b9e4e4a0fb2c3e3cd45c) -
For dual core and single core iMX8M parts, the thermal node and PMU node
in kernel DTB also needs update to remove the refers to deleted core nodes.
Otherwise both driver will fail to work.Signed-off-by: Ye Li
Reviewed-by: Peng Fan
(cherry picked from commit 5434603dc85553f353a127594ca764c06e54de0a) -
There are 3 part numbers for 11x11 i.MX8MNano with different core number
configuration: UltraLite Quad/Dual/SoloComparing with i.MX8MN Lite parts, they have MIPI DSI disabled. So
checking the MIPI DSI disable fuse to recognize these parts.Signed-off-by: Ye Li
Reviewed-by: Peng Fan
(cherry picked from commit 05af9ac08052c92d011908726534e227db3143c4)
09 Nov, 2020
3 commits
-
Two LCD data pins (D16 and D17) are missed in DTS to cause color issue,
also update pad setting to align with kernel.Signed-off-by: Ye Li
Acked-by: Peng Fan
(cherry picked from commit 90cf964cb4daebd66d5b8b0af944e2a2282b13d5) -
The value of Unique ID in uboot and kernel is different for iMX8MP:
serial#=02e1444a0002aaff
root@imx8mpevk:/sys/devices/soc0# cat soc_uid
D699300002E1444AThe reason is that Fuse Addresses of Unique ID of iMX8MP are 0x420 and
0x430.Reviewed-by: Ye Li
Signed-off-by: Alice Guo
(cherry picked from commit 38bcdd0bf78951480cb67e1b9d58b37c364195fc) -
Since iMX8MP LPDDR4 EVK uses OD for VDD_SOC, so we can set GIC clock
to 500Mhz to align with kernel. For DDR4 EVK, uses default 400Mhz for
ND VDD_SOC.
Move the codes from SOC codes to board level to match with voltage
setting.Signed-off-by: Ye Li
Reviewed-by: Peng Fan
(cherry picked from commit ba50b01b74873cbddaeba61f69e7763a8ba63227)
06 Nov, 2020
6 commits
-
Update fuse path to disable modules correctly.
Reviewed-by: Ye Li
Signed-off-by: Peng Fan
(cherry picked from commit b414e6dfc20ec6430ab1069139d59e11dff0f5dd) -
Update node path for 5.10 Kernel.
- aips-bus renamed to bus
- gpmi-nand renamed to nand-controllerReviewed-by: Ye Li
Signed-off-by: Peng Fan
(cherry picked from commit 51ee59aa02cb0a88c64604faecd5b01022af5182) -
Following Linux, set GIC clk to 500M. If U-Boot has different settings
compared with kernel required, kernel will dump. However we could not
let kernel runtime change GIC clk parents, because it is CLK_IS_CRITICAL
and CLK_SET_PARENT_GATE, it will always fail. There is no otherway
to address the issue unless let U-Boot configure it ready.Reviewed-by: Ye Li
Signed-off-by: Peng Fan
(cherry picked from commit b6ddbcb9dc61e8822899349fc516d06941e7efd6) -
Because LCDIF has lots of pinmux conflict with modules like eQOS, SPI,
ADC, LPUART1, etc. We can't support it by default.
Introduce a new DTS for LCDIF enablement and disable conflicted nodes.Signed-off-by: Ye Li
Reviewed-by: Peng Fan
(cherry picked from commit 39840421d4e2d805df1420658629e78925f41490) -
Support iMX8DXL in mxsfb driver by below changes:
1. Enable iMX8 in lcdif registers file
2. Add u-boot clock driver support for iMX8
3. Change the FB buffer alignment to align it at allocation. So
it won't overlay with other memory at mmu_set_region_dcache_behaviourSigned-off-by: Ye Li
Reviewed-by: Peng Fan
(cherry picked from commit 6f02d6894509e0aa79df9d1bdf5029136e1493b5) -
Update the LCDIF clocks to align with u-boot clock driver.
Since u-boot imx8 clock driver can gate and divide on slice clock,
so it does not create two clocks on slice clock.Signed-off-by: Ye Li
Reviewed-by: Peng Fan
(cherry picked from commit c5fddad29b23cd74732b6aa3720bd8d62f41462e)
03 Nov, 2020
2 commits
-
Check for NULL return value from fdt_getprop() in fdt_fixup_remove_jr()
Signed-off-by: Priyanka Singh
-
The sdhc peripheral clock support for lx2162aqds was missed.
Fixes: 1f9ecf088930 ("armv8: lx2162a: Add Soc changes to support LX2162A")
Signed-off-by: Yangbo Lu
30 Oct, 2020
2 commits
-
Signed-off-by: Ye Li
-
This is a workaround.
Always open the regulator of the sensor to ensure that the
pull-up of i2c3 is 3.3v. Otherwise, there will be a 1.8v high level
pull-up before enable sensor regulator in kernel boot stage.Reviewed-by: Fugang Duan
Signed-off-by: Clark Wang
(cherry picked from commit 6db6c8bf1a60baad7032f92822a0030b077d3602)
29 Oct, 2020
8 commits
-
Add gpio node for SoC LS208xA
Signed-off-by: Biwen Li
-
Add gpio node for SoC LS1088A
Signed-off-by: Biwen Li
-
Add gpio node for SoC LS1046A
Signed-off-by: Biwen Li
-
Add gpio node for SoC LS1043A
Signed-off-by: Biwen Li
-
Add gpio node for SoC LS1028A
Signed-off-by: Biwen Li
-
Add gpio node for SoC LS1012A
Signed-off-by: Biwen Li
-
Add gpio node for SoC LS1021A
Signed-off-by: Biwen Li
-
Fix a bug as belows,
=> gpio status -a
"Synchronous Abort" handler, esr 0x96000061
elr: 0000000082047964 lr : 0000000082047960 (reloc)
elr: 00000000fbd72964 lr : 00000000fbd72960
x0 : 00000000ffffffff x1 : 000000000000000a
x2 : 0000000000000020 x3 : 0000000000000001
x4 : 0000000000000000 x5 : 0000000000000030
x6 : 0000000000000020 x7 : 0000000000000002
x8 : 00000000ffffffe0 x9 : 0000000000000008
x10: 0000000000000010 x11: 0000000000000006
x12: 000000000001869f x13: 0000000000000230
x14: 00000000fbc23e9c x15: 00000000ffffffff
...
resetingSigned-off-by: Biwen Li
19 Oct, 2020
8 commits
-
Conflicts:
arch/arm/cpu/armv8/Kconfig
drivers/pci/pcie_layerscape_fixup.c
drivers/video/imx/Makefile
drivers/video/nxp/Kconfig
drivers/video/nxp/Makefile
drivers/video/nxp/hdp/Makefile
drivers/video/nxp/hdp/test_base_sw.cSigned-off-by: Ye Li
-
Rename fsl-ls1028a-qds.dts to fsl-ls1028a-qds.dtsi so that
it can be used as common device tree for lpuart and duart.
Add lpuart device tree and duart device tree respectively
for qds which are used with duart and lpuart console.Signed-off-by: Vabhav Sharma
Signed-off-by: Yuantian Tang -
Add lpuart nodes to enable lpuart feature
Signed-off-by: Vabhav Sharma
Signed-off-by: Yuantian Tang -
Rename old LPDDR4 EVK to EVK-QCA board which uses QCA wifi and BD71847
pmic, assign dedicated u-boot DTS and defconfig for this board, So we
can drop it easily in future.Set default EVK configuration for new LPDDR4 EVK which uses NXP PCA9540A
PMIC and NXP AW-CM358SM WIFI module.Signed-off-by: Ye Li
Reviewed-by: Peng Fan
(cherry picked from commit c8f5dbeecd7d7fb620b7652166378246c7ce8470) -
Add NAND boot support for i.MX8MP by adding i.MX8MP in nandbcb support
list, reading boot_search_count from fuse.i.MX8MN NAND boot is same as i.MX8MP, fix some issues as well.
Signed-off-by: Han Xu
Reviewed-by: Ye Li
(cherry picked from commit 532748895013d5c9178532f6f052318d4864a305) -
Fix regulator settings for imx8mn ab2 targets which use
regulator framework to power on main VDD_5V0 by calling
regulators_enable_boot_onSigned-off-by: Adrian Alonso
Reviewed-by: Ye Li
(cherry picked from commit 138594ca0e49a6da1ed3c9df0a1fe81463a9a3d4) -
This board uses 4GB DDR4 and replace emmc and flexspi to a raw NAND
socket. Add the support for this board, including SD boot, NAND boot,
and inline ECC (top 1/8 DDR used for ecc).Signed-off-by: Ye Li
Acked-by: Peng Fan
(cherry picked from commit 9b47aaef967bb7655312895c133e64e32e8f5b87) -
Add relevant configs and DTS for iMX8MN 11x11 DDR3L EVK in SPL/u-boot.
Compared with LPDDR4 EVK, the DDR3L EVK has below changes:
1. DDR is changed to 1GB DDR3L
2. WIFI chip is changed.
3. Power rails changed:
a) VDD_ARM is combined to VDD_SOC, so disable buck2.
b) NVCC_DRAM needs 1.35v for DDR3L.
c) VDD_SOC sets to 0.85v since DDR runs at 1600MTS
4. NO GPU and MIPI display. Splash screen is disabled.Signed-off-by: Ye Li
Reviewed-by: Peng Fan
(cherry picked from commit 752ab54b9cb983efcf1ea4bf68e87fb7b837a811)