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
     

14 Feb, 2018

1 commit


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
     

29 Dec, 2017

2 commits

  • Currently the MX6SL option is selected via CONFIG_SYS_EXTRA_OPTIONS,
    but it is better to select it directly via Kconfig.

    Signed-off-by: Breno Lima
    Reviewed-by: Fabio Estevam
    Reviewed-by: Peng Fan

    Breno Lima
     
  • In order to provide a consistent user experience for imx board users,
    remove the custom CONFIG_BOOTDELAY values from defconfig files, so that
    all boards can use the default two second delay.

    Signed-off-by: Fabio Estevam
    Reviewed-by: Lukasz Majewski

    Fabio Estevam
     

19 Dec, 2017

1 commit


31 Oct, 2017

1 commit

  • Commit 001cdbbb32ef1f6 ("imx: mx6slevk: enable more DM drivers") breaks
    MMC support in U-Boot proper on the mx6slevk_spl_defconfig target:

    U-Boot SPL 2017.09-00396-g6ca43a5 (Oct 01 2017 - 16:20:18)
    Trying to boot from MMC1

    U-Boot 2017.09-00396-g6ca43a5 (Oct 01 2017 - 16:20:18 -0300)

    CPU: Freescale i.MX6SL rev1.0 792 MHz (running at 396 MHz)
    CPU: Commercial temperature grade (0C to 95C) at 33C
    Reset cause: POR
    Board: MX6SLEVK
    I2C: ready
    DRAM: 1 GiB
    MMC: FSL_SDHC: 0
    MMC Device 1 not found
    *** Warning - No MMC card found, using default environment

    As mx6slevk_spl_defconfig does not use CONFIG_DM_MMC and its
    board file does not register the mmc controller for U-Boot proper,
    let's fix this by adding CONFIG_DM_MMC=y and device tree support.

    While at it, add more DM drivers, so that it becomes closer to
    mx6slevk_defconfig.

    Signed-off-by: Fabio Estevam

    Fabio Estevam
     

12 Oct, 2017

1 commit

  • mx6slevk can run different kernel versions, such as NXP 4.1 or mainline.

    Currently the rootfs location is passed via mmcblk number and the
    problem with this approach is that the mmcblk number for the SD
    card changes depending on the kernel version.

    In order to avoid such issue, use the UUID method to specify the
    rootfs location.

    Signed-off-by: Fabio Estevam

    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
     

08 Sep, 2017

2 commits


28 Aug, 2017

1 commit


15 Aug, 2017

1 commit


08 Aug, 2017

1 commit


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

2 commits

  • 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
     
  • SPL is already selected via CONFIG_SPL=y, so there is no need
    to pass it inside CONFIG_SYS_EXTRA_OPTIONS.

    Signed-off-by: Fabio Estevam

    Fabio Estevam
     

30 Apr, 2017

1 commit


21 Mar, 2017

1 commit

  • Enable more DM drivers. The imx I2C/MMC DM drivers needs DM_GPIO
    enabled. So needs to enable them together.

    DM FEC and SPI are not enabled, but they use gpio in board code.
    So use gpio_request first to request the gpio, because DM_GPIO
    is enabled.

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

    Peng Fan
     

14 Mar, 2017

1 commit


26 Jan, 2017

1 commit


17 Sep, 2016

10 commits


10 Sep, 2016

1 commit


17 Jun, 2016

1 commit


26 Apr, 2016

3 commits


15 Mar, 2016

1 commit


25 Nov, 2015

1 commit


19 Nov, 2015

1 commit


02 Sep, 2015

1 commit

  • Add SPL boot support for mx6slevk board.
    1. Introduce a configuration file mx6slevk_spl_defconfig.
    2. i.MX6SL has same DRAM space with i.MX6SX, need to change SPL DRAM SPACE.
    3. Include imx6_spl.h and related SPL macro in mx6slevk.h.
    4. select SUPPORT_SPL for TARGET_MX6SLEVK.
    5. Add SPL board code to do related initialization.

    Boot Log:

    U-Boot SPL 2015.07-00544-g1594a76 (Aug 17 2015 - 01:56:59)
    reading u-boot.img
    reading u-boot.img

    U-Boot 2015.07-00544-g1594a76 (Aug 17 2015 - 01:56:59 +0000)

    CPU: Freescale i.MX6SL rev1.2 996 MHz (running at 396 MHz)
    CPU: Commercial temperature grade (0C to 95C) at 50C
    Reset cause: POR
    Board: MX6SLEVK
    I2C: ready
    DRAM: 1 GiB
    PMIC: PFUZE100 ID=0x10
    MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
    *** Warning - bad CRC, using default environment

    In: serial
    Out: serial
    Err: serial
    Net: FEC [PRIME]
    Hit any key to stop autoboot: 0

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

    Peng Fan