09 Apr, 2020

1 commit


25 Nov, 2019

1 commit


11 Nov, 2019

1 commit


01 Nov, 2019

1 commit


11 Apr, 2019

1 commit


11 Mar, 2019

1 commit

  • We are currently using SC_R_LAST as a marker for imx8 power domain tree
    nodes without a resource attached. This value is compiled into dtb as
    part of the linux build and used by uboot.

    The SC_R_LAST constant changes frequently as SCFW resources are added
    (by design) and every time we need to update linux and uboot headers
    together or boot can fail.

    Fix this by replacing SC_R_LAST usage with a new constant SC_R_NONE
    defined to be 0xFFF0.

    Signed-off-by: Leonard Crestez
    Reviewed-by: Peng Fan
    (cherry picked from commit 93f302a6642adedfdd6336b22d08f32284539e35)

    Leonard Crestez
     

21 Feb, 2019

1 commit

  • To U-Boot on DomU, the lpuart0 is replaced with a xen paravirtual
    consol driver, but reused the previous lpuart node. However
    there is an power-domains entry in lpuart0 which will call
    power_domain_on and failed to probe xen paravirtual driver,
    because of recent change:
    commit 8524ca764d8f("MLK-20945-2 dm: device: Check the power up result in probe ")

    So remove the power-domains entry in lpuart0 to let DomU U-Boot could
    output again.

    Signed-off-by: Peng Fan
    Reviewed-by: Flynn xu
    (cherry picked from commit 38155100481a07e961f375052241d9d03e20a899)

    Peng Fan
     

12 Feb, 2019

2 commits


25 Jan, 2019

1 commit

  • There are two new validation boards: LPDDR4 board (30123) and DDR3L board (30010)
    for imx8x family 17x17 chips. These two boards have same design except the DDR.
    Since SCFW is resposible for DDR initialization, U-boot could use one build to
    cover two boards.
    The 8DX 17x17 DDR3L ARM2 has been added into u-boot before, so we rename the config
    CONFIG_TARGET_IMX8DX_DDR3_ARM2 to CONFIG_TARGET_IMX8X_17X17_VAL to cover DDR3L and
    LPDDR4.

    Considering 8DX and 8QXP 17x17 may solder to the boards, we create two defconfig:
    one for DX and another for 8qxp to share with the CONFIG_TARGET_IMX8X_17X17_VAL
    but with different FDTs.

    Signed-off-by: Ye Li

    Ye Li
     

09 Jan, 2019

2 commits


26 Nov, 2018

1 commit


19 Nov, 2018

1 commit

  • Some platforms don't have alias for usb1 device, so when initialize the
    second controller, its seq is allocated by u-boot automatically.
    This introduces a problem if the initialization of first controller is failed,
    for example nothing connect to first controller, then the seq allocated
    for second controller is 0 not 1. EHCI driver uses the seq as index for
    USB controller and phy, so it will cause initialization problem for second
    controller.

    Fix the issue by adding the usb1 alias for second USB controller.

    Signed-off-by: Ye Li
    Reviewed-by: Peng Fan

    Ye Li
     

16 Nov, 2018

1 commit


15 Nov, 2018

1 commit

  • Enable dm serial for xen uboot.

    Log as below:
    #xl console 1
    MMC: FSL_SDHC: 0
    Loading Environment from ... *** Warning - bad CRC, using default environment

    Failed (-5)
    In: serial@5a060000
    Out: serial@5a060000
    Err: serial@5a060000
    flash target is MMC:0
    Fastboot: Normal
    Normal Boot
    =>

    Signed-off-by: Peng Fan
    Reviewed-by: Peng Fan
    Reviewed-by: Flynn xu

    Peng Fan
     

03 Nov, 2018

2 commits

  • Align the new pinfunc names with header file for all iMX7ULP EVK and ARM2
    DTS files.
    Also update the EVK DTS files to align with kernel for Rev A3
    board. Removed the extcon node for USB ID, since A3 board uses USB ID pin
    not GPIO.

    Signed-off-by: Ye Li

    Ye Li
     
  • i.MX7ULP B0 silicon has below updates in iomux

    - GPIO function input buffer enable (IBE)/output buffer enable (OBE) is
    now controlled by RGPIO module. IOMUXC IBE/OBE is used as an override.
    - LPUART2_TX (I/O) to PTB12 (ALT4)
    - LPUART2_RX (I) to PTB13 (ALT4)
    - USB0_ID (I) to PTC13 (ALT11), PTC18 (ALT11) and PTC19 (ALT10)
    - VIU_DE (I) to PTC18 (ALT12), PTC19 (ALT12) and PTE5 (ALT12)
    - RTC_CLKOUT (O) to PTB5 (ALT11) and PTB14 (ALT11)
    - SEC_VIO_B (I) to PTB4 (ALT11)
    - Added new Input Selection Registers
    PSMI1_USB0_ID Address: 0x40ac_0338 To select USB_ID input pad/source
    PSMI1_VIU_DE Address: 0x40ac_033c To select VIU_DE input pad/source

    Copy the imx7ulp-pinfunc.h from latest kernel dts
    (commit 18cdeadfe1967ea33d3bdfc7ccead6d6d06a98a6), and update
    the mx7ulp-pins.h accordingly.

    Signed-off-by: Ye Li

    Ye Li
     

25 Oct, 2018

1 commit


17 Sep, 2018

1 commit


14 Sep, 2018

2 commits


13 Sep, 2018

1 commit


12 Sep, 2018

2 commits

  • Fixes 9486251ced24("MLK-19494 configs: imx8qm mek android audo: correct xen physical memory")

    correct text base, IPC address, memmap.

    Signed-off-by: Peng Fan

    Peng Fan
     
  • Remove some unnecessary nodes based on default dts file to reduce
    u-boot boot time, add node '/config/load-environment' and set its
    value as '0' to tell u-boot not to load environment variables from
    eMMC.
    This commit can save about 220ms on imx8qxp and about 270ms on imx8qm..

    Test: Boots ok on both imx8qm/imx8qxp.

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

    Luo Ji
     

11 Sep, 2018

1 commit


28 Aug, 2018

1 commit

  • By default, imx8qm b0 silicon set the IO voltage to 2.5v, but the arm2
    board is 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:
    For ENET0: SC_P_COMP_CTL_GPIO_1V8_3V3_ENET_ENETB
    For ENET1: SC_P_COMP_CTL_GPIO_1V8_3V3_ENET_ENETA
    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]=010

    The patch update PIN IO setting to 3.3V.

    Reviewed-by: Ye Li
    Tested-by: Fugang Duan
    Signed-off-by: Fugang Duan

    Andy Duan
     

13 Aug, 2018

1 commit


11 Aug, 2018

1 commit


10 Aug, 2018

2 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)

    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]=010

    Reviewed-by: Ye Li
    Signed-off-by: Fugang Duan

    Andy Duan
     

03 Aug, 2018

1 commit


01 Aug, 2018

1 commit


28 Jul, 2018

1 commit


20 Jul, 2018

2 commits

  • According to RM, usdhc 100MHz pad setting need to set SRE(slew rate
    field) to 0x01(Medium Frequency Slew Rate 100MHz), usdhc 200MHz pad
    setting need to set SRE to 0x11(Max Frequency Slew Rate 200MHz).

    Signed-off-by: Haibo Chen
    (cherry picked from commit 9d19a3627124ff4d61e62d3031777b6041c07810)

    Haibo Chen
     
  • Add board level codes for enabling splash screen on imx8mm EVK. We
    support two different display connecting to MIPI DSI miniSAS interfaces:

    1. MIPI2HDMI daughter card (default)
    2. RM67191 OLED panel

    Users can set "panel" env vairable to "MIPI2HDMI" or "RM67191_OLED" to
    switch them after reboot.

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

    Ye Li
     

16 Jul, 2018

1 commit

  • We enabled the DM for xhci-imx8m driver which uses compatible string
    "fsl, imx8mq-dwc3". But found a issue that u-boot will get four USB bus not two.
    The reason is the low level driver xhci-dwc3 also adds the DM support which uses
    compatible string "snps,dwc3". Thus, one USB node and its dwc3 subnode are both
    binded as independent USB bus.

    Since the xhci-imx8m driver uses xhci-dwc3 as low level driver, to fix the issue
    we add -u-boot.dtsi files to change the USB node compatible string to
    "simple-bus" and change dwc3 node compatibe string to "fsl, imx8mq-dwc3". Then
    xhci-dwc3 DM driver won't bind any node.

    Signed-off-by: Ye Li

    Ye Li
     

02 Jul, 2018

1 commit


15 Jun, 2018

1 commit


14 Jun, 2018

1 commit

  • We are targeting let uboot loading images from emmc to boot android.
    Currently only emmc1 is enabled, so other devices are disabled.

    Also change memory layout according to VM layout. The memory layout
    needs to be samesize as what you configured in as "memory = "3584"".

    Add a new dts dedicated for this kind uboot, add a new defconfig
    to select CONFIG_XEN/CONFIG_XEN_DEBUG_SERIAL, deselect CONFIG_DM_SERIAL,
    select CONFIG_ENABLE_ARM_SOC_BOOT0_HOOK, and disable some devices
    compared with imx8qm_mek_androidauto_defconfig.

    Signed-off-by: Peng Fan
    (cherry picked from commit a4e932cae433b9d2e1cff6a94b12e4abcac45543)

    Peng Fan