Re: [U-Boot] [PATCH 1/1] efi_loader: environment variables for terminal size

2018-09-13 Thread Heinrich Schuchardt
On 09/14/2018 07:21 AM, Alexander Graf wrote: > > > On 14.09.18 06:41, Heinrich Schuchardt wrote: >> Correct scrolling in EFI applications like the EFI Shell requires correct >> setting of the terminal size. Detecting the terminal size over the serial >> interface is often not supported. The

Re: [U-Boot] [PATCH 1/1] efi_loader: environment variables for terminal size

2018-09-13 Thread Alexander Graf
On 14.09.18 06:41, Heinrich Schuchardt wrote: > Correct scrolling in EFI applications like the EFI Shell requires correct > setting of the terminal size. Detecting the terminal size over the serial > interface is often not supported. The patch introduces the environment Can you give examples on

Re: [U-Boot] [PATCH V3 2/2] pci: Update documentation to make 'compatible' string optional

2018-09-13 Thread Simon Glass
Hi Marex, On 11 September 2018 at 14:58, Marek Vasut wrote: > Reword the documentation to make it clear the compatible string is now > optional, yet still matching on it takes precedence over PCI IDs and > PCI classes. > > Signed-off-by: Marek Vasut > Cc: Simon Glass > Cc: Tom Rini > --- >

Re: [U-Boot] [PATCH V3 1/2] pci: Support parsing PCI controller DT subnodes

2018-09-13 Thread Simon Glass
Hi Marek, On 11 September 2018 at 14:58, Marek Vasut wrote: > The PCI controller can have DT subnodes describing extra properties > of particular PCI devices, ie. a PHY attached to an EHCI controller > on a PCI bus. This patch parses those DT subnodes and assigns a node > to the PCI device

Re: [U-Boot] [PATCH V2 1/2] pci: Support parsing PCI controller DT subnodes

2018-09-13 Thread Simon Glass
Hi Marek, On 10 September 2018 at 01:38, Marek Vasut wrote: > > On 09/02/2018 03:07 AM, Simon Glass wrote: > > Hi Marek, > > Hi, > > > On 1 September 2018 at 16:45, Marek Vasut wrote: > >> > >> On 09/01/2018 11:50 PM, Simon Glass wrote: > >>> Hi Marek, > >>> > >>> On 30 August 2018 at 07:42,

[U-Boot] [PATCH 1/1] efi_loader: environment variables for terminal size

2018-09-13 Thread Heinrich Schuchardt
Correct scrolling in EFI applications like the EFI Shell requires correct setting of the terminal size. Detecting the terminal size over the serial interface is often not supported. The patch introduces the environment variables LINES and COLUMNS to set the terminal size manually. Signed-off-by:

Re: [U-Boot] [PATCH 0/7] Exynos4412 SPL support

2018-09-13 Thread Simon Shields
Hi Anand, On Thu, Sep 13, 2018 at 08:39:52PM +0530, Anand Moon wrote: > Hi Simon, > > On Wed, 12 Sep 2018 at 17:25, Simon Shields wrote: > > > > Hi, > > > > This patch series adds support for using U-Boot's SPL as the second > > stage bootloader ("BL2") on Exynos4412 SoCs. > > > > - Patch #1

Re: [U-Boot] [PATCH V4 32/32] imx: add i.MX8QXP MEK board support

2018-09-13 Thread Peng Fan
> -Original Message- > From: Lothar Waßmann [mailto:l...@karo-electronics.de] > Sent: 2018年9月13日 23:56 > To: Peng Fan > Cc: sba...@denx.de; Fabio Estevam ; > u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH V4 32/32] imx: add i.MX8QXP MEK board support > > Hi, > > On Wed, 5 Sep

Re: [U-Boot] [PATCH V4 24/32] power: Add power domain driver for i.MX8

2018-09-13 Thread Peng Fan
> -Original Message- > From: Lothar Waßmann [mailto:l...@karo-electronics.de] > Sent: 2018年9月13日 23:59 > To: Peng Fan > Cc: sba...@denx.de; Fabio Estevam ; > u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH V4 24/32] power: Add power domain driver for > i.MX8 > > Hi, > > On Wed, 5

Re: [U-Boot] [PATCH v3 12/14] pico-imx6ul: Remove CONFIG_FSL_USDHC from .h

2018-09-13 Thread Otavio Salvador
On Thu, Sep 13, 2018 at 6:49 PM Fabio Estevam wrote: > > On Thu, Sep 13, 2018 at 6:33 PM, Otavio Salvador > wrote: > > On Thu, Sep 13, 2018 at 5:14 PM Fabio Estevam wrote: > >> > > ... > >> I see that CONFIG_FSL_USDHC is defined inside "mx6_common.h", which is > >> already included in this

[U-Boot] [PATCH v2 2/2] rockchip: fix incorrect detection of ram size

2018-09-13 Thread Marty E. Plummer
Taken from coreboot's src/soc/rockchip/rk3288/sdram.c Without this change, my u-boot build for the asus c201 chromebook (4GiB) is incorrectly detected as 0 Bytes of ram. Signed-off-by: Marty E. Plummer --- arch/arm/mach-rockchip/sdram_common.c | 2 ++ 1 file changed, 2 insertions(+) diff

[U-Boot] [PATCH v2 1/2] rockchip: add support for veyron-speedy (ASUS Chromebook C201)

2018-09-13 Thread Marty E. Plummer
This adds support for the ASUS C201, a RK3288-based clamshell device. The device tree comes from linus's linux tree at 3f16503b7d2274ac8cbab11163047ac0b4c66cfe. The SDRAM parameters are for 4GB Samsung LPDDR3, decoded from coreboot's

Re: [U-Boot] [PATCH v3 01/14] pico-imx6ul: Convert to distro config

2018-09-13 Thread Fabio Estevam
Hi Otavio, On Thu, Sep 13, 2018 at 4:56 PM, Otavio Salvador wrote: > From: Fabio Estevam > > Instead of keeping a custom environment, use a more generic approach > by switching to disto config. If you send a new version, please fix the typo: it should be "distro", not "disto" Thanks

Re: [U-Boot] [PATCH v3 12/14] pico-imx6ul: Remove CONFIG_FSL_USDHC from .h

2018-09-13 Thread Fabio Estevam
On Thu, Sep 13, 2018 at 6:33 PM, Otavio Salvador wrote: > On Thu, Sep 13, 2018 at 5:14 PM Fabio Estevam wrote: >> > ... >> I see that CONFIG_FSL_USDHC is defined inside "mx6_common.h", which is >> already included in this file, so the change looks good, but the >> commit message needs to be

[U-Boot] [PATCH] Fixes the load command return code under btrfs

2018-09-13 Thread Stephane Gilbert
Hi, I am submitting the following patch to resolve issue below: When using the load command with a btrfs filesystem, the return code of that command if always success even if the command failed. The problem is the do_load command in fs.c who assume any positive return code from fs_read as

Re: [U-Boot] [PATCH v3 12/14] pico-imx6ul: Remove CONFIG_FSL_USDHC from .h

2018-09-13 Thread Otavio Salvador
On Thu, Sep 13, 2018 at 5:14 PM Fabio Estevam wrote: > ... > I see that CONFIG_FSL_USDHC is defined inside "mx6_common.h", which is > already included in this file, so the change looks good, but the > commit message needs to be reworked. Like: pico-imx6ul: Remove CONFIG_FSL_USDHC from .h The

Re: [U-Boot] [PATCH v3 12/14] pico-imx6ul: Remove CONFIG_FSL_USDHC from .h

2018-09-13 Thread Fabio Estevam
Hi Otavio, On Thu, Sep 13, 2018 at 4:57 PM, Otavio Salvador wrote: > The FSL_USDHC support is now handled by Kconfig and it is enabled on > the respective `defconfig` so the setting in .h is pointless. Just checked and I don't see FSL_USDHC option in Kconfig. > Signed-off-by: Otavio Salvador

[U-Boot] [PATCH v3 14/14] pico-imx6ul: Add instructions for booting in Falcon mode

2018-09-13 Thread Otavio Salvador
From: Fabio Estevam 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 Signed-off-by: Otavio Salvador --- Changes in v3: - new patch Changes in

[U-Boot] [PATCH v3 12/14] pico-imx6ul: Remove CONFIG_FSL_USDHC from .h

2018-09-13 Thread Otavio Salvador
The FSL_USDHC support is now handled by Kconfig and it is enabled on the respective `defconfig` so the setting in .h is pointless. Signed-off-by: Otavio Salvador --- Changes in v3: None Changes in v2: None include/configs/pico-imx6ul.h | 1 - 1 file changed, 1 deletion(-) diff --git

[U-Boot] [PATCH v3 07/14] pico-imx6ul: Sync defconfig with new changes

2018-09-13 Thread Otavio Salvador
Due the changes in previous commits, we need to resync the defconfig to reduce noise in next commits. Signed-off-by: Otavio Salvador --- Changes in v3: None Changes in v2: None configs/pico-imx6ul_defconfig | 20 1 file changed, 4 insertions(+), 16 deletions(-) diff

[U-Boot] [PATCH v3 10/14] pico-imx6ul: Sync README with pico-imx7d

2018-09-13 Thread Otavio Salvador
Signed-off-by: Otavio Salvador --- Changes in v3: None Changes in v2: None board/technexion/pico-imx6ul/README | 22 +- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/board/technexion/pico-imx6ul/README b/board/technexion/pico-imx6ul/README index

[U-Boot] [PATCH v3 13/14] pico-imx6ul: Add Falcon mode support

2018-09-13 Thread Otavio Salvador
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 --- Changes

[U-Boot] [PATCH v3 09/14] pico-imx6ul: Improve default DFU settings

2018-09-13 Thread Otavio Salvador
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 --- Changes in v3: None Changes in v2: None include/configs/pico-imx6ul.h | 11 ++- 1 file changed, 6 insertions(+), 5

[U-Boot] [PATCH v3 08/14] pico-imx6ul: Add bootmenu to choose the baseboard

2018-09-13 Thread Otavio Salvador
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 --- Changes in v3: None Changes in v2: None configs/pico-imx6ul_defconfig | 5 +++-- include/configs/pico-imx6ul.h | 10 ++ 2

[U-Boot] [PATCH v3 11/14] pico-imx6ul: Add new pico-hobbit config

2018-09-13 Thread Otavio Salvador
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 --- Changes in v3: None Changes in v2: None board/technexion/pico-imx6ul/MAINTAINERS | 5 +++

[U-Boot] [PATCH v3 04/14] pico-imx6ul: Add bmode support

2018-09-13 Thread Otavio Salvador
From: Fabio Estevam 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

[U-Boot] [PATCH v3 06/14] pico-imx6ul: Update the README file

2018-09-13 Thread Otavio Salvador
From: Fabio Estevam Update the README file to take into accound the switch to SPL. Signed-off-by: Fabio Estevam Signed-off-by: Fabio Berton Signed-off-by: Otavio Salvador --- Changes in v3: None Changes in v2: None board/technexion/pico-imx6ul/README | 26 -- 1

[U-Boot] [PATCH v3 05/14] pico-imx6ul: Add support for the 512MB module

2018-09-13 Thread Otavio Salvador
From: Fabio Estevam 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 Signed-off-by: Fabio Berton Signed-off-by: Otavio Salvador --- Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v3 03/14] pico-imx6ul: Add fastboot support

2018-09-13 Thread Otavio Salvador
From: Fabio Estevam 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

[U-Boot] [PATCH v3 02/14] pico-imx6ul: Convert to SPL

2018-09-13 Thread Otavio Salvador
From: Fabio Estevam 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

[U-Boot] [PATCH v3 01/14] pico-imx6ul: Convert to distro config

2018-09-13 Thread Otavio Salvador
From: Fabio Estevam Instead of keeping a custom environment, use a more generic approach by switching to disto config. Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- Changes in v3: None Changes in v2: None configs/pico-imx6ul_defconfig | 2 + include/configs/pico-imx6ul.h

[U-Boot] [PATCH 1/1] efi_loader: loosen check of parameters of efi_file_open()

2018-09-13 Thread Heinrich Schuchardt
The UEFI spec requires that attributes are only set for when EFI_FILE_MODE_CREATE is set in open_mode. The SCT tries to read a directory with EFI_FILE_DIRECTORY. As EDK2 allows this we should not be more strict. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_file.c | 11 ++-

Re: [U-Boot] [PATCH] phy: Add 25G_AUI, XLAUI, CAUI2, CAUI4 related macros

2018-09-13 Thread Joe Hershberger
On Mon, Aug 27, 2018 at 4:47 AM Priyanka Jain wrote: > > NXP SoCs like LX2160A can support new ethernet modes > which are 25G_AUI(25G), XLAUI(40G), CAUI2(50G) > and CAUI4(100G) > Add corresponding macros definitions in phy_interface.h > > Signed-off-by: Priyanka Jain Acked-by: Joe Hershberger

[U-Boot] [PATCH 1/1] fs: fat: unaligned buffers are not an error

2018-09-13 Thread Heinrich Schuchardt
The FAT driver supports unaligned reads and writes and EFI applications will make use of these. So a misaligned buffer is only worth a debug message. Signed-off-by: Heinrich Schuchardt --- fs/fat/fat.c | 2 +- fs/fat/fat_write.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)

Re: [U-Boot] [PATCH V4 24/32] power: Add power domain driver for i.MX8

2018-09-13 Thread Lothar Waßmann
Hi, On Wed, 5 Sep 2018 10:12:11 +0800 Peng Fan wrote: > Add the power domain DM driver for i.MX8, that it depends on the DTB > power domain trees to generate the power domain provider devices. Users > needs add power domain trees with property "compatible = "nxp,imx8-pd";" > > When power on one

Re: [U-Boot] [PATCH V4 32/32] imx: add i.MX8QXP MEK board support

2018-09-13 Thread Lothar Waßmann
Hi, On Wed, 5 Sep 2018 10:12:19 +0800 Peng Fan wrote: > Add i.MX8QXP MEK board support > Enabled pinctrl/clk/power domain/mmc/i2c driver. > Added README file. > > Signed-off-by: Peng Fan > Cc: Stefano Babic > Cc: Fabio Estevam > Cc: Anatolij Gustschin > --- > arch/arm/dts/Makefile

Re: [U-Boot] [PATCH 0/7] Exynos4412 SPL support

2018-09-13 Thread Anand Moon
Hi Simon, On Wed, 12 Sep 2018 at 17:25, Simon Shields wrote: > > Hi, > > This patch series adds support for using U-Boot's SPL as the second > stage bootloader ("BL2") on Exynos4412 SoCs. > > - Patch #1 adds support for the EMMC/SD OM pin configuration, which is used > by the boards I tested

[U-Boot] [PATCH] arm: mvebu: clearfog: enable eMMC boot partitions support

2018-09-13 Thread Baruch Siach
The Clearfog SOM can optionally have eMMC installed. Enable support for eMMC boot partitions by default. Signed-off-by: Baruch Siach --- include/configs/clearfog.h | 4 1 file changed, 4 insertions(+) diff --git a/include/configs/clearfog.h b/include/configs/clearfog.h index

Re: [U-Boot] [PATCH] arm: zynq: zybo: migrate CONFIG_DISPLAY to defconfig

2018-09-13 Thread Michal Simek
On 13.9.2018 06:02, Luis Araneda wrote: > Only add CONFIG_DISPLAY to defconfig because CONFIG_I2C_EDID > is automatically selected by CONFIG_DISPLAY > > Signed-off-by: Luis Araneda > --- > configs/zynq_zybo_defconfig | 1 + > include/configs/zynq_zybo.h | 2 -- > 2 files changed, 1