18 May, 2020

3 commits

  • Add board level support and configs for standard android and android automotive,
    each board has android/android auto specific header files include.

    Test: boot/fastboot/avb/AB switch/trusty test.

    Change-Id: I3beb84f251451d0003f0ef44d0cba51d0d773ca3
    Signed-off-by: Ji Luo

    Ji Luo
     
  • camera sometime can't been open once run M4 image.
    ISI-CH0 probe funtion is not called when meet issue.

    The root cause is:
    M4 image set assign resource SC_R_ISI_CH0 into m4 partition
    when open camera in m4 side.
    Uboot will call update_fdt_with_owned_resources to check
    the pd in current dts node. it will call sc_rm_is_resource_owned to
    check the pd whether in other partition, if yes, it will delete
    the dts node. uboot delete isi_0 node whose pd is SC_R_ISI_CH0.

    add CONFIG_SKIP_RESOURCE_CHECKING to skip checking resource when load
    dtb.

    Change-Id: Iaf9a5eda07074c45c15c43f23cb6ad6b5a77de47
    Signed-off-by: zhang sanshan

    Ji Luo
     
  • This commit enables dual bootloader feature for imx8m/imx8q, but
    as commit 'a2018ab' already brings in some dual bootloader codes
    when enabling fastboot support, so this commit won't be a complete
    and standalone patch to introduce the dual bootloader feature.

    This commit will do the following:
    1. clean up dual bootloader flow and add missing implementation.
    2. Merge the dual bootloader entry for fit and container to one
    function 'mmc_load_image_raw_sector_dual_uboot'.

    Change-Id: Ic9410a48092cc05de599dd897fc912177e2a1fe1
    Signed-off-by: Ji Luo

    Ji Luo
     

27 Apr, 2020

6 commits

  • Set MCR0 RXCLKSRC to 1 to enable DQS loopback from pad to support
    higher frequency.

    Signed-off-by: Ye Li
    (cherry picked from commit 256fcd3df1b0a0b9c0fb730fabb7497800cda3a6)
    (cherry picked from commit fd90ac4654cf63d7518fc549f7a2b39d6a2e0230)

    Ye Li
     
  • Add the uuu environment to each board, when booting from USB, the
    u-boot will use them by default

    Signed-off-by: Ye Li
    (cherry picked from commit e36e653ca2f5b0e879d84925219455790acaf2d2)

    Ye Li
     
  • Porting the FSL android fastboot features from imx u-boot v2018.03 to
    support all SoCs: imx6/imx7/imx7ulp/imx8/imx8m.

    The UUU commands like UCmd and ACmd are also added. Users need set
    CONFIG_FASTBOOT_UUU_SUPPORT=y to enable the feature.

    Signed-off-by: Frank Li
    Signed-off-by: Ye Li
    (cherry picked from commit 65120b06a7f750b9b1a6e0db3d2082cc7088d5a8)
    (cherry picked from commit 9b149c2a28829fe7017f83981d634157bc31cc94)

    Ye Li
     
  • Add emmc support which needs board rework.
    Add I2C2.
    Update DM PMIC settings and LDO bypass support.
    Add BMODE support.
    Add LVDS and LCD splash screen support
    Add PCI power and reset GPIO and disable PCI at default.
    Update QSPI settings for QSPI boot and M4 fastup.
    Update environment settings

    Signed-off-by: Ye Li
    (cherry picked from commit e74716b6e78f016226dc9f800b04574f545d9367)
    (cherry picked from commit f3dd07286dc39d3028deaedf5dc1668929cbfd29)

    Ye Li
     
  • The i.MX6SL EVK needs this driver in android fastboot support. Add
    this driver to u-boot.

    To use the driver, user must define:

    CONFIG_MXC_KPD Enable the driver
    CONFIG_MXC_KEYMAPPING Key mapping matrix
    CONFIG_MXC_KPD_COLMAX The column size of key mapping matrix
    CONFIG_MXC_KPD_ROWMAX The row size of the key mapping matrix

    Signed-off-by: Ye Li
    (cherry picked from commit 5096e572667ff41217deb4ba9b1bd15e93fa6b59)
    (cherry picked from commit e84160eaf5c057da45a227039c6f8a7911f43a82)
    (cherry picked from commit 7f8757016e97adeacba256bd0cb6ad8882f6a51e)
    (cherry picked from commit 79f5e8a3cc9bb1460dd06fa4909ff200d147377c)

    Ye Li
     
  • Add gis module, current gis is support vadc input.
    Add power down function to lcdif driver.

    Signed-off-by: Sandor Yu
    Signed-off-by: Ye.Li
    (cherry picked from commit a007b00dd8ef9f773dfdebef0b1deb0990281793)
    (cherry picked from commit a31dcdafb0963381e7213c59f79a340ef27ec2e2)
    (cherry picked from commit 02dfe2e4af5f51d39a51542fb0e81f93faf505bc)
    (cherry picked from commit a8e94954d8ccc44c41d77a5e356d6a99b3d45649)
    (cherry picked from commit 0864a17afbc93fed72273c7d7d3be0fc8681e794)
    (cherry picked from commit 20918f8e062111ca11bc9e3b82732145792c87c2)

    Ye.Li
     

23 Apr, 2020

2 commits

  • Port fsl_fspi driver for flexspi controller from imx_v2019.04.
    This driver supports:
    1. DDR Quad output
    2. Prefetch function for improve read performance.
    3. Fast read and Quad read for one line read mode.
    4. Read flash FSR register.
    5. DM driver and SPI-MEM supported

    Signed-off-by: Han Xu
    Signed-off-by: Ye Li
    (cherry picked from commit ae4e80b7b0debd2ad868781aaeb28ca4f2d9a8aa)
    (cherry picked from commit dcd5504f6493d9aed415f397f1c13611fc202605)
    (cherry picked from commit 902fba8f72e98d6c742674d305c855f3595c48b6)

    Ye Li
     
  • - one lane pcie gen2 link is okay, the cfg space
    of the rc/ep can be accessed.
    rc cfg base 0x5f00_0000. ep cfg base 0x6000_0000
    - limit to gen2 speed
    - mask the wait of eq3 finish, because it is used
    for gen3.
    - use pcie_ctrla_init_rc() to do the initialization
    of the pciea controller
    - setup the common pcie codes in pcie_imx8x.c, separate
    the different soc speicifed initialization codes into
    their own pcie/board codes, move the macro definitions
    into the new header file imx8_hsio.h.
    - i.MX8QXP only have PCIe Control B. Enable PORT B at default.
    i.MX8QM needs to set CONFIG_IMX_PCIEB to enable PORT B.
    - Disable the LTSSM when link is down.

    Signed-off-by: Frank Li
    Signed-off-by: Richard Zhu
    Signed-off-by: Shenwei Wang
    Signed-off-by: Ye Li
    (cherry picked from commit 03141c2b955ce6034f06e701126aea1493dc2b4b)
    (cherry picked from commit 99c90ff2de4849aafa0043932353e2c199d22e5f)
    (cherry picked from commit ededb7dfeeb765bc64939dc8ba09c826568ff04e)

    Ye Li
     

29 Feb, 2020

1 commit


13 Feb, 2020

1 commit


03 Feb, 2020

1 commit

  • Migrate CONFIG_DESIGNWARE_WATCHDOG to Kconfig and update the headers
    accordingly, no functional change. The S10 enables the WDT only in
    SPL, but does not enable it in U-Boot itself, hence disable it in
    the config again.

    Signed-off-by: Marek Vasut
    Cc: Chin Liang See
    Cc: Dalon Westergreen
    Cc: Dinh Nguyen
    Cc: Jagan Teki
    Cc: Ley Foon Tan
    Cc: Philipp Tomisch
    Cc: Simon Goldschmidt
    Cc: Tien Fong Chee

    Marek Vasut
     

23 Jan, 2020

4 commits


18 Jan, 2020

3 commits


16 Jan, 2020

1 commit

  • The below patch added eSDHC periperhal clock code initially.
    2d9ca2c mmc: fsl_esdhc: Add peripheral clock support

    The purpose was to fix up device tree properties "peripheral-frequency"
    so that linux could get the periperhal clock by it.
    However the implementation on both u-boot and linux was only
    for a Freescale SDK release. The linux part implementation had never
    been upstreamed. These code should not have been exist on u-boot
    mainline.

    Let's remove the powerpc part changes but keep the changes in
    fsl_esdhc driver. The changes in fsl_esdhc driver could be utilized
    to support SD UHS and eMMC HS200/HS400 speed modes for current
    Layerscape ARM platforms.

    Signed-off-by: Yangbo Lu

    Yangbo Lu
     

10 Jan, 2020

2 commits


07 Jan, 2020

3 commits


23 Dec, 2019

2 commits


05 Dec, 2019

1 commit


03 Dec, 2019

2 commits


21 Nov, 2019

3 commits

  • Rsync all defconfig files using moveconfig.py

    Signed-off-by: Tom Rini

    Tom Rini
     
  • - In ARMv8 NXP Layerscape platforms we also need to make use of
    CONFIG_SYS_RELOC_GD_ENV_ADDR now, do so.
    - On ENV_IS_IN_REMOTE, CONFIG_ENV_OFFSET is never used, drop the define
    to 0.
    - Add Kconfig entry for ENV_ADDR.
    - Make ENV_ADDR / ENV_OFFSET depend on the env locations that use it.
    - Add ENV_xxx_REDUND options that depend on their primary option and
    SYS_REDUNDAND_ENVIRONMENT
    - On a number of PowerPC platforms, use SPL_ENV_ADDR not CONFIG_ENV_ADDR
    for the pre-main-U-Boot environment location.
    - On ENV_IS_IN_SPI_FLASH, check not for CONFIG_ENV_ADDR being set but
    rather it being non-zero, as it will now be zero by default.
    - Rework the env_offset absolute in env/embedded.o to not use
    CONFIG_ENV_OFFSET as it was the only use of ENV_OFFSET within
    ENV_IS_IN_FLASH.
    - Migrate all platforms.

    Cc: Wolfgang Denk
    Cc: Joe Hershberger
    Cc: Patrick Delaunay
    Cc: uboot-stm32@st-md-mailman.stormreply.com
    Signed-off-by: Tom Rini
    Acked-by: Joe Hershberger
    Reviewed-by: Simon Goldschmidt

    Tom Rini
     
  • We have CONFIG_ENV_SIZE_IS_REDUND but don't really use it. We have one
    board where we can simply multiple CONFIG_ENV_SIZE by two for the same
    result. The other place where we could but were not previously using
    this is for where env_internal.h checks for if we should set
    ENV_IS_EMBEDDED. This seems like the most likely use, historically, of
    the variable, but it was not used. Add logic to check for this now.

    Cc: Wolfgang Denk
    Cc: Joe Hershberger
    Signed-off-by: Tom Rini
    Reviewed-by: Simon Glass
    Acked-by: Joe Hershberger

    Tom Rini
     

13 Nov, 2019

1 commit


08 Nov, 2019

1 commit


10 Oct, 2019

1 commit

  • Xilinx/FPGA changes for v2020.01

    FPGA:
    - Enable fpga loading on Versal
    - Minor fix

    Microblaze:
    - Fix LMB configurations to support initrds
    - Some other cleanups

    Zynq:
    - Minor config/dt changes
    - Add distro boot support for usb1 and mmc1
    - Remove Xilinx private boot commands and use only distro boot

    ZynqMP:
    - Kconfig cleanups, defconfig updates
    - Update some dt files
    - Add firmware driver for talking to PMUFW
    - Extend distro boot support for jtag
    - Add new IDs
    - Add system controller configurations
    - Convert code to talk firmware via mailbox or SMCs

    Versal:
    - Add board_late_init()
    - Add run time DT memory setup
    - Add DFU support
    - Extend distro boot support for jtag and dfu
    - Add clock driver
    - Tune mini configurations

    Xilinx:
    - Improve documentation (boot scripts, dt binding)
    - Enable run time initrd_high calculation
    - Define default SYS_PROMPT
    - Add zynq/zynqmp virtual defconfig

    Drivers:
    - Add Xilinx mailbox driver for talking to firmware
    - Clean zynq_gem for Versal
    - Move ZYNQ_HISPD_BROKEN to Kconfig
    - Wire genphy_init() in phy.c
    - Add Xilinx gii2rgmii bridge
    - Cleanup zynq_sdhci
    - dwc3 fix
    - zynq_gpio fix
    - axi_emac fix

    Others:
    - apalis-tk1 - clean config file

    Tom Rini
     

09 Oct, 2019

2 commits