16 Dec, 2014

1 commit


04 Dec, 2014

1 commit

  • The PCIe support in uboot would bring failures in i.MX6SX PCIe
    EP/RC validations. Disable PCIe support in uboot here.
    RootCause: The bit10(ltssm_en) of GPR12 would be set in uboot,
    thus the i.MX6SX PCIe EP would be cheated that the other i.MX6SX
    PCIe RC had been configured and trying to setup PCIe link
    directly, although the i.MX6SX RC is not properly configured
    at that time.
    PCIe can be supported in uboot, if the i.MX6SX PCIe EP/RC
    validation is not running.

    Signed-off-by: Richard Zhu
    (cherry picked from commit db79603eeb96ca2e55336fc25b0529c249247454)

    Richard Zhu
     

02 Dec, 2014

2 commits


30 Nov, 2014

1 commit


23 Nov, 2014

1 commit


16 Nov, 2014

2 commits


06 Nov, 2014

1 commit

  • MX6SX sabreauto board has analog video input from VADC. Add the GIS
    support for this board that video input can display on LVDS at booting.

    The environment variable "gis" must be set to "vadc" to enable the function.

    Signed-off-by: Ye.Li
    (cherry picked from commit 5f2008a6dc08f07d462a063a0642f5e54fedbd21)

    Ye.Li
     

24 Oct, 2014

2 commits


20 Oct, 2014

1 commit


09 Oct, 2014

2 commits


29 Sep, 2014

1 commit


26 Sep, 2014

1 commit

  • Create mx6sx sabreauto BSP file and configurations. The devices below
    have been supported:

    1. SD/MMC/eMMC on SDA/SDB (base board) sockets
    2. USB OTG port and USB HOST port (base board)
    3. NAND flash
    4. QuadSPI flash on QSPI1
    5. I2C
    6. PMIC PFUZE100
    7. Onboard ethernet chip on ENET2
    8. Splash screen on LVDS

    Signed-off-by: Ye.Li

    Ye.Li
     

18 Sep, 2014

1 commit


04 Sep, 2014

1 commit


31 Jul, 2014

1 commit

  • Enable pcie support in uboot on imx6sx sd boards
    - enable_pcie_clock should be call before ssp_en is set,
    since that ssp_en control the phy_ref clk gate, turn on
    it after the source of the pcie clks are stable.
    - add debug info
    - add rx_eq of gpr12 on imx6sx
    - there are random link down issue on imx6sx. It's
    pcie ep reset issue.
    solution:reset ep, then retry link can fix it.

    Signed-off-by: Richard Zhu

    Richard Zhu
     

25 Jul, 2014

1 commit


17 Jul, 2014

2 commits

  • imx6 q/dl/solo pcie would be failed to work properly in kernel, if
    the pcie module is iniialized/enumerated both in uboot and linux
    kernel.
    rootcause:imx6 q/dl/solo pcie don't have the reset mechanism.
    it is only be RESET by the POR. So, the pcie module only be
    initialized/enumerated once in one POR.
    Set to use pcie in kernel defaultly, mask the pcie config here.
    Remove the mask freely, if the uboot pcie functions, rather than
    the kernel's, are required.

    Signed-off-by: Richard Zhu

    Richard Zhu
     
  • The iMX6SX SABRESD RevB board uses Micron N25Q128 to replace Spansion S25FL128
    on RevA board.
    So enable the CONFIG_SPI_FLASH_STMICRO and CONFIG_SPI_FLASH_SPANSION to support
    both two revisions.

    Signed-off-by: Ye.Li

    Ye.Li
     

15 Jul, 2014

1 commit


08 Jul, 2014

1 commit

  • GIS module need about 3M+3M+1.5M+1.5M=9M memory.
    When gis module enabled, malloc may failed to allocate memory
    for other modules, that may cause system hang.

    Expand malloc pool to 32M, system hang issue can not duplicate
    on mx6sx arm2 board.
    pass one night reset stress test.

    Signed-off-by: Sandor Yu

    Sandor Yu
     

04 Jul, 2014

2 commits


03 Jul, 2014

1 commit


30 Jun, 2014

1 commit

  • The kernel changes to fix the mmcblk index with USDHC controllers
    as below:
    mmcblk0 ---> USDHC1
    mmcblk1 ---> USDHC2
    mmcblk2 ---> USDHC3
    mmcblk3 ---> USDHC4

    So in u-boot, the "mmcroot" must be updated together.

    When booting from SD/MMC device, change the "mmcroot" to
    dynamically set according to the boot USDHC controller.
    It is the same mechanism as "mmcdev" used for kernel image loading.
    Therefore, the uboot, kernel image, dtb and rootfs are required
    in same SD/MMC card.
    To disable the mmc dynamical detection, set the "mmcautodetect" to "no",
    then "mmcroot" and "mmcdev" will not be overwritten.

    When booting from other devices which needs to load kernel, dtb and
    rootfs from SD/MMC card, their "mmcdev" reset vaule is
    CONFIG_SYS_MMC_ENV_DEV and "mmcroot" reset value is CONFIG_MMCROOT.

    Signed-off-by: Ye.Li

    Ye.Li
     

25 Jun, 2014

1 commit

  • The NOR flash PC28F00AG18 has 512 of 256KB erase blocks which are
    locked after power on reset. Change the 17x17 ARM2 configurations
    to match the flash parameters, and enable the CONFIG_SYS_FLASH_PROTECTION
    to allow write to the flash.

    The EIM-NOR on 17x17 ARM2 board uses MUXed mode. This has less
    effort on board rework.

    When boot from EIM-NOR, set SW8, SW7, SW5 to all off.

    Signed-off-by: Ye.Li

    Ye.Li
     

20 Jun, 2014

1 commit


17 Jun, 2014

10 commits

  • Enable gis function for mx6sx 19x19 arm2 board
    Expand malloc buf pool to 16M.

    Signed-off-by: Sandor Yu
    Signed-off-by: Ye.Li

    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

    Ye.Li
     
  • Enable the "CONFIG_CMD_BMODE" and add BSP support.

    "bmode" supports to reboot:
    SD4, QSPI2 (SABRESD)
    SD2, SD3, eMMC, QSPI2, NAND, SPINOR (17x17 ARM2)
    SD1, QSPI2, SPINOR, EIMNOR (19x19 ARM2)

    BTW: Board rework is needed on ARM2 for NAND, SPINOR or EIMNOR boot.

    Signed-off-by: Ye.Li

    Ye.Li
     
  • Enable the video drivers and MXS LCDIF driver to support the
    splash screen on MX6SX SDB and 19x19 ARM2. Add BSP codes for video
    parameters and LCDIF/LVDS initialization.

    "panel" env is used for selecting the display panel.
    Set "panel" env to "Hannstar-XGA" for LVDS display.
    Set "panel" env to "MCIMX28LCD" for parallel LCD display.

    Signed-off-by: Ye.Li

    Ye.Li
     
  • Add a new interface "mxs_lcd_panel_setup" to setup fb parameters and
    specifies the LCDIF controller for multiple controllers of iMX6SX.
    Pass fb parameters via "videomode" env remains work if the new interface
    is not called before video initialization.

    Modify LCDIF clock interface "mxs_set_lcdclk" to support multiple
    LCDIF controllers on iMX6SX.

    Signed-off-by: Ye.Li

    Ye.Li
     
  • Add BSP codes to mx6sxsabresd to support android uboot features:
    fastboot, booti and recovery

    Signed-off-by: Ye.Li

    Ye.Li
     
  • Disable RDC in u-boot till kernel implements it. Otherwise, crash
    may happen in kernel.

    Signed-off-by: Ye.Li

    Ye.Li
     
  • T support M4 boot in 50 ms, kick start M4 at "board_early_init_f"
    stage where u-boot passes ARM and architecture initialization.

    Add a configuration "CONFIG_SYS_AUXCORE_FASTUP" for this feature
    enablement. And a build config "mx6sxsabresd_m4fastup".
    Adjust the default M4 image address to 0x78000000 represented by
    "CONFIG_SYS_AUXCORE_BOOTDATA".

    When M4 fast boot is enabled, RDC should be enabled together and
    the QSPI driver must turn off, because M4 is running on QSPI flash
    in XIP. Setup this relationship by configurations.

    Signed-off-by: Ye.Li

    Ye.Li
     
  • Add BSP codes for iMX6SX SABRE SD board to support SD/MMC,
    USB, QSPI2 NOR Flash, Ethernet, I2C, PMIC and
    M4 command boot(bootaux).

    Add board build targets of SABER SD for boot device:
    mx6sxsabresd --- SD/MMC
    mx6sxsabresd_qspi2 --- QuadSPI2 NOR flash

    Signed-off-by: Ye.Li

    Ye.Li
     
  • Add BSP codes for iMX6SX 19x19 DDR3 ARM2 board to support SD/MMC,
    USB, QSPI2 NOR Flash, SPI NOR flash, WEIM NOR Flash, Ethernet,
    I2C, PMIC and M4 command boot(bootaux).

    Some features has conflicts, so can't be enabled at same time:
    WEIM-NOR QSPI pin conflict
    QSPI SPI-NOR u-boot driver conflict
    SPI-NOR SD2 pin conflict

    Add board build targets of 19x19 DDR3 ARM2 for boot device:
    mx6sx_19x19_ddr3_arm2 --- SD/MMC/eMMC
    mx6sx_19x19_ddr3_arm2_spinor --- SPINOR on ECSPI4 CS0
    mx6sx_19x19_ddr3_arm2_eimnor --- WEIM NOR flash
    mx6sx_19x19_ddr3_arm2_qspi2 --- QuadSPI2 NOR flash

    Signed-off-by: Ye.Li

    Ye.Li