- Jun 06, 2019
-
-
Patrice Chotard authored
This patch adds independent watchdog support for stm32mp157c in SPL. Signed-off-by:
Patrice Chotard <patrice.chotard@st.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Patrice Chotard authored
To make adding new entry easier, sort Kconfig entries in alphabetical order. Signed-off-by:
Patrice Chotard <patrice.chotard@st.com> Reviewed-by:
Stefan Roese <sr@denx.de>
-
Patrice Chotard authored
Update env_get_location() to be able to save environment into NOR (SPI_FLASH). Series-cc: pde, cke, pch, uboot-stm32 Cover-letter: Add saveenv support for STM32MP1 This series adds saveenv support for STM32MP1 on several boot devices. STM32MP1 is able to boot on eMMC, sdcard and NOR (NAND support is not fully supported). On eMMC and sdcard, environment is saved in EXT4 partition On NOR, environment is saved in a dedicated partition On NAND, environment is saved in a UBI volume. This series: - enables NAND and NOR support on ev1 board - enables ENV_IS_IN_SPI_FLASH, ENV_IS_IN_UBI, ENV_IS_IN_EXT4 flags - fixes get_mtdparts() - allows to override interface, device and partition for ext4 environment - updates rule to set ENV_IS_NOWHERE value - introduce ENV_IS_IN_DEVICE END Signed-off-by:
Patrice Chotard <patrice.chotard@st.com>
-
Patrice Chotard authored
Add all relative flags needed by ENV_IS_IN_SPI_FLASH Reserved a 256KB partition in NOR to save the U-Boot environment. Signed-off-by:
Patrice Chotard <patrice.chotard@st.com>
-
Patrice Chotard authored
Add all relative flags needed by ENV_IS_IN_UBI Signed-off-by:
Patrice Chotard <patrice.chotard@st.com>
-
Patrice Chotard authored
Increase ENV_SIZE from 4 to 8 Ko Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com> Signed-off-by:
Patrice Chotard <patrice.chotard@st.com>
-
Patrice Chotard authored
When ENV_IS_IN_UBI is enable, get_mtdparts is called before relocation. During first get_mtdparts() call, mtdparts is not available in environment, it can be retrieved by calling board_mtdparts_default(), but following env_set() do nothing as we are before relocation. Finally mtdparts is still not available in environment. At second get_mtdparts() call, use_defaults is false, but mtdparts is still not in environment and is NULL. Remove use_defaults bool, only mtdparts criteria is useful. Fixes: commit 5ffcd506 ("mtd: Use default mtdparts/mtids when not defined in the environment") Signed-off-by:
Patrice Chotard <patrice.chotard@st.com>
-
Patrice Chotard authored
In case of several environment location support, env_get_location is needed to select the correct location depending of the boot device . Signed-off-by:
Patrice Chotard <patrice.chotard@st.com>
-
Enable ENV_IS_IN_EXT4 and all relative flags to be able to load/save environment in EXT4 partition. This will allows to load/save environment on both sdcard and eMMC. As for stm32mp15, bootfs has not the same partition number on sdcard and on eMMC, we use "auto" key which allows to find the first partition in device with bootable flag which is partition 4 on sdcard and partition 2 on eMMC. Signed-off-by:
Patrice Chotard <patrice.chotard@st.com>
-
Introduce ENV_IS_IN_DEVICE to test if one the CONFIG_ENV_IS_IN_ is defined and support the command saveenv even if CONFIG_ENV_IS_NOWHERE is activated Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com>
-
Patrice Chotard authored
Allow U-Boot to get default environment for some boot mode (USB for example), and to select storage location when it is booting from flash device; ENVL_NOWHERE is present in env_locations with other one. Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com>
-
Patrice Chotard authored
This allows to : - select the current device to save the environment file - select the correct EXT4 boot device instance and partition to save the environment file. For EXT4, device is mmc, device instance is 0 for sdcard or 1 for eMMC. The partition is set to "auto" to select the first partition with bootable flag. Signed-off-by:
Patrice Chotard <patrice.chotard@st.com>
-
Patrice Chotard authored
For platform which can boot on different device, this allows to override interface, device and partition from board code. Signed-off-by:
Patrice Chotard <patrice.chotard@st.com>
-
Patrice Chotard authored
This patch configure the default value for mtdids and mtparts dynamically according the presence of nor and nand in the board device tree Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com> Signed-off-by:
Christophe Kerello <christophe.kerello@st.com> Signed-off-by:
Patrice Chotard <patrice.chotard@st.com>
-
Add the necessary configuration to have NAND and NOR support on ev1 board for BASIC boot (with SPL) or for TRUSTED boot (with TF-A). STM32MP> nand info Device 0: nand0, sector size 256 KiB Page size 4096 b OOB size 224 b Erase size 262144 b subpagesize 4096 b options 0x00184200 bbt options 0x00060000 STM32MP> sf probe SF: Detected mx66l51235l with page size 256 Bytes, erase size 64 KiB, total 64 MiB Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com>
-
Without newline, the error message appears for non prgrammed OTP boards looks messsy. Hence add it to look more clean. Signed-off-by:
Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Reviewed-by:
Patrice Chotard <patrice.chotard@st.com>
-
Add support for Avenger96 board from Arrow Electronics based on STM32MP157 MPU. This board is one of the Consumer Edition (CE) boards of the 96Boards family and has the following features: SoC: STM32MP157AAC PMIC: STPMIC1A RAM: 1024 Mbyte @ 533MHz Storage: eMMC v4.51: 8 Gbyte microSD Socket: UHS-1 v3.01 Ethernet Port: 10/100/1000 Mbit/s, IEEE 802.3 Compliant Wireless: WiFi 5 GHz & 2.4GHz IEEE 802.11a/b/g/n/ac Bluetooth®v4.2 (BR/EDR/BLE) USB: 2x Type A (USB 2.0) Host and 1x Micro B (USB 2.0) OTG Display: HDMI: WXGA (1366x768)@ 60 fps, HDMI 1.4 LED: 4x User LED, 1x WiFi LED, 1x BT LED More information about this board can be found in 96Boards website: https://www.96boards.org/product/avenger96/ Signed-off-by:
Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Reviewed-by:
Patrice Chotard <patrice.chotard@st.com>
-
Add missing pinctrl definitions for STM32MP157. Signed-off-by:
Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Reviewed-by:
Patrice Chotard <patrice.chotard@st.com>
-
- Jun 05, 2019
-
-
Tom Rini authored
- More DaVinci fixes - BuR platform fix
-
current implementation for checking if "led list" command is called checks only if "l" is passed to the led command. This prevents switching leds with name which starts also with a "l". So check for passing "list". While at it, also fix a typo in led command usage. Signed-off-by:
Heiko Schocher <hs@denx.de>
-
This is required for proper operation of the 8-bit data transfers. This fixes transient errors seen on BeagleBone Black. Signed-off-by:
Jean-Jacques Hiblot <jjhiblot@ti.com>
-
Signed-off-by:
Holger Brunck <holger.brunck@ch.abb.com>
-
There are no more users of lowlevel_init.S. Remove the file. Suggested-by:
Adam Ford <aford173@gmail.com> Signed-off-by:
Bartosz Golaszewski <bgolaszewski@baylibre.com>
-
This adds a define for CONFIG_SKIP_LOWLEVEL_INIT in the legoev3 config. On the EV3, U-Boot is loaded into RAM by another bootloader, so we don't need the lowlevel init in U-Boot. Signed-off-by:
David Lechner <david@lechnology.com> Signed-off-by:
Bartosz Golaszewski <bgolaszewski@baylibre.com>
-
The MAC address is located at at the last 64K of SPI Flash, and it's 6 bytes long. This patch corrects both the length and starting byte of the MAC address. Signed-off-by:
Adam Ford <aford173@gmail.com>
-
The commong initialization code manually initializes the GPIO even when OF_CONTROL does it, so we can reduce the code size a bit by not doing it manually when we have device tree support. Using the omap3_logic board (dm3730), the sizes shrunk: Before: text data bss dec hex filename 561066 28596 116880 706542 ac7ee u-boot 55245 1605 1888 58738 e572 spl/u-boot-spl After text data bss dec hex filename 560898 28548 116872 706318 ac70e u-boot 55121 1557 1888 58566 e4c6 spl/u-boot-spl Signed-off-by:
Adam Ford <aford173@gmail.com>
-
Resync imx6q-logicpd with Kernel 5.1.5 Signed-off-by:
Adam Ford <aford173@gmail.com>
-
With ipam390 support removed in we can remove the reference to the linker script since that case will never be true. Signed-off-by:
Adam Ford <aford173@gmail.com> Reviewed-by:
Bartosz Golaszewski <bgolaszewski@baylibre.com>
-
U-Boot README recommends initializing SDRAM in board_init_f(). DA850 was doing it as part of board_init_r() (through call to spl_board_init() which calls arch_cpu_init() which calls da850_ddr_setup()) This worked fine till commit 15b8c750 ("davinci: da850evm/omapl138-lcdk: Move BSS to SDRAM because SRAM is full") moved BSS to SDRAM. Functions like mmc_initialize() called in board_init_r() assume BSS is available. Since SDRAM was not initialized when arch/arm/lib/crt0.S tried to initialize BSS to 0, BSS is not initialized correctly. Fix this by simply calling arch_cpu_init() from board_init_f(). Also move preloader_console_init() there to help debug issues with board_init_r(). With this spl_board_init() is no longer needed, we remove it. Tested using MMC/SD boot on OMAP-L138 LCDK board. Tested-by: Adam Ford <aford173@gmail.com> #da850evm Signed-off-by:
Sekhar Nori <nsekhar@ti.com> Tested-by: Peter Howard <phoward@gme.net.au> #omapl138_lcdk
-
commit 21af33ed ("ARM: davinci: omapl138_lcdk: Enable DM_MMC") wanted to enable DM_MMC only for U-Boot and not for SPL. But CONFIG_DM_MMC is defined for SPL build too. Because of this MMC device was not getting registered for SPL causing MMC/SD boot breakage. Instead use CONFIG_IS_ENABLED(DM_MMC) which will remain false until CONFIG_SPL_DM_MMC is defined. Tested-by: Adam Ford <aford173@gmail.com> #da850evm Signed-off-by:
Sekhar Nori <nsekhar@ti.com> Tested-by: Peter Howard <phoward@gme.net.au> #omapl138_lcdk
-
Signed-off-by:
Hannes Schmelzer <hannes.schmelzer@br-automation.com>
-
git://git.denx.de/u-boot-riscvTom Rini authored
- Support Microchip MPFS Icicle board. - Enable e1000 and nvme support for qemu. - Enable PCI host ECAM generic driver for qemu. - Increase the environment size to 128kB for qemu.
-
Padmarao Begari authored
This patch adds Microchip MPFS Icicle board support. For now, NS16550 serial driver is only enabled. The Microchip MPFS Icicle defconfig by default builds U-Boot for M-Mode with SMP support. Signed-off-by:
Padmarao Begari <padmarao.begari@microchip.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Lukas Auer <lukas.auer@aisec.fraunhofer.de>
-
Bin Meng authored
Since we have added the PCI support to the 'virt' target, enable e1000 and NVME as alternate network and storage devices for these virtio based devices. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Lukas Auer <lukas.auer@aisec.fraunhofer.de> Tested-by:
Lukas Auer <lukas.auer@aisec.fraunhofer.de>
-
Bin Meng authored
QEMU 4.0.0 'virt' target integrates a generic ECAM PCI host. Enable the driver for it. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Lukas Auer <lukas.auer@aisec.fraunhofer.de> Tested-by:
Lukas Auer <lukas.auer@aisec.fraunhofer.de>
-
Karsten Merker authored
The existing default size of 4kB is too small as the default environment has already nearly that size and defining a single additional environment variable can exceed the available space. Signed-off-by:
Karsten Merker <merker@debian.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
- Jun 04, 2019
-
-
git://git.denx.de/u-boot-marvellTom Rini authored
- Enable MMC in SPL to enable DM MMC booting on helios4 (Dennis)
-
This allows SPL to load the main U-Boot image from MMC once DM_MMC is enabled. Signed-off-by:
Dennis Gilmore <dennis@ausil.us> Reviewed-by:
Stefan Roese <sr@denx.de> Signed-off-by:
Stefan Roese <sr@denx.de>
-
- Jun 02, 2019
-
-
git://git.denx.de/u-boot-efiTom Rini authored
Pull request for UEFI sub-system for v2019.07-rc4 Corrections for boottime services for protocols and for the SetTime() service are provided. Error messages for the 'setenv -e' and 'bootefi bootmgr' commands are added.
-
-