Re: [U-Boot] [PATCH 1/1] ARM: Move SYS_CACHELINE_SIZE over to Kconfig

2016-08-22 Thread Lokesh Vutla
On Sunday 21 August 2016 07:00 PM, Tom Rini wrote: > This series moves the CONFIG_SYS_CACHELINE_SIZE. First, in nearly all cases > we > are mirroring the values used by the Linux Kernel here. Also, so long as (and > in this case, it is true) we implement flushes in hunks that are no larger >

Re: [U-Boot] [PATCH 1/1] ARM: Move SYS_CACHELINE_SIZE over to Kconfig

2016-08-22 Thread Masahiro Yamada
Hi Tom, > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig > index aef901c..15cd66a 100644 > --- a/arch/arm/Kconfig > +++ b/arch/arm/Kconfig > @@ -79,6 +79,11 @@ config SYS_ARM_ARCH > default 4 if CPU_SA1100 > default 8 if ARM64 > > +config SYS_CACHELINE_SIZE > + int > +

Re: [U-Boot] U-Boot SPL 2016.09-rc1 on NTC C.H.I.P.

2016-08-22 Thread Boris Brezillon
+Glaucio who is facing the same problem but on a cubieboard2. On Sun, 21 Aug 2016 16:14:39 +0200 Boris Brezillon wrote: > Hi, > > On Sun, 21 Aug 2016 12:03:19 +0200 > Hans de Goede wrote: > > > Hi, > > > > On 21-08-16 11:01, Marcus Glocker wrote: > > > On Sat, Aug 20, 2016 at 03:05:38PM -0

[U-Boot] [PATCH v1] arm: mvebu: a38x: update serdes error handling

2016-08-22 Thread Chris Packham
Ensure appropriate error messages are generated. Previously all errors indicated that the serdes was already in use. Now appropriate error messages are given. Signed-off-by: Chris Packham --- This looks to be a misplaced brace. Effectively the error handling for UNIT_NUMBER_VIOLATION and WRONG_NU

Re: [U-Boot] [x86] Error building for qemu-x86 as EFI payload

2016-08-22 Thread Bin Meng
Hi Phenix, On Sun, Aug 21, 2016 at 4:29 PM, Yan Phenix wrote: > Hi, > > I want to build u-boot for qemu-x86 as an 32-bit EFI payload. > > What I have done is below: > > step 1: > make qemu-x86_defconfig > > step 2: > make menuconfig > Library routines ---> > [*] Support running U-Boot

Re: [U-Boot] [PATCH] drivers: usb: xhci-fsl: Change burst beat and outstanding pipelined transfers requests

2016-08-22 Thread Marek Vasut
On 08/22/2016 10:24 AM, Sriram Dash wrote: >> From: Marek Vasut [mailto:ma...@denx.de] >> On 08/19/2016 07:51 AM, Sriram Dash wrote: >>> This is required for better performance, and performs below tuning: >>> 1. Enable burst length set, and define it as 4/8/16. >>> 2. Set burst request limit to 16

Re: [U-Boot] [PATCH] drivers: usb: xhci-fsl: Change burst beat and outstanding pipelined transfers requests

2016-08-22 Thread Sriram Dash
>From: Marek Vasut [mailto:ma...@denx.de] >On 08/22/2016 10:24 AM, Sriram Dash wrote: >>> From: Marek Vasut [mailto:ma...@denx.de] On 08/19/2016 07:51 AM, >>> Sriram Dash wrote: This is required for better performance, and performs below tuning: 1. Enable burst length set, and define it a

Re: [U-Boot] [PATCH 1/1] ARM: Move SYS_CACHELINE_SIZE over to Kconfig

2016-08-22 Thread Masahiro Yamada
Hi Tom, 2016-08-22 5:18 GMT+09:00 Tom Rini : > On Mon, Aug 22, 2016 at 01:32:52AM +0900, Masahiro Yamada wrote: >> Hi Tom, >> >> >> 2016-08-22 0:43 GMT+09:00 Tom Rini : >> > On Mon, Aug 22, 2016 at 12:28:19AM +0900, Masahiro Yamada wrote: >> >> Hi Tom, >> >> >> >> >> >> >> >> > diff --git a/arch/

Re: [U-Boot] OMAP3 SPL Overflow

2016-08-22 Thread Tom Rini
On Mon, Aug 22, 2016 at 10:13:24AM +0530, Lokesh Vutla wrote: > > > On Sunday 21 August 2016 06:15 PM, Tom Rini wrote: > > On Sun, Aug 21, 2016 at 06:29:42AM -0500, Adam Ford wrote: > > > >> Using Git bisect, it appears to me that > >> a78cd8613204188991c192b8dae2de0aae3b1722 makes "region `.sra

[U-Boot] [PATCH v2 2/2] arch/arm/Kconfig: Whitespace correction

2016-08-22 Thread Tom Rini
Use a tab not 8 spaces. Signed-off-by: Tom Rini --- Changes in v2: - New patch --- arch/arm/Kconfig | 56 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index e6d4a2043854..c871eaf4e39a

[U-Boot] [PATCH v2 1/2] ARM: Move SYS_CACHELINE_SIZE over to Kconfig

2016-08-22 Thread Tom Rini
This series moves the CONFIG_SYS_CACHELINE_SIZE. First, in nearly all cases we are mirroring the values used by the Linux Kernel here. Also, so long as (and in this case, it is true) we implement flushes in hunks that are no larger than the smallest implementation (and given that we mirror the Li

Re: [U-Boot] [PATCH 02/13] spl: Kconfig: Add SPL__BOOT as Kconfig option

2016-08-22 Thread Tom Rini
On Mon, Aug 22, 2016 at 09:53:18AM +0530, Lokesh Vutla wrote: > > > On Friday 19 August 2016 08:59 PM, Andrew F. Davis wrote: > > On 08/18/2016 11:10 PM, Lokesh Vutla wrote: > >> > >> > >> On Thursday 18 August 2016 09:11 PM, Andrew F. Davis wrote: > >>> Currently U-Boot proper has Kconfig option

[U-Boot] [PATCH v2] drivers: usb: xhci-fsl: Change burst beat and outstanding pipelined transfers requests

2016-08-22 Thread Sriram Dash
This is required for better performance, and performs below tuning: 1. Enable burst length set, and define it as 4/8/16. 2. Set burst request limit to 16 requests. Signed-off-by: Rajesh Bhagat Signed-off-by: Sriram Dash --- Changes in v2: - using clrsetbits_le32 and setbits_le32 instead of wri

Re: [U-Boot] [PATCH 02/13] spl: Kconfig: Add SPL__BOOT as Kconfig option

2016-08-22 Thread Simon Glass
Hi Tom, On 22 August 2016 at 06:25, Tom Rini wrote: > On Mon, Aug 22, 2016 at 09:53:18AM +0530, Lokesh Vutla wrote: >> >> >> On Friday 19 August 2016 08:59 PM, Andrew F. Davis wrote: >> > On 08/18/2016 11:10 PM, Lokesh Vutla wrote: >> >> >> >> >> >> On Thursday 18 August 2016 09:11 PM, Andrew F.

[U-Boot] [PATCH 2/4] tools: moveconfig: use sets instead of lists for failed/suspicious boards

2016-08-22 Thread Masahiro Yamada
The sets feature is handier for adding unique elements. Signed-off-by: Masahiro Yamada --- tools/moveconfig.py | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tools/moveconfig.py b/tools/moveconfig.py index c188235..93f3781 100755 --- a/tools/moveconfi

[U-Boot] [PATCH 3/4] tools: moveconfig: warn loudly if moved option has no entry in Kconfig

2016-08-22 Thread Masahiro Yamada
Currently, the tool gives up moving an option quietly if its entry was not found in Kconfig. If the option is not defined in the config header in the first place, it is no problem (as the Kconfig entry may have been hidden by reasonable "depends on"). However, if the option is defined in the conf

[U-Boot] [PATCH 4/4] tools: moveconfig: add --spl option to move options for SPL build

2016-08-22 Thread Masahiro Yamada
Prior to this commit, the tool could not move options guarded by CONFIG_SPL_BUILD ifdef conditionals because they do not show up in include/autoconf.mk. This new option, if given, makes the tool parse spl/include/autoconf.mk instead of include/autoconf.mk, which is probably preferred behavior when

[U-Boot] [PATCH 1/4] tools: moveconfig: remove document about deprecated error message

2016-08-22 Thread Masahiro Yamada
Since commit cc008299f852 ("tools: moveconfig: do not rely on type and default value given by users"), we do not have this error case. Signed-off-by: Masahiro Yamada --- tools/moveconfig.py | 4 1 file changed, 4 deletions(-) diff --git a/tools/moveconfig.py b/tools/moveconfig.py index 52

[U-Boot] [PATCH 0/4] tools: moveconfig: some more improvements

2016-08-22 Thread Masahiro Yamada
Masahiro Yamada (4): tools: moveconfig: remove document about deprecated error message tools: moveconfig: use sets instead of lists for failed/suspicious boards tools: moveconfig: warn loudly if moved option has no entry in Kconfig tools: moveconfig: add --spl option to move options

Re: [U-Boot] [PATCH v2 1/2] ARM: Move SYS_CACHELINE_SIZE over to Kconfig

2016-08-22 Thread Masahiro Yamada
2016-08-22 21:22 GMT+09:00 Tom Rini : > This series moves the CONFIG_SYS_CACHELINE_SIZE. First, in nearly all > cases we are mirroring the values used by the Linux Kernel here. Also, > so long as (and in this case, it is true) we implement flushes in hunks > that are no larger than the smallest i

Re: [U-Boot] [PATCH v2 1/2] ARM: Move SYS_CACHELINE_SIZE over to Kconfig

2016-08-22 Thread Tom Rini
On Mon, Aug 22, 2016 at 09:24:04PM +0800, Chin Liang See wrote: > Hi Tom, > > On Mon, 2016-08-22 at 08:22 -0400, Tom Rini wrote: > > This series moves the CONFIG_SYS_CACHELINE_SIZE. First, in nearly > > all > > cases we are mirroring the values used by the Linux Kernel here. > > Also, > > so lo

[U-Boot] [PATCH] net: mii: check phy advertising register when geting link status

2016-08-22 Thread Dongpo Li
When phy autoneg on, the link speed and duplex should be determined by phy advertising register and phy link partner ability register. Check phy advertising register when geting phy link speed and duplex if autoneg on. Signed-off-by: Dongpo Li Cc: Joe Hershberger --- common/miiphyutil.c | 18 ++

Re: [U-Boot] [PATCH v2 1/2] ARM: Move SYS_CACHELINE_SIZE over to Kconfig

2016-08-22 Thread Chin Liang See
Hi Tom, On Mon, 2016-08-22 at 08:22 -0400, Tom Rini wrote: > This series moves the CONFIG_SYS_CACHELINE_SIZE. First, in nearly > all > cases we are mirroring the values used by the Linux Kernel here. > Also, > so long as (and in this case, it is true) we implement flushes in > hunks > that are

Re: [U-Boot] [PATCH v2] drivers: usb: xhci-fsl: Change burst beat and outstanding pipelined transfers requests

2016-08-22 Thread Marek Vasut
On 08/22/2016 02:25 PM, Sriram Dash wrote: > This is required for better performance, and performs below tuning: > 1. Enable burst length set, and define it as 4/8/16. > 2. Set burst request limit to 16 requests. > > Signed-off-by: Rajesh Bhagat > Signed-off-by: Sriram Dash Looks OK to me. York

Re: [U-Boot] [PATCH] sunxi: display: Use PWM to drive backlight where applicable

2016-08-22 Thread Peter Korsgaard
> "Hans" == Hans de Goede writes: > When the backlight's pwm input is connected to a pwm output of the SoC, > actually use pwm to drive the backlight. > The mean reason for doing this is to fix the backlight turning off > for aprox. 1 second while the kernel is booting. This is caused by

Re: [U-Boot] [PATCH 01/13] spl: Kconfig: Add SPL__SUPPORT as Kconfig option

2016-08-22 Thread Andrew F. Davis
On 08/21/2016 02:33 PM, Tom Rini wrote: > On Sun, Aug 21, 2016 at 02:12:03PM -0500, Andrew F. Davis wrote: >> On 08/21/2016 01:50 PM, Tom Rini wrote: >>> On Sun, Aug 21, 2016 at 01:35:48PM -0500, Andrew F. Davis wrote: On 08/19/2016 02:54 PM, Tom Rini wrote: > On Fri, Aug 19, 2016 at 02:30

[U-Boot] [PATCH] regulator: fixed: obey startup delay

2016-08-22 Thread John Keeping
When enabling a fixed regulator, it may take some time to rise to the correct voltage. If we do not delay here then subsequent operations will fail. Signed-off-by: John Keeping --- doc/device-tree-bindings/regulator/fixed.txt | 1 + drivers/power/regulator/fixed.c | 10 ++

Re: [U-Boot] [PATCH v2 1/2] ARM: Move SYS_CACHELINE_SIZE over to Kconfig

2016-08-22 Thread Chin Liang See
On Mon, 2016-08-22 at 09:39 -0400, Tom Rini wrote: > On Mon, Aug 22, 2016 at 09:24:04PM +0800, Chin Liang See wrote: > > Hi Tom, > > > > On Mon, 2016-08-22 at 08:22 -0400, Tom Rini wrote: > > > This series moves the CONFIG_SYS_CACHELINE_SIZE. First, in > > > nearly > > > all > > > cases we are mi

[U-Boot] CPU Clock frequency at boot time - Nvidia Jetson TK1

2016-08-22 Thread vinoth eswaran
Hello Developers, Currently I am working on an embedded project using Tegra Jetson Tk1 board. The Linux Kernel version is 4.7 and the u-boot version is v2016.05. I am building a customised Linux kernel and u-boot to have the fastest boot time possible. During Kernel startup I am seeing some err

Re: [U-Boot] [PATCH 3/4] tools: moveconfig: warn loudly if moved option has no entry in Kconfig

2016-08-22 Thread Tom Rini
On Mon, Aug 22, 2016 at 10:18:21PM +0900, Masahiro Yamada wrote: > Currently, the tool gives up moving an option quietly if its entry > was not found in Kconfig. > > If the option is not defined in the config header in the first > place, it is no problem (as the Kconfig entry may have been hidden

Re: [U-Boot] [PATCH 4/4] tools: moveconfig: add --spl option to move options for SPL build

2016-08-22 Thread Tom Rini
On Mon, Aug 22, 2016 at 10:18:22PM +0900, Masahiro Yamada wrote: > Prior to this commit, the tool could not move options guarded by > CONFIG_SPL_BUILD ifdef conditionals because they do not show up in > include/autoconf.mk. This new option, if given, makes the tool > parse spl/include/autoconf.mk

Re: [U-Boot] [PATCH v2 1/2] ARM: Move SYS_CACHELINE_SIZE over to Kconfig

2016-08-22 Thread Ladislav Michl
On Mon, Aug 22, 2016 at 08:22:17AM -0400, Tom Rini wrote: [snip] > diff --git a/include/configs/cm_t3517.h b/include/configs/cm_t3517.h > index ea9983bc7d43..a89ccb73b178 100644 > --- a/include/configs/cm_t3517.h > +++ b/include/configs/cm_t3517.h > @@ -10,8 +10,6 @@ > #ifndef __CONFIG_H > #defin

Re: [U-Boot] [PATCH] regulator: fixed: obey startup delay

2016-08-22 Thread Tom Rini
On Mon, Aug 22, 2016 at 03:10:09PM +0100, John Keeping wrote: > When enabling a fixed regulator, it may take some time to rise to the > correct voltage. If we do not delay here then subsequent operations > will fail. > > Signed-off-by: John Keeping As this matches the kernel binding: Reviewed

Re: [U-Boot] [PATCH 4/4] tools: moveconfig: add --spl option to move options for SPL build

2016-08-22 Thread Andrew F. Davis
On 08/22/2016 09:43 AM, Tom Rini wrote: > On Mon, Aug 22, 2016 at 10:18:22PM +0900, Masahiro Yamada wrote: > >> Prior to this commit, the tool could not move options guarded by >> CONFIG_SPL_BUILD ifdef conditionals because they do not show up in >> include/autoconf.mk. This new option, if given,

[U-Boot] [PATCH v2 01/11] Kconfig: Separate AM33XX SOC config from target board config

2016-08-22 Thread Andrew F. Davis
The config option AM33XX is used in several boards and should be defined as a stand-alone option for this SOC. We break this out from TARGET_AM335X_* then enable AM33XX on in all the boards that used TARGET_AM335X_* to eliminate any functional change with this patch. Also conditionally define this

[U-Boot] [RFC PATCH v2 09/11] spl: Kconfig: Add SPL__SUPPORT as Kconfig option

2016-08-22 Thread Andrew F. Davis
Create a new Kconfig file to contain SPL boot media loading support options as we begin moving these to the Kconfig system and out of header files. Initially add new configs for all the existing boot media types, giving them the same definition name as before to allow compatibility with systems not

[U-Boot] [PATCH v2 05/11] ti: omap-common: Allow AM33xx devices to be built securely

2016-08-22 Thread Andrew F. Davis
Like OMAP54xx and AM43xx family SoCs, AM33xx based SoCs have high security enabled models. Allow AM33xx devices to be built with HS Device Type Support. Signed-off-by: Andrew F. Davis --- arch/arm/cpu/armv7/omap-common/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/a

[U-Boot] [PATCH v2 04/11] doc: Update info on using AM33xx secure devices from TI

2016-08-22 Thread Andrew F. Davis
Add a section describing the additional boot types used on AM33xx secure devices. Signed-off-by: Andrew F. Davis --- doc/README.ti-secure | 32 1 file changed, 32 insertions(+) diff --git a/doc/README.ti-secure b/doc/README.ti-secure index 54c996d..9b0fbf9 10064

[U-Boot] [RFC PATCH v2 08/11] config: Remove usage of CONFIG_STORAGE_EMMC

2016-08-22 Thread Andrew F. Davis
This config option seems to be unused and is probably vestigial. Remove it. Signed-off-by: Andrew F. Davis --- include/configs/am335x_evm.h | 2 -- include/configs/am335x_shc.h | 2 -- include/configs/am335x_sl50.h | 2 -- include/configs/bav335x.h | 2 -- 4 files changed, 8 deletions(-)

[U-Boot] [RFC PATCH v2 10/11] spl: Kconfig: Add SPL__BOOT as Kconfig option

2016-08-22 Thread Andrew F. Davis
Currently U-Boot proper has Kconfig options that enable the generation of U-Boot binaries that are capable of being booted from the selected boot media type. The same set of generation targets for SPL are assumed with various methods and config header hackery. On some platforms the options for SPL,

[U-Boot] [RFC PATCH v2 11/11] spl: Kconfig: Add CONFIG_SPL_TEXT_BASE as Kconfig option

2016-08-22 Thread Andrew F. Davis
Add a new Kconfig CONFIG_SPL_TEXT_BASE. Set its default value to 0x0. Signed-off-by: Andrew F. Davis --- Kconfig | 8 1 file changed, 8 insertions(+) diff --git a/Kconfig b/Kconfig index cb5af5b..2935c41 100644 --- a/Kconfig +++ b/Kconfig @@ -319,6 +319,14 @@ config SYS_TEXT_BASE

[U-Boot] [PATCH v2 06/11] board: am33xx-hs: spl: Allow post-processing of FIT image on AM33xx

2016-08-22 Thread Andrew F. Davis
When CONFIG_FIT_IMAGE_POST_PROCESS or CONFIG_SPL_FIT_IMAGE_POST_PROCESS is enabled board_fit_image_post_process will be called, add this function to am33xx boards when CONFIG_TI_SECURE_DEVICE is set to verify the loaded image. Signed-off-by: Andrew F. Davis --- board/ti/am335x/board.c | 8 ++

[U-Boot] [PATCH v2 02/11] am33xx: config.mk: Add support for additional secure boot image types

2016-08-22 Thread Andrew F. Davis
Depending on the boot media, different images are needed for secure devices. The build generates u-boot*_HS_* files as appropriate for the different boot modes. For AM33xx devices additional image types are needed for various SPL boot modes as the ROM checks for the name of the boot mode in the fi

[U-Boot] [PATCH v2 00/11] Allow secure boot on AM33xx devices

2016-08-22 Thread Andrew F. Davis
Hello all, I've recently been tasked with enabling authenticated boot for AM33xx based devices. This work is similar to what has already been done for the AM43xx and AM57xx SoCs and leverages much of the infrastructure from them. The big difference here is the size of SRAM available on AM33xx bei

[U-Boot] [PATCH v2 03/11] am33xx: config.mk: Fix option used to enable SPI SPL image type

2016-08-22 Thread Andrew F. Davis
Before the addition of SPL boot media type Kconfig options there was no way to determine what boot media the SPL would be booted from, so it was assumed that if the SPL could load U-Boot proper via SPI then the SPL itself would probably also be loaded from SPI. Use the new SPL_SPI_BOOT option to e

[U-Boot] [RFC PATCH v2 07/11] omap: Use SD_BOOT in place of EMMC_BOOT

2016-08-22 Thread Andrew F. Davis
The config option EMMC_BOOT is used in several OMAP based platforms with the same meaning as the existing SD_BOOT. Convert all uses, no functional changes. Signed-off-by: Andrew F. Davis --- board/ti/am335x/mux.c| 4 ++-- configs/am335x_boneblack_defconfig | 2 +- confi

Re: [U-Boot] [PATCH 06/13] Kconfig: Separate AM33XX SOC config from target board config

2016-08-22 Thread Andrew F. Davis
On 08/18/2016 11:15 PM, Lokesh Vutla wrote: > > > On Thursday 18 August 2016 09:11 PM, Andrew F. Davis wrote: >> The config option AM33XX is used in several boards and should be >> defined as a stand-alone option for this SOC. We break this out >> from TARGET_AM335X_EVM then enable AM33XX on in a

Re: [U-Boot] [PATCH v2 1/2] ARM: Move SYS_CACHELINE_SIZE over to Kconfig

2016-08-22 Thread Tom Rini
On Mon, Aug 22, 2016 at 04:44:51PM +0200, Ladislav Michl wrote: > On Mon, Aug 22, 2016 at 08:22:17AM -0400, Tom Rini wrote: > [snip] > > diff --git a/include/configs/cm_t3517.h b/include/configs/cm_t3517.h > > index ea9983bc7d43..a89ccb73b178 100644 > > --- a/include/configs/cm_t3517.h > > +++ b/in

Re: [U-Boot] [PATCH] efi_loader: disk: Fix CONFIG_BLK breakage

2016-08-22 Thread Tom Rini
On Mon, Aug 22, 2016 at 12:22:58AM -0400, Alexander Graf wrote: > > > > Am 19.08.2016 um 14:14 schrieb Tom Rini : > > > >> On Fri, Aug 12, 2016 at 08:19:42PM +0200, Alexander Graf wrote: > >> > >> > >>> On 12.08.16 19:20, Simon Glass wrote: > >>> Hi Alex, > >>> > On 10 August 2016 at 13:

Re: [U-Boot] CPU Clock frequency at boot time - Nvidia Jetson TK1

2016-08-22 Thread Stephen Warren
On 08/22/2016 08:37 AM, vinoth eswaran wrote: Hello Developers, Currently I am working on an embedded project using Tegra Jetson Tk1 board. The Linux Kernel version is 4.7 and the u-boot version is v2016.05. I am building a customised Linux kernel and u-boot to have the fastest boot time possi

Re: [U-Boot] [PATCH] net: mii: check phy advertising register when geting link status

2016-08-22 Thread Joe Hershberger
On Mon, Aug 22, 2016 at 8:03 AM, Dongpo Li wrote: > When phy autoneg on, the link speed and duplex should be > determined by phy advertising register and > phy link partner ability register. > Check phy advertising register when geting phy link speed and > duplex if autoneg on. > > Signed-off-by:

Re: [U-Boot] [PATCH v2 1/2] ARM: Move SYS_CACHELINE_SIZE over to Kconfig

2016-08-22 Thread Stephen Warren
On 08/22/2016 06:22 AM, Tom Rini wrote: This series moves the CONFIG_SYS_CACHELINE_SIZE. First, in nearly all cases we are mirroring the values used by the Linux Kernel here. Also, so long as (and in this case, it is true) we implement flushes in hunks that are no larger than the smallest imple

Re: [U-Boot] [PATCH v2 1/2] ARM: Move SYS_CACHELINE_SIZE over to Kconfig

2016-08-22 Thread Tom Rini
On Mon, Aug 22, 2016 at 10:34:15AM -0600, Stephen Warren wrote: > On 08/22/2016 06:22 AM, Tom Rini wrote: > >This series moves the CONFIG_SYS_CACHELINE_SIZE. First, in nearly all > >cases we are mirroring the values used by the Linux Kernel here. Also, > >so long as (and in this case, it is true)

Re: [U-Boot] [PATCH] net: davinci_emac: Restore the internal MDIO accessors return values

2016-08-22 Thread Joe Hershberger
On Sat, Aug 20, 2016 at 3:56 AM, Karl Beldan wrote: > The spatch series converting legacy drivers from miiphy_register to > mdio_register changed the return convention of the davinci_emac internal > MDIO accessors, making the internal code relying on it misbehaving: > no mdiodev get registered and

Re: [U-Boot] [PATCH 1/4] tools: moveconfig: remove document about deprecated error message

2016-08-22 Thread Joe Hershberger
On Mon, Aug 22, 2016 at 8:18 AM, Masahiro Yamada wrote: > Since commit cc008299f852 ("tools: moveconfig: do not rely on type > and default value given by users"), we do not have this error case. > > Signed-off-by: Masahiro Yamada Acked-by: Joe Hershberger ___

Re: [U-Boot] [PATCH 2/4] tools: moveconfig: use sets instead of lists for failed/suspicious boards

2016-08-22 Thread Joe Hershberger
On Mon, Aug 22, 2016 at 8:18 AM, Masahiro Yamada wrote: > The sets feature is handier for adding unique elements. > > Signed-off-by: Masahiro Yamada Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/li

Re: [U-Boot] [PATCH] drivers: usb: xhci-fsl: Change burst beat and outstanding pipelined transfers requests

2016-08-22 Thread Sriram Dash
>From: Marek Vasut [mailto:ma...@denx.de] >On 08/19/2016 07:51 AM, Sriram Dash wrote: >> This is required for better performance, and performs below tuning: >> 1. Enable burst length set, and define it as 4/8/16. >> 2. Set burst request limit to 16 requests. >> >> Signed-off-by: Rajesh Bhagat >> S

[U-Boot] [PATCH] usb: gadget: ci_udc: fix suspend/resume of USB Mass Storage

2016-08-22 Thread John Tobias
When the host machine went to suspend mode and then wake it up, it send a USB_REQ_GET_STATUS. The existing case condition below, never become true and it causes the host machine to reset the connection. Once, it reset you will see an error "Disk Not Ejected Properly". case SETUP(USB_DIR_IN | USB_R

[U-Boot] [ARM] RFC: Add board support for Colorado Engineering TK1-SOM

2016-08-22 Thread Peter Chubb
This patch adds support for the TK1-SOM board, which is almost the same as the Jetson TK1. Board info at https://tk1som.com/products/tk1-som Query: Is this the best way to support this board? Or is there an easy way to merge the necessary changes into the Jetson-TK1 board? The main differences a

[U-Boot] ARM: tegra: jetson-tk1: Increase console buffer size

2016-08-22 Thread Peter Chubb
U-Boot's console buffer size needs to be bigger to allow the default image on NVIDIA's Linux4Tegra to boot. Otherwise one sees: bootarg overflow 602+0+0+1 > 512 on the console, and the board refuses to boot. Signed-off-by: Peter Chubb --- include/configs/tegra-common.h | 2 +- 1 file changed

[U-Boot] [PATCH] ARM: tegra: remove stale nvidia, bpmp I2C DT property

2016-08-22 Thread Stephen Warren
From: Stephen Warren The nvidia,bpmp property is left over from an old BPMP I2C binding, and shouldn't be present. Remove it from the SoC DT file, and update the I2C driver not to parse it; the value wasn't used for anything any more anyway. Signed-off-by: Stephen Warren --- arch/arm/dts/tegra

Re: [U-Boot] ARM: tegra: jetson-tk1: Increase console buffer size

2016-08-22 Thread Stephen Warren
On 08/22/2016 04:46 PM, Peter Chubb wrote: U-Boot's console buffer size needs to be bigger to allow the default image on NVIDIA's Linux4Tegra to boot. Otherwise one sees: bootarg overflow 602+0+0+1 > 512 on the console, and the board refuses to boot. This is probably fine, but ... diff --

[U-Boot] [PATCH] fs-test.sh: Correct check_md5() test with newlines

2016-08-22 Thread Tom Rini
The fs-test.sh script expected there to be a \n\r style newline at the end of the output. This is no longer the case, so use 'tr' to remove the \r that we get. Fixes: (c5917b4b054d "dm: serial-uclass: Move a carriage return before a line feed") Signed-off-by: Tom Rini --- test/fs/fs-test

[U-Boot] [PATCH] ARM: tegra: increase console buffer size and sys args num

2016-08-22 Thread Peter Chubb
The Linux-for-Tegra kernel uses a very long command line. The default value of CONFIG_SYS_CBSIZE is too small to print out the long command line and causes a message like: bootarg overflow 602+0+0+1 > 512 on the console, and the board refuses to boot. The default value of CONFIG_SYS_MAXARGS is

[U-Boot] [PATCH v1] arm: mvebu: a38x: typo fix cpabilities -> capbilities

2016-08-22 Thread Chris Packham
Signed-off-by: Chris Packham --- arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.c b/arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.c index 06a7715..98c447c 100644 --- a/arch/arm/mach-mvebu/serdes/

Re: [U-Boot] [PATCH] fs-test.sh: Correct check_md5() test with newlines

2016-08-22 Thread Tom Rini
On Mon, Aug 22, 2016 at 07:40:08PM -0400, Tom Rini wrote: > The fs-test.sh script expected there to be a \n\r style newline at the > end of the output. This is no longer the case, so use 'tr' to remove the > \r that we get. > > Fixes: (c5917b4b054d "dm: serial-uclass: Move a carriage return befor

[U-Boot] [ANN] U-Boot v2016.09-rc2 released

2016-08-22 Thread Tom Rini
Hey all, It's release day and v2016.09-rc2 is out now. It's a week late as I wanted a few more things in and then next thing I knew it was Thursday, so I just pushed it out. I've updated git and the tarballs are also up now. A short list of changes to come in now are: - More and various SoC

Re: [U-Boot] [PATCH 4/4] tools: moveconfig: add --spl option to move options for SPL build

2016-08-22 Thread Masahiro Yamada
Hi Andrew, 2016-08-22 23:57 GMT+09:00 Andrew F. Davis : > I think we are still missing the case of some option being defined one > way in the SPL build case but another the regular case, which one should > be added to the defconfig? #ifdef CONFIG_SPL_BUILD #define CONFIG_FOO 100 #el

Re: [U-Boot] [PATCH v1] clk: clk-uclass: Check ops pointer before use it

2016-08-22 Thread Wenyou.Yang
> -Original Message- > From: Masahiro Yamada [mailto:yamada.masah...@socionext.com] > Sent: 2016年8月22日 0:54 > To: Stephen Warren > Cc: Wenyou Yang - A41535 ; Wenyou Yang - > A41535 ; U-Boot Mailing List b...@lists.denx.de>; Stephen Warren ; Michal Simek > > Subject: Re: [U-Boot] [PATCH

Re: [U-Boot] net: nfs: Remove separate buffer for default name

2016-08-22 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/659394/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] Pull request: u-boot-net.git master

2016-08-22 Thread Joe Hershberger
Hi Tom, The following changes since commit c98b171e1098f94b2ff7720c45a25a602882f876: Merge branch 'rmobile' of git://git.denx.de/u-boot-sh (2016-08-20 16:40:34 -0400) are available in the git repository at: git://git.denx.de/u-boot-net.git master for you to fetch changes up to 8c83c0303c

Re: [U-Boot] net: Stop including NFS overhead in defragment max

2016-08-22 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/659396/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: nfs: Remove unused define

2016-08-22 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/659395/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: nfs: Share the file handle buffer for v2 / v3

2016-08-22 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/659407/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: nfs: Consolidate handling of NFSv3 attributes

2016-08-22 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/659404/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: NFS: Add NFSv3 support

2016-08-22 Thread Joe Hershberger
Hi Guillaume, https://patchwork.ozlabs.org/patch/654061/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: nfs: Correct the reply data buffer size

2016-08-22 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/659403/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: nfs: Use consistent names for the rpc_pkt

2016-08-22 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/659405/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: nfs: Correct a comment

2016-08-22 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/659408/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: nfs: Fix lines that are too long

2016-08-22 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/659410/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: nfs: Move some prints to debug statements

2016-08-22 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/659409/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: nfs: Use the tx buffer to construct rpc msgs

2016-08-22 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/659411/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: nfs: Simplify rpc_add_credentials()

2016-08-22 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/659406/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: davinci_emac: Remove useless dcache ops on descriptors

2016-08-22 Thread Joe Hershberger
Hi karl, https://patchwork.ozlabs.org/patch/659047/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net/fm: Remove unused code of FMan QMI

2016-08-22 Thread Joe Hershberger
Hi Zhiqiang, https://patchwork.ozlabs.org/patch/660698/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: davinci_emac: Round up top tx buffer boundaries for dcache ops

2016-08-22 Thread Joe Hershberger
Hi karl, https://patchwork.ozlabs.org/patch/659357/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: davinci_emac: Restore the internal MDIO accessors return values

2016-08-22 Thread Joe Hershberger
Hi karl, https://patchwork.ozlabs.org/patch/661116/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: mii: check phy advertising register when geting link status

2016-08-22 Thread Joe Hershberger
Hi Dongpo, https://patchwork.ozlabs.org/patch/661450/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: davinci_emac: Invalidate only the received portion of a buffer

2016-08-22 Thread Joe Hershberger
Hi karl, https://patchwork.ozlabs.org/patch/659358/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v8] dm: at91: Add driver model support for the spi driver

2016-08-22 Thread Wenyou Yang
Add driver model support while retaining the existing legacy code. This allows the driver to support boards that have converted to driver model as well as those that have not. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v8: - Fix compile error for AVR32. Changes in v7:

Re: [U-Boot] [PATCH] regulator: fixed: obey startup delay

2016-08-22 Thread Simon Glass
On 22 August 2016 at 08:10, John Keeping wrote: > > When enabling a fixed regulator, it may take some time to rise to the > correct voltage. If we do not delay here then subsequent operations > will fail. > > Signed-off-by: John Keeping > --- > doc/device-tree-bindings/regulator/fixed.txt | 1

Re: [U-Boot] [PATCH v2 0/4] Migrate Vybrid USB driver to driver model

2016-08-22 Thread maitysanchayan
Hello, Ping? Regards, Sanchayan. On 16-08-09 23:44:58, Sanchayan Maity wrote: > Hello, > > This is the second version of the patchset for migrating Vybrid > USB driver to driver model. > > Compare to the first version, this version takes care of dr_mode > property and correctly handles OTG as

Re: [U-Boot] [RFC PATCH v2 11/11] spl: Kconfig: Add CONFIG_SPL_TEXT_BASE as Kconfig option

2016-08-22 Thread Masahiro Yamada
2016-08-23 0:21 GMT+09:00 Andrew F. Davis : > Add a new Kconfig CONFIG_SPL_TEXT_BASE. Set its default value to 0x0. > > Signed-off-by: Andrew F. Davis > --- > Kconfig | 8 > 1 file changed, 8 insertions(+) > > diff --git a/Kconfig b/Kconfig > index cb5af5b..2935c41 100644 > --- a/Kconfig

[U-Boot] [PATCH] common: show "Boot media" menu only for some TI and Freescale SoCs

2016-08-22 Thread Masahiro Yamada
The CONFIG_"_BOOT does not control anything in common code; they are mostly used to enable a set of options in include/configs/.h, in other words, the behavior of these options are highly SoC specific. Actually, nothing happens for other SoCs than some TI, Freescale ones. This menu is weird in mu

Re: [U-Boot] [RFC PATCH v2 09/11] spl: Kconfig: Add SPL__SUPPORT as Kconfig option

2016-08-22 Thread Masahiro Yamada
2016-08-23 0:21 GMT+09:00 Andrew F. Davis : > Create a new Kconfig file to contain SPL boot media loading support > options as we begin moving these to the Kconfig system and out of header > files. Initially add new configs for all the existing boot media types, > giving them the same definition na

Re: [U-Boot] [PATCH 02/13] spl: Kconfig: Add SPL__BOOT as Kconfig option

2016-08-22 Thread Masahiro Yamada
2016-08-20 0:29 GMT+09:00 Andrew F. Davis : > On 08/18/2016 11:10 PM, Lokesh Vutla wrote: >> >> >> On Thursday 18 August 2016 09:11 PM, Andrew F. Davis wrote: >>> Currently U-Boot proper has Kconfig options that enable the generation >>> of U-Boot binaries that are capable of being booted from the

Re: [U-Boot] [PATCH v1 2/2] arm: mvebu: Define NAND interface pins for A-38x

2016-08-22 Thread Stefan Roese
Hi Chris, On 22.08.2016 02:38, Chris Packham wrote: From: Chris Packham Add pin control settings for the NAND flash interface. This interface is multiplexed with the device bus interface to the function is "dev" not "nand" as one might expect. Signed-off-by: Chris Packham Cc: Luka Perkov Cc