[U-Boot] [PATCH] PCI: layerscape: Fix the bug assigning wrong address to LS2088A pcie cfg1 space

2017-07-17 Thread Zhiqiang Hou
From: Hou Zhiqiang This bug is brought by the commit 3d8553f0a3 (pci: layerscape: add LS2088A series SoC pcie support), which only updated cfg_res.start and did not update the .end field, this will make fdt_resource_size() getting wrong value when calculate the cfg1 space address. This patch is t

Re: [U-Boot] A80 (CubieBoard4) u-boot - what to inject in boot0 area?

2017-07-17 Thread Chen-Yu Tsai
"Hi, On Tue, Jul 18, 2017 at 10:40 AM, Konrad Rzeszutek Wilk wrote: > Hey, > > I am trying to install an U-boot from the upstream repo as it looks to have > most (if not all?) > of the features needed for the A80 board (Cubieboard4). > > I've built the uboot just fine (using the default > ./con

[U-Boot] A80 (CubieBoard4) u-boot - what to inject in boot0 area?

2017-07-17 Thread Konrad Rzeszutek Wilk
Hey, I am trying to install an U-boot from the upstream repo as it looks to have most (if not all?) of the features needed for the A80 board (Cubieboard4). I've built the uboot just fine (using the default ./configs/Cubieboard4_defconfig) .. ./tools/mkimage -A arm -T firmware -C none -O u-boot

[U-Boot] Fwd: [PATCH 1/1] gpio: pca953x: Fix support chips with 24 GPIOs

2017-07-17 Thread Максим Паймушкин
-- Переадресованное сообщение -- От: "Maxim Paymushkin" Дата: 15 июл. 2017 г. 19:12 Тема: [PATCH 1/1] gpio: pca953x: Fix support chips with 24 GPIOs Кому: Копия: "Maxim Paymushkin" A bug in the pca953x driver prevents correct detection the chips with 24 GPIOs. Generalized functi

Re: [U-Boot] [PATCH] net: Mark the ip_udp_hdr struct as packed

2017-07-17 Thread Tom Rini
On Mon, Jul 17, 2017 at 11:29:39AM +0200, Maxime Ripard wrote: > On Wed, Jul 12, 2017 at 04:37:43PM +0200, Dr. Philipp Tomsich wrote: > > > > > On 12 Jul 2017, at 16:34, Maxime Ripard > > > wrote: > > > > > > The -mno-unaligned-access flag used on ARM to prevent GCC from generating > > > unalig

Re: [U-Boot] [PATCH 01/12] x86: theadorable-x86-dfi-bt700: Add Micron SPI support and move VIDEO blob

2017-07-17 Thread Bin Meng
On Tue, Jul 18, 2017 at 9:14 AM, Bin Meng wrote: > Hi Stefan, > > On Mon, Jul 17, 2017 at 10:03 PM, Stefan Roese wrote: >> To support the Micron SPI NOR flashes, this patch enables the support in >> defconfig. This increases the U-Boot binary too much so that it does >> not fit into its area in t

Re: [U-Boot] [PATCH 10/12] x86: dfi-bt700.dtsi: Enable xHCI and add GPIO for the xHCI HUB reset

2017-07-17 Thread Bin Meng
Hi Stefan, On Mon, Jul 17, 2017 at 10:03 PM, Stefan Roese wrote: > Change from EHCI to xHCI on the DFI BayTrail SoM. Additionally, the GPIO > that is needed to reset the xHCI hub is configured in the dts. > > Signed-off-by: Stefan Roese > Cc: Simon Glass > Cc: Bin Meng > --- > arch/x86/dts/df

Re: [U-Boot] [PATCH 07/12] x86: theadorable-x86-conga-qa3-e3845_defconfig: Misc defconfig updates

2017-07-17 Thread Bin Meng
On Mon, Jul 17, 2017 at 10:03 PM, Stefan Roese wrote: > - Enable EFI partition support > - Enable CONFIG_MMC_PCI > > Signed-off-by: Stefan Roese > Cc: Simon Glass > Cc: Bin Meng > --- > configs/theadorable-x86-conga-qa3-e3845_defconfig | 3 +++ > 1 file changed, 3 insertions(+) > Reviewed-by:

Re: [U-Boot] [PATCH 12/12] x86: theadorable-x86-xxx_defconfig: Misc defconfig updates

2017-07-17 Thread Bin Meng
On Mon, Jul 17, 2017 at 10:03 PM, Stefan Roese wrote: > This patch changes some Kconfig options for all theadorable-x86 targets: > > - Enable ACPI S3 resume support > - Enable xHCI support > > Signed-off-by: Stefan Roese > Cc: Simon Glass > Cc: Bin Meng > --- > configs/theadorable-x86-conga-qa

Re: [U-Boot] [PATCH 09/12] x86: dfi-bt700: Add xHCI USB hub reset

2017-07-17 Thread Bin Meng
On Mon, Jul 17, 2017 at 10:03 PM, Stefan Roese wrote: > The xHCI USB hub is connected to an GPIO on the DFI BayTrail SoM. For > correct operation, it needs to get reset upon power-up. Otherwise it > may happen that the hub is not detected after a software reboot. > > Signed-off-by: Stefan Roese >

Re: [U-Boot] [PATCH 08/12] x86: theadorable-x86-conga-qa3-e3845-pcie-x4_defconfig: Misc defconfig updates

2017-07-17 Thread Bin Meng
On Mon, Jul 17, 2017 at 10:03 PM, Stefan Roese wrote: > - Enable EFI partition support > - Enable CONFIG_MMC_PCI > > Signed-off-by: Stefan Roese > Cc: Simon Glass > Cc: Bin Meng > --- > configs/theadorable-x86-conga-qa3-e3845-pcie-x4_defconfig | 3 +++ > 1 file changed, 3 insertions(+) > Revi

Re: [U-Boot] [PATCH 02/12] x86: dfi: Add option to select different config headers for baseboards

2017-07-17 Thread Bin Meng
On Mon, Jul 17, 2017 at 10:03 PM, Stefan Roese wrote: > This patch adds the infrastructure to define different config headers > with different configurations and default environment for the baseboards > that can now be selected via Kconfig. The new configuration for the > theadorable-x86-dfi-bt700

Re: [U-Boot] [PATCH 05/12] x86: conga-qeval20-qa3-e3845: Select CONFIG_BOARD_LATE_INIT

2017-07-17 Thread Bin Meng
On Mon, Jul 17, 2017 at 10:03 PM, Stefan Roese wrote: > This config option is needed on the congatec x86 BayTrail board, as > otherwise the USB hub will not get initialized correctly. This > patch selects this Kconfig option again. > > Signed-off-by: Stefan Roese > Cc: Simon Glass > Cc: Bin Meng

Re: [U-Boot] [PATCH 06/12] x86: Add defconfig for theadorable-x86-conga with PCIe x4 blobs

2017-07-17 Thread Bin Meng
Hi Stefan, On Mon, Jul 17, 2017 at 10:03 PM, Stefan Roese wrote: > This defconfig uses the PCIe x4 binary blobs from the congatec BIOS. > > Signed-off-by: Stefan Roese > Cc: Simon Glass > Cc: Bin Meng > --- > ...eadorable-x86-conga-qa3-e3845-pcie-x4_defconfig | 78 > ++ >

Re: [U-Boot] [PATCH 11/12] x86: conga-qeval20-qa3-e3845.dts: Enable xHCI support in dts

2017-07-17 Thread Bin Meng
On Mon, Jul 17, 2017 at 10:03 PM, Stefan Roese wrote: > Signed-off-by: Stefan Roese > Cc: Simon Glass > Cc: Bin Meng > --- > arch/x86/dts/conga-qeval20-qa3-e3845.dts | 3 +++ > 1 file changed, 3 insertions(+) > Reviewed-by: Bin Meng ___ U-Boot mail

Re: [U-Boot] [PATCH 04/12] x86: theadorable-x86: Add header file for common defines and env

2017-07-17 Thread Bin Meng
On Mon, Jul 17, 2017 at 10:03 PM, Stefan Roese wrote: > This patch adds the common header include file theadorable-x86-common.h > for the theadorable-x86 targets to define all common options and the > default environment. > > Signed-off-by: Stefan Roese > Cc: Simon Glass > Cc: Bin Meng > --- >

Re: [U-Boot] [PATCH 03/12] x86: conga: Add option to select different config headers for baseboards

2017-07-17 Thread Bin Meng
On Mon, Jul 17, 2017 at 10:03 PM, Stefan Roese wrote: > This patch adds the infrastructure to define different config headers > with different configurations and default environment for the baseboards > that can now be selected via Kconfig. The new configuration for the > theadorable-x86-conga-qa3

Re: [U-Boot] [PATCH 01/12] x86: theadorable-x86-dfi-bt700: Add Micron SPI support and move VIDEO blob

2017-07-17 Thread Bin Meng
Hi Stefan, On Mon, Jul 17, 2017 at 10:03 PM, Stefan Roese wrote: > To support the Micron SPI NOR flashes, this patch enables the support in > defconfig. This increases the U-Boot binary too much so that it does > not fit into its area in the ROM. So also move the VIDEO BIOS blob > a bit to make s

Re: [U-Boot] Pull request: u-boot-mips

2017-07-17 Thread Tom Rini
On Thu, Jul 13, 2017 at 10:58:47AM -0700, Paul Burton wrote: > Hi Daniel & Tom, > > On Thursday, 13 July 2017 03:51:00 PDT Daniel Schwierzeck wrote: > > Hi Paul, > > > > 2017-07-13 2:33 GMT+02:00 Tom Rini : > > > On Wed, Jul 12, 2017 at 04:57:42PM -0400, Tom Rini wrote: > > >> On Wed, Jul 12, 201

Re: [U-Boot] [PATCH 00/30] env: Move environment code to use location drivers

2017-07-17 Thread Tom Rini
On Thu, Jul 13, 2017 at 10:45:10AM -0600, Simon Glass wrote: > Hi Tom, > > On 12 July 2017 at 06:24, Tom Rini wrote: > > > > On Sun, Jul 09, 2017 at 02:52:43PM -0600, Simon Glass wrote: > > > > > The environment code is ripe for improvement in various ways. It has lots > > > of duplication and in

[U-Boot] Atmel mci patch 4.2->4.41

2017-07-17 Thread Erik Frederiksen
Hi I am trying to patch an old u-boot to work with a new eMMC chip. The old chip is 4.2 the new is 4.41. The system is equipped with a AT91SAM9261 and is using the old atmel_mci.c driver (< 2011). Most of this actually works, but 2 problems remain: 1. Power off less than 60 secs. gives a RTOE (

[U-Boot] U-Boot Tool: fw_setenv - kernel option?

2017-07-17 Thread Arno Steffens
After using a plain vanilla instead of a vendor kernel I do have problems with fw_setenv. Althoug fw_printenv still works fine, after usage of fw_setenv the environment is destroyed, CRC error. I checked a lot of things, changed u-boot, devicetree, fw_setenv ... and finally came to the point, t

Re: [U-Boot] [PATCH 0/5] mmc: omap_hsmmc: Add support for ADMA

2017-07-17 Thread Adam Ford
On Mon, Jul 17, 2017 at 3:29 PM, Jean-Jacques Hiblot wrote: > > > On 14/07/2017 15:18, Adam Ford wrote: >> >> On Thu, Jul 13, 2017 at 2:22 AM, Jean-Jacques Hiblot >> wrote: >>> >>> >>> On 12/07/2017 19:30, Tom Rini wrote: On Tue, Jul 11, 2017 at 06:20:09PM +0200, Jean-Jacques Hiblot wro

Re: [U-Boot] [PATCH 0/5] mmc: omap_hsmmc: Add support for ADMA

2017-07-17 Thread Jean-Jacques Hiblot
On 14/07/2017 15:18, Adam Ford wrote: On Thu, Jul 13, 2017 at 2:22 AM, Jean-Jacques Hiblot wrote: On 12/07/2017 19:30, Tom Rini wrote: On Tue, Jul 11, 2017 at 06:20:09PM +0200, Jean-Jacques Hiblot wrote: This series enables the ADMA present in some OMAP SOCs. On a DRA7 the performances wh

[U-Boot] [PATCH] arm: mach-keystone: Fixes issue with return values in inline assembly

2017-07-17 Thread Andrew F. Davis
From: "Srinivas, Madan" The inline assembly functions in mon.c assume that the caller will check for the return value in r0 according to regular ARM calling conventions. However, this assumption breaks down if the compiler inlines the functions. The caller is then under no obligation to use r0 f

[U-Boot] [PATCH] configs: ti: armv7: Fixes bug in fit_loadaddr for ramfs boot

2017-07-17 Thread Andrew F. Davis
From: Madan Srinivas The load address of ramdisk, rdaddr is 0x8808 and fit_loadaddr is defined as 0x8800. This leaves only 512Kbytes for the fit image. When the FIT images are larger than this, it will overwite the ramdisk and cause the boot to fail. For eg, The K2 HS fit images are a fe

[U-Boot] [PATCH 2/4] configs: k2x_evm: Adds environment variables for secure devices

2017-07-17 Thread Andrew F. Davis
From: Madan Srinivas Updates the default u-boot environment variables to support secure boot. On secure devices, a secure boot monitor (sec-bm) needs to be installed by u-boot. Signed-off-by: Madan Srinivas --- include/configs/k2g_evm.h| 7 +++ include/configs/ti_armv7_keyston

[U-Boot] [PATCH 0/4] Add default secure boot env for K2x

2017-07-17 Thread Andrew F. Davis
Hello all, This series adds the default environment variables needed to boot K2x family secure devices. Thanks, Andrew Andrew F. Davis (2): configs: k2x_evm: Adds FIT loading environment variables configs: k2x_evm: Reorder default boot command Madan Srinivas (2): configs: k2x_evm: Adds en

[U-Boot] [PATCH 4/4] arm: mach-keystone: Updates mon_install for K2G HS

2017-07-17 Thread Andrew F. Davis
From: Madan Srinivas On early K2 devices (eg. K2HK) the secure ROM code does not support loading secure code to firewall protected memory, before decrypting, authenticating and executing it. To load the boot monitor on these devices, it is necessary to first authenticate and run a copy loop from

[U-Boot] [PATCH 1/4] configs: k2x_evm: Adds FIT loading environment variables

2017-07-17 Thread Andrew F. Davis
Updates the default u-boot environment variables to support FIT image loading. Signed-off-by: Andrew F. Davis --- include/configs/k2e_evm.h| 9 + include/configs/k2g_evm.h| 1 + include/configs/k2hk_evm.h | 9 + include/configs/ti_armv7_keysto

[U-Boot] [PATCH 3/4] configs: k2x_evm: Reorder default boot command

2017-07-17 Thread Andrew F. Davis
We first split the CONFIG_BOOTCOMMAND into its components to improve readability. We then make the following order changes: - Run findfdt first so the fdt name can be used in envboot like OMAP - Install the boot monitor before running the PMMC so we can make any needed secure changes before

Re: [U-Boot] [PATCH] spl: dm: Make it possible for the SPL to pick its own DTB from a FIT

2017-07-17 Thread Jean-Jacques Hiblot
On 16/07/2017 16:22, Lokesh Vutla wrote: On 7/7/2017 8:30 PM, Jean-Jacques Hiblot wrote: On 07/07/2017 16:30, Tom Rini wrote: On Fri, Jul 07, 2017 at 01:44:39PM +0200, Jean-Jacques Hiblot wrote: u-boot can be embedded within a FIT image with multiple DTBs. It then selects at run-time whi

Re: [U-Boot] [PATCH] omap3: omap3_logic: Disable Falcon mode

2017-07-17 Thread Lokesh Vutla
On 7/17/2017 5:29 PM, Adam Ford wrote: > Now that Falcon mode supports zImages, any attempts to load > from NAND fail, since the system assumes it's Falcon booting. yeah, when it fails loading zImage, it will fallback to loading u-boot. Is that not the behaviour? > The Micron Flash needs to be

Re: [U-Boot] [PATCH v2] serial: ns16550: Add RX interrupt buffer support

2017-07-17 Thread Bin Meng
+Simon, Hi Stefan, On Mon, Jul 17, 2017 at 7:18 PM, Stefan Roese wrote: > Hi Bin, > > > On 17.07.2017 11:43, Stefan Roese wrote: >> >> On 17.07.2017 11:26, Bin Meng wrote: >> >> >> >> + } >> +#endif >> + >> return 0; >>} >> >> @@ -459,6 +559,15 @@

[U-Boot] [PATCH 10/12] x86: dfi-bt700.dtsi: Enable xHCI and add GPIO for the xHCI HUB reset

2017-07-17 Thread Stefan Roese
Change from EHCI to xHCI on the DFI BayTrail SoM. Additionally, the GPIO that is needed to reset the xHCI hub is configured in the dts. Signed-off-by: Stefan Roese Cc: Simon Glass Cc: Bin Meng --- arch/x86/dts/dfi-bt700.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arc

[U-Boot] [PATCH 09/12] x86: dfi-bt700: Add xHCI USB hub reset

2017-07-17 Thread Stefan Roese
The xHCI USB hub is connected to an GPIO on the DFI BayTrail SoM. For correct operation, it needs to get reset upon power-up. Otherwise it may happen that the hub is not detected after a software reboot. Signed-off-by: Stefan Roese Cc: Simon Glass Cc: Bin Meng --- board/dfi/dfi-bt700/Kconfig

[U-Boot] [PATCH 07/12] x86: theadorable-x86-conga-qa3-e3845_defconfig: Misc defconfig updates

2017-07-17 Thread Stefan Roese
- Enable EFI partition support - Enable CONFIG_MMC_PCI Signed-off-by: Stefan Roese Cc: Simon Glass Cc: Bin Meng --- configs/theadorable-x86-conga-qa3-e3845_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/theadorable-x86-conga-qa3-e3845_defconfig b/configs/theadorable-

[U-Boot] [PATCH 12/12] x86: theadorable-x86-xxx_defconfig: Misc defconfig updates

2017-07-17 Thread Stefan Roese
This patch changes some Kconfig options for all theadorable-x86 targets: - Enable ACPI S3 resume support - Enable xHCI support Signed-off-by: Stefan Roese Cc: Simon Glass Cc: Bin Meng --- configs/theadorable-x86-conga-qa3-e3845-pcie-x4_defconfig | 2 ++ configs/theadorable-x86-conga-qa3-e3845

[U-Boot] [PATCH 08/12] x86: theadorable-x86-conga-qa3-e3845-pcie-x4_defconfig: Misc defconfig updates

2017-07-17 Thread Stefan Roese
- Enable EFI partition support - Enable CONFIG_MMC_PCI Signed-off-by: Stefan Roese Cc: Simon Glass Cc: Bin Meng --- configs/theadorable-x86-conga-qa3-e3845-pcie-x4_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/theadorable-x86-conga-qa3-e3845-pcie-x4_defconfig b/conf

[U-Boot] [PATCH 05/12] x86: conga-qeval20-qa3-e3845: Select CONFIG_BOARD_LATE_INIT

2017-07-17 Thread Stefan Roese
This config option is needed on the congatec x86 BayTrail board, as otherwise the USB hub will not get initialized correctly. This patch selects this Kconfig option again. Signed-off-by: Stefan Roese Cc: Simon Glass Cc: Bin Meng --- board/congatec/conga-qeval20-qa3-e3845/Kconfig | 1 + 1 file

[U-Boot] [PATCH 02/12] x86: dfi: Add option to select different config headers for baseboards

2017-07-17 Thread Stefan Roese
This patch adds the infrastructure to define different config headers with different configurations and default environment for the baseboards that can now be selected via Kconfig. The new configuration for the theadorable-x86-dfi-bt700 is also added. Signed-off-by: Stefan Roese Cc: Simon Glass

[U-Boot] [PATCH 11/12] x86: conga-qeval20-qa3-e3845.dts: Enable xHCI support in dts

2017-07-17 Thread Stefan Roese
Signed-off-by: Stefan Roese Cc: Simon Glass Cc: Bin Meng --- arch/x86/dts/conga-qeval20-qa3-e3845.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/x86/dts/conga-qeval20-qa3-e3845.dts b/arch/x86/dts/conga-qeval20-qa3-e3845.dts index ae11ccc25a..9c068709ee 100644 --- a/arch/x86/dt

[U-Boot] [PATCH 06/12] x86: Add defconfig for theadorable-x86-conga with PCIe x4 blobs

2017-07-17 Thread Stefan Roese
This defconfig uses the PCIe x4 binary blobs from the congatec BIOS. Signed-off-by: Stefan Roese Cc: Simon Glass Cc: Bin Meng --- ...eadorable-x86-conga-qa3-e3845-pcie-x4_defconfig | 78 ++ 1 file changed, 78 insertions(+) create mode 100644 configs/theadorable-x86-conga-q

[U-Boot] [PATCH 04/12] x86: theadorable-x86: Add header file for common defines and env

2017-07-17 Thread Stefan Roese
This patch adds the common header include file theadorable-x86-common.h for the theadorable-x86 targets to define all common options and the default environment. Signed-off-by: Stefan Roese Cc: Simon Glass Cc: Bin Meng --- include/configs/theadorable-x86-common.h | 162 +++

[U-Boot] [PATCH 03/12] x86: conga: Add option to select different config headers for baseboards

2017-07-17 Thread Stefan Roese
This patch adds the infrastructure to define different config headers with different configurations and default environment for the baseboards that can now be selected via Kconfig. The new configuration for the theadorable-x86-conga-qa3-e3845 is also added. Also the new defconfig file for this new

[U-Boot] [PATCH 01/12] x86: theadorable-x86-dfi-bt700: Add Micron SPI support and move VIDEO blob

2017-07-17 Thread Stefan Roese
To support the Micron SPI NOR flashes, this patch enables the support in defconfig. This increases the U-Boot binary too much so that it does not fit into its area in the ROM. So also move the VIDEO BIOS blob a bit to make some space here. Signed-off-by: Stefan Roese Cc: Simon Glass Cc: Bin Meng

Re: [U-Boot] [U-Boot, 2/2] rockchip: rk3288: Revert MAC_TXCLK in pinctrl for GMAC

2017-07-17 Thread Philipp Tomsich
> This reverts TXCLK toggling that was accidently dropped while reworking > commit 2454b719fb87 ("rockchip: rk3288: Add pinctrl support for the gmac > ethernet interface"). So the TX clock is enabled and we can use > GMAC_ROCKCHIP in 1Gbps when basic PINCTRL support is enabled > (!PINTRL_FULL). >

Re: [U-Boot] [U-Boot, 1/2] rockchip: rk3288: Remove phy reset GPIO pull up

2017-07-17 Thread Philipp Tomsich
> We should not handle this pin explicitly from pinctrl. GMAC driver takes > care of it by using a "reset-gpio" in the DT. > > This commit removes pull up for GPIO4B0. > > Fixes: 2454b719fb87 ("rockchip: rk3288: Add pinctrl support for the...") > Signed-off-by: Romain Perier > --- > drivers/pin

Re: [U-Boot] rockchip: rk3399: enable SPL_SERIAL_SUPPORT and SPL_DRIVERS_MISC via Kconfig

2017-07-17 Thread Philipp Tomsich
> SPL_SERIAL_SUPPORT and SPL_DRIVERS_MISC were previously enabled through > rk3399_common.h. This change implies these options through Kconfig. > > These need to always be active for the RK3399, as follows: > - SPL_SERIAL_SUPPORT is needed to pass the SPL build > - SPL_DRIVERS_MISC is needed to

Re: [U-Boot] rockchip: timer: make register sizes explicit

2017-07-17 Thread Philipp Tomsich
> We are about to reuse the rockchip timer (header file) for 64bit ARMv8 > chips, so it seems a good time to make the register sizes explicit by > changing from 'unsigned int' to 'u32'. > > Signed-off-by: Philipp Tomsich > --- > > arch/arm/include/asm/arch-rockchip/timer.h | 12 ++-- >

[U-Boot] [PATCH] omap3: omap3_logic: Disable Falcon mode

2017-07-17 Thread Adam Ford
Now that Falcon mode supports zImages, any attempts to load from NAND fail, since the system assumes it's Falcon booting. The Micron Flash needs to be unlocked which isn't yet supported in Falcon mode, so we need to disable it until its ready. Signed-off-by: Adam Ford diff --git a/include/config

Re: [U-Boot] [PATCH v2 3/3] config: move USB_FUNCTION_MASS_STORAGE

2017-07-17 Thread Dr. Philipp Tomsich
> On 17 Jul 2017, at 13:16, Maxime Ripard > wrote: > > On Mon, Jul 17, 2017 at 11:35:31AM +0200, Dr. Philipp Tomsich wrote: >> Maxime, >> >>> On 17 Jul 2017, at 11:28, Maxime Ripard >>> wrote: >>> >>> Hi Philipp, >>> >>> On Fri, Jul 14, 2017 at 06:27:36PM +0200, Philipp Tomsich wrote:

Re: [U-Boot] [PATCH v2 3/3] config: move USB_FUNCTION_MASS_STORAGE

2017-07-17 Thread Maxime Ripard
On Mon, Jul 17, 2017 at 11:35:31AM +0200, Dr. Philipp Tomsich wrote: > Maxime, > > > On 17 Jul 2017, at 11:28, Maxime Ripard > > wrote: > > > > Hi Philipp, > > > > On Fri, Jul 14, 2017 at 06:27:36PM +0200, Philipp Tomsich wrote: > >> With both an imply from CMD_USB to USB_FUNCTION_MASS_STORAGE

Re: [U-Boot] [PATCH v2 3/3] config: move USB_FUNCTION_MASS_STORAGE

2017-07-17 Thread Dr. Philipp Tomsich
Maxime, > On 17 Jul 2017, at 11:28, Maxime Ripard > wrote: > > Hi Philipp, > > On Fri, Jul 14, 2017 at 06:27:36PM +0200, Philipp Tomsich wrote: >> With both an imply from CMD_USB to USB_FUNCTION_MASS_STORAGE and with >> USB_FUNCTION_MASS_STORAGE moved to Kconfig, we can now run moveconfig. >>

Re: [U-Boot] [PATCH v2 3/3] config: move USB_FUNCTION_MASS_STORAGE

2017-07-17 Thread Maxime Ripard
Hi Philipp, On Fri, Jul 14, 2017 at 06:27:36PM +0200, Philipp Tomsich wrote: > With both an imply from CMD_USB to USB_FUNCTION_MASS_STORAGE and with > USB_FUNCTION_MASS_STORAGE moved to Kconfig, we can now run moveconfig. > > Signed-off-by: Philipp Tomsich > --- > > Changes in v2: None > > co

Re: [U-Boot] [PATCH v2 0/3] CMD_USB_MASS_STORAGE implies USB_FUNCTION_MASS_STORAGE

2017-07-17 Thread Łukasz Majewski
On 07/14/2017 06:27 PM, Philipp Tomsich wrote: Up to now, there's been some ugliness associated with the dependency from CMD_USB_MASS_STORAGE to USB_FUNCTION_MASS_STORAGE: if someone only defined CMD_USB_MASS_STORAGE, they'd meet a linker error due to missing symbols that came from USB_FUNCTION_M

Re: [U-Boot] [PATCH v2] serial: ns16550: Add RX interrupt buffer support

2017-07-17 Thread Stefan Roese
Hi Bin, On 17.07.2017 11:43, Stefan Roese wrote: On 17.07.2017 11:26, Bin Meng wrote: + } +#endif + return 0; } @@ -459,6 +559,15 @@ int ns16550_serial_ofdata_to_platdata(struct udevice *dev) if (port_type == PORT_JZ4780) plat->fcr |= UART_FC

Re: [U-Boot] [PATCH] drivers: mmc: Avoid memory leak in case of failure

2017-07-17 Thread Jaehoon Chung
On 06/20/2017 01:53 AM, suni...@techveda.org wrote: > From: Suniel Mahesh > > priv pointer should be freed before returning with an error value > from exynos_dwmci_get_config(). > > Signed-off-by: Suniel Mahesh > Signed-off-by: Raghu Bharadwaj Applied to u-boot-mmc. Best Regards, Jaehoon Chu

Re: [U-Boot] [PATCH] drivers: mmc: Change buffer type in ALLOC_CACHE_ALIGN_BUFFER macro

2017-07-17 Thread Jaehoon Chung
On 06/19/2017 04:33 PM, suni...@techveda.org wrote: > From: Suniel Mahesh > > __be32_to_cpu() accepts argument of type __be32. This patch changes type of > the buffer in ALLOC_CACHE_ALIGN_BUFFER macro to __be32, which is then passed > to __be32_to_cpu(). > This prevents sparse build warnings. > d

Re: [U-Boot] [PATCH v2] mmc: pic32_sdhci: Complete the transition to driver model

2017-07-17 Thread Jaehoon Chung
On 07/10/2017 06:17 PM, Jaehoon Chung wrote: > Hi Alan, > > On 07/09/2017 04:58 AM, Alan Ott wrote: >> Previously this driver appeared to have been half-way converted to the new >> driver model and did not work at all. >> >> Complete the transition to the driver model, adding the necessary >> conn

Re: [U-Boot] [PATCH v2 0/3] CMD_USB_MASS_STORAGE implies USB_FUNCTION_MASS_STORAGE

2017-07-17 Thread Łukasz Majewski
Hi Marek, On 07/17/2017 10:39 AM, Łukasz Majewski wrote: On 07/14/2017 06:27 PM, Philipp Tomsich wrote: Up to now, there's been some ugliness associated with the dependency from CMD_USB_MASS_STORAGE to USB_FUNCTION_MASS_STORAGE: if someone only defined CMD_USB_MASS_STORAGE, they'd meet a linke

Re: [U-Boot] [PATCH 1/3] efi_loader: implement multiple event support

2017-07-17 Thread Heinrich Schuchardt
On 07/16/2017 09:25 AM, Alexander Graf wrote: > > > On 15.07.17 13:43, Heinrich Schuchardt wrote: >> On 07/12/2017 12:55 PM, Alexander Graf wrote: >>> >>> >>> On 05.07.17 19:47, Heinrich Schuchardt wrote: Up to now the boot time supported only a single event. This patch now allows four

Re: [U-Boot] [PATCH v2 0/3] CMD_USB_MASS_STORAGE implies USB_FUNCTION_MASS_STORAGE

2017-07-17 Thread Marek Vasut
On 07/17/2017 10:39 AM, Łukasz Majewski wrote: > On 07/14/2017 06:27 PM, Philipp Tomsich wrote: >> Up to now, there's been some ugliness associated with the >> dependency from CMD_USB_MASS_STORAGE to USB_FUNCTION_MASS_STORAGE: >> if someone only defined CMD_USB_MASS_STORAGE, they'd meet a linker >>

Re: [U-Boot] [PATCH 1/2] mmc: sunxi: Support the new mode

2017-07-17 Thread Maxime Ripard
On Wed, Jul 12, 2017 at 07:27:12PM +0300, Siarhei Siamashka wrote: > On Wed, 12 Jul 2017 16:48:37 +0200 > Maxime Ripard wrote: > > > Almost all of the newer Allwinner SoCs have a new operating mode for the > > eMMC clocks that needs to be enabled in both the clock and the MMC > > controller. > >

[U-Boot] [PATCH 1/1] mmc: Add MMC support for stm32h7 Socs

2017-07-17 Thread patrice.chotard
From: Patrice Chotard This patch adds SD/MMC support for STM32H7 SoCs. Here is an extraction of SDMMC main features, embedded in STM32H7 SoCs. The SD/MMC block include the following: _ Full compliance with MultiMediaCard System Specification Version 4.51. Card support for three different dat

Re: [U-Boot] [PATCH v2] serial: ns16550: Add RX interrupt buffer support

2017-07-17 Thread Stefan Roese
Hi Bin, On 17.07.2017 11:26, Bin Meng wrote: + } +#endif + return 0; } @@ -459,6 +559,15 @@ int ns16550_serial_ofdata_to_platdata(struct udevice *dev) if (port_type == PORT_JZ4780) plat->fcr |= UART_FCR_UME; +#if CONFIG_IS_ENABLED(SERIAL_IRQ_BU

Re: [U-Boot] [PATCH] net: Mark the ip_udp_hdr struct as packed

2017-07-17 Thread Maxime Ripard
On Wed, Jul 12, 2017 at 04:37:43PM +0200, Dr. Philipp Tomsich wrote: > > > On 12 Jul 2017, at 16:34, Maxime Ripard > > wrote: > > > > The -mno-unaligned-access flag used on ARM to prevent GCC from generating > > unaligned accesses (obviously) will only do so on packed structures. > > > > It se

Re: [U-Boot] [PATCH 10/14] dm: mmc: sunxi: Add support for driver model

2017-07-17 Thread Maxime Ripard
Hi Simon, On Fri, Jul 14, 2017 at 07:47:45AM -0600, Simon Glass wrote: > On 5 July 2017 at 14:14, Maxime Ripard > wrote: > > On Wed, Jul 05, 2017 at 04:57:40PM +0200, Maxime Ripard wrote: > >> On Tue, Jul 04, 2017 at 01:33:25PM -0600, Simon Glass wrote: > >> > Hi Maxime, > >> > > >> > On 21 June

Re: [U-Boot] [PATCH v2] serial: ns16550: Add RX interrupt buffer support

2017-07-17 Thread Bin Meng
Hi Stefan, On Mon, Jul 17, 2017 at 4:18 PM, Stefan Roese wrote: > Hi Bin, > > > On 17.07.2017 04:13, Bin Meng wrote: >> >> On Fri, Jul 14, 2017 at 11:25 PM, Stefan Roese wrote: >>> >>> Pasting longer lines into the U-Boot console prompt sometimes leads to >>> characters missing. One problem here

[U-Boot] [PATCH 2/2] rockchip: rk3288: Revert MAC_TXCLK in pinctrl for GMAC

2017-07-17 Thread Romain Perier
This reverts TXCLK toggling that was accidently dropped while reworking commit 2454b719fb87 ("rockchip: rk3288: Add pinctrl support for the gmac ethernet interface"). So the TX clock is enabled and we can use GMAC_ROCKCHIP in 1Gbps when basic PINCTRL support is enabled (!PINTRL_FULL). Fixes: 2454b

[U-Boot] [PATCH 1/2] rockchip: rk3288: Remove phy reset GPIO pull up

2017-07-17 Thread Romain Perier
We should not handle this pin explicitly from pinctrl. GMAC driver takes care of it by using a "reset-gpio" in the DT. This commit removes pull up for GPIO4B0. Fixes: 2454b719fb87 ("rockchip: rk3288: Add pinctrl support for the...") Signed-off-by: Romain Perier --- drivers/pinctrl/rockchip/pinc

[U-Boot] [PATCH 0/2] rockchip: rk3288: Fixes for GMAC

2017-07-17 Thread Romain Perier
This set of patches contains two fixes. The first one removes the pull up for GPIO4B0 that is the pin for phy-reset. This is already supported by GMAC ("reset-gpio" from DT) and should not be hardcoded in the pinctrl driver. The second one, revert back the removal of the MAX_TCLK pin that was accid

Re: [U-Boot] [RESEND PATCH 0/8] sf: improve support of (Q)SPI flash memories

2017-07-17 Thread Marek Vasut
On 07/17/2017 07:10 AM, Wenyou Yang wrote: > > This series of patches has been tested on u-boot-2017.03-at91 then ported > to the 'master' branch of the u-boot-spi.git tree. Both of which are ancient, so please rebase on u-boot/master and resubmit. > Tests were passed with a sama5d2 xplained boa

Re: [U-Boot] [PATCH v2] serial: ns16550: Add RX interrupt buffer support

2017-07-17 Thread Stefan Roese
Hi Bin, On 17.07.2017 04:13, Bin Meng wrote: On Fri, Jul 14, 2017 at 11:25 PM, Stefan Roese wrote: Pasting longer lines into the U-Boot console prompt sometimes leads to characters missing. One problem here is the small 16-byte FIFO of the legacy NS16550 UART, e.g. on x86 platforms. This patc

Re: [U-Boot] Adding Debug Symbol To U-Boot

2017-07-17 Thread Łukasz Majewski
On 07/12/2017 12:42 PM, yyurtcan wrote: Hi, I have p4080ds and lauterbach(T32) hardware debugger. As known, u-boot has written both assembly and C language. I can debug all u-boot code in assembly language(C code also converted to assembly). However, it is hard to follow. How can I debug u-boot C