28 Jan, 2021

1 commit


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

    BJ DevOps Team
     
  • 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

    Ioana Ciornei
     

17 Jan, 2021

2 commits


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)

    Ye Li
     
  • VDD SOC normal run changed to 0.85V
    LPDDR4 freq0 change from 4000MTS to 2400MTS

    Change-Id: I69676ea5b582a817fb3c367bd861db96ba647540
    (cherry picked from commit 1205f1edfaed1383181d4d52344cc55e5e92a351)

    haidong.zheng
     
  • The device IDs are provisioned from bootloader, this commit
    add commands to provision the deivce IDs:
    $ fastboot oem append-device-id

    Test: Device IDs provision and attest.

    Change-Id: Id3c737d3da02f7ba463e51b0525f3cb9bcf0c6d1
    Signed-off-by: Ji Luo
    (cherry picked from commit 7575ac07ac625c35269868511297385a69c96196)

    Ji Luo
     
  • 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)

    faqiang.zhu
     

21 Dec, 2020

1 commit


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)

    faqiang.zhu
     
  • 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)

    faqiang.zhu
     

10 Dec, 2020

3 commits


20 Nov, 2020

2 commits


19 Nov, 2020

2 commits


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)

    Haibo Chen
     

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: 00000000b7634d10

    Code: d2800003 eb03005f 54000101 d65f03c0 (f8636826)
    Resetting CPU ...

    Signed-off-by: Biwen Li

    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_behaviour

    Signed-off-by: Ye Li
    Reviewed-by: Peng Fan
    (cherry picked from commit 6f02d6894509e0aa79df9d1bdf5029136e1493b5)

    Ye Li
     
  • 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)

    Ye Li
     

30 Oct, 2020

6 commits

  • Signed-off-by: Ye Li

    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)

    Ji Luo
     
  • 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)

    Ji Luo
     
  • 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)

    Ji Luo
     
  • 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)

    faqiang.zhu
     
  • 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)

    faqiang.zhu
     

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
    ...
    reseting

    Signed-off-by: Biwen Li

    Biwen Li
     

19 Oct, 2020

10 commits