23 Feb, 2019

1 commit

  • The imx6ul/ull/ulz EVK boards enable eMMC fastboot with ack by default bootcfg.
    So when using uuu to burn eMMC, we have to set ack to 1 in "mmc partconf" command.
    Add this env for these board, so that uuu can use it to solve the problem by
    executing "if env exists emmc_ack; then ; else setenv emmc_ack 0; fi;" to
    use the emmc_ack at runtime.

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

    Ye Li
     

22 Jan, 2019

1 commit

  • On most of mx6 and mx7 platforms, we set the initrd address to 0x3800000
    offset from DRAM base. However, the optee address is 0x4000000 offset from
    DRAM base. So it will cause memory overlap when using initramfs and optee at
    same time, for example using uuu to boot into kernel.

    To fix the conflict, we set initrd address to 0x6680000 offset from DRAM base,
    because OPTEE needs reserve 32MB memory from 0x4000000 offset to 0x6000000 offset.

    Signed-off-by: Ye Li

    Ye Li
     

08 Jan, 2019

1 commit


20 Sep, 2018

2 commits


16 Aug, 2018

1 commit

  • The "findtee" is actually not used on mx6ullevk, because there is only
    one uTee-6ullevk image for optee. So remove the "run findtee"

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

    Ye Li
     

03 Aug, 2018

1 commit


27 Apr, 2018

3 commits


08 Feb, 2018

1 commit


12 Jan, 2018

1 commit

  • To support QSPI DM driver
    - Add spi0 alias for qspi node. Which is used for bus number 0.
    - Modify the n25q256a@0 compatible property to "spi-flash".
    - Modify spi4 (gpio_spi) node to spi5
    - Define DM SPI/QSPI related config to enable QSPI

    Signed-off-by: Peng Fan

    Peng Fan
     

26 Jul, 2017

1 commit

  • This converts the following to Kconfig:
    CONFIG_ENV_IS_IN_MMC
    CONFIG_ENV_IS_IN_NAND
    CONFIG_ENV_IS_IN_UBI
    CONFIG_ENV_IS_NOWHERE

    In fact this already exists for sunxi as a 'choice' config. However not
    all the choices are available in Kconfig yet so we cannot use that. It
    would lead to more than one option being set.

    In addition, one purpose of this series is to allow the environment to be
    stored in more than one place. So the existing choice is converted to a
    normal config allowing each option to be set independently.

    There are not many opportunities for Kconfig updates to reduce the size of
    this patch. This was tested with

    ./tools/moveconfig.py -i CONFIG_ENV_IS_IN_MMC

    And then manual updates. This is because for CHAIN_OF_TRUST boards they
    can only have ENV_IS_NOWHERE set, so we enforce that via Kconfig logic
    now.

    Signed-off-by: Simon Glass
    Signed-off-by: Tom Rini

    Simon Glass
     

12 Jul, 2017

1 commit

  • Change is consistent with other SOCs and it is in preparation
    for adding SOMs. SOC's related files are moved from cpu/ to
    mach-imx/.

    This change is also coherent with the structure in kernel.

    Signed-off-by: Stefano Babic

    CC: Fabio Estevam
    CC: Akshay Bhat
    CC: Ken Lin
    CC: Marek Vasut
    CC: Heiko Schocher
    CC: "Sébastien Szymanski"
    CC: Christian Gmeiner
    CC: Stefan Roese
    CC: Patrick Bruenn
    CC: Troy Kisky
    CC: Nikita Kiryanov
    CC: Otavio Salvador
    CC: "Eric Bénard"
    CC: Jagan Teki
    CC: Ye Li
    CC: Peng Fan
    CC: Adrian Alonso
    CC: Alison Wang
    CC: Tim Harvey
    CC: Martin Donnelly
    CC: Marcin Niestroj
    CC: Lukasz Majewski
    CC: Adam Ford
    CC: "Albert ARIBAUD (3ADEV)"
    CC: Boris Brezillon
    CC: Soeren Moch
    CC: Richard Hu
    CC: Wig Cheng
    CC: Vanessa Maegima
    CC: Max Krummenacher
    CC: Stefan Agner
    CC: Markus Niebel
    CC: Breno Lima
    CC: Francesco Montefoschi
    CC: Jaehoon Chung
    CC: Scott Wood
    CC: Joe Hershberger
    CC: Anatolij Gustschin
    CC: Simon Glass
    CC: "Andrew F. Davis"
    CC: "Łukasz Majewski"
    CC: Patrice Chotard
    CC: Nobuhiro Iwamatsu
    CC: Hans de Goede
    CC: Masahiro Yamada
    CC: Stephen Warren
    CC: Andre Przywara
    CC: "Álvaro Fernández Rojas"
    CC: York Sun
    CC: Xiaoliang Yang
    CC: Chen-Yu Tsai
    CC: George McCollister
    CC: Sven Ebenfeld
    CC: Filip Brozovic
    CC: Petr Kulhavy
    CC: Eric Nelson
    CC: Bai Ping
    CC: Anson Huang
    CC: Sanchayan Maity
    CC: Lokesh Vutla
    CC: Patrick Delaunay
    CC: Gary Bisson
    CC: Alexander Graf
    CC: u-boot@lists.denx.de
    Reviewed-by: Fabio Estevam
    Reviewed-by: Christian Gmeiner

    Stefano Babic
     

30 Apr, 2017

1 commit


07 Apr, 2017

1 commit

  • With d53ecad92f06 some unused interrupt related code was removed.
    However all of these options are currently unused. Rather than migrate
    some of these options to Kconfig we just remove the code in question.

    The only related code changes here are that in some cases we use
    CONFIG_STACKSIZE in non-IRQ related context. In these cases we rename
    and move the value local to the code in question.

    Fixes: d53ecad92f06 ("Merge branch 'master' of git://git.denx.de/u-boot-sunxi")
    Signed-off-by: Tom Rini

    Tom Rini
     

13 Feb, 2017

1 commit

  • We repeated partial moves for CONFIG_SYS_NO_FLASH, but this is
    not completed. Finish this work by the tool.

    During this move, let's rename it to CONFIG_MTD_NOR_FLASH.
    Actually, we have more instances of "#ifndef CONFIG_SYS_NO_FLASH"
    than those of "#ifdef CONFIG_SYS_NO_FLASH". Flipping the logic will
    make the code more readable. Besides, negative meaning symbols do
    not fit in obj-$(CONFIG_...) style Makefiles.

    This commit was created as follows:

    [1] Edit "default n" to "default y" in the config entry in
    common/Kconfig.

    [2] Run "tools/moveconfig.py -y -r HEAD SYS_NO_FLASH"

    [3] Rename the instances in defconfigs by the following:
    find . -path './configs/*_defconfig' | xargs sed -i \
    -e '/CONFIG_SYS_NO_FLASH=y/d' \
    -e 's/# CONFIG_SYS_NO_FLASH is not set/CONFIG_MTD_NOR_FLASH=y/'

    [4] Change the conditionals by the following:
    find . -name '*.[ch]' | xargs sed -i \
    -e 's/ifndef CONFIG_SYS_NO_FLASH/ifdef CONFIG_MTD_NOR_FLASH/' \
    -e 's/ifdef CONFIG_SYS_NO_FLASH/ifndef CONFIG_MTD_NOR_FLASH/' \
    -e 's/!defined(CONFIG_SYS_NO_FLASH)/defined(CONFIG_MTD_NOR_FLASH)/' \
    -e 's/defined(CONFIG_SYS_NO_FLASH)/!defined(CONFIG_MTD_NOR_FLASH)/'

    [5] Modify the following manually
    - Rename the rest of instances
    - Remove the description from README
    - Create the new Kconfig entry in drivers/mtd/Kconfig
    - Remove the old Kconfig entry from common/Kconfig
    - Remove the garbage comments from include/configs/*.h

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

26 Jan, 2017

1 commit


22 Jan, 2017

1 commit


12 Oct, 2016

2 commits


04 Oct, 2016

1 commit

  • Add i.MX6ULL EVK board support:
    Add device tree file, which is copied from NXP Linux.
    Enabled DM_MMC, DM_GPIO, DM_I2C, DM_SPI, PINCTRL, DM_REGULATOR.
    The uart iomux settings are still keeped in board file.

    Boot Log:
    U-Boot 2016.09-rc1-00366-gbb419ef-dirty (Aug 11 2016 - 13:08:58 +0800)

    CPU: Freescale i.MX6ULL rev1.0 at 396MHz
    CPU: Commercial temperature grade (0C to 95C) at 15C
    Reset cause: POR
    Model: Freescale i.MX6 ULL 14x14 EVK Board
    Board: MX6ULL 14x14 EVK
    DRAM: 512 MiB
    MMC: initialized IMX pinctrl driver
    FSL_SDHC: 0, FSL_SDHC: 1
    In: serial
    Out: serial
    Err: serial
    Net: CPU Net Initialization Failed
    No ethernet found.
    Hit any key to stop autoboot: 0
    => mmc dev 1
    switch to partitions #0, OK
    mmc1 is current device

    Signed-off-by: Peng Fan
    Cc: Stefano Babic

    Peng Fan