24 Feb, 2018

1 commit

  • This converts the following to Kconfig:
    CONFIG_BOOTP_BOOTPATH
    CONFIG_BOOTP_DNS
    CONFIG_BOOTP_GATEWAY
    CONFIG_BOOTP_HOSTNAME
    CONFIG_BOOTP_PXE
    CONFIG_BOOTP_SUBNETMASK
    CONFIG_CMDLINE_EDITING
    CONFIG_AUTO_COMPLETE
    CONFIG_SYS_LONGHELP
    CONFIG_SUPPORT_RAW_INITRD
    CONFIG_ENV_VARS_UBOOT_CONFIG

    Signed-off-by: Adam Ford
    [trini: Re-run the migration]
    Signed-off-by: Tom Rini

    Adam Ford
     

11 Feb, 2018

1 commit

  • On the NIOS2 and Xtensa architectures, we do not have
    CONFIG_SYS_TEXT_BASE set. This is a strict migration of the current
    values into the defconfig and removing them from the headers.

    I did not attempt to add more default values in and for now will leave
    that to maintainers.

    Signed-off-by: Tom Rini

    Tom Rini
     

27 Nov, 2017

1 commit


06 Nov, 2017

1 commit


31 Oct, 2017

1 commit

  • When CONFIG_DM_MMC=y, CONFIG_BLK should be selected, otherwise the
    SD/eMMC card cannot be used.

    Also, select CONFIG_DM_USB=y when CONFIG_USB=y to avoid build failure.

    Tested on mx6slevk, mx7dsabresd and mx6ullevk.

    Signed-off-by: Fabio Estevam
    Reviewed-by: Jaehoon Chung
    Tested-by: Adam Ford
    Tested-by: Sébastien Szymanski
    Tested-by: Jagan Teki
    Reviewed-by: Jagan Teki

    Fabio Estevam
     

11 Oct, 2017

1 commit

  • Having this as a 'default y' is rather annoying because it doesn't
    actually compile unless other options are defined in the board header:

    ../cmd/bootm.c: In function 'do_imls_nor':
    ../cmd/bootm.c:330:7: error: 'CONFIG_SYS_MAX_FLASH_BANKS' undeclared (first use in this function); did you mean 'CONFIG_SYS_MAX_FLASH_SECT'?
    i < CONFIG_SYS_MAX_FLASH_BANKS; ++i, ++info) {

    Make it 'default n' so people who develop new boards that start from a
    blank defconfig have one less compilation failure to debug.

    Signed-off-by: Tuomas Tynkkynen

    Tuomas Tynkkynen
     

28 Aug, 2017

1 commit


17 Aug, 2017

1 commit


15 Aug, 2017

1 commit


12 Aug, 2017

1 commit


01 Aug, 2017

1 commit

  • Migrate all remaining instances of CMD_NAND, CMD_NAND_TRIMFFS
    CMD_NAND_LOCK_UNLOCK and CMD_NAND_TORTURE from the headers into the
    defconfig files.

    Tested-by: Adam Ford
    Signed-off-by: Tom Rini
    Reviewed-by: Bin Meng

    Tom Rini
     

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
     

10 Jul, 2017

1 commit


27 Jun, 2017

1 commit


01 Jun, 2017

1 commit

  • Currently these (board agnostic) commands cannot be selected using
    menuconfig and friends. Fix this the obvious way. As part of this,
    don't muddle the meaning of CONFIG_HASH_VERIFY to mean both 'hash -v'
    and "we have a hashing command" as this makes the Kconfig logic odd.

    Signed-off-by: Daniel Thompson
    [trini: Re-apply, add imply for a few cases, run moveconfig.py, also
    migrate CRC32_VERIFY]
    Signed-off-by: Tom Rini

    Daniel Thompson
     

31 May, 2017

1 commit


18 May, 2017

1 commit


30 Apr, 2017

1 commit


14 Mar, 2017

1 commit


03 Jan, 2017

5 commits

  • Enable I2C support for Engicam GEAM6UL NAND module.

    Cc: Stefano Babic
    Cc: Matteo Lisi
    Cc: Michael Trimarchi
    Signed-off-by: Jagan Teki

    Jagan Teki
     
  • Enable Flattened Image Tree support for all Engicam boards.

    Cc: Stefano Babic
    Cc: Matteo Lisi
    Cc: Michael Trimarchi
    Signed-off-by: Jagan Teki

    Jagan Teki
     
  • Create ubifs.img:
    $ mkfs.ubifs -q -r /rootfs -m 4096 -e 253952 -c 7936 -o ubifs.img

    Write ubifs.img:
    ---------------
    icorem6qdl> nand erase.part rootfs
    icorem6qdl> ubi part rootfs
    icorem6qdl> ubi create rootfs

    icorem6qdl> ext4load mmc 0:2 ${loadaddr} ubifs.img
    166592512 bytes read in 8091 ms (19.6 MiB/s)
    icorem6qdl> ubi write ${loadaddr} rootfs ${filesize}
    166592512 bytes written to volume rootfs
    icorem6qdl> ubifsmount ubi0:rootfs

    Cc: Stefano Babic
    Cc: Matteo Lisi
    Cc: Michael Trimarchi
    Signed-off-by: Jagan Teki

    Jagan Teki
     
  • For writing Linux or rootfs on to NAND, the best suitable way
    is to use MMC commands since MMC driver by default enabled by
    mx6_common.h, hence enabled MMC commands in nand defconfigs.

    Cc: Stefano Babic
    Cc: Matteo Lisi
    Cc: Michael Trimarchi
    Signed-off-by: Jagan Teki

    Jagan Teki
     
  • Boot Linux with uImage instead of zImage, so update
    bootz with bootm.

    Cc: Stefano Babic
    Cc: Matteo Lisi
    Cc: Michael Trimarchi
    Signed-off-by: Jagan Teki

    Jagan Teki
     

30 Dec, 2016

1 commit


17 Dec, 2016

2 commits

  • Add FEC support for Engicam GEAM6UL module.

    Cc: Stefano Babic
    Cc: Matteo Lisi
    Cc: Michael Trimarchi
    Signed-off-by: Jagan Teki

    Jagan Teki
     
  • Add NAND support for Engicam GEAM6UL board.

    Boot Log:
    --------
    U-Boot SPL 2016.11-g537fa5f (Nov 28 2016 - 11:42:28)
    Trying to boot from NAND
    NAND : 256 MiB

    U-Boot 2016.11-g537fa5f (Nov 28 2016 - 11:20:06 +0100)

    CPU: Freescale i.MX6UL rev1.1 69 MHz (running at 396 MHz)
    CPU: Automotive temperature grade (-40C to 125C) at 42C
    Reset cause: WDOG
    Model: Engicam GEAM6UL
    DRAM: 128 MiB
    NAND: 256 MiB
    MMC: FSL_SDHC: 0
    * Warning - bad CRC, using default environment

    In: serial
    Out: serial
    Err: serial
    Net: No ethernet found.
    Hit any key to stop autoboot: 0

    Cc: Stefano Babic
    Cc: Matteo Lisi
    Cc: Michael Trimarchi
    Signed-off-by: Jagan Teki

    Jagan Teki