16 May, 2016

1 commit

  • SNVS TAMPER pin and BOOT MODE pins are in SNVS IOMUXC module,
    not in IOMUXC, so correct the related registers' offset.

    Use IOMUX_CONFIG_LPSR flag for these pins, so we can differentiate
    them from iomuxc pins.

    Define CONFIG_IOMUX_LPSR for mx6ull_ddr3_arm2 board to enable
    using these pins.

    Signed-off-by: Peng Fan

    Peng Fan
     

11 May, 2016

1 commit


06 May, 2016

1 commit

  • Current environment offset on NAND is 37MB, this will cause a alignment
    issue when erasing if nand erase block is 2MB. The saveenv is failed.

    => saveenv
    Saving Environment to NAND...
    Erasing NAND...
    Attempt to erase non block-aligned data

    Since the max erase block we supported is 4MB, adjust the env offset to 60MB,
    where is the last 4MB in 64MB reserved area for boot.

    Signed-off-by: Ye Li

    Ye Li
     

21 Apr, 2016

1 commit

  • 1. Bind the macro CONFIG_MX6ULL_DDR3_ARM2_EMMC_REWORK to eMMC 8 bits rework, which
    conflicts with QSPIA and NAND, that we have to disable them at same time.

    2. Bind the macro CONFIG_MX6ULL_DDR3_ARM2_QSPIB_REWORK to QSPI B port rework, which
    conflicts with SD2 and NAND, that we have to disable them at same time.

    3. Fix a typo issue of CONFIG_MX6ULL_DDR3_ARM2_EMMC_REWORK

    4. Enable QSPI support for default SD boot case.

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

    Ye Li
     

13 Apr, 2016

1 commit


25 Mar, 2016

35 commits

  • On mx6qsabreauto and mx6sx ARM2 boards, the EIMNOR sector size is 128KB.
    And its u-boot environment offset is 4 sectors (512KB). But u-boot size has
    exceeds it, so change to 6 sectors offset (768KB).
    To align the environment configurations for all i.MX, also change the configuration
    for mx6ul and mx7d, which has EIMNOR with 256KB sectors.

    Signed-off-by: Ye Li

    Ye Li
     
  • Since the u-boot size has exceeded the 512KB on some platforms,
    so we set the environment offset to 768KB for all i.MX6 and i.MX7
    reference boards.

    Signed-off-by: Ye Li

    Ye Li
     
  • Since the QSPI needs to rework on this board, at default the QSPI is disabled.
    So bind the M4 QSPI boot with QSPI enabled u-boot image, set default
    M4 boot to TCM. Need to use TCM m4 image at default.

    Additional, on SDB there is only one QSPI flash. Considering the A7 QSPI boot
    case, we have to move M4 image to 1M offset to give enough space for u-boot
    and env.

    Signed-off-by: Ye Li

    Ye Li
     
  • Add comments for enabling BEE.

    Signed-off-by: Peng Fan

    Peng Fan
     
  • Enable the configurations CONFIG_MODULE_FUSE and CONFIG_OF_SYSTEM_SETUP for
    module fuse check. And modify board level codes for SD, FEC and EIM.

    Signed-off-by: Ye Li

    Ye Li
     
  • Setup MMDC in two channel fixed mode
    Initialize dram banks for two channel fixed mode
    DRAM bank = 0x00000000
    -> start = 0x10000000
    -> size = 0x20000000
    DRAM bank = 0x00000001
    -> start = 0x80000000
    -> size = 0x20000000

    Signed-off-by: Adrian Alonso

    Adrian Alonso
     
  • Debug monitor will print out last failed AXI access info when
    system reboot is caused by AXI access failure, only works when
    debug monitor is enabled.

    Enable this module on i.MX6SX.

    Signed-off-by: Anson Huang
    Signed-off-by: Ye.Li
    (cherry picked from commit df6ac8531d498021ed379c74fc1847bd2cec7179)
    Signed-off-by: Peng Fan

    Ye.Li
     
  • Set the CONFIG_SUPPORT_EMMC_BOOT in mx6_common.h to enable the eMMC
    boot support for all mx6 platforms. Remove the duplicated definition
    in board's header file.

    Signed-off-by: Ye Li

    Ye Li
     
  • Set the CONFIG_CMD_MEMTEST on all mx6 platforms for enabling the u-boot
    memory test.

    Signed-off-by: Ye Li

    Ye Li
     
  • To align the ENV_OFFSET with other boards, set it to 512Kbytes for
    mx6qarm2 boards when booting from SD/MMC card.

    Signed-off-by: Ye Li

    Ye Li
     
  • The ARM errata 751472, 794072, 761320, 845369 only applied
    to the following configuration:

    This erratum affects configurations with either:
    - One processor if the ACP is present
    - Two or more processors

    i.MX6 family does not have the ACP and thus only the MPCore system
    will be impacted, which are the i.MX6DQ, i.MX6DL, and i.MX6QP.

    Signed-off-by: Nitin Garg
    Signed-off-by: Jason Liu
    (cherry picked from commit 0db960784ba4f631ee5c0321b5d25f3b1ac55640)

    Nitin Garg
     
  • Under very rare timing circumstances, transitioning into streaming
    mode might create a data corruption. Present on Two or more processors
    or 1 core with ACP, all revisions. This erratum can be worked round
    by setting bit[22] of the undocumented Diagnostic Control Register to 1.

    Signed-off-by: Nitin Garg
    (cherry picked from commit 70ad44e523680de67dd8b7a7505d7f27799980ee)

    Nitin Garg
     
  • Use syscounter for i.MX6UL platform as default timer, not use gpt

    Signed-off-by: Ye Li

    Ye Li
     
  • This is a demo that CM4 will boot up by u-boot without typing any
    command. It boots up at u-boot early init, try to minimize the time
    from power up to the CM4 running.
    Since CM4 runs on QSPI NOR XIP, we have to disable the QSPI driver in
    u-boot to avoid conflict.

    RDC for shared GPIO1 is added, but not enabled, because the kernel is
    not ready for shared GPIO1. Users can uncomment the CONFIG_IMX_RDC to
    enable it.

    Some legacy codes in mx6sxsabreauto are removed. We only need this work
    on mx6sxsabresd as a demo.

    Signed-off-by: Ye Li

    Ye Li
     
  • Add board level support for android fastboot feature. Each board has
    a android specified header file for defining android related configuraitons.
    And add build targets for their android uboot images building.

    For mx6qsabreauto, mx6sabresd and mx7dsabresd, we enable the android
    fastboot exclusive with DFU.

    Signed-off-by: Ye Li

    Ye Li
     
  • Integrate the FSL android fastboot features into community's fastboot.

    1. Use USB gadget g_dnl driver
    2. Integrate the FSL SD/SATA/NAND flash operations, since the GPT and
    EFI partitions are not support by i.MX.
    3. Add FDT support to community's android image.
    4. Add a new boot command "boota" for android image boot. The boota
    implements to load ramdisk and fdt to their loading addresses
    specified in boot.img header, while bootm won't do it for android image.
    5. Support the authentication of boot.img at the "load_addr" for
    both SD and NAND.
    6. We use new configuration CONFIG_FSL_FASTBOOT for Freescale's fastboot
    with relevant header file "fsl_fastboot.h". While disabling the
    configuration, the community fastboot is used.
    7. Overwrite the cmdline in boot.img by using bootargs saved in local environment.
    8. Add recovery and reboot-bootloader support.

    Signed-off-by: Ye Li

    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

    Ye Li
     
  • The CONFIG_MX7_SEC is not set at default, so the MX7 goes to non-secure mode
    before jumping to kernel, and needs PSCI works for secure mode operations.
    We have to set the CONFIG_MX7_SEC to enable the secure mode, otherwise we
    will get some kernel panic issues.

    Signed-off-by: Ye Li

    Ye Li
     
  • Modify the picosom to be suit for Brillo configurations.

    Signed-off-by: Haoran Wang
    (cherry picked from commit 864fd4f019674e8333b1fdb91e9242ae75f35992)
    To align with 2016.03, fix several places.
    Signed-off-by: Peng Fan

    Peng Fan
     
  • Imported the picosom boot codes and board
    configs from technexion.

    Signed-off-by: Tapani Utriainen
    Signed-off-by: Haoran Wang
    (cherry picked from commit d102c193f3f903055239f07ddbaab63715dbf82f)

    Haoran Wang
     
  • Change CONFIG_MXC_RDC to CONFIG_IMX_RDC.
    Do misc update in board header file to support RDC for M4 usage.
    Fix rdc interface imx_rdc_check_permission change in mxc_gpio.

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

    Ye Li
     
  • CONFIG_SECURE_BOOT is used for signed image building, this configuration is
    not enabled at default. Comment it in board header files. Users can
    uncomment it to enable.

    Also add CONFIG_CSF_SIZE for defining the CSF reserved size

    Signed-off-by: Ye Li

    Ye Li
     
  • Porting all mx7d arm2 boards (mx7d 12x12 lpddr3, 12x12 ddr3,
    19x19 ddr3, 19x19 lpddr2, 19x19 lpddr3) support from u-boot v2015.04.

    Signed-off-by: Ye Li

    Ye Li
     
  • Port LDO bypass support from v2015 to support the features:

    1. Add check for 1.2GHz core speed. If Speed grading fuse is for 1.2GHz,
    enable LDO bypass and setup PMIC voltages. LDO bypass is dependent
    on the flatten device tree file.

    2. We set WDOG_B in set_anatop_bypass() before, because it is the only case, but now
    on i.mx6sabreauto board, we didn't use ldo-bypass mode, but have to use WDOG_B to
    reboot whole board, so split these code to independent function so that board file
    can call it freely.

    Signed-off-by: Ye Li

    Ye Li
     
  • Add support for various boot devices like NAND, QSPINOR, SPINOR,
    eMMC, EIMNOR, SATA.

    Modify board level files to support the feature and add corresponding defconfig files

    Signed-off-by: Ye Li

    Ye Li
     
  • Add i.MX6SX/UL arm2 boards support.
    Most code are from imx_v2015.04, but adapted to 2016.03 release.

    Tested on mx6ul_14x14_ddr3_arm2 and mx6sx_19x19_ddr3_arm2.

    Signed-off-by: Peng Fan

    Peng Fan
     
  • Add configurations and board codes for second enet.

    Signed-off-by: Ye Li

    Ye Li
     
  • Add configurations and board codes for second enet.

    Signed-off-by: Ye Li

    Ye Li
     
  • Add configurations and board codes for second enet.

    Signed-off-by: Ye Li

    Ye Li
     
  • Align with imx_v2015.04
    Update pmic settings.
    Update imximage.cfg.
    Enable bmode.

    Signed-off-by: Peng Fan

    Peng Fan
     
  • Align with imx_v2015.04.
    Add emmc support which needs board rework.
    Add I2C2.
    Update pmic settings.
    Add bmode.
    Move partial code from board_early_init_f to board_init.
    Disable PCI.

    Signed-off-by: Peng Fan

    Peng Fan
     
  • Add RevB board support and Align with imx_v2015.04.

    imx_v2015.04 commit:
    "
    commit f026a65375094cc2c0e25ed11772aee9362ee63d
    Author: Ye.Li
    Date: Thu Dec 17 11:39:09 2015 +0800

    MLK-12034 imx: mx7dsabresd: Add RevB board support

    Since i.MX7D SDB revB board has some HW changes, we have modify the BSP file to support new pinmux.
    1. OTG2 PWR pin is changed to GPIO1_IO07.
    2. A enet2_en pin is added for isolating enet2 signals with EPDC, we also add support for enet2.
    3. pin6 of 74LV output is changed for CSI PWDN. Set output to high to power down it.

    This patch also tries to get the board id and apply changes according with it. Since current
    RevB board does not burn GP1 fuse for board id, we have to check the TO rev instead even it is not very
    exact. Will update this if any new way implemented.
    "

    Also update pmic settings to align with datasheet.

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

    Peng Fan
     
  • Align with imx_v2015.04.
    Add nand related settings.
    Update qspi pad electric settings.
    Add usb ethernet support.

    Signed-off-by: Peng Fan

    Peng Fan
     
  • Add elan code, to handle epdc which has i2c devices.

    To imx_v2015.04, the two pathces are for elan.
    b6ba68516b681a38025252bd0ef6a6ed3e8adfa0
    MLK-10215 Add elan init in i.MX6SL-EVK board
    0c600f6a67f00fe0c674c08c355bea3789109679
    MLK-10885 imx: mx6slevk ignore elan init when no epdc on board

    Align ddr script and header file to imx_v2015.04.

    Signed-off-by: Peng Fan

    Peng Fan
     
  • Align board code and header file with imx_v2015.04.
    Update pmic settings.
    wrap spi code together using CONFIG_MXC_SPI macro.
    To i.MX6SOLO, need to define CONFIG_MX6DL.

    Signed-off-by: Peng Fan

    Ye Li