summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ARM: dts: stm32mp1: Add usb gadget support for stm32mp157c-ev1 boardPatrice Chotard2018-09-254-0/+55
| | | | | | Add DT nodes to enable DWC2 gadget support Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
* Merge branch 'master' of git://git.denx.de/u-boot-mipsTom Rini2018-09-2339-123/+1920
|\
| * mips: mt7628a.dtsi: Add SPI clock-frequency propertyStefan Roese2018-09-231-0/+2
| | | | | | | | | | | | | | | | This patch adds the clock-frequency property to the SPI controller DT node. It will be used by the SPI driver to calculate the baud rate. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
| * mips: mt76xx: Add sysreset supportStefan Roese2018-09-232-0/+8
| | | | | | | | | | | | | | | | This patch adds the necessary sysreset DT node and enables the required drivers via Kconfig. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
| * mips: Add Gardena Smart-Gateway board supportStefan Roese2018-09-239-0/+271
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Gardena Smart-Gateway boards have a MT7688 SoC with 128 MiB of RAM and 8 MiB of flash (SPI NOR) and additional 128MiB SPI NAND storage. This patch also includes 2 targets. One is the target that can be programmed into the SPI NOR flash and a 2nd target "xxx-ram" is added to support loading and booting via an already running U-Boot version. This allows easy development and testing without the need to flash the image each time. Signed-off-by: Stefan Roese <sr@denx.de> [fixed and regenerated defconfig files] Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
| * mips: Add LinkIt Smart 7688 supportStefan Roese2018-09-239-0/+265
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The LinkIt Smart 7688 modules have a MT7688 SoC with 128 MiB of RAM and 32 MiB of flash (SPI NOR). This patch also includes 2 targets. One is the target that can be programmed into the SPI NOR flash and a 2nd target "xxx-ram" is added to support loading and booting via an already running U-Boot version. This allows easy development and testing without the need to flash the image each time. Signed-off-by: Stefan Roese <sr@denx.de> [fixed and regenerated defconfig files] Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
| * mips: Add basic MediaTek MT7620/88 supportStefan Roese2018-09-229-0/+1004
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds basic support for the MediaTek MT7620/88 SoCs. Parts of the code is copied from the MediaTek GitHub repository: https://github.com/MediaTek-Labs/linkit-smart-uboot.git The mt7628a.dtsi file is imported from Linux v4.17. Support for the LinkIt Smart 7688 module and the Gardena Smart Gateway both based on the MT7688 will be added in further patches. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
| * mips: Add arch/mips/include/asm/atomic.hStefan Roese2018-09-221-0/+54
| | | | | | | | | | | | | | | | This is needed for the UBIFS support. The file is a copy of arch/xtensa/include/asm/atomic.h Signed-off-by: Stefan Roese <sr@denx.de> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
| * MIPS: cache: remove config option CONFIG_SYS_MIPS_CACHE_MODEDaniel Schwierzeck2018-09-225-26/+1
| | | | | | | | | | | | | | | | Caches should be configured to mode CONF_CM_CACHABLE_NONCOHERENT (or CONF_CM_CACHABLE_COW when a CM is available). There is no need to make this configurable. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
| * MIPS: cache: make index base address configurableDaniel Schwierzeck2018-09-222-10/+20
| | | | | | | | | | | | | | | | The index base address used for the cache initialisation is currently hard-coded to CKSEG0. Make this value configurable if a MIPS system needs to have a different address (e.g. in SRAM or ScratchPad RAM). Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
| * MIPS: cache: optimise changing of k0 CCA modeDaniel Schwierzeck2018-09-221-22/+32
| | | | | | | | | | | | | | | | Changing the Cache Coherency Algorithm (CCA) for kernel mode requires executing from KSEG1. Thus do a jump from KSEG0 to KSEG1 before changing the CCA mode. Jump back to KSEG0 afterwards. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
| * MIPS: cache: reimplement dcache_[status, enable, disable]Daniel Schwierzeck2018-09-222-46/+20
| | | | | | | | | | | | | | | | | | | | | | Those functions are not needed during cache init and can be implemented in C. Only support the safe disabling of caches when this is required for booting an OS. Reenabling caches is much harder to implement if an optional coherency manager must be supported. As there is no real use-case anyway, dcache_enable is implemented with an error message. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
| * MIPS: start.S: make boot config at offset 0x10 configurableDaniel Schwierzeck2018-09-224-22/+28
| | | | | | | | | | | | | | | | | | | | | | | | Some MIPS systems store some board-specific boot configuration in the U-Boot binary at offset 0x10. This is used by Malta boards and by Lantiq/Intel SoC's when booting from parallel NOR flash. Convert the hard-coded values to Kconfig options to remove such board-specific stuff out of the generic start.S code. This also deprecates the config option CONFIG_SYS_XWAY_EBU_BOOTCFG. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
| * bcm968380gerg: enable pinctrlPhilippe Reynes2018-09-221-0/+1
| | | | | | | | Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
| * dt: bcm6838: add pinctrlPhilippe Reynes2018-09-221-0/+12
| | | | | | | | | | | | Add pinctrl node and related syscon node for broadcom bcm6838 SoC. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
| * pinctrl: bcm6838: add pinctrl supportPhilippe Reynes2018-09-224-0/+205
|/ | | | | | Add pinctrl support for broadcom bcm6838 SoC. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
* Merge git://git.denx.de/u-boot-imxTom Rini2018-09-1915-104/+536
|\ | | | | | | | | - changes in pico-* boards - fix imx6ull pinmux
| * pico-imx7d: Add a new defconfig with PICO-Hobbit selectedOtavio Salvador2018-09-182-0/+66
| | | | | | | | | | | | | | This adds a new defconfig which pre-selects the PICO-Hobbit baseboard allowing a completely non-interactive boot process. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| * pico-imx7d: Add PICO-Hobbit baseboard supportOtavio Salvador2018-09-181-1/+4
| | | | | | | | | | | | This adds the device tree to the DFU and bootmenu environment setting. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| * pico-imx7d: Fix TechNexion spelling on MAINTAINERS fileOtavio Salvador2018-09-181-2/+2
| | | | | | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| * pico-imx6ul: Add a new defconfig with PICO-Pi selectedOtavio Salvador2018-09-182-0/+58
| | | | | | | | | | | | | | This adds a new defconfig which pre-selects the PICO-Pi baseboard allowing a completely non-interactive boot process. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| * pico-imx6ul: Add PICO-Pi baseboard supportOtavio Salvador2018-09-181-0/+3
| | | | | | | | | | | | This adds the device tree to the DFU and bootmenu environment setting. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| * pico-imx6ul: Fix TechNexion spelling on MAINTAINERS fileOtavio Salvador2018-09-181-2/+2
| | | | | | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| * Merge branch 'master' of git://git.denx.de/u-boot into masterStefano Babic2018-09-1883-723/+1043
| |\ | | | | | | | | | Signed-off-by: Stefano Babic <sbabic@denx.de>
| * | pico-imx6ul: Add instructions for booting in Falcon modeFabio Estevam2018-09-141-0/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Falcon mode allows the SPL to load and jump directly to the kernel, without loading U-Boot proper. Add detailed step by step on how to use Falcon mode on pico-imx6ul. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| * | pico-imx6ul: Add Falcon mode supportOtavio Salvador2018-09-143-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Falcon mode boots the kernel directly from SPL, without loading the full U-Boot. As pico-imx6ul does not have a GPIO for selecting Falcon versus normal mode, enter in Falcon mode when the customer selects the CONFIG_SPL_OS_BOOT option in menuconfig. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| * | wandboard: README: Include the mx6qp variant in the listFabio Estevam2018-09-141-1/+1
| | | | | | | | | | | | | | | | | | The mx6qp Wandboard variant is also supported, so add it to the list. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
| * | ARM: bootscript: For nfsargs only use rootpath (and remove not needed serverip)Lukasz Majewski2018-09-141-1/+1
| | | | | | | | | | | | | | | | | | | | | The serverip part is provided from DHCP server with 'option root-path "192.168.3.1:/srv/tftp/rootfs";' parameter in dhcpd.conf Signed-off-by: Lukasz Majewski <lukma@denx.de>
| * | ARM: bootscript: Fix the nfsargs and addip in K+P's tpcboot.cmdLukasz Majewski2018-09-141-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The quotes around ${bootargs} were missing as we elaborate those variables twice - once when we "setenv" the command and secondly when we "run" it. Without quotes we have just empty string in the second call. Moreover there is an issue with line breaks - as the original commands got truncated. Signed-off-by: Lukasz Majewski <lukma@denx.de>
| * | ARM: bootscript: Replace tftpboot with dhcp when downloading kernelLukasz Majewski2018-09-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'dhcp' command is more versatile as it allows working with the DHCP server to obtain serverip, ipaddress and other network parameters. The configuration necessary to obtain the serverip (dhcpd.conf): option option-150 code 150 = ip-address; and in the subnet definition: option option-150 192.168.X.Y; Signed-off-by: Lukasz Majewski <lukma@denx.de>
| * | ARM: bootscript: Remove hard-coded rootpath from K+P's tpcboot.cmdLukasz Majewski2018-09-141-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'rootpath' can be provided by DHCP server. Removing this line prevents from overwriting it. To do that on the DHCP server side (isc-dhcp-server) modify dhcpd.conf and add 'option root-path "192.168.X.Y:/srv/tftp/rootfs";' Signed-off-by: Lukasz Majewski <lukma@denx.de>
| * | imx: imx6ull: fix pinmux input_val for uart5 rx pinHeiko Schocher2018-09-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | just try to bring up an imx6ull board with console on uart5 and found, that input_val for pin MX6UL_PAD_UART5_RX_DATA__UART5_DCE_RX is 7 and not 5 on imx6ull. With this patch rx works now. Signed-off-by: Heiko Schocher <hs@denx.de>
| * | pico-imx6ul: Remove CONFIG_FSL_USDHC from .hOtavio Salvador2018-09-141-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | The CONFIG_FSL_USDHC is defined inside "mx6_common.h", which is already included in this file. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Reviewed-by: Fabio Estevam <festevam@gmail.com>
| * | pico-imx6ul: Add new pico-hobbit configOtavio Salvador2018-09-142-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | The new config skips the boot menu which asks which board is in use. This is useful to allow direct booting of image without user iteration. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| * | pico-imx6ul: Sync README with pico-imx7dOtavio Salvador2018-09-141-13/+9
| | | | | | | | | | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| * | pico-imx6ul: Improve default DFU settingsOtavio Salvador2018-09-141-5/+6
| | | | | | | | | | | | | | | | | | | | | This rework the DFU settings so it supports the SPL and U-Boot image, as well as the single partition layout we are using by default. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| * | pico-imx6ul: Add bootmenu to choose the baseboardOtavio Salvador2018-09-142-2/+13
| | | | | | | | | | | | | | | | | | | | | Currently the baseboards do not offer a way to autodetect which one is in use, so we ask the user if no value has been set. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| * | pico-imx6ul: Sync defconfig with new changesOtavio Salvador2018-09-141-16/+4
| | | | | | | | | | | | | | | | | | | | | Due the changes in previous commits, we need to resync the defconfig to reduce noise in next commits. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| * | pico-imx6ul: Update the README fileFabio Estevam2018-09-141-6/+20
| | | | | | | | | | | | | | | | | | | | | | | | Update the README file to take into accound the switch to SPL. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| * | pico-imx6ul: Add support for the 512MB moduleFabio Estevam2018-09-141-3/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently only the module with 256MB of RAM is supported. Add support for the 512MB of RAM variant as well. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| * | pico-imx6ul: Add bmode supportFabio Estevam2018-09-141-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'bmode' command is helpful for switching the boot media. In the case of pico-imx6ul there are two possible boot media: eMMC or USB. To boot from eMMC: => bmode emmc To boot from USB (via Serial Download Protocol): => bmode usb Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| * | pico-imx6ul: Add fastboot supportFabio Estevam2018-09-141-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fastboot tool is a convenient way to flash the eMMC, so add support for it. Examples of usages: On the pico-imx6ul U-Boot prompt: => fastboot 0 On the Linux PC connected via USB: 1. Retrieving the U-Boot version $ sudo fastboot getvar bootloader-version -i 0x0525 bootloader-version: U-Boot 2018.07-rc2-00130-g0881835-dirty finished. total time: 0.000s 2. Resetting the board $ sudo fastboot reboot -i 0x0525 (this causes the pico-imx6ul to reboot) Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| * | pico-imx6ul: Convert to SPLFabio Estevam2018-09-145-2/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are two versions of imx6ul pico SOMs: one with 256MB and another one with 512MB of RAM. Convert to SPL so that both versions can be supported. This patch doesn't rework the clock initialization to avoid changing the behavior in this same patch, so it will be cleaned up in future. Currently only the 256MB is tested/supported. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| * | pico-imx6ul: Convert to distro configFabio Estevam2018-09-142-50/+21
| | | | | | | | | | | | | | | | | | | | | | | | Instead of keeping a custom environment, use a more generic approach by switching to distro config. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* | | Merge git://git.denx.de/u-boot-marvellTom Rini2018-09-1925-199/+664
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Multiples updates to the turris boards / platform - Changes / enhancements to the Marvell PHY drivers, mainly to support the turris platform - Many fixes and enhancements to the pxa3xx NAND driver - Fixes for the UART boot mode in kwboot - Misc minor changes to other 32bit and 64bit boards
| * | | arm: mvebu: clearfog: enable eMMC boot partitions supportBaruch Siach2018-09-191-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Clearfog SOM can optionally have eMMC installed. Enable support for eMMC boot partitions by default. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Stefan Roese <sr@denx.de>
| * | | phy: marvell: add SATA comphy RX/TX polarity invert supportRabeeh Khoury2018-09-192-2/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support to Armada 7k/8k comphy RX/TX lane swap. The 'phy-invert' DT property defines the inverted signals. Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Stefan Roese <sr@denx.de>
| * | | fix: cmd: mvebu: Exclude mvebu commands from SPL buildsKonstantin Porotchkin2018-09-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Exclude mvebu commands from SPL builds Signed-off-by: Konstantin Porotchkin <kostap@marvell.com> Cc: Igal Liberman <igall@marvell.com> Cc: Stefan Roese <sr@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
| * | | fix: mvebu: Add SPI parameters for environment setupKonstantin Porotchkin2018-09-191-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add definitions for CONFIG_ENV_SPI_BUS and CONFIG_ENV_SPI_CS to Armada-388-GP board configuration Signed-off-by: Konstantin Porotchkin <kostap@marvell.com> Cc: Igal Liberman <igall@marvell.com> Cc: Stefan Roese <sr@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
| * | | fix: env: Fix the SPI flash device setup for DM modeKonstantin Porotchkin2018-09-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some reason the spi_flash_probe_bus_cs() is called inside the setup_flash_device() with zero values in place of configurated SPI flash mode and maximum flash speed. This code causes HALT error during startup environment relocation on some platforms - namely Armada-38x-GP board. Fix the function call by replacing zeros with the appropriate values - CONFIG_ENV_SPI_MAX_HZ and CONFIG_ENV_SPI_MODE. Signed-off-by: Konstantin Porotchkin <kostap@marvell.com> Cc: Igal Liberman <igall@marvell.com> Cc: Stefan Roese <sr@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>