Re: [U-Boot] [PATCH 30/52] rockchip: rk3368: grf: use shifted-constants and prefix with RK3368_

2017-07-24 Thread Simon Glass
Hi Philipp, On 24 July 2017 at 07:10, Dr. Philipp Tomsich wrote: > > > > On 24 Jul 2017, at 14:45, Kever Yang wrote: > > > > Hi Philipp, > > > > > > On 07/24/2017 05:11 PM, Dr. Philipp Tomsich wrote: > >>> On 24 Jul 2017, at

Re: [U-Boot] [PATCH v11 00/10] usb: Extend ehci and ohci generic driver

2017-07-24 Thread Patrice CHOTARD
After discussion with Marek, this series will be canceled, only incremental patches are needed. Patrice On 07/24/2017 01:46 PM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This series improves generic ehci and ohci drivers by addition of : > _ error

[U-Boot] [PATCH 1/4] dm: phy: add missing #ifdef CONFIG_PHY

2017-07-24 Thread patrice.chotard
From: Patrice Chotard To avoid compilation breakage on platform that doesn't support DM PHY but uses xhci-dwc3 driver, add the missing CONFIG_PHY flag. Introduced by patch : 84e53877 "usb: host: xhci-dwc3: Add generic PHY support" Cc: Ran Wang Cc:

[U-Boot] [PATCH 0/4] Fix compile failure encountered on u-boot-usb tree (2017-07-20)

2017-07-24 Thread patrice.chotard
From: Patrice Chotard This series fixes : _ compilation issue reported by Ran Wang on u-boot-usb branch _ add last minute fixes for both generic-ehci and generic_ohci drivers which avoid to init a generic PHY if not found, reported by Patrick

[U-Boot] [PATCH 3/4] usb: host: ehci-generic: initialize PHY only when found

2017-07-24 Thread patrice.chotard
From: Patrice Chotard Call generic_phy_init() only when a PHY was found. This will avoid a crash if no "phys" property is found in DT. Signed-off-by: Patrice Chotard Reported-by: Patrick Delaunay ---

Re: [U-Boot] [PATCH 1/5] Makefile: also build fdt for snapdragon

2017-07-24 Thread Tom Rini
On Fri, Jul 21, 2017 at 06:57:58PM -0400, Rob Clark wrote: > On Fri, Jul 21, 2017 at 6:18 PM, Tom Rini wrote: > > On Fri, Jul 21, 2017 at 03:10:10PM -0400, Rob Clark wrote: > > > >> Snapdragon is a bit of a funny case, where we want to build the fdt to > >> pass to lk, which

Re: [U-Boot] [PATCH 5/5] db410c: config updates

2017-07-24 Thread Tom Rini
On Fri, Jul 21, 2017 at 07:08:23PM -0400, Rob Clark wrote: > On Fri, Jul 21, 2017 at 6:20 PM, Tom Rini wrote: > > On Fri, Jul 21, 2017 at 03:10:14PM -0400, Rob Clark wrote: > >> Signed-off-by: Rob Clark > >> --- > >> arch/arm/Kconfig | 2

Re: [U-Boot] am335x uboot TFTP via SPL over usb is failing

2017-07-24 Thread Ravi Kumar Prasad
Hi Jason, Have a look at this thread, and help us find a solution. Thanks On Mon, Jul 3, 2017 at 5:53 PM, Ravi Kumar Prasad <7rav...@gmail.com> wrote: > Hi, Michael > Please cc the your findings of second bisect here, so that someone can > help further. > > On Mon, Jun 26, 2017 at 5:12 PM, Ravi

Re: [U-Boot] [PATCH] zynq: fb_mmc: Correct cast of address to u32

2017-07-24 Thread Łukasz Majewski
On 07/24/2017 02:53 PM, Marek Vasut wrote: On 07/24/2017 02:47 PM, Tom Rini wrote: On Mon, Jul 24, 2017 at 02:09:56PM +0200, Marek Vasut wrote: On 07/23/2017 05:47 PM, Tom Rini wrote: On Sun, Jul 23, 2017 at 09:05:31AM -0600, Simon Glass wrote: This does not work on 64-bit machines. Update

Re: [U-Boot] [PATCH 9/9] omap: detect board before spl_early_init()

2017-07-24 Thread Tom Rini
On Thu, Jul 20, 2017 at 07:02:36PM +0200, Jean-Jacques Hiblot wrote: > In order to be able to select the right DTB, we need to have identified the > board before spl_early_init() is called. > > Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini --

[U-Boot] [PATCH 2/2] efi_loader: expose protocols via GUID

2017-07-24 Thread Rob Clark
shim.efi (or rather gnu-efi's LibLocateProtocol() which shim.efi uses) resolves protocols via efi_locate_handle() so the console protocols need to be added to the efi object list. Signed-off-by: Rob Clark --- include/efi_api.h| 9 + include/efi_loader.h

[U-Boot] [PATCH 1/2] efi_loader: add helper macro to construct protocol objects

2017-07-24 Thread Rob Clark
There are a bunch of protocols which should be exposed by GUID but are not. Add a helper macro to create an efi_object, to avoid much typing. Note that using the pointer for efiobj->handle is semi-arbitrary. We just need a unique value to match the efiobj supporting the protocol with the handle

[U-Boot] [PATCH] efi_loader: add back optional efi_handler::open()

2017-07-24 Thread Rob Clark
In some cases it is useful to defer creation of the protocol interface object. So add back an optional ->open() hook that is used if protcol_interface is NULL. I've slightly simplified the fxn ptr signature to remove unneeded args, and so compiler will complain if patches that used the "old way"

[U-Boot] [PATCH 2/4] dm: usb: host: xhci-dwc3: add missing #ifdef CONFIG_DM_USB

2017-07-24 Thread patrice.chotard
From: Patrice Chotard Add CONFIG_DM_USB flag to avoid following compilation errors detected by buildman : +drivers/usb/host/built-in.o: In function `xhci_dwc3_remove': +drivers/usb/host/xhci-dwc3.c:168: undefined reference to `xhci_deregister'

[U-Boot] [PATCH 4/4] usb: host: ohci-generic: initialize PHY only when found

2017-07-24 Thread patrice.chotard
From: Patrice Chotard Call generic_phy_init() only when a PHY was found. This will avoid a crash if no "phys" property is found in DT. Signed-off-by: Patrice Chotard Reported-by: Patrick Delaunay ---

Re: [U-Boot] [PATCH] zynq: fb_mmc: Correct cast of address to u32

2017-07-24 Thread Marek Vasut
On 07/24/2017 03:28 PM, Łukasz Majewski wrote: > On 07/24/2017 02:53 PM, Marek Vasut wrote: >> On 07/24/2017 02:47 PM, Tom Rini wrote: >>> On Mon, Jul 24, 2017 at 02:09:56PM +0200, Marek Vasut wrote: On 07/23/2017 05:47 PM, Tom Rini wrote: > On Sun, Jul 23, 2017 at 09:05:31AM -0600, Simon

Re: [U-Boot] efi_loader: workaround for grub lsefi bug

2017-07-24 Thread Rob Clark
On Mon, Jul 24, 2017 at 2:31 PM, Heinrich Schuchardt wrote: > On 07/20/2017 01:59 PM, Rob Clark wrote: >> Patch has also been sent to fix grub to not ignore the error returned >> and treat protocol_buffer_count as valid. But that that might take a >> while to trickle into

Re: [U-Boot] [PATCH v8 0/6] Extend xhci-dwc3

2017-07-24 Thread Patrice CHOTARD
After discussion with Marek, this series will be canceled, only incremental patches are needed. Patrice On 07/24/2017 11:44 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This series extend xhci-dwc3.c drivers by : > _ converting it to DM model, >

[U-Boot] [PATCH] efi_loader: log EFI return values too

2017-07-24 Thread Rob Clark
Turns out this is rather useful to tracking down where things fail. Signed-off-by: Rob Clark --- v2: use EFI_ERROR_MASK include/efi_loader.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/efi_loader.h b/include/efi_loader.h index

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

2017-07-24 Thread Tom Rini
On Thu, Jul 20, 2017 at 07:02:35PM +0200, Jean-Jacques Hiblot wrote: > u-boot can be embedded within a FIT image with multiple DTBs. It then > selects at run-time which one is best suited for the platform. > Use the same principle here for the SPL: put the DTBs in a FIT image, > compress it

Re: [U-Boot] [Patch v2 1/3] armv8: ls1088a: Add NXP LS1088A SoC support

2017-07-24 Thread Ashish Kumar
Hello York, Please see response inline Regards Ashish -Original Message- From: York Sun [mailto:york@nxp.com] Sent: Wednesday, April 12, 2017 2:04 AM To: Ashish Kumar ; u-boot@lists.denx.de; u-b...@linux.freescale.net Cc: Alison Wang ;

Re: [U-Boot] [u-boot-denx-usb] Build break on current u-boot-usb master

2017-07-24 Thread Patrice CHOTARD
Hi Marek On 07/22/2017 08:36 PM, Marek Vasut wrote: > On 07/22/2017 08:18 PM, Łukasz Majewski wrote: >> Hi Marek, >> >> When I was "cleaning up" my patchwork todo list I've found following >> problem (s): >> >> A lot of boards are broken with message: >> >>LD u-boot >>

Re: [U-Boot] [u-boot-denx-usb] Build break on current u-boot-usb master

2017-07-24 Thread Bin Meng
On Mon, Jul 24, 2017 at 2:48 PM, Patrice CHOTARD wrote: > Hi Marek > > On 07/22/2017 08:36 PM, Marek Vasut wrote: >> On 07/22/2017 08:18 PM, Łukasz Majewski wrote: >>> Hi Marek, >>> >>> When I was "cleaning up" my patchwork todo list I've found following >>> problem (s):

Re: [U-Boot] [EXT] Re: How to update Espressobin (U-Boot) firmware?

2017-07-24 Thread Benjamin (Guodan) Huang
Hi Andre, Just FYI, if you want to build bootloader for SATA boot, please use the ATF build instructions like below: make DEBUG=1 USE_COHERENT_MEM=0 LOG_LEVEL=20 SECURE=0 CLOCKSPRESET=CPU_1000_DDR_800 DDR_TOPOLOGY=2 BOOTDEV=SATA PARTNUM=0 PLAT=a3700 WTP=`pwd`/../A3700-utils-marvell all fip

Re: [U-Boot] Uboot compatible with board Tegra124-nyan-big (ChromeBook G3 HP 14")

2017-07-24 Thread Thomas Hoff
Hey Alexandre, Here is a link to a precompiled and signed non verified uboot for the nyan-big chromebook: https://drive.google.com/file/d/0B3uMpbwOyYIadEtPdVpHV1piWEU/view?usp=sharing This is how you would boot a kernel from an sdcard that had uImage and tegra124-nyan-big.dtb in ext2 formatted

Re: [U-Boot] [PATCH 0/4] Fix compile failure encountered on u-boot-usb tree (2017-07-20)

2017-07-24 Thread Marek Vasut
On 07/24/2017 05:07 PM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This series fixes : > _ compilation issue reported by Ran Wang on u-boot-usb branch > _ add last minute fixes for both generic-ehci and generic_ohci drivers > which avoid

Re: [U-Boot] [PATCH v2] phy: add a NO-OP phy driver

2017-07-24 Thread Marek Vasut
On 07/24/2017 03:18 PM, Jean-Jacques Hiblot wrote: > This driver is used to stub PHY operations in a driver (USB, SATA). > This is useful when the 'client' driver (USB, SATA, ...) uses the PHY > framework and there is no actual PHY harwdare to drive. > > Signed-off-by: Jean-Jacques Hiblot

Re: [U-Boot] [PATCH 0/4] Fix compile failure encountered on u-boot-usb tree (2017-07-20)

2017-07-24 Thread Bin Meng
Hi Marek, On Tue, Jul 25, 2017 at 1:32 AM, Marek Vasut wrote: > On 07/24/2017 05:07 PM, patrice.chot...@st.com wrote: >> From: Patrice Chotard >> >> This series fixes : >> _ compilation issue reported by Ran Wang on u-boot-usb branch >> _ add

Re: [U-Boot] [PATCH 0/4] Fix compile failure encountered on u-boot-usb tree (2017-07-20)

2017-07-24 Thread Marek Vasut
On 07/24/2017 05:07 PM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This series fixes : > _ compilation issue reported by Ran Wang on u-boot-usb branch > _ add last minute fixes for both generic-ehci and generic_ohci drivers > which avoid

Re: [U-Boot] [RFC 1/1] omap3: incorrect logical check in do_emif4_init - Please, pull.

2017-07-24 Thread Heinrich Schuchardt
On 06/25/2017 03:54 PM, Tom Rini wrote: > On Sun, Jun 25, 2017 at 08:13:19AM +0200, Heinrich Schuchardt wrote: > >> Hello Tom, >> >> could you, please, pull the patch >> https://patchwork.ozlabs.org/patch/751043/ >> which has been reviewed in April. > > I actually want to run-test this patch. I

Re: [U-Boot] [PATCH 30/52] rockchip: rk3368: grf: use shifted-constants and prefix with RK3368_

2017-07-24 Thread Simon Glass
Hi Philipp, On 24 July 2017 at 10:49, Dr. Philipp Tomsich wrote: > >> On 24 Jul 2017, at 18:43, Simon Glass wrote: >> >> Hi Philipp, >> >> On 24 July 2017 at 07:10, Dr. Philipp Tomsich >> wrote:

Re: [U-Boot] [PATCH v2 01/12] efi_loader: refactor efi_open_protocol

2017-07-24 Thread Rob Clark
On Mon, Jul 24, 2017 at 1:11 PM, Heinrich Schuchardt wrote: > On 07/24/2017 11:48 AM, Rob Clark wrote: >> On Tue, Jul 11, 2017 at 4:06 PM, Heinrich Schuchardt >> wrote: >>> efi_open_protocol was implemented to call a protocol specific open >>> function to

Re: [U-Boot] efi_loader: workaround for grub lsefi bug

2017-07-24 Thread Heinrich Schuchardt
On 07/20/2017 01:59 PM, Rob Clark wrote: > Patch has also been sent to fix grub to not ignore the error returned > and treat protocol_buffer_count as valid. But that that might take a > while to trickle into distro's, so this workaround might be useful. > > Signed-off-by: Rob Clark

Re: [U-Boot] [PATCH v2 01/12] efi_loader: refactor efi_open_protocol

2017-07-24 Thread Heinrich Schuchardt
On 07/24/2017 11:48 AM, Rob Clark wrote: > On Tue, Jul 11, 2017 at 4:06 PM, Heinrich Schuchardt > wrote: >> efi_open_protocol was implemented to call a protocol specific open >> function to retrieve the protocol interface. >> >> The UEFI specification does not know of such a

Re: [U-Boot] [PATCH 30/52] rockchip: rk3368: grf: use shifted-constants and prefix with RK3368_

2017-07-24 Thread Dr. Philipp Tomsich
> On 24 Jul 2017, at 19:17, Simon Glass wrote: > > Hi Philipp, > > On 24 July 2017 at 10:49, Dr. Philipp Tomsich > wrote: >> >>> On 24 Jul 2017, at 18:43, Simon Glass wrote: >>> >>> Hi Philipp, >>> >>> On 24 July

Re: [U-Boot] [PATCH] zynq: fb_mmc: Correct cast of address to u32

2017-07-24 Thread Simon Glass
On 23 July 2017 at 09:47, Tom Rini wrote: > On Sun, Jul 23, 2017 at 09:05:31AM -0600, Simon Glass wrote: > >> This does not work on 64-bit machines. Update it to use ulong. >> >> This fixes the following warnings in some zynq boards; >> >> common/fb_mmc.c: In function

Re: [U-Boot] [PATCH 30/52] rockchip: rk3368: grf: use shifted-constants and prefix with RK3368_

2017-07-24 Thread Dr. Philipp Tomsich
> On 24 Jul 2017, at 18:43, Simon Glass wrote: > > Hi Philipp, > > On 24 July 2017 at 07:10, Dr. Philipp Tomsich > wrote: >> >> >>> On 24 Jul 2017, at 14:45, Kever Yang wrote: >>> >>> Hi Philipp, >>> >>>

Re: [U-Boot] dtc: mkimage: Add the possibility to specify DTC

2017-07-24 Thread Tom Rini
On Sun, Jun 25, 2017 at 09:43:33AM +0200, Emmanuel Vadot wrote: > FreeBSD recently switch to it's BSDL dtc. While it support most of the > features of the GPL one it still lacks the incbin directive. > Add the possibility to specify which dtc we want to use for compiling dts > and generating fit

Re: [U-Boot] [U-Boot, 1/3] env: Add generic redundant environment implementation

2017-07-24 Thread Tom Rini
On Wed, Jan 25, 2017 at 06:53:11PM +1000, Fiach Antaw wrote: > All current environments that implement redundancy use almost > identical implementations. This patch implements the env_nand > implementation as a function in env_common, and updates the > env_export function to export an

Re: [U-Boot] [U-Boot,v2,1/1] meson-gx: reserved memory regions

2017-07-24 Thread Tom Rini
On Fri, Jun 09, 2017 at 10:13:59PM +0200, xypron.g...@gmx.de wrote: > The Odroid C2 has two GiB of memory with two reserved regions. > reg = <0x0 0x0 0x0 0x100>; > reg = <0x0 0x1000 0x0 0x20>; > > Patch > bfcef28ae4cf (arm: add initial support for Amlogic Meson and > ODROID-C2)

Re: [U-Boot] [U-Boot,v2,02/14] powerpc: get rid of addr_probe()

2017-07-24 Thread Tom Rini
On Thu, Jul 13, 2017 at 03:09:46PM +0200, Christophe Leroy wrote: > This function has never been used, at least since the beginning > of the git repository > > Signed-off-by: Christophe Leroy Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [U-Boot, v2, 07/14] Convert CONFIG_CMD_REGINFO to Kconfig

2017-07-24 Thread Tom Rini
On Thu, Jul 13, 2017 at 03:09:56PM +0200, Christophe Leroy wrote: > This patch converts CONFIG_CMD_REGINFO to Kconfig > > Signed-off-by: Christophe Leroy Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v2, 10/14] powerpc, 8xx: move get_immr() into C

2017-07-24 Thread Tom Rini
On Thu, Jul 13, 2017 at 03:10:02PM +0200, Christophe Leroy wrote: > Avoid unnecessary assembly functions when they can easily be written > in C. > > Signed-off-by: Christophe Leroy Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] [U-Boot, 2/2] km/ivm: allow to set locally administred MAC addresses

2017-07-24 Thread Tom Rini
On Thu, Jul 13, 2017 at 11:15:41AM +0200, Holger Brunck wrote: > It is possible to flag MAC addresses as locally administred. In this > case they don't need to be unique. This is only allowed for interfaces > which have no connection to the outside. For the TEGR1 board we use > this feature. > >

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

2017-07-24 Thread Tom Rini
On Tue, Jul 25, 2017 at 09:18:02AM +0800, Bin Meng wrote: > Hi Tom, > > On Tue, Jul 25, 2017 at 8:44 AM, Tom Rini wrote: > > On Fri, Jul 14, 2017 at 05:25:54PM +0200, Stefan Roese wrote: > > > >> Pasting longer lines into the U-Boot console prompt sometimes leads to > >>

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

2017-07-24 Thread Bin Meng
Hi Tom, On Tue, Jul 25, 2017 at 8:44 AM, Tom Rini wrote: > On Fri, Jul 14, 2017 at 05:25:54PM +0200, 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 >>

[U-Boot] [PATCH] efi_loader: allow efi_loader code to call EFI interfaces

2017-07-24 Thread Rob Clark
To implement efi_load_image() for the case of loading an image from a device path rather than image already loaded into source_buffer, it is convenient to be able to re-use simple-file-system and efi-file interfaces. But these are already using EFI_ENTER()/EFI_EXIT(). Allow entry into EFI

Re: [U-Boot] [U-Boot, v2, 1/6] arm: mach-omap2: Move omap5/sec-fxns.c into sec-common.c

2017-07-24 Thread Tom Rini
On Mon, Jul 10, 2017 at 02:45:49PM -0500, Andrew F. Davis wrote: > TEE loading and firewall setup are common to all omap2 devices, move > these function out of omap5 and into mach-omap2. This allows us > to use these functions from other omap class devices. > > Signed-off-by: Andrew F. Davis

Re: [U-Boot] [U-Boot, 2/5] cmd: Kconfig: Fix a dependency of CMD_MTDPARTS

2017-07-24 Thread Tom Rini
On Wed, Jul 12, 2017 at 04:11:44PM +, karl beldan wrote: > From: Karl Beldan > > Remove the ARCH_SUNXI dependency. > > Cc: Maxime Ripard > Cc: Jagan Teki > Signed-off-by: Karl Beldan

Re: [U-Boot] [PATCH] configs: Migrate RBTREE, LZO, CMD_MTDPARTS, CMD_UBI and CMD_UBIFS

2017-07-24 Thread Tom Rini
On Mon, Jul 24, 2017 at 08:36:02PM -0400, Tom Rini wrote: > The above CONFIG options are in Kconfig, and now have correct depends and > inter-dependencies. Migrate these to configs/ from include/configs/. In the > case of CMD_UBIFS also change it to be a default y if CMD_UBI. > >

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

2017-07-24 Thread Tom Rini
On Fri, Jul 14, 2017 at 05:25:54PM +0200, 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 patch now introduces a Kconfig

Re: [U-Boot] [U-Boot, v2, 03/14] powerpc, timer: Does 8xx specific actions in 8xx cpu_init

2017-07-24 Thread Tom Rini
On Thu, Jul 13, 2017 at 03:09:48PM +0200, Christophe Leroy wrote: > The actions inside #ifdef CONFIG_8xx in arch/powerpc/lib/time.c > can be performed before, in a 8xx dedicated function. > > Signed-off-by: Christophe Leroy Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, 3/5] ubi: Kconfig: Make MTD_UBI select MTD_PARTITIONS

2017-07-24 Thread Tom Rini
On Wed, Jul 12, 2017 at 04:11:45PM +, karl beldan wrote: > From: Karl Beldan > > This missing dependency has probably remained under the radar because > MTD_PARTITIONS is still whitelisted. > > Signed-off-by: Karl Beldan >

Re: [U-Boot] [U-Boot, v2, 09/14] powerpc, 8xx: Move cache function into C files

2017-07-24 Thread Tom Rini
On Thu, Jul 13, 2017 at 03:10:00PM +0200, Christophe Leroy wrote: > Avoid unnecessary assembly functions when they can easily be written > in C. > > Also remove dc_read() as it is nowhere referenced > > Signed-off-by: Christophe Leroy Applied to u-boot/master, thanks!

Re: [U-Boot] [U-Boot, v2, 12/14] powerpc: move get_pvr() and get_svr() into C

2017-07-24 Thread Tom Rini
On Thu, Jul 13, 2017 at 03:10:06PM +0200, Christophe Leroy wrote: > Avoid unnecessary assembly functions when they can easily be written > in C. > > Signed-off-by: Christophe Leroy Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] [U-Boot, v2, 13/14] powerpc, 8xx: fix missing function declarations.

2017-07-24 Thread Tom Rini
On Thu, Jul 13, 2017 at 03:10:08PM +0200, Christophe Leroy wrote: > Add missing .h and add missing declarations in .h > Declare local functions as static > > Based on warnings reported by 'make C=2' > > Signed-off-by: Christophe Leroy Note that when applying I dropped

Re: [U-Boot] tests: test_dfu.py: Add example udev rule for host_usb_dev_node

2017-07-24 Thread Tom Rini
On Mon, Aug 29, 2016 at 09:57:01AM -0400, Tom Rini wrote: > If one does not already have a rule to create a custom device node when > a given device enumerates it can be useful to have udev create a > bus path based node to the entry in /dev/bus/usb that was just > enumerated. Given that DFU

Re: [U-Boot] [U-Boot, v2, 3/6] arm: mach-omap2: fdt-common: Add OP-TEE node when firmware node is defined

2017-07-24 Thread Tom Rini
On Mon, Jul 10, 2017 at 02:45:51PM -0500, Andrew F. Davis wrote: > If a firmware node is already present in the FDT we will fail to create > one and so fail to add our OP-TEE node, make this fixup first check for > a firmware node and then only try to add one if it is not found. > >

Re: [U-Boot] [U-Boot, v2, 4/6] arm: mach-omap2: am33xx: Add FDT fixup suport for AM33xx/AM43xx boards

2017-07-24 Thread Tom Rini
On Mon, Jul 10, 2017 at 02:45:52PM -0500, Andrew F. Davis wrote: > Similar to what is done with OMAP5 class boards we need to > perform fixups common to this SoC class, add support for this here > and add HS fixups. > > Signed-off-by: Andrew F. Davis Applied to u-boot/master,

Re: [U-Boot] [U-Boot, v2, 11/14] powerpc, 8xx: move cache helper into C

2017-07-24 Thread Tom Rini
On Thu, Jul 13, 2017 at 03:10:04PM +0200, Christophe Leroy wrote: > Avoid unnecessary assembly functions when they can easily be written > in C. > > Signed-off-by: Christophe Leroy Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] [U-Boot,v2,04/14] power, timer: reset TBL before TBU

2017-07-24 Thread Tom Rini
On Thu, Jul 13, 2017 at 03:09:50PM +0200, Christophe Leroy wrote: > In order to avoid TBU increment due to TBL reaching its max > and wrapping, reset TBL before resetting TBU > > Signed-off-by: Christophe Leroy Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot,v2,14/14] powerpc: Remove 8260 remainders

2017-07-24 Thread Tom Rini
On Thu, Jul 13, 2017 at 03:10:10PM +0200, Christophe Leroy wrote: > commit 2eb48ff7a210d ("powerpc, 8260: remove support for mpc8260") > removed support for 8260 CPU. > > This patch remove some remainders. > > Signed-off-by: Christophe Leroy Applied to u-boot/master,

Re: [U-Boot] [U-Boot, v2, 5/6] board: ti: am43xx: Add TEE loading and firewall setup

2017-07-24 Thread Tom Rini
On Mon, Jul 10, 2017 at 02:45:53PM -0500, Andrew F. Davis wrote: > Add support for loading a TEE and setting up firewalled regions to > AM43xx HS boards. > > Signed-off-by: Andrew F. Davis Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v2, 08/14] powerpc, 8xx: Simplifying check_CPU()

2017-07-24 Thread Tom Rini
On Thu, Jul 13, 2017 at 03:09:58PM +0200, Christophe Leroy wrote: > All complex case have been removed and we now only support > MPC866 and MPC885 families. > > So check_CPU() can be made a lot simpler. > > Signed-off-by: Christophe Leroy Applied to u-boot/master,

Re: [U-Boot] [U-Boot,1/2] moveconfig: Tidy up imply flag parsing

2017-07-24 Thread Tom Rini
On Mon, Jul 10, 2017 at 02:47:46PM -0600, Simon Glass wrote: > Add an option to specify 'all' to enable all flags. Also print an error > if an unrecognised flag is used. At present it just prints usage > information which is not very helpful. > > Signed-off-by: Simon Glass

Re: [U-Boot] [U-Boot, v2, 06/14] powerpc: Remove unneccessary #ifdefs in reginfo

2017-07-24 Thread Tom Rini
On Thu, Jul 13, 2017 at 03:09:54PM +0200, Christophe Leroy wrote: > reginfo command is calling mpc8xx_reginfo(), mpc85xx_reginfo() > or mpc86xx_reginfo() based on CONFIG_ symbol. > As those 3 functions can't me defined at the same time, let's > rename them print_reginfo() to avoid the #ifdefs >

Re: [U-Boot] [U-Boot,5/5] cmd: Kconfig: Fix CMD_UBIFS dependencies

2017-07-24 Thread Tom Rini
On Wed, Jul 12, 2017 at 04:11:47PM +, karl beldan wrote: > From: Karl Beldan > > Remove the ARCH_SUNXI and RBTREE dependencies. > CMD_UBIFS already gets RBTREE from CMD_UBI (from MTD_UBI), and should > the first become independant from the latter, there would

Re: [U-Boot] [U-Boot, v2, 01/14] powerpc, 8xx: Simplify brgclk calculation and remove get_brgclk()

2017-07-24 Thread Tom Rini
On Thu, Jul 13, 2017 at 03:09:44PM +0200, Christophe Leroy wrote: > divider is calculated based on SCCR_DFBRG, with: > SCCR_DFBRG 00 => divider 1 = 1 << 0 > SCCR_DFBRG 01 => divider 4 = 1 << 2 > SCCR_DFBRG 10 => divider 16 = 1 << 4 > SCCR_DFBRG 11 => divider 64 = 1 << 6 > > This can be easily

Re: [U-Boot] [U-Boot, 2/2] RFC: moveconfig: Use toolchains from buildman

2017-07-24 Thread Tom Rini
On Mon, Jul 10, 2017 at 02:47:47PM -0600, Simon Glass wrote: > It is annoying to have to set up and maintain two sets of toolchains, one > for buildman and one for moveconfig. > > Adjust moveconfig to make use to buildman's toolchains. This should make > things easier. > > One missing feature

Re: [U-Boot] [U-Boot,v2,4/4] pinctrl: meson: convert to livetree

2017-07-24 Thread Tom Rini
On Mon, Jul 10, 2017 at 12:30:06AM +0200, Beniamino Galvani wrote: > Update the Meson pinctrl/gpio driver to support a live device tree. > > Signed-off-by: Beniamino Galvani This does not apply on top of master currently. Should I wait until some other changes land to

Re: [U-Boot] [U-Boot, 2/3] env: Switch env_nand, env_mmc and env_ubi to env_import_redund

2017-07-24 Thread Tom Rini
On Wed, Jan 25, 2017 at 06:53:12PM +1000, Fiach Antaw wrote: > The env_nand, env_mmc and env_ubi implementations all implement > redundancy using an identical serial-number scheme. This commit > migrates them to use the implementation in env_common, which is > functionally identical. > >

Re: [U-Boot] tools/fw_env: use fsync to ensure that data is physically stored

2017-07-24 Thread Tom Rini
On Mon, May 20, 2013 at 09:34:42PM +0200, Michael Heimpold wrote: > Closing a file descriptor does not guarantee that the data has been > successfully saved to disk, as the kernel might defer the write. > > Signed-off-by: Michael Heimpold Applied to u-boot/master, thanks! --

Re: [U-Boot] Makefile: add dependencies to regenerate u-boot.cfg when lost

2017-07-24 Thread Tom Rini
On Wed, Jul 05, 2017 at 05:30:40PM +0200, Philipp Tomsich wrote: > When running a 'make clean' or carelessly removing u-boot.cfg, all > future make invocations (until autoconf is regenerated) will print > an error for a missing u-boot.cfg due to missing rules and dependencies. > > This commit

Re: [U-Boot] [U-Boot, 1/2] km/ivm: always set ethaddr after reading IVM

2017-07-24 Thread Tom Rini
On Thu, Jul 13, 2017 at 11:15:40AM +0200, Holger Brunck wrote: > If we rebrand the IVM and ethaddr was set previously we need to change > ethaddr. Otherwise we end up with a wrong MAC adress for the ethernet > interface. > > Cc: Heiko Schocher > Signed-off-by: Holger Brunck

Re: [U-Boot] [U-Boot, v2, 2/6] arm: mach-omap2: Factor out common FDT fixup suport

2017-07-24 Thread Tom Rini
On Mon, Jul 10, 2017 at 02:45:50PM -0500, Andrew F. Davis wrote: > Some of the fixups currently done for OMAP5 class boards are common to > other OMAP family devices, move these to fdt-common.c. > > Signed-off-by: Andrew F. Davis Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, v2, 05/14] powerpc: move set_msr() and get_msr() into .h

2017-07-24 Thread Tom Rini
On Thu, Jul 13, 2017 at 03:09:52PM +0200, Christophe Leroy wrote: > set_msr() and get_msr() are defined and used twice. > This patch moves them into ppc.h > > Signed-off-by: Christophe Leroy Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [U-Boot, 1/5] ubi: Kconfig: Fix MTD_UBI selection dependency

2017-07-24 Thread Tom Rini
On Wed, Jul 12, 2017 at 04:11:43PM +, karl beldan wrote: > From: Karl Beldan > > Remove the ARCH_SUNXI dependency on selection of RBTREE. > > Cc: Boris Brezillon > Cc: Maxime Ripard > Cc:

Re: [U-Boot] arm: omap3: Detect boot mode very early

2017-07-24 Thread Tom Rini
On Fri, Jul 14, 2017 at 08:53:20AM -0500, Adam Ford wrote: > Fixes 4bd754d8abef ("arm: omap: Detect boot mode very early") where > the intent was to store the boot params information in a known > location and pass it to SPL very early. Unfortunately it didn't > account for OMAP3 boards. > > This

Re: [U-Boot] [U-Boot, v2, 6/6] board: ti: am43xx: Add FDT fixup for HS devices

2017-07-24 Thread Tom Rini
On Mon, Jul 10, 2017 at 02:45:54PM -0500, Andrew F. Davis wrote: > Disable RNG and add TEE to FDT used on HS devices. > > Signed-off-by: Andrew F. Davis Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 2/2] [rfc] support booting arm64 android image

2017-07-24 Thread Bin Chen
On 24 July 2017 at 00:41, Tom Rini wrote: > On Sun, Jul 23, 2017 at 11:48:53PM +1000, Bin Chen wrote: > > On 19 July 2017 at 12:53, Tom Rini wrote: > > > > > On Wed, Jul 19, 2017 at 12:44:48PM +1000, Bin Chen wrote: > > > > On 18 July 2017 at 22:32, Tom

Re: [U-Boot] [U-Boot, 4/5] cmd: Kconfig: Make CMD_UBI select CMD_MTDPARTS

2017-07-24 Thread Tom Rini
On Wed, Jul 12, 2017 at 04:11:46PM +, karl beldan wrote: > From: Karl Beldan > > Many configs still define CMD_MTDPARTS in their non-Kconfig but > CMD_MTDPARTS has now moved to Kconfig. > > Signed-off-by: Karl Beldan >

Re: [U-Boot] [PATCH] arm: omap3: Detect boot mode very early

2017-07-24 Thread Siarhei Siamashka
On Fri, 14 Jul 2017 08:53:20 -0500 Adam Ford wrote: > Fixes 4bd754d8abef ("arm: omap: Detect boot mode very early") where > the intent was to store the boot params information in a known > location and pass it to SPL very early. Unfortunately it didn't > account for OMAP3

Re: [U-Boot] 2017.05-RC3 hanging on DM3730

2017-07-24 Thread Adam Ford
My employer is committed to producing product with the DM3730 until mid 2020's. Even if nobody else pushes OMAP3, I am willing to experiment and try code. If someone has something they need me to try. Adam On Jul 24, 2017 10:10 PM, "Siarhei Siamashka" wrote: > On

[U-Boot] [PATCH] rockchip: use UUID for root partitions

2017-07-24 Thread Kever Yang
We use to use /dev/mmcbl0p7 as root partition, and pass it to kernel by cmdline, but the mmc number in kernel in not fixed, we need to change the bootargs to adapt it from time to time. We can use the UUID to fix it, the ID is from:

Re: [U-Boot] [PATCH 2/2] [rfc] support booting arm64 android image

2017-07-24 Thread Bin Chen
On 24 July 2017 at 00:41, Tom Rini wrote: > On Sun, Jul 23, 2017 at 11:48:53PM +1000, Bin Chen wrote: > > On 19 July 2017 at 12:53, Tom Rini wrote: > > > > > On Wed, Jul 19, 2017 at 12:44:48PM +1000, Bin Chen wrote: > > > > On 18 July 2017 at 22:32, Tom

Re: [U-Boot] 2017.05-RC3 hanging on DM3730

2017-07-24 Thread Siarhei Siamashka
On Thu, 4 May 2017 18:38:39 -0500 Adam Ford wrote: > On Thu, May 4, 2017 at 6:08 PM, Tom Rini wrote: > > On Thu, May 04, 2017 at 05:58:47PM -0500, Adam Ford wrote: > >> On Thu, May 4, 2017 at 4:27 PM, Tom Rini wrote: > >> > On

[U-Boot] [PATCH v8 2/6] usb: host: xhci-dwc3: Add dual role mode support from DT

2017-07-24 Thread patrice.chotard
From: Patrice Chotard DWC3 dual role mode is selected using DT "dr_mode" property. If not found, DWC3 controller is configured in HOST mode by default Signed-off-by: Patrice Chotard Reviewed-by: Marek Vasut Reviewed-by: Simon

[U-Boot] [PATCH v8 4/6] drivers: phy: add generic_phy_valid() method

2017-07-24 Thread patrice.chotard
From: Patrice Chotard This allow to check if a PHY has been correctly initialised and avoid to get access to phy struct. Signed-off-by: Patrice Chotard Reviewed-by: Marek Vasut Reviewed-by: Simon Glass --- v8:

[U-Boot] [PATCH v8 6/6] usb: host: xhci-dwc3: Add generic PHY support

2017-07-24 Thread patrice.chotard
From: Patrice Chotard Add support of generic PHY framework support Signed-off-by: Patrice Chotard --- v8: _ fix bisection issue with patch 1 reported by Łukasz Majewski, move struct xhci_dwc3_platdata in this patch to fix it. v7:

[U-Boot] [PATCH v8 0/6] Extend xhci-dwc3

2017-07-24 Thread patrice.chotard
From: Patrice Chotard This series extend xhci-dwc3.c drivers by : _ converting it to DM model, _ adding dual role mode support from DT _ adding new generic_phy_valid() method in PHY framework _ adding support of generic PHY framework v8:

[U-Boot] [PATCH v8 1/6] usb: host: xhci-dwc3: Convert driver to DM

2017-07-24 Thread patrice.chotard
From: Patrice Chotard Add Driver Model support with use of generic DT compatible string "snps,dwc3" Signed-off-by: Patrice Chotard --- v8: _ Add CONFIG_DM_USB flag to fix compilation issue for platforms which uses xhci-dwc3 driver

[U-Boot] [PATCH v8 3/6] drivers: phy: Set phy->dev to NULL when generic_phy_get_by_index() fails

2017-07-24 Thread patrice.chotard
From: Patrice Chotard phy->dev need to be set to NULL in case of generic_phy_get_by_index() fails. Then phy->dev can be used to check if the phy is valid Reported-by: Jean-Jacques Hiblot Signed-off-by: Patrice Chotard

[U-Boot] [PATCH v8 5/6] dm: phy: add PHY stub function

2017-07-24 Thread patrice.chotard
From: Patrice Chotard To avoid compilation breakage on platform that doesn't support DM PHY but uses xhci-dwc3 driver, add PHY stub functions. Cc: Ran Wang Cc: Bin Meng Signed-off-by: Patrice Chotard ---

[U-Boot] [PATCH v3 07/10] rockchip: disable SPL_ARCH_MEMCPY/MEMSET for rk3036

2017-07-24 Thread Andy Yan
RK3036 has no enough sapce use ARCH_MEMCPY/MEMSET in spl stage Signed-off-by: Andy Yan Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: None configs/evb-rk3036_defconfig | 2 ++ configs/kylin-rk3036_defconfig | 2 ++ 2 files

[U-Boot] [PATCH v3 08/10] rockchip: enable SPL_LIBGENERIC for rk3036 based boards

2017-07-24 Thread Andy Yan
function board_init_f_init_reserve will call memset, which is implemented in lib, and enabled by CONFIG_SPL_LIBGENERIC_SUPPORT in spl stage. To reduce the code size, also enable SPL_TINY_MEMSET. As rk3036 will return to bootrom immediately after dram initialization, there is no need to run DM, so

[U-Boot] [PATCH v12 2/8] arm: socfpga: Restructure FPGA driver in the preparation to support A10

2017-07-24 Thread tien . fong . chee
From: Tien Fong Chee Move FPGA driver which is Gen5 specific code into Gen5 driver file and keeping common FPGA driver intact. All the changes are still keeping in driver/fpga/ and no functional change. Subsequent patch would move FPGA manager driver from arch/arm into

[U-Boot] [PATCH v12 3/8] kconfig: Convert FPGA and FPGA_ALTERA configuration to Kconfig

2017-07-24 Thread tien . fong . chee
From: Tien Fong Chee This converts the following to Kconfig: CONFIG_FPGA CONFIG_FPGA_ALTERA Signed-off-by: Tien Fong Chee Reviewed-by: Ley Foon Tan Reviewed-by: Dinh Nguyen ---

[U-Boot] [PATCH v12 1/8] arm: socfpga: Remove unused passing parameter of socfpga_bridges_reset

2017-07-24 Thread tien . fong . chee
From: Tien Fong Chee Remove parameter from socfpga_bridges_reset(), and keeping this function for single purpose which is just triggering reset on bridges. socfpga_reset_deassert_bridges_handoff() can be called for releasing reset on any bridges based on the bridge

[U-Boot] [PATCH v12 6/8] configs: Add FPGA driver config for Arria 10

2017-07-24 Thread tien . fong . chee
From: Tien Fong Chee Add FPGA driver config for Arria 10. Signed-off-by: Tien Fong Chee Reviewed-by: Ley Foon Tan Reviewed-by: Dinh Nguyen --- configs/socfpga_arria10_defconfig | 2 ++ 1 file

[U-Boot] [PATCH v12 4/8] kconfig: Convert FPGA_SOCFPGA configuration to Kconfig

2017-07-24 Thread tien . fong . chee
From: Tien Fong Chee This converts the following to Kconfig: CONFIG_FPGA_SOCFPGA Signed-off-by: Tien Fong Chee Reviewed-by: Ley Foon Tan Reviewed-by: Dinh Nguyen ---

  1   2   >