[U-Boot] Pull request: u-boot-ubi/master

2016-06-13 Thread Heiko Schocher
Hello Tom, please pull from u-boot-ubi.git master The following changes since commit 6b3943f1b04be60f147ee540fbd72c4c7ea89f80: siemens,am33x: add draco etamin board (2016-06-09 13:53:13 -0400) are available in the git repository at: git://git.denx.de/u-boot-ubi.git master for you to fetc

[U-Boot] [PATCH 00/27] dm: mmc: Add driver-model support for MMC operations

2016-06-13 Thread Simon Glass
At present MMC does not use driver model for its operations. It uses its own structure and passes a struct mmc instead of a struct udevice. This series addresses this by adding driver-model operations for MMC. The conversion process is also started, with patches for rockchip, zynq and qualcomm. T

[U-Boot] [PATCH] net: smsc95xx: Use correct get_unaligned functions

2016-06-13 Thread Mark Tomlinson
The __get_unaligned_le* functions may not be declared on all platforms. Instead, get_unaligned_le* should be used. On many platforms both of these are the same function. Change-Id: If28222615e85a6f34f3fde42eb21c6f56a2cb988 Reviewed-by: Chris Packham --- drivers/usb/eth/smsc95xx.c | 4 ++-- 1 fil

Re: [U-Boot] [PATCH v2 0/5] Urgent fixes for misconverted CONFIG_BOOTDELAY

2016-06-13 Thread Heiko Schocher
Hello Masahiro, Am 13.06.2016 um 01:15 schrieb Masahiro Yamada: Hi Tom, 2016-06-13 6:07 GMT+09:00 Masahiro Yamada : Hi Tom, 2016-06-13 1:50 GMT+09:00 Tom Rini : On Sat, Jun 11, 2016 at 06:44:07PM +0900, Masahiro Yamada wrote: Masahiro Yamada (5): ARM: stm32: remove unused CONFIG_AUTOB

Re: [U-Boot] [PATCH] net: smsc95xx: Use correct get_unaligned functions

2016-06-13 Thread Chris Packham
Hi Mark, On Mon, Jun 13, 2016 at 5:00 PM, Mark Tomlinson wrote: > The __get_unaligned_le* functions may not be declared on all platforms. > Instead, get_unaligned_le* should be used. On many platforms both of > these are the same function. > > Change-Id: If28222615e85a6f34f3fde42eb21c6f56a2cb988

[U-Boot] [PATCH v3 1/2] nand: nand torture: follow sync with linux v4.6

2016-06-13 Thread Max Krummenacher
follow parameter name change (nand to mtd) to fix compiler error. Signed-off-by: Max Krummenacher --- Changes in v3: - none Changes in v2: - Patch v1 1/1 went into master, but Scott's patch series syncing with kernel v4.6 introduced an additional compile time error. drivers/mtd/nand/nand_u

[U-Boot] [PATCH v3 2/2] nand: extend nand torture

2016-06-13 Thread Max Krummenacher
nand torture currently works on exactly one nand block which is specified by giving the byteoffset to the beginning of the block. Extend this by allowing for a second parameter specifying the byte size to be tested. e.g. ==> nand torture 100 NAND torture: device 0 offset 0x100 size 0x200

Re: [U-Boot] [PATCH v2 0/5] Urgent fixes for misconverted CONFIG_BOOTDELAY

2016-06-13 Thread yamada.masahiro
Hi Heiko. > Hmm... didn;t you had a script, with which you checked all board binaries > if they are the same before and after one patch? That could be a solution > for doing such Kconfig moves ... When I converted lots of Makefiles for Kbuild migration more than 2 years ago, I hacked include/tim

Re: [U-Boot] [PATCH v2 4/5] autoboot: fix a bunch of misconversion of CONFIG_BOOTDELAY

2016-06-13 Thread Maxime Ripard
Hi, On Sat, Jun 11, 2016 at 01:31:29PM +0200, Hans de Goede wrote: > Hi, > > On 11-06-16 11:44, Masahiro Yamada wrote: > >Commit bb597c0eeb7e ("common: bootdelay: move CONFIG_BOOTDELAY into > >a Kconfig option") made a number of misconversion. > > > >[1] CONFIG_BOOTDELAY=-1 all gone > >[2] CONFIG

Re: [U-Boot] [PATCH v2 0/5] Urgent fixes for misconverted CONFIG_BOOTDELAY

2016-06-13 Thread Heiko Schocher
Hello Masahiro, Am 13.06.2016 um 09:53 schrieb yamada.masah...@socionext.com: Hi Heiko. Hmm... didn;t you had a script, with which you checked all board binaries if they are the same before and after one patch? That could be a solution for doing such Kconfig moves ... When I converted lots o

Re: [U-Boot] [PATCH v2 4/5] autoboot: fix a bunch of misconversion of CONFIG_BOOTDELAY

2016-06-13 Thread Stefano Babic
Hi, On 11/06/2016 13:31, Hans de Goede wrote: > Hi, > > On 11-06-16 11:44, Masahiro Yamada wrote: >> Commit bb597c0eeb7e ("common: bootdelay: move CONFIG_BOOTDELAY into >> a Kconfig option") made a number of misconversion. >> >> [1] CONFIG_BOOTDELAY=-1 all gone >> [2] CONFIG_BOOTDELAY=1 all gone

Re: [U-Boot] [PATCHV5 4/6] ARMv8/Layerscape: switch SMP method accordingly

2016-06-13 Thread Zhiqiang Hou
Hi York, > -Original Message- > From: Zhiqiang Hou > Sent: 2016年6月12日 12:31 > To: york sun ; u-boot@lists.denx.de; > albert.u.b...@aribaud.net; scottw...@freescale.com; > mingkai...@freescale.com; york...@freescale.com; le...@freescale.com; > prabha...@freescale.com; bhupesh.sha...@freesca

[U-Boot] HTTP access to u-boot-x86

2016-06-13 Thread Philipp, Damian
Hello U-Boot Developers, just to let you know, I found that http access to the repository http://git.denx.de/u-boot-x86.git is broken. When I attempt to git clone, I receive the following message: $ git clone http://git.denx.de/u-boot-x86.git Cloning to 'u-boot-x86' ... error: Unable to find 86

Re: [U-Boot] [PATCH v2 4/9] libfdt: Add new headers and defines

2016-06-13 Thread Maxime Ripard
Hi David, On Sat, Jun 11, 2016 at 08:30:35PM +1000, David Gibson wrote: > On Fri, Jun 10, 2016 at 05:03:36PM +0300, Pantelis Antoniou wrote: > > Hi Maxime, > > > > > On May 27, 2016, at 12:13 , Maxime Ripard > > > wrote: > > > > > > The libfdt overlay support introduces a bunch of new includes

Re: [U-Boot] [PATCH v2 5/9] libfdt: Add iterator over properties

2016-06-13 Thread Maxime Ripard
Hi Pantelis, On Fri, Jun 10, 2016 at 05:04:45PM +0300, Pantelis Antoniou wrote: > > > On May 27, 2016, at 12:13 , Maxime Ripard > > wrote: > > > > Implement a macro based on fdt_first_property_offset and > > fdt_next_property_offset that provides a convenience to iterate over all > > the prope

Re: [U-Boot] [PATCH] pico-imx6ul: Add Ethernet support

2016-06-13 Thread Stefano Babic
On 10/06/2016 17:07, Diego Dorta wrote: > Pico-imx6ul has a KSZ8081 Ethernet PHY. > > Add support for it. > > Signed-off-by: Diego Dorta > --- > board/technexion/pico-imx6ul/pico-imx6ul.c | 84 > ++ > include/configs/pico-imx6ul.h | 10 > 2 files c

[U-Boot] U-boot VESA driver Initialization

2016-06-13 Thread vinoth eswaran
Hello Mr.Bin, Hello Mr.George McCollister, I am working on an embedded project to optimize Linux boot up time. I have a camera application, which I need to run as fast as possible after powering up the board. For this currently I am analyzing how can I optimize the U-boot. As of now, u-boot take

Re: [U-Boot] [PATCH v3 11/11] sunxi: Add PSCI implementation in C

2016-06-13 Thread Hans de Goede
Hi, On 13-06-16 04:50, Chen-Yu Tsai wrote: On Fri, Jun 10, 2016 at 9:40 PM, Hans de Goede wrote: Hi, On 07-06-16 04:54, Chen-Yu Tsai wrote: To make the PSCI backend more maintainable and easier to port to newer SoCs, rewrite the current PSCI implementation in C. Some inline assembly bits a

Re: [U-Boot] [PATCH v2 7/9] libfdt: Add overlay application function

2016-06-13 Thread Maxime Ripard
Hi Pantelis, On Fri, Jun 10, 2016 at 05:28:11PM +0300, Pantelis Antoniou wrote: > Hi Maxime, > > > On May 27, 2016, at 12:13 , Maxime Ripard > > wrote: > > > > The device tree overlays are a good way to deal with user-modifyable > > boards or boards with some kind of an expansion mechanism whe

Re: [U-Boot] [PATCH 24/27] dm: zynq: usb: Convert to CONFIG_DM_USB

2016-06-13 Thread Michal Simek
Hi Simon, 2016-06-13 7:30 GMT+02:00 Simon Glass : > Convert zynq USB to driver model. It does not actually work, but the error > is similar. > > The first one is working. That low level init failed is there because there are two usb controllers and one is not wired. If you put usb stick to zybo y

Re: [U-Boot] [PATCH v3 11/11] sunxi: Add PSCI implementation in C

2016-06-13 Thread Chen-Yu Tsai
On Mon, Jun 13, 2016 at 5:49 PM, Hans de Goede wrote: > Hi, > > On 13-06-16 04:50, Chen-Yu Tsai wrote: >> >> On Fri, Jun 10, 2016 at 9:40 PM, Hans de Goede >> wrote: >>> >>> Hi, >>> >>> On 07-06-16 04:54, Chen-Yu Tsai wrote: To make the PSCI backend more maintainable and easier to

[U-Boot] [PATCH] arm: Fix setjmp

2016-06-13 Thread Alexander Graf
The setjmp/longjmp implementation did not work on thumb1 implementations because it used instruction encodings that don't exist on thumb1 yet. This patch limits itself to thumb1 instruction set for 32bit arm and removes a superfluous printf along the way. Signed-off-by: Alexander Graf --- arch/

[U-Boot] U-boot Minnowmax image overlaps with region './board/intel/minnowmax/vga.bin'

2016-06-13 Thread vinoth eswaran
Hello U-Boot developers, In Minnowmax board, I am trying to enable the debug messages of u-boot. When I try to enable the debug messages either through adding -DDEBUG flag in config.mk or by adding #define DEBUG in include/common.h file , I am getting the following error messages. U-Boot imag

[U-Boot] [PATCH 1/2] board_f: init designware watchdog if CONFIG_DESIGNWARE_WATCHDOG=y

2016-06-13 Thread Anatolij Gustschin
The designware watchdog init is skipped even if CONFIG_DESIGNWARE_WATCHDOG is enabled. Fix it. Signed-off-by: Anatolij Gustschin --- common/board_f.c |1 + 1 file changed, 1 insertion(+) diff --git a/common/board_f.c b/common/board_f.c index 622093a..0e2e6bc 100644 --- a/common/board_f.c ++

[U-Boot] [PATCH 2/2] board_f: prevent misleading "Watchdog enabled" output

2016-06-13 Thread Anatolij Gustschin
Output the "Watchdog enabled" message only if hw_watchdog_init() call really happened. Signed-off-by: Anatolij Gustschin --- common/board_f.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/board_f.c b/common/board_f.c index 0e2e6bc..9f6e4cc 100644 --- a/common/boar

Re: [U-Boot] [PATCH RESEND 1/2 v2] linux-compat: Use original kern_levels.h for kernel debug levels

2016-06-13 Thread Alexey Brodkin
Hi Tom, On Fri, 2016-06-10 at 15:20 -0400, Tom Rini wrote: > On Fri, Jun 10, 2016 at 03:42:30PM +0300, Alexey Brodkin wrote: > > > > Even currently in U-Boot we don't really use kernel debug levels > > we do have quite a lot of code that was copy-pasted from Linux kernel > > and so contains symbo

[U-Boot] Please pull ARC changes

2016-06-13 Thread Alexey Brodkin
Hi Tom, The following changes since commit 6b3943f1b04be60f147ee540fbd72c4c7ea89f80:   siemens,am33x: add draco etamin board (2016-06-09 13:53:13 -0400) are available in the git repository at:   git://git.denx.de/u-boot-arc.git  for you to fetch changes up to fc1e8fbbb2ea73139c2eadf2f174d6c3fc

Re: [U-Boot] [PATCH v2 0/5] Urgent fixes for misconverted CONFIG_BOOTDELAY

2016-06-13 Thread Tom Rini
On Mon, Jun 13, 2016 at 08:15:43AM +0900, Masahiro Yamada wrote: > Hi Tom, > > > 2016-06-13 6:07 GMT+09:00 Masahiro Yamada : > > Hi Tom, > > > > 2016-06-13 1:50 GMT+09:00 Tom Rini : > >> On Sat, Jun 11, 2016 at 06:44:07PM +0900, Masahiro Yamada wrote: > >> > >>> > >>> Masahiro Yamada (5): > >>>

Re: [U-Boot] [RFC] x86: baytrail: azalia DT configuration mock-up

2016-06-13 Thread George McCollister
On Fri, Jun 10, 2016 at 7:17 PM, Bin Meng wrote: > Hi George, > > On Fri, Jun 10, 2016 at 4:57 AM, George McCollister > wrote: >> I'm looking for feedback on this mock-up of fsp,azalia-config DT >> before I proceed to writing code. I included everything in fsp for >> context. >> >> fsp {

[U-Boot] [PATCH v2 0/2] arm, am335x: siemens: enable DM/DTS support

2016-06-13 Thread Heiko Schocher
This patchserie adds DM/DTS support for the siemens am335x based boards. Add in the v2 an etamin_defconfig fix patch, as in mainline missing some USB_MUSB_* and CONFIG_G_DNL_* config options currently. replaces patch: https://patchwork.ozlabs.org/patch/626016/ This patchseries is based on the pa

[U-Boot] [PATCH v2 2/2] arm, am335x: siemens: enable DM/DTS support

2016-06-13 Thread Heiko Schocher
enable basic DM/DTS support for the siemens am335x based boards. Signed-off-by: Heiko Schocher --- Changes in v2: - rebase to "siemens,am33x: add draco etamin board" 6b3943f1b04be60f147ee540fbd72c4c7ea89f80 - add patch "fix etamin defconfig", as etamin defconfig does not contain USB_MUSB_* a

[U-Boot] [PATCH v2 1/2] arm, am335x: siemens: update etamin defconfig

2016-06-13 Thread Heiko Schocher
add missing USB_MUSB_* and CONFIG_G_DNL_* board configuration. Signed-off-by: Heiko Schocher --- Changes in v2: - new in v2 configs/etamin_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/configs/etamin_defconfig b/configs/etamin_defconfig index 6c747df..f86f4a3 100644 --- a

Re: [U-Boot] [Patch v4 0/5] Supporting ARM v8 USB errata for FSL

2016-06-13 Thread Marek Vasut
On 06/13/2016 06:28 AM, Sriram Dash wrote: > The patch-set does the following : > > 1. Adds support for ARM for USB Erratum Checking code for implementing the > USB Erratum for fsl. > 2. Performs code cleanup to reduce redundancy when adding fsl device > tree fixup. > 3. Implements Erratum A008751

Re: [U-Boot] [PATCH v5 1/2] common: usb_storage: Make common function for usb_stor_read/usb_stor_write

2016-06-13 Thread Marek Vasut
On 06/13/2016 06:03 AM, Rajesh Bhagat wrote: > Performs code cleanup by making common function for usb_stor_read/ > usb_stor_write. Currently only difference in these fucntions is call > to usb_read_10/usb_write_10 scsi commands. > > Signed-off-by: Rajesh Bhagat > --- > Changes in v5: > - Conver

Re: [U-Boot] [PATCH v5 2/2] common: usb_storage : Implement logic to calculate optimal usb maximum trasfer blocks

2016-06-13 Thread Marek Vasut
On 06/13/2016 06:03 AM, Rajesh Bhagat wrote: > From: Rajesh Bhagat > > Implements the logic to calculate the optimal usb maximum trasfer blocks > instead of sending USB_MAX_XFER_BLK blocks which is 65535 and 20 in case > of EHCI and other USB protocols respectively. > > It defines USB_MIN_XFER_B

Re: [U-Boot] [PATCH v2 0/5] Urgent fixes for misconverted CONFIG_BOOTDELAY

2016-06-13 Thread Wolfgang Denk
Dear Tom, In message <20160613124715.GT11619@bill-the-cat> you wrote: > > > BTW, would you consider changing the default of BOOTDELAY > > from 0 to 3 ? > > I'm going to move it over to 2 as I want to encourage people in general > to move over to the distro defaults values. I'm not sure if such

Re: [U-Boot] [PATCH RESEND 1/2 v2] linux-compat: Use original kern_levels.h for kernel debug levels

2016-06-13 Thread Tom Rini
On Mon, Jun 13, 2016 at 12:36:04PM +, Alexey Brodkin wrote: > Hi Tom, > > On Fri, 2016-06-10 at 15:20 -0400, Tom Rini wrote: > > On Fri, Jun 10, 2016 at 03:42:30PM +0300, Alexey Brodkin wrote: > > > > > > Even currently in U-Boot we don't really use kernel debug levels > > > we do have quite

Re: [U-Boot] [PATCH v2 0/5] Urgent fixes for misconverted CONFIG_BOOTDELAY

2016-06-13 Thread Hans de Goede
Hi, On 13-06-16 15:07, Wolfgang Denk wrote: Dear Tom, In message <20160613124715.GT11619@bill-the-cat> you wrote: BTW, would you consider changing the default of BOOTDELAY from 0 to 3 ? I'm going to move it over to 2 as I want to encourage people in general to move over to the distro defau

Re: [U-Boot] [PATCH v2 0/5] Urgent fixes for misconverted CONFIG_BOOTDELAY

2016-06-13 Thread Tom Rini
On Mon, Jun 13, 2016 at 03:51:31PM +0200, Hans de Goede wrote: > Hi, > > On 13-06-16 15:07, Wolfgang Denk wrote: > >Dear Tom, > > > >In message <20160613124715.GT11619@bill-the-cat> you wrote: > >> > >>>BTW, would you consider changing the default of BOOTDELAY > >>>from 0 to 3 ? > >> > >>I'm going

Re: [U-Boot] [PATCH v3 11/11] sunxi: Add PSCI implementation in C

2016-06-13 Thread Hans de Goede
Hi, On 13-06-16 12:58, Chen-Yu Tsai wrote: On Mon, Jun 13, 2016 at 5:49 PM, Hans de Goede wrote: Hi, On 13-06-16 04:50, Chen-Yu Tsai wrote: On Fri, Jun 10, 2016 at 9:40 PM, Hans de Goede wrote: Hi, On 07-06-16 04:54, Chen-Yu Tsai wrote: To make the PSCI backend more maintainable and

[U-Boot] [PATCH] pico-imx6ul: Add USB Host support

2016-06-13 Thread Vanessa Maegima
Add USB host support. Tested by connecting a USB pen drive: => usb start starting USB... USB0: Port not available.

Re: [U-Boot] [PATCHV5 4/6] ARMv8/Layerscape: switch SMP method accordingly

2016-06-13 Thread york sun
On 06/13/2016 01:30 AM, Zhiqiang Hou wrote: > Hi York, > >> -Original Message- >> From: Zhiqiang Hou >> Sent: 2016年6月12日 12:31 >> To: york sun ; u-boot@lists.denx.de; >> albert.u.b...@aribaud.net; scottw...@freescale.com; >> mingkai...@freescale.com; york...@freescale.com; le...@freescale.c

Re: [U-Boot] x86: acpi: Disabling SoC functions defined in ASL on a per board basis

2016-06-13 Thread George McCollister
On Fri, Jun 10, 2016 at 7:25 PM, Bin Meng wrote: > Hi George, > > +Simon, Stefan > > On Fri, Jun 10, 2016 at 1:17 AM, George McCollister > wrote: >> Does anyone have any ideas on how we might go about disabling >> functions defined in arch/x86/include/asm/arch-*/acpi on a per board >> basis? With

Re: [U-Boot] [PATCH] pico-imx6ul: Add USB Host support

2016-06-13 Thread Fabio Estevam
On Mon, Jun 13, 2016 at 1:01 PM, Vanessa Maegima wrote: > Add USB host support. > > Tested by connecting a USB pen drive: > > => usb start > starting USB... > USB0: Port not available. > USB1: USB EHCI 1.00 > scanning bus 1 for devices... 2 USB Device(s) found >scanning usb for storage

Re: [U-Boot] [PATCH 22/27] net: phy: marvell: Add a missing errno.h header

2016-06-13 Thread Joe Hershberger
Hi Simon, On Mon, Jun 13, 2016 at 12:30 AM, Simon Glass wrote: > This corrects a build error on zynqmp. > > Signed-off-by: Simon Glass > Signed-off-by: Simon Glass > --- > > drivers/net/phy/marvell.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/phy/marvell.c b/drivers/n

Re: [U-Boot] [PATCH] net: Allow setenv to set net global variables

2016-06-13 Thread Joe Hershberger
Hi Chris, On Sun, Jun 12, 2016 at 3:58 PM, Chris Packham wrote: > Hi Joe, > > On 06/11/2016 03:56 AM, Joe Hershberger wrote: >> On Thu, Jun 9, 2016 at 8:40 PM, Matthew Bright >> wrote: >>> The patch fd3056337e6fcc introduces env callbacks to several of the net >>> related env variables. These ca

[U-Boot] [RFC PATCH] common: image-fdt: support dts from the second address of android image

2016-06-13 Thread Michael Trimarchi
We can support dts load from the second address of android image. This let us to boot board (aka freescale) Signed-off-by: Michael Trimarchi --- common/image-fdt.c | 26 ++ include/image.h| 2 ++ 2 files changed, 28 insertions(+) diff --git a/common/image-fdt.c b/co

[U-Boot] [RFC PATCH V2] common: image-fdt: support dts from the second address of android image

2016-06-13 Thread Michael Trimarchi
We can support dts load from the second address of android image. This let us to boot board (aka freescale) Signed-off-by: Michael Trimarchi --- common/image-android.c | 21 + common/image-fdt.c | 12 include/image.h| 2 ++ 3 files changed, 35 insert