28 Jan, 2021
1 commit
-
* origin/imx_v2020.04:
MA-18635 Android: eliminate build warnings
MA-18634-2 Android: sync config change
MA-18634-1 Android: refine config dependency
27 Jan, 2021
2 commits
-
* origin/ls_v2020.04:
net: memac_phy: add a timeout to MDIO operations
armv8: lx2: SVR_SOC_VER: Mask CAN_FD and security bit -
We have encountered circumstances when a board design does not include
pull-up resistors on the external MDIO buses which are not used. This
leads to the MDIO data line not being pulled-up, thus the MDIO controller
will always see the line as busy.Without a timeout in the MDIO bus driver, the execution is stuck in an
infinite loop when any access is initiated on that external bus.Add a timeout in the driver so that we are protected in this
circumstance. This is similar to what is being done in the Linux
xgmac_mdio driver.Signed-off-by: Ioana Ciornei
17 Jan, 2021
2 commits
-
Fix warning: unused variable 'status'.
Test: build.
Change-Id: I948a33686892f940d6be0e315756c23e0ae561ae
Signed-off-by: Ji Luo
(cherry picked from commit 0bb05e819f427780a3a74b95a78f12b6dd0acaa7) -
Refine the dependency of some configs to make it
easier to add/modify android config files.Test: builds.
Change-Id: Iccb044dadc7ce1e0b839bf83e2e9157e718f286c
Signed-off-by: Ji Luo
(cherry picked from commit 86f4f99a367bbc0ef99d4ab2a0b4078babfbfbd2)
08 Jan, 2021
4 commits
-
Default reset_cpu in imx_watchdog driver is clearing the WDA bit
to assert WDOG_B output. However, this requires the iomuxc for the WDOG_B
is configured by board codes or DTS. Without it, next external reset
with WDOG_B iomuxc configured will not work.On iMX6, we always use internal reset to support some features like bmode.
So the iomuxc for WDOG_B never be set. Change back the reset_cpu to use
internal reset.Signed-off-by: Ye Li
Reviewed-by: Peng Fan
(cherry picked from commit aa97f1de484a165212cec56bd8ed38227c8f828a) -
VDD SOC normal run changed to 0.85V
LPDDR4 freq0 change from 4000MTS to 2400MTSChange-Id: I69676ea5b582a817fb3c367bd861db96ba647540
(cherry picked from commit 1205f1edfaed1383181d4d52344cc55e5e92a351) -
The device IDs are provisioned from bootloader, this commit
add commands to provision the deivce IDs:
$ fastboot oem append-device-idTest: Device IDs provision and attest.
Change-Id: Id3c737d3da02f7ba463e51b0525f3cb9bcf0c6d1
Signed-off-by: Ji Luo
(cherry picked from commit 7575ac07ac625c35269868511297385a69c96196) -
pass imx8 soc revision info to kernel so it can be used to judge
bootloader0 partition offset in postinstall command and update
the partition.Change-Id: Ifc4d3d2abe8a694d7ec6f368c3e56f3d175982e5
Signed-off-by: faqiang.zhu
(cherry picked from commit cc51505010505ad39a12c07e7405bb992407d927)
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
2 commits
-
If the target device have DOS partition, uboot will save the partition
type as dos partition at early stage when the driver bind the device.
After the gpt partition is flashed, uboot will try to reload the DOS
partition, instead of the the EFI partition.In this commit, if the GPT partition is successfully flashed, set the
partition type to be PART_TYPE_EFI if necessary, so the EFI partitions
will be reloaded.Change-Id: I6095cb56c73aecee24f76d169db89daba3783e29
Signed-off-by: faqiang.zhu
(cherry picked from commit 62becd667e5f3ebbefef796818eda78f4d0e167b) -
evk_7ulp images has normal ramdisk in boot.img and recovery ramdisk in
recovery.img.Normal ramdisk in boot.img is used to boot up Android, ramdisk addr need
to be passed to kernel any way.Recovery ramdisk in recovery.img is not used to boot up Android, there
is no need to pass "androidboot.force_normal_boot=1".Change-Id: Id1e9c31035cbf65cd325c70a0aa9df05ea1d90b2
Signed-off-by: faqiang.zhu
(cherry picked from commit 3f4d826944f7f0db9251cf26f6f65014ca3f5e8a)
10 Dec, 2020
3 commits
-
* origin/dn_uboot:
watchdog: sbsa: timeout should be in "millisecond"
usb: xhci: Fix armv7 compile warning -
timeout should be in "millisecond" instead of second,
so divided it by 1000 when calculate the load value.Signed-off-by: Zhao Qiang
-
drivers/usb/host/xhci-ring.c: In function 'xhci_bulk_tx':
drivers/usb/host/xhci-ring.c:726:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
726 | if ((void *)le64_to_cpu(event->trans_event.buffer) != last_transfer_trb_addr) {
| ^Signed-off-by: Ran Wang
20 Nov, 2020
2 commits
-
* 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
... -
Use the struct lpspi when it is not a NULL ptr.
Reviewed-by: Fugang Duan
Signed-off-by: Clark Wang
(cherry picked from commit 697198f65dba420534e8df1d5443f0b0869cc31f)
19 Nov, 2020
2 commits
-
This reverts commit db5e48bab9ef90b05da8c4ad396a9a959506b2fe.
The changes needs rework to work on i.mx devices
LFU-40Signed-off-by: Priyanka Jain
-
This reverts commit ef959d695523c391a68093550a3bfb8714ab7ac9.
The changes needs rework to work on i.mx devices
LFU-40Signed-off-by: Priyanka Jain
16 Nov, 2020
1 commit
-
On imx6Q/imx6DL, we find if config the DTOCV to 0~3, it will impact
cmd6 behavior, after cmd6 get transfer complete interrupt, the data0
line will keep low over 5 seconds. This should be a IC bug on imx6Q/DL.
For other platforms, do not has this issue.To fix this issue, fix the DTOCV to 0xE, the max setting, this also align
with Linux configuration.Signed-off-by: Haibo Chen
Reviewed-by: Ye Li
(cherry picked from commit 6df53e27277d43353cfffd895b7b1c1e1b847ab3)
09 Nov, 2020
1 commit
-
Read PFE ESBC header flash with spi_flash_read API
- logs as follows,
Net: SF: Detected s25fs512s with page size 256 Bytes, erase size 256
KiB, total 64 MiB
"Synchronous Abort" handler, esr 0x96000210
elr: 000000008206db44 lr : 0000000082004ea0 (reloc)
elr: 00000000b7ba6b44 lr : 00000000b7b3dea0
x0 : 00000000b79407e8 x1 : 0000000040640000
x2 : 0000000000000050 x3 : 0000000000000000
x4 : 000000000000000a x5 : 0000000000000050
x6 : 0000000000000366 x7 : 00000000b7942308
x8 : 00000000b76407c0 x9 : 0000000000000008
x10: 0000000000000044 x11: 00000000b7634d1c
x12: 000000000000004f x13: 0000000000000044
x14: 00000000b7634d98 x15: 00000000b76407c0
x16: 0000000000000000 x17: 0000000000000000
x18: 00000000b7636dd8 x19: 0000000000000000
x20: 00000000b79407d0 x21: 00000000b79407e8
x22: 0000000040640000 x23: 00000000b7634e58
x24: 0000000000000000 x25: 0000000003800000
x26: 00000000b7bdd000 x27: 0000000000000000
x28: 0000000000000000 x29: 00000000b7634d10Code: d2800003 eb03005f 54000101 d65f03c0 (f8636826)
Resetting CPU ...Signed-off-by: Biwen Li
06 Nov, 2020
2 commits
-
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) -
Add relevant clocks tree for LCDIF. According to design, LCDIF has
a slice and a dedicated eLCDIF PLL for pixel clock.
On iMX8QXP, there is pixel link mux which is muxed with LCDIF IOs.
It uses slice bypass reference clock for pix clock input.Signed-off-by: Ye Li
Reviewed-by: Peng Fan
(cherry picked from commit c189dad00743c7a3fcd80d716498289fa7cb2c40)
30 Oct, 2020
6 commits
-
Signed-off-by: Ye Li
-
Add support for 'fastboot snapshot-update cancel', it cancels
the snapshot update process so erase/update partitions can
proceed.Test: run 'fastboot snapshot-update cancel'.
Signed-off-by: Ji Luo
Change-Id: Ic1dfaf09a27fecf6e14b7149aeb5e0a9a1d220c9
(cherry picked from commit 3074fbf88b1b654026608574b94fdd58426ae493) -
Add support for 'fastboot getvar snapshot-update-status', it
returns the snapshot update states.Test: run 'fastboot getvar snapshot-update-status'
Signed-off-by: Ji Luo
Change-Id: Ifd46410994b11c327373a35eb86d121f321e39ae
(cherry picked from commit 28c6cbec7fe9e613620e5d80b7b43d1ca6bdd9c6) -
Set the initial 'source_slot' in 'misc_virtual_ab_message' as
the current slot. At the same time, add slot checks before
erase data if virtual A/B is enabled.Test: virtual A/B update and erase.
Signed-off-by: Ji Luo
Change-Id: I84896335a95d9188b85e114037b470b3f4e7a209
(cherry picked from commit a522c2245c3e58adbbcb99c43e0917ce315cc1aa) -
To use dynamic partition feature in Android, recovery ramdisk is used to
mount the logical partitions and boot up Android.Define a configuration item "CONFIG_ANDROID_DYNAMIC_PARTITION", use it
to control the bootargs and whether ramdisk should be loaded instead of
"CONFIG_ANDROID_AUTO" because now Android auto also use dynamic
partition feature now.Move the definition of function "fastboot_setup_system_boot_args" under
the macro "CONFIG_CMD_BOOTA" to avoid build warnings.Signed-off-by: faqiang.zhu
Change-Id: I0b1cfe6120fc939e7f1a1eb600d8176c81edf129
(cherry picked from commit 972ccff86796e2b7f9a444d09550cd5e393cd93e) -
If a partition is not less than 4GB, to avoid the overflow issue when
calculate the partition size in bytes, change the value of partition
length in block size to the type of "unsigned long".Change-Id: Ifa4ddb5169fcb02822ef152a6c70d01b5d3cf50d
Signed-off-by: faqiang.zhu
(cherry picked from commit c4e9be08d90ca59531542c97bd8fe16eab2ab099)
29 Oct, 2020
1 commit
-
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
10 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
-
Since the HDP will be shared with i.MX. Move the common HDP library
codes to "driver/video/nxp/hdp" directory.
And use platform specified directory "driver/video/nxp/layerscape"
for LS driver codes and configurations.Signed-off-by: Ye Li
Reviewed-by: Alison Wang -
The register to enable/disable the write-permission of DBI RO
registers should be accessed via the CFG_ADDR/CFG_DATA registers
instead of accessing directly.Signed-off-by: Hou Zhiqiang
-
fix the fspi read function build warning
The fspi IPS read function was not used since all configs enabled the
AHB read. Fixed the warning after disable AHB read on iMX8DXL.Signed-off-by: Han Xu
(cherry picked from commit 5be6af1ccd237f785325f8ffdfa65cd6e2ad7904) -
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) -
When doing DDR scrub, the DDR may enter into self refresh if the
selfref_en is enabled before DDR scrub. This will cause scrub
can't complete that SBRSTAT.scrub_done won't be set.Since the selfref_en can be programmed during the course of
normal operation, move it after DDR scrubSigned-off-by: Ye Li
Acked-by: Peng Fan
(cherry picked from commit 777c5efdc07387edcb88aca0aed9bd4c254828af) -
Check the gis channel and command number.
fix Coverity isuse 9440958 9440962 9440963.Signed-off-by: Sandor Yu
Reviewed-by: Robby Cai
(cherry picked from commit 21d157e63c4e39c7e0806aaa1afc7835a3914999) -
size_t used here are "long unsigned int", so use %lx when print it to
avoid the build warnings.Signed-off-by: Clark Wang
Reviewed-by: Fugang Duan
(cherry picked from commit 1fecb7888699f9b7c9c750c65091b2fdef1da3ac) -
Add LPSPI relevant clocks to clk-imx8qxp driver, so LPSPI IMX driver can
set the clocks through DTB.Signed-off-by: Clark Wang
Reviewed-by: Ye Li
(cherry picked from commit dd6a4a23ac8a774f576bacd6a67ca4d56307df26) -
Add the LPSPI driver for imx7ulp/8qxp/8dxl/8qm.
Need to enable these two options to use this driver:
CONFIG_DM_SPI=y
CONFIG_FSL_LPSPI=ySigned-off-by: Clark Wang
Reviewed-by: Ye Li
Reviewed-by: Fugang Duan
(cherry picked from commit 01a03144cf1f1cbefd4a829a1980759e1bf57b6a)