27 Dec, 2019

1 commit

  • The board_boot_order() function currenly assumes that the boot source
    is MMC/eMMC, but this isn't true for the NAND devices.

    This patch cleans up board_boot_order() to check for NAND, SD, ESD,
    MMC or EMMC. Anything beyond these are not supported, so it will
    default back to the serial downloader if any of those devices are not
    available.

    Fixes: 9fb50c68daa6 ("ARM: imx6q_logic: Fix MMC2 booting")

    Signed-off-by: Adam Ford

    Adam Ford
     

03 Dec, 2019

2 commits


14 Oct, 2019

1 commit


08 Oct, 2019

3 commits

  • With the reverting of a previous change to spl_boot_device,
    this board needs a new solution to determining if we're booting
    from MMC1 or MMC2.

    This patch creates board_boot_order function which overrides the
    standard, and returns not only MMC1, or MMC2, but also can fall
    back to NAND or the serial downloader should other boot options
    fail.

    Signed-off-by: Adam Ford

    Adam Ford
     
  • In order to call preloader_console_init from board_init_f when
    DM_SERIAL is enabled, it neesd to call spl_early_init() to get early access
    to DM and device tree.

    This patch calls spl_early_init just before preloader_console_init()
    and enables DM_SERIAL and SPL_DM_SERIAL.

    Signed-off-by: Adam Ford
    Reviewed-by: Fabio Estevam

    Adam Ford
     
  • Per the workflow found in crt0.S, we don't need to clear BSS in
    board_init_f nor do we need to call board_init_r since that will be
    done for us from main when we return from board_init_f.

    This patch removes the unneeded function calls from board_init_f.

    Signed-off-by: Adam Ford
    Reviewed-by: Fabio Estevam

    Adam Ford
     

05 Oct, 2019

1 commit

  • The SPL device tree is missing the entires for gpio1, uart1, usdhc1 and
    usdhc2. This creates the missing imx6q-logicpd-u-boot.dtsi file
    which will enable these functions so SPL can properly setup UART, detect
    microSD card, and startup.

    Fixes: 8f4691e31a18 ("ARM: imx6q_logic: With SPL_OF_CONTROL enabled,
    remove MMC init")

    Signed-off-by: Adam Ford

    Adam Ford
     

12 Aug, 2019

1 commit


19 Jul, 2019

1 commit


23 Jun, 2019

1 commit


11 Jun, 2019

1 commit


15 Feb, 2019

1 commit


29 Jan, 2019

3 commits


23 Jul, 2018

1 commit

  • Since the vast majority of i.MX6 boards are migrating to SPL,
    this patch converts im6q_logic to SPL and enables the SDP for
    loading SPL and u-boot.img over USB. The Falcon mode only
    supports NAND flash as of now due to limited space/RAM, but
    all i.MX6D/Q SOM's from Logic PD have internal NAND from which
    to boot.

    Signed-off-by: Adam Ford

    Adam Ford
     

07 May, 2018

1 commit

  • When U-Boot started using SPDX tags we were among the early adopters and
    there weren't a lot of other examples to borrow from. So we picked the
    area of the file that usually had a full license text and replaced it
    with an appropriate SPDX-License-Identifier: entry. Since then, the
    Linux Kernel has adopted SPDX tags and they place it as the very first
    line in a file (except where shebangs are used, then it's second line)
    and with slightly different comment styles than us.

    In part due to community overlap, in part due to better tag visibility
    and in part for other minor reasons, switch over to that style.

    This commit changes all instances where we have a single declared
    license in the tag as both the before and after are identical in tag
    contents. There's also a few places where I found we did not have a tag
    and have introduced one.

    Signed-off-by: Tom Rini

    Tom Rini
     

12 Oct, 2017

1 commit

  • When building with W=1 errors like the one below is seen:

    board/freescale/mx6sabresd/mx6sabresd.c:546:5: warning:
    no previous prototype for ‘overwrite_console’
    [-Wmissing-prototypes] int overwrite_console(void)

    Fix the build warnings by including .

    Signed-off-by: Diego Dorta
    Reviewed-by: Fabio Estevam

    Diego Dorta
     

16 Aug, 2017

1 commit


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
     

13 Apr, 2017

1 commit

  • Logic PD has an i.MX6Q system on module (SOM) with a development kit. The
    SOM has a built-in microSD socket, DDR and NAND flash. The development kit
    has an SMSC Ethernet PHY, serial debug port and a variety of peripherals.
    This have been verified to boot the i.MX6Q version over either SD
    on the development kit or NAND built into the SOM. Items in the dtsi file
    are specific to the SOM itself. Items in the dts file are in the baseboard.
    Future versions of the SOM will come out supporting the same basebord and
    potentially future base boards will come out supporting the same SOM.

    Signed-off-by: Adam Ford

    Adam Ford