08 Oct, 2019

1 commit


10 Aug, 2019

6 commits

  • Remove obsolete legacy usbboot wrapper, as distroboot can handle
    booting from USB drivers.

    Signed-off-by: Igor Opaniuk
    Reviewed-by: Oleksandr Suvorov
    Signed-off-by: Tom Warren

    Igor Opaniuk
     
  • Support the V1.2 hardware revision with the following pin muxing
    changes:

    Ddc_scl_pv4 and ddc_sda_pv5 previously used as Apalis GPIO3 and GPIO4
    are now used as DDC pins.

    Gen2_i2c_scl_pt5 and gen2_i2c_sda_pt6 previously used as DDC pins are
    now used as USB power enable signals.

    Usb_vbus_en0_pn4 and usb_vbus_en1_pn5 previously used as USB power
    enable signals are now used as GPIO3 and GPIO4.

    Additionally a new device tree file tegra124-apalis-v1.2-eval.dtb is
    loaded on V1.2 and later modules and resp. USB power enable signals
    activated.

    Signed-off-by: Marcel Ziswiler
    Signed-off-by: Igor Opaniuk
    Signed-off-by: Tom Warren

    Marcel Ziswiler
     
  • Remove video=tegrafb0:640x480-16@60 aka VESA VGA mode from vidargs in
    order for the panel specification in the device tree to be used. This
    causes the default to be the 10.1" LVDS display which will be available
    in the Toradex webshop shortly.

    Reviewed-by: Oleksandr Suvorov
    Signed-off-by: Marcel Ziswiler
    Signed-off-by: Igor Opaniuk
    Signed-off-by: Tom Warren

    Marcel Ziswiler
     
  • Switch to the generic compressed Kernel image type (zImage) instead of
    the U-Boot specific uImage format.

    Reviewed-by: Oleksandr Suvorov
    Signed-off-by: Bhuvanchandra DV
    Signed-off-by: Igor Opaniuk
    Signed-off-by: Tom Warren

    Igor Opaniuk
     
  • Disabling ASPM fixes incompatibilities with some PCIe cards

    Reviewed-by: Oleksandr Suvorov
    Signed-off-by: Dominik Sliwa
    Signed-off-by: Igor Opaniuk
    Signed-off-by: Tom Warren

    Igor Opaniuk
     
  • Let the kernel print some debug messages when a user program
    crashes due to an exception.

    Signed-off-by: Stefan Agner
    Signed-off-by: Igor Opaniuk
    Reviewed-by: Oleksandr Suvorov
    Signed-off-by: Tom Warren

    Igor Opaniuk
     

15 Jun, 2019

2 commits


11 Jun, 2019

1 commit

  • 1. Replace usage of "/dev/mmcblk*p*" with a proper UUID of rootfs
    partition. This fixes the issue, when MMC controllers are probed in
    a different order in U-boot and Linux kernel.
    2. Fix legacy USB command (both sdboot and usbboot can be used now).

    Acked-by: Marcel Ziswiler
    Signed-off-by: Igor Opaniuk

    Igor Opaniuk
     

05 May, 2019

1 commit

  • This converts the following to Kconfig:
    CONFIG_SUPPORT_EMMC_BOOT

    As requested by Michal Simek , these boards
    have no eMMC so CONFIG_SUPPORT_EMMC_BOOT has not been migrated:

    xilinx_zynqmp_zc1275_revB
    xilinx_zynqmp_zc1751_xm018_dc4
    xilinx_zynqmp_zc1751_xm019_dc5
    xilinx_zynqmp_zcu100_revC
    xilinx_zynqmp_zcu102_rev1_0
    xilinx_zynqmp_zcu102_revA
    xilinx_zynqmp_zcu102_revB
    xilinx_zynqmp_zcu104_revA
    xilinx_zynqmp_zcu104_revC
    xilinx_zynqmp_zcu106_revA
    xilinx_zynqmp_zcu111_revA

    Signed-off-by: Alex Kiernan
    Acked-by: Lukasz Majewski
    Acked-by: Patrick Delaunay
    Acked-by: Ramon Fried
    Reviewed-by: Andy Shevchenko
    Tested-by: Sébastien Szymanski

    Alex Kiernan
     

21 Feb, 2019

3 commits

  • Migrate USB_EHCI_TEGRA from headers to Kconfig

    Signed-off-by: Peter Robinson
    Cc: Tom Warren
    Cc: Stephen Warren
    Cc: Marek Vasut
    Cc: Marcel Ziswiler
    Cc: Peter.Chubb@data61.csiro.au
    Cc: Lucas Stach
    Cc: Stefan Agner
    Cc: Alban Bedel
    Cc: Allen Martin
    Signed-off-by: Tom Warren

    Peter Robinson
     
  • Migrate SYS_I2C_TEGRA from headers to Kconfig

    Signed-off-by: Peter Robinson
    Cc: Tom Warren
    Cc: Stephen Warren
    Cc: Heiko Schocher
    Cc: Marcel Ziswiler
    Cc: Peter.Chubb@data61.csiro.au
    Cc: Lucas Stach
    Cc: Stefan Agner
    Cc: Alban Bedel
    Cc: Allen Martin
    Signed-off-by: Tom Warren

    Peter Robinson
     
  • There's a number of dangling comments in various tegra configs post migrations
    of various configs so lets clean them up.

    Signed-off-by: Peter Robinson
    Cc: Tom Warren
    Cc: Stephen Warren
    Cc: Marcel Ziswiler
    Cc: Tom Warren
    Cc: Stephen Warren
    Cc: Peter.Chubb@data61.csiro.au
    Cc: Lucas Stach
    Cc: Stefan Agner
    Cc: Alban Bedel
    Cc: Allen Martin
    Reviewed-by: Marcel Ziswiler
    Signed-off-by: Tom Warren

    Peter Robinson
     

11 May, 2018

1 commit


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
     

09 Apr, 2018

1 commit


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
     

18 Nov, 2017

1 commit

  • We first introduce CONFIG_USE_BOOTCOMMAND, similar to
    CONFIG_USE_BOOTARGS. We then migrate CONFIG_BOOTCOMMAND for most
    CONFIG_DISTRO_DEFAULT users. In some cases platforms have a complex
    scheme around this usage, and these have been defered for the moment so
    that platform maintainers can work on a migration plan.

    Signed-off-by: Tom Rini
    Reviewed-by: Lukasz Majewski

    Tom Rini
     

04 Sep, 2017

1 commit


12 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
     

04 Jun, 2017

1 commit

  • Now that these symbols are in Kconfig, migrate all users. Use imply on
    a number of platforms that default to having this enabled. As part of
    this we must migrate some straglers for CMD_FAT and DOS_PARTITION.

    Signed-off-by: Tom Rini

    Tom Rini
     

16 May, 2017

1 commit


15 May, 2017

1 commit


30 Apr, 2017

2 commits


02 Apr, 2017

1 commit

  • This patch adds board support for the Toradex Apalis TK1 a computer on
    module which can be used on different carrier boards.

    The module consists of a Tegra TK1 SoC, a PMIC solution, 2 GB of DDR3L
    RAM, a bunch of level shifters, an eMMC, a TMP451 temperature sensor
    chip, an I210 gigabit Ethernet controller and a SGTL5000 audio codec.
    Furthermore, there is a Kinetis MK20DN512 companion micro controller for
    analogue, CAN and resistive touch functionality.

    For the sake of ease of use we do not distinguish between different
    carrier boards for now as the base module features are deemed
    sufficient enough for regular booting.

    The following functionality is working so far:
    - eMMC boot, environment storage and Toradex factory config block
    - Gigabit Ethernet
    - MMC/SD cards (both MMC1 as well as SD1 slot)
    - USB client/host (dual role OTG port as client e.g. for DFU/UMS or host,
    other two ports as host)

    Signed-off-by: Marcel Ziswiler
    Reviewed-by: Simon Glass
    Signed-off-by: Marcel Ziswiler
    Signed-off-by: Tom Warren

    Marcel Ziswiler