Re: [U-Boot] [PATCH 2/2] arm64: add better spin-table support

2016-06-24 Thread Masahiro Yamada
Hi York, 2016-06-21 1:30 GMT+09:00 york sun : > On 06/19/2016 03:34 AM, André Przywara wrote: >> Hi, >> >> On 19/06/16 09:57, Masahiro Yamada wrote: >>> 2016-06-18 18:40 GMT+09:00 Linus Walleij : On Fri, Jun 17, 2016 at 2:51 PM, Masahiro Yamada wrote: > There are two enable met

Re: [U-Boot] [PATCH 2/2] arm64: add better spin-table support

2016-06-24 Thread Masahiro Yamada
Hi Andre, 2016-06-19 19:33 GMT+09:00 André Przywara : > Hi, > > On 19/06/16 09:57, Masahiro Yamada wrote: >> 2016-06-18 18:40 GMT+09:00 Linus Walleij : >>> On Fri, Jun 17, 2016 at 2:51 PM, Masahiro Yamada >>> wrote: >>> There are two enable methods supported by ARM64 Linux; psci and sp

Re: [U-Boot] kbuild: avoid race between dtbs and dt/dt.dtb targets

2016-06-24 Thread Tom Rini
On Thu, Jun 23, 2016 at 01:53:46PM +0900, Masahiro Yamada wrote: > If the final targets depend on both "dtbs" and "dts/dt.dtb", > and -j option is given to the command line, multiple threads > descend into the dts/ directory, which causes build error. > > Signed-off-by: Masahiro Yamada > Tested-

Re: [U-Boot] [U-Boot,v1,2/2] board/BuR: rename kwb board to brxre1

2016-06-24 Thread Tom Rini
On Wed, Jun 22, 2016 at 12:36:14PM +0200, Hannes Schmelzer wrote: > Rename B&R kwb board to brxre1 > > Signed-off-by: Hannes Schmelzer > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, v1, 1/2] board/BuR: rename tseries board to brppt1

2016-06-24 Thread Tom Rini
On Wed, Jun 22, 2016 at 12:36:13PM +0200, Hannes Schmelzer wrote: > Rename B&R tseries board to brppt1 > > Signed-off-by: Hannes Schmelzer > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] efi_loader: Fix typo in distro script

2016-06-24 Thread Tom Rini
On Thu, Jun 23, 2016 at 01:15:38AM +0200, Alexander Graf wrote: > The distro script is supposed to use the internal fdt as fallback if we > find no viable other option. However, we're missing a space key to actually > make that work. > > Add the space, so we can successfully load an EFI blob even

Re: [U-Boot] [U-Boot, 2/4] arm: bcm235xx: implement the boot0 hook code

2016-06-24 Thread Tom Rini
On Tue, Jun 21, 2016 at 04:43:05PM -0700, Steve Rae wrote: > Choose the Kconfig boot0 hook option and implement the required code. > > Signed-off-by: Steve Rae Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot,3/4] arm: bcm235xx: fix kps ccu

2016-06-24 Thread Tom Rini
On Tue, Jun 21, 2016 at 04:43:06PM -0700, Steve Rae wrote: > From: Chris Brand > > The Kona Peripheral Slave CCU has 4 policy mask registers, not 8. > > Signed-off-by: Chris Brand > Signed-off-by: Steve Rae Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signa

Re: [U-Boot] [U-Boot,4/4] arm: bcm235xx: update clock framework

2016-06-24 Thread Tom Rini
On Tue, Jun 21, 2016 at 04:43:07PM -0700, Steve Rae wrote: > The handling of the "usage counter" is incorrect, and the clock should > only be disabled when transitioning from 1 to 0. > > Reported-by: Chris Brand > Signed-off-by: Steve Rae Applied to u-boot/master, thanks! -- Tom signature.

Re: [U-Boot] [U-Boot, 1/4] arm: bcm235xx: choose 8-bit phy bus width

2016-06-24 Thread Tom Rini
On Tue, Jun 21, 2016 at 04:43:04PM -0700, Steve Rae wrote: > The Kona PHY supports an 8-bit wide UTMI interface, > therefore, choose this Kconfig setting. > > Signed-off-by: Steve Rae Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] ARM: armv7: refactor Makefile slightly

2016-06-24 Thread Tom Rini
On Tue, Jun 21, 2016 at 09:30:09PM +0900, Masahiro Yamada wrote: > Use Kbuild standard style where possible. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailin

Re: [U-Boot] clk: sandbox: don't check clk ID against 0

2016-06-24 Thread Tom Rini
On Tue, Jun 21, 2016 at 01:32:07PM -0600, Stephen Warren wrote: > From: Stephen Warren > > clk->id is unsigned, so it can't be < 0. Remove the check for that. > > FWIW, this issue was introduced when the clock API converted e.g. > clk_get_rate()'s clock ID parameter from an int to an unsigned l

Re: [U-Boot] [U-Boot, 1/2] Move CONFIG_SYS_HUSH_PARSER to Kconfig for last 4 boards

2016-06-24 Thread Tom Rini
On Tue, Jun 21, 2016 at 02:11:18AM +0900, Masahiro Yamada wrote: > I still see some defines of this config in board headers. Move them > to defconfigs (+ renaming to CONFIG_HUSH_PARSER) to complete this > migration. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] common: Fix support for environment file in EXT4

2016-06-24 Thread Tom Rini
On Tue, Jun 21, 2016 at 05:54:25PM +0200, and...@inversepath.com wrote: > From: Andrej Rosano > > Signed-off-by: Andrej Rosano Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@li

Re: [U-Boot] [U-Boot, v3] mtd: nand: Drop a blank line in nand_wait()

2016-06-24 Thread Tom Rini
On Sun, Jun 19, 2016 at 07:25:25PM -0600, Simon Glass wrote: > From: Andre Renaud > > This empty line should not be there. Remove it. > Signed-off-by: Andre Renaud > Reviewed-by: Andreas Bießmann > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Descript

Re: [U-Boot] [U-Boot, 2/2] hush: complete renaming CONFIG_SYS_HUSH_PARSER to CONFIG_HUSH_PARSER

2016-06-24 Thread Tom Rini
On Tue, Jun 21, 2016 at 02:11:19AM +0900, Masahiro Yamada wrote: > There is no more define of CONFIG_SYS_HUSH_PARSER. Rename some > remaining references and drop the backward compatible Kconfig entry. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, 1/2] ARM: move #ifdef to match the error handling code

2016-06-24 Thread Tom Rini
On Fri, Jun 17, 2016 at 09:51:48PM +0900, Masahiro Yamada wrote: > Match the #ifdef ... #endif and the code, > >ret = do_something(); >if (ret) >return ret; > > This will make it easier to add more #ifdef'ed code. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master

Re: [U-Boot] Use C locale when setting CC_VERSION_STRING and LD_VERSION_STRING.

2016-06-24 Thread Tom Rini
On Sun, Jun 12, 2016 at 06:07:07AM -0700, Vagrant Cascadian wrote: > The output reported may be locale-dependent, which results in > unreproducible builds. > > $ LANG=C ld --version | head -n 1 > GNU ld (GNU Binutils for Debian) 2.26 > > $ LANG=it_CH.UTF-8 ld --version | head -n 1 >

Re: [U-Boot] arm64: optimize smp_kick_all_cpus

2016-06-24 Thread Tom Rini
On Fri, Jun 17, 2016 at 06:32:47PM +0900, Masahiro Yamada wrote: > gic_kick_secondary_cpus can directly return to the caller of > smp_kick_all_cpus. We do not have to use x29 register here. > > Signed-off-by: Masahiro Yamada > Reviewed-by: York Sun Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] lib/lzo: bugfix when input data is not compressed

2016-06-24 Thread Tom Rini
On Fri, Jun 17, 2016 at 10:46:58AM +0200, Joris Lijssens wrote: > When the input data is not compressed at all, > lzo1x_decompress_safe will fail, so call memcpy() > instead. > > Signed-off-by: Joris Lijssens Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signat

Re: [U-Boot] Respect SOURCE_DATE_EPOCH when building FIT images.

2016-06-24 Thread Tom Rini
On Thu, Jun 16, 2016 at 12:28:40PM -0700, Vagrant Cascadian wrote: > Embedding timestamps in FIT images results in unreproducible builds > for targets that generate a fit image, such as dra7xx_evm. > > This patch uses the SOURCE_DATE_EPOCH environment variable, when set, > to use specified value

Re: [U-Boot] [U-Boot, RFC, V2] common: image: minimal android image iminfo support

2016-06-24 Thread Tom Rini
On Fri, Jun 10, 2016 at 07:54:37PM +0200, Michael Trimarchi wrote: > We already support iminfo for other images. The idea > of this patch is start to have a minimal support for > android image format. We still need to print id[] array > > Signed-off-by: Michael Trimarchi > Reviewed-by: Simon Gla

Re: [U-Boot] env: avoid build error for boards without CONFIG_SYS_{CPU, BOARD}

2016-06-24 Thread Tom Rini
On Fri, Jun 17, 2016 at 02:24:07PM +0900, Masahiro Yamada wrote: > If CONFIG_ENV_VARS_UBOOT_CONFIG is enabled (it is by distro), this > code causes build error for boards without CONFIG_SYS_{CPU,_BOARD}. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.a

Re: [U-Boot] [U-Boot, v3] mkimage: fit: spl: Add an optional static offset for external data

2016-06-24 Thread Tom Rini
On Thu, Jun 09, 2016 at 07:38:02PM -0700, Teddy Reed wrote: > When building a FIT with external data (-E), U-Boot proper may require > absolute positioning for executing the external firmware. To acheive this > use the (-p) switch, which will replace the amended 'data-offset' with > 'data-position

Re: [U-Boot] [U-Boot, v2, 1/2] configs: gxbb: Introduce a common config header file

2016-06-24 Thread Tom Rini
On Fri, Jun 10, 2016 at 08:18:22PM +0200, Carlo Caione wrote: > From: Carlo Caione > > Introduce a meson-gxbb-common.h header file and derive the > configuration for Hardkernel Odroid-C2 board from that. > > Reviewed-by: Simon Glass > Signed-off-by: Carlo Caione > Acked-by: Beniamino Galvani

Re: [U-Boot] [U-Boot, v2, 2/2] board: amlogic: Rename folder for Amlogic boards

2016-06-24 Thread Tom Rini
On Fri, Jun 10, 2016 at 08:18:23PM +0200, Carlo Caione wrote: > From: Carlo Caione > > s/hardkernel/amlogic/ to have a single place for all the amlogic-based > boards. > > Reviewed-by: Simon Glass > Signed-off-by: Carlo Caione > Acked-by: Beniamino Galvani Applied to u-boot/master, thanks!

Re: [U-Boot] [U-Boot,1/1] cmd: bootefi: cosmetic

2016-06-24 Thread Tom Rini
On Tue, Jun 07, 2016 at 11:14:31AM -0700, Sergey Kubushyn wrote: > Short help (description) in bootefi command has a trailing "\n" that > breaks the "help" command output (empty line after "bootefi"). > > Nothing important, doesn't affect anything but better be fixed in the > upcoming release. >

Re: [U-Boot] [U-Boot,1/1] omap3: bugfix in timer on rollover

2016-06-24 Thread Tom Rini
On Mon, Jun 06, 2016 at 09:40:11AM +0200, Daniel Gorsulowski wrote: > Signed-off-by: Daniel Gorsulowski Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.

[U-Boot] [PATCH v1 0/6] Convert FSL LayerScape ARMv8 SoCs to use common MMU code

2016-06-24 Thread York Sun
To use common MMU code, non-identical mapping needs to be supported. Minior change in the MMU framework is required to support splitting blocks. With these changes, using common code is straight forward. Attention is needed where the tables are for early boot, secure and non-secure ram situations.

Re: [U-Boot] [Patch v4 3/5] fsl: usb: make errata function common for PPC and ARM

2016-06-24 Thread york sun
On 06/12/2016 09:28 PM, Sriram Dash wrote: > This patch does the following things: > 1. Makes the errata checking code common for PPC and ARM > 2. Moves all these static inline functions into a dedicated C file > > Signed-off-by: Sriram Dash > Signed-off-by: Rajesh Bhagat > --- > > Changes in v4:

[U-Boot] [PATCH v1 5/6] armv8: mmu: Add support of non-identical mapping

2016-06-24 Thread York Sun
Introduce virtual and physical addresses in the mapping table. This change have no impact on existing boards because they all use idential mapping. Signed-off-by: York Sun --- arch/arm/cpu/armv8/cache_v8.c | 37 +-- arch/arm/cpu/armv8/s32v234/cpu.c

[U-Boot] [PATCH v1 1/6] armv8: Move secure_ram variable out of generic global data

2016-06-24 Thread York Sun
Secure_ram variable was put in generic global data. But only ARMv8 uses this variable. Move it to ARM specific data structure. Signed-off-by: York Sun --- README | 3 ++- arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 20 ++-- arch/arm/include/asm/gl

[U-Boot] [PATCH v1 6/6] armv8: layerscape: Convert to use common MMU framework

2016-06-24 Thread York Sun
Drop platform code to create static MMU tables. Use common framework to create MMU tables on the run. Tested on LS2080ARDB with secure and non-secure ram scenarios. Signed-off-by: York Sun Alison Wang , Prabhakar Kushwaha --- arch/arm/cpu/armv8/fsl-layerscape/cpu.c

[U-Boot] [PATCH v1 4/6] armv8: mmu: split block if necessary

2016-06-24 Thread York Sun
When page tables are created, allow later table to be created on previous block entry. Splitting block feature is already working with current code. This patch only rearranges the code order and adds one condition to call split_block(). Signed-off-by: York Sun --- arch/arm/cpu/armv8/cache_v8.c

[U-Boot] [PATCH v1 3/6] armv8: mmu: house cleaning

2016-06-24 Thread York Sun
Make setup_pgtages() and get_tcr() available for platform code to customize MMU tables. Remove unintentional call of create_table(). Signed-off-by: York Sun --- arch/arm/cpu/armv8/cache_v8.c| 13 - arch/arm/include/asm/armv8/mmu.h | 2 ++ 2 files changed, 10 insertions(+), 5 de

[U-Boot] [PATCH v1 2/6] armv8: Add tlb_allocated to arch global data

2016-06-24 Thread York Sun
When secure ram is used, MMU tables have to be put into secure ram. To use common MMU code, gd->arch.tlb_addr will be used to host TLB entry pointer. To save allocated memory for later use, tlb_allocated variable is added to global data structure. Signed-off-by: York Sun --- arch/arm/include/as

Re: [U-Boot] [PATCH] cmd, nand: add an option to disable the verification when writing in raw mode

2016-06-24 Thread Tom Rini
On Wed, Jun 15, 2016 at 10:42:18AM +0200, Boris Brezillon wrote: > Modern NANDs do not guarantee that data written in raw mode will not > contain bitflips just after writing them. This is fine since the number > of bitflips should be rather low and thus fixable by the ECC engine, > but since we ar

Re: [U-Boot] i.MX SPL tools (was Re: [RFC PATCH 00/12] imx: mx6: add virtual mx6memcal board)

2016-06-24 Thread Tom Rini
On Tue, Jun 21, 2016 at 12:48:45PM -0700, Eric Nelson wrote: > On 06/21/2016 11:41 AM, Eric Nelson wrote: > > This patch set makes use of the dynamic DDR calibration routines added in > > commit > > d339f16 to define an alternative to the Freescale DDR stress tester tool. > > > Hi all, > > While

Re: [U-Boot] [PATCH V2 2/2] common: add new boot media kconfig entry

2016-06-24 Thread Tom Rini
On Sun, Jun 19, 2016 at 06:20:52PM +0800, Peng Fan wrote: > Hi Masahiro, > > +Simon > On Fri, Jun 17, 2016 at 07:08:23PM +0900, Masahiro Yamada wrote: > >2016-06-17 18:39 GMT+09:00 Peng Fan : > >> Add CONFIG_{SD|NAND|ONENAND|SPI|QSPI|SATA}_BOOT kconfig entries. > >> > >> SoCs supports loading U-Bo

Re: [U-Boot] [PATCH v2 0/2] Prepare U-Boot for more Amlogic boards

2016-06-24 Thread Tom Rini
On Fri, Jun 24, 2016 at 11:01:03PM +0200, Carlo Caione wrote: > On 10/06/16 20:18, Carlo Caione wrote: > > From: Carlo Caione > > > > Refactor the Odroid-C2 support code to prepare U-Boot for more Amlogic board > > submissions. > > The goal is to reduce the redundancy of the configuration files a

Re: [U-Boot] [PATCH v2 0/2] Prepare U-Boot for more Amlogic boards

2016-06-24 Thread Carlo Caione
On 10/06/16 20:18, Carlo Caione wrote: > From: Carlo Caione > > Refactor the Odroid-C2 support code to prepare U-Boot for more Amlogic board > submissions. > The goal is to reduce the redundancy of the configuration files and unify all > the board support files onto a single amlogic directory. >

Re: [U-Boot] [PATCH v2 4/9] arm: omap-common: secure ROM signature verify API

2016-06-24 Thread Tom Rini
On Fri, Jun 24, 2016 at 10:57:12AM -0500, Andreas Dannenberg wrote: > Adds an API that verifies a signature attached to an image (binary > blob). This API is basically a entry to a secure ROM service provided by > the device and accessed via an SMC call, using a particular calling > convention. >

Re: [U-Boot] [PATCH] README: Device Tree: Add & explain undocumented options.

2016-06-24 Thread Tom Rini
On Sat, Jun 11, 2016 at 02:56:42PM +0200, Ahmed Samir Khalil wrote: > There are no info about these options in the README. > Documenting these options makes getting startup, > configuration & testing easier. > > Signed-off-by: Ahmed Samir Khalil > --- > README | 8 > 1 file changed, 8

Re: [U-Boot] error: sdhci_send_command: Timeout for status update!

2016-06-24 Thread Steve Rae
Hi Stefan, Masahiro On Thu, Jun 23, 2016 at 9:56 PM, Stefan Roese wrote: > Steve, > > > On 24.06.2016 00:06, Steve Rae wrote: >> >> I am asking you about this code, because of this: >>commit 29905a4 - mmc: sdhci: Use timer based timeout detection in >> sdhci_send_command() >> >> Occasionally,

[U-Boot] [PATCH] nitrogen6x : Use generic distro configuration

2016-06-24 Thread Fabien Lahoudere
In order to simplify the use of various images on various media for nitrogen6x, the configuration of the board must follow the generic distro configuration (doc/README.distro). In order to boot your old rootfs, move your kernel and your device tree in /boot/. Then create /boot/extlinux/extlinux.co

[U-Boot] [PATCH v2 7/9] arm: omap5: add U-Boot FIT signing and SPL image post-processing

2016-06-24 Thread Andreas Dannenberg
Modify the SPL build procedure for AM57xx and DRA7xx high-security (HS) device variants to create a secure u-boot_HS.img FIT blob that contains U-Boot and DTB artifacts signed with a TI-specific process based on the CONFIG_TI_SECURE_DEVICE config option and the externally-provided image signing too

[U-Boot] [PATCH v2 4/9] arm: omap-common: secure ROM signature verify API

2016-06-24 Thread Andreas Dannenberg
Adds an API that verifies a signature attached to an image (binary blob). This API is basically a entry to a secure ROM service provided by the device and accessed via an SMC call, using a particular calling convention. Signed-off-by: Daniel Allred Signed-off-by: Andreas Dannenberg --- arch/arm

[U-Boot] [PATCH v2 8/9] arm: am4x: add U-Boot FIT signing and SPL image post-processing

2016-06-24 Thread Andreas Dannenberg
From: Madan Srinivas Modify the SPL build procedure for AM437x high-security (HS) device variants to create a secure u-boot_HS.img FIT blob that contains U-Boot and DTB artifacts signed (and optionally encrypted) with a TI-specific process based on the CONFIG_TI_SECURE_DEVICE config option and th

[U-Boot] [PATCH v2 6/9] spl: fit: add support for post-processing of images

2016-06-24 Thread Andreas Dannenberg
From: Daniel Allred The next stage boot loader image and the selected FDT can be post- processed by board/platform/device-specific code, which can include modifying the size and altering the starting source address before copying these binary blobs to their final destination. This might be desire

[U-Boot] [PATCH v2 3/9] arm: omap-common: add secure rom call API for secure devices

2016-06-24 Thread Andreas Dannenberg
Adds a generic C-callable API for making secure ROM calls on OMAP and OMAP-compatible devices. This API provides the important function of flushing the ROM call arguments to memory from the cache, so that the secure world will have a coherent view of those arguments. Then is simply calls the omap_s

[U-Boot] [PATCH v2 5/9] arm: omap-common: Update to generate secure U-Boot FIT blob

2016-06-24 Thread Andreas Dannenberg
Adds commands so that when a secure device is in use and the SPL is built to load a FIT image (with combined U-Boot binary and various DTBs), these components that get fed into the FIT are all processed to be signed/encrypted/etc. as per the operations performed by the secure-binary-image.sh script

[U-Boot] [PATCH v2 1/9] arm: cache: add missing dummy functions for when dcache disabled

2016-06-24 Thread Andreas Dannenberg
From: Daniel Allred Adds missing flush_dcache_range and invalidate_dcache_range dummy (empty) placeholder functions to the #else portion of the #ifndef CONFIG_SYS_DCACHE_OFF, where full implementations of these functions are defined. Signed-off-by: Daniel Allred Signed-off-by: Andreas Dannenber

[U-Boot] [PATCH v2 2/9] arm: omap-common: add secure smc entry

2016-06-24 Thread Andreas Dannenberg
From: Daniel Allred Add an interface for calling secure ROM APIs across a range of OMAP and OMAP compatible high-security (HS) device variants. While at it, also perform minor cleanup/alignment without any change in functionality. Signed-off-by: Daniel Allred Signed-off-by: Andreas Dannenberg

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

2016-06-24 Thread Andreas Dannenberg
Adds information regarding SPL handling the loading and processing of secured u-boot images as part of the second stage boot the SPL does. Introduces the description of a new interface script in the TI SECDEV Package which handles the creation and prep of secured binary images. Signed-off-by: Dani

[U-Boot] [PATCH v2 0/9] Secure Boot by Authenticating/Decrypting SPL FIT blobs

2016-06-24 Thread Andreas Dannenberg
This is an updated version of a patch series that introduces a generic way to optionally post-process blobs as they get extracted by the SPL from the u-boot.img FIT image, and uses this scheme to perform some authentication/ decryption related processing on TI's high-secure (HS) SoC variants. For a

Re: [U-Boot] [PATCH V2 1/3] mmc: fsl: reset to normal boot mode when eMMC fast boot

2016-06-24 Thread york sun
On 06/24/2016 02:39 AM, Peng Fan wrote: > Hi York, Stefano > > Any comments on this patch set? Would you kindly pick up this patch set? Technically Panto is the maintainer of MMC. Since this set is dealing with FSL mmc controller, I will pick it up if Panto doesn't mind. York > > Thanks, > Pen

Re: [U-Boot] [PATCH v5 0/8] ARMv7: PSCI: add PSCI v1.0 support

2016-06-24 Thread york sun
On 06/15/2016 12:16 AM, Chen-Yu Tsai wrote: > Hi, > > On Tue, Jun 14, 2016 at 3:01 PM, wrote: >> From: Hongbo Zhang >> >> v5 changes: >> - Give up fixing the potential bug of PSCI stack overlap with secure text end >> when there is more CPUs in system. Because I just want to keep this series as

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

2016-06-24 Thread Tom Rini
On Fri, Jun 24, 2016 at 09:45:38AM +0200, Guillaume Gardet wrote: > > > Le 23/06/2016 21:08, Tom Rini a écrit : > >On Thu, Jun 23, 2016 at 11:10:26AM +0200, Guillaume GARDET wrote: > > > >>This patch enables NFSv3 support. > >>If NFSv2 is available use it as usual. > >>If NFSv2 is not available,

[U-Boot] Message handling problem in dwc2_otg driver

2016-06-24 Thread Gyorgy Kovesdi
Hi, I am using u-boot revision d141e218f3195e305c1521a0d67c81b7cb504b71 (dec 28 2015). The platform is socfpga cyclone-V. I connected some different USB devices to my USB port, and some of them have problems. Especially, if i connect another linux box with CDC mass storage or ethernet emulation,

[U-Boot] [PATCH 2/3] tools: patman: Handle missing 'END' for 'Cover-letter'

2016-06-24 Thread Bin Meng
If 'END' is missing in a 'Cover-letter' section, and that section happens to show up at the very end of the commit message, patman fails to generate cover letter for us. Handle this in CloseCommit of patchstream. Signed-off-by: Bin Meng --- tools/patman/patchstream.py | 5 + 1 file changed,

[U-Boot] [PATCH 1/3] tools: patman: Handle tag sections without an 'END'

2016-06-24 Thread Bin Meng
'Cover-letter', 'Series-notes' and 'Commit-notes' tags require an 'END' to be put at the end of its section. When 'END' is missing, patman generates incorrect patches. This adds codes to handle such scenario. Signed-off-by: Bin Meng --- tools/patman/patchstream.py | 19 +++ 1 fi

[U-Boot] [PATCH 3/3] tools: patman: Handle missing blank line for 'Series-changes'

2016-06-24 Thread Bin Meng
'Series-changes' uses blank line to indicate its end. If that is missing, series internal state variable 'in_change' may be wrong. Correct its state. Signed-off-by: Bin Meng --- tools/patman/patchstream.py | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/patman/

[U-Boot] [PATCH] pci: tegra: actually program REFCLK_CFG* on recent SoCs

2016-06-24 Thread Stephen Warren
From: Stephen Warren On recent SoCs, tegra_pcie_phy_enable() isn't called; but instead tegra_pcie_enable_controller() calls tegra_xusb_phy_enable(). However, part of tegra_pcie_phy_enable() needs to happen in all cases. Move that code to tegra_pcie_port_enable() instead. For reference, NVIDIA's

[U-Boot] [PATCH v3 09/12] libfdt: Add fdt_getprop_namelen_w

2016-06-24 Thread Maxime Ripard
Add a function to retrieve a writeable property only by the first characters of its name. Signed-off-by: Maxime Ripard --- include/libfdt.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/libfdt.h b/include/libfdt.h index dbe8a0efca87..b8758de3ae54 100644 --- a/include/libfdt.

[U-Boot] [PATCH v3 12/12] tests: Introduce DT overlay tests

2016-06-24 Thread Maxime Ripard
This adds a bunch of unit tests for the "fdt apply" command. They've all been run successfully in the sandbox. However, as you still require an out-of-tree dtc with overlay support, this is disabled by default. Acked-by: Simon Glass Acked-by: Pantelis Antoniou Signed-off-by: Maxime Ripard ---

[U-Boot] [PATCH v3 08/12] libfdt: Add fdt_path_offset_namelen

2016-06-24 Thread Maxime Ripard
Add a namelen variant of fdt_path_offset to retrieve the node offset using only a fixed number of characters. Signed-off-by: Maxime Ripard --- include/libfdt.h| 16 +++- lib/libfdt/fdt_ro.c | 18 ++ 2 files changed, 25 insertions(+), 9 deletions(-) diff --git a/i

[U-Boot] [PATCH v3 11/12] cmd: fdt: add fdt overlay application subcommand

2016-06-24 Thread Maxime Ripard
The device tree overlays are a good way to deal with user-modifyable boards or boards with some kind of an expansion mechanism where we can easily plug new board in (like the BBB or the raspberry pi). However, so far, the usual mechanism to deal with it was to have in Linux some driver detecting t

[U-Boot] [PATCH v3 06/12] libfdt: Add max phandle retrieval function

2016-06-24 Thread Maxime Ripard
Add a function to retrieve the highest phandle in a given device tree. Signed-off-by: Maxime Ripard Reviewed-by: Stefan Agner --- include/libfdt.h| 13 + lib/libfdt/fdt_ro.c | 26 ++ 2 files changed, 39 insertions(+) diff --git a/include/libfdt.h b/inclu

[U-Boot] [PATCH v3 10/12] libfdt: Add overlay application function

2016-06-24 Thread Maxime Ripard
The device tree overlays are a good way to deal with user-modifyable boards or boards with some kind of an expansion mechanism where we can easily plug new board in (like the BBB, the Raspberry Pi or the CHIP). Add a new function to merge overlays with a base device tree. Signed-off-by: Maxime Ri

[U-Boot] [PATCH v3 07/12] libfdt: Add fdt_setprop_inplace_by_index

2016-06-24 Thread Maxime Ripard
Add a function to modify inplace a property starting from a given index. This is especially useful when the property is an array of values, and you want to update one of them without changing the DT size. Signed-off-by: Maxime Ripard --- include/libfdt.h | 34 +++

[U-Boot] [PATCH v3 02/12] scripts: Makefile.lib: Sanitize DTB names

2016-06-24 Thread Maxime Ripard
Having dashes as a separator in the DTB name is a quite common practice. However, the current code to generate objects from DTBs assumes the separator is an underscore, leading to a compilation error when building a device tree with dashes. Replace all the dashes in the DTB name to generate the s

[U-Boot] [PATCH v3 05/12] libfdt: Add iterator over properties

2016-06-24 Thread Maxime Ripard
Implement a macro based on fdt_first_property_offset and fdt_next_property_offset that provides a convenience to iterate over all the properties of a given node. Signed-off-by: Maxime Ripard --- include/libfdt.h | 24 1 file changed, 24 insertions(+) diff --git a/includ

[U-Boot] [PATCH v3 00/12] cmd: fdt: Add device tree overlays support

2016-06-24 Thread Maxime Ripard
Hi, The device tree overlays are a great solution to the issue raised by the bunch expandable boards we find everywhere these days, like the Beaglebone, Raspberry Pi or CHIP. However, most of the time, the overlays are applied through a mechanism involving the firmware request interface in Linux,

[U-Boot] [PATCH v3 01/12] cmd: fdt: Narrow the check for fdt addr

2016-06-24 Thread Maxime Ripard
The current code only checks if the fdt subcommand is fdt addr by checking whether it starts with 'a'. Since this is a pretty widely used letter, narrow down that check a bit. Acked-by: Simon Glass Acked-by: Pantelis Antoniou Signed-off-by: Maxime Ripard --- cmd/fdt.c | 2 +- 1 file changed,

[U-Boot] [PATCH v3 04/12] libfdt: Add new headers and defines

2016-06-24 Thread Maxime Ripard
The libfdt overlay support introduces a bunch of new includes and functions. Make sure we are able to build it by adding the needed glue. Signed-off-by: Maxime Ripard --- include/libfdt_env.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/libfdt_env.h b/include/libfdt_env.h i

[U-Boot] [PATCH v3 03/12] vsprintf: Include stdarg for va_list

2016-06-24 Thread Maxime Ripard
vsprintf.h doesn't include the stdarg.h file, which means that it relies on the files that include vsprintf.h to include stdarg.h as well. Add an explicit include to avoid build errors when simply including that file. Acked-by: Simon Glass Acked-by: Pantelis Antoniou Signed-off-by: Maxime Ripar

Re: [U-Boot] error: sdhci_send_command: Timeout for status update!

2016-06-24 Thread Masahiro Yamada
2016-06-24 7:06 GMT+09:00 Steve Rae : > Stefan, > > I am asking you about this code, because of this: > commit 29905a4 - mmc: sdhci: Use timer based timeout detection in > sdhci_send_command() > > Occasionally, I am seeing failures when writing to flash on my device: > > Flashing sparse image a

[U-Boot] [PATCH] sunxi: Add defconfig and DTS file for Allwinner R16 EVB (Parrot)

2016-06-24 Thread Quentin Schulz
The Parrot Board is an evaluation board with an Allwinner R16 (assumed to be close to an Allwinner A33), 4GB of eMMC, 512MB of RAM, USB host and OTG, a WiFi/Bluetooth combo chip, a micro SD Card reader, 2 controllable buttons, an LVDS port with separated backlight and capacitive touch panel ports,

[U-Boot] U-Boot SPL/Falcon mode Support on Minnowboard Max

2016-06-24 Thread vinoth eswaran
Hello, I have gone through the document in U-boot Readme.falcon in which it explains we can skip loading the u-boot and load the Linux kernel directly. This will save time for systems that looks to optimize the start up time. In the document its mentioned that the "spl_start_uboot()" - as the req

Re: [U-Boot] uImage load address and entry point with Minnowboard

2016-06-24 Thread Robert P. J. Day
On Fri, 24 Jun 2016, Wolfgang Denk wrote: > Dear Vinoth, > > In message > you > wrote: > > > > I am using the following command to create uImage. Here in the architecture > > argument I am not seeing any option corresponding to the Intel-x86_64. So I > > had used x86, which I am not sure is val

Re: [U-Boot] uImage load address and entry point with Minnowboard

2016-06-24 Thread Wolfgang Denk
Dear Vinoth, In message you wrote: > > I am using the following command to create uImage. Here in the architecture > argument I am not seeing any option corresponding to the Intel-x86_64. So I > had used x86, which I am not sure is valid or not. The kernel is 64 bit. > > mkimage -A x86 -O linu

Re: [U-Boot] uImage load address and entry point with Minnowboard

2016-06-24 Thread vinoth eswaran
Dear Mr.Wolfgang Denk, Your reply had helped me a lot in figuring out the solution, but I run into another issue. I had identified the kernel file where load address is defined: kexec-bzimage64.c:#define MIN_KERNEL_LOAD_ADDR0x10 I am using the following command to create uImage. Here in

Re: [U-Boot] [PATCH V2 1/3] mmc: fsl: reset to normal boot mode when eMMC fast boot

2016-06-24 Thread Peng Fan
Hi York, Stefano Any comments on this patch set? Would you kindly pick up this patch set? Thanks, Peng. On Wed, Jun 15, 2016 at 10:53:00AM +0800, Peng Fan wrote: >When booting in eMMC fast boot, MMC host does not exit from >boot mode after bootrom loading image. So the first command >'CMD0' sent

Re: [U-Boot] [RFC PATCH v1 6/6] dfu: spl: am335x: SPL-DFU support for am335x

2016-06-24 Thread B, Ravi
Hi Lukasz >> >> config SPL_DFU >> bool "Enable SPL with DFU to load binaries to bootdevices using USB" >> -depends on USB && CMD_DFU && TARGET_DRA7XX_EVM >> +depends on USB && CMD_DFU && (TARGET_DRA7XX_EVM || >Here also please remove not needed dependencies (CMD_DFU). Ok. Will re

Re: [U-Boot] [RFC PATCH v1 4/6] dra7x: spl: dfu: adding SPL-DFU support for dra7x platform

2016-06-24 Thread B, Ravi
Hi Lukasz >> #include >> #include >> #include >> +#include >> >> #include "mux_data.h" >> #include "../common/board_detect.h" >> @@ -706,6 +707,22 @@ int spl_start_uboot(void) } #endif >> >> +#ifdef CONFIG_SPL_DFU >> +int spl_run_dfu(void) >We can replace int with bool here. Ok, m

Re: [U-Boot] [RFC PATCH v1 5/6] dfu: spl: dra7x: enable SPL-dfu support for dra7x platform

2016-06-24 Thread B, Ravi
Hi Lukasz >> /* USB Device Firmware Update support */ #define >> CONFIG_USB_FUNCTION_DFU #define CONFIG_DFU_RAM >> - >> -#define CONFIG_DFU_MMC >> -#define CONFIG_DFU_RAM >Please correct me if I am wrong, but from this patch it seems like you disable >MMC and RAM DFU support in the fully-fle

Re: [U-Boot] [RFC PATCH v1 6/6] dfu: spl: am335x: SPL-DFU support for am335x

2016-06-24 Thread Lukasz Majewski
Hi Ravi, > enable the SPL-DFU support for am335x platform. > > Signed-off-by: Ravi Babu > --- > Kconfig |2 +- > board/ti/am335x/board.c | 15 +++ > common/spl/spl_dfu.c |1 + > include/configs/am335x_evm.h | 17 - > 4 fi

Re: [U-Boot] [RFC PATCH v1 5/6] dfu: spl: dra7x: enable SPL-dfu support for dra7x platform

2016-06-24 Thread Lukasz Majewski
Hi Ravi, > Enable the SPL-DFU support for dra7x platform. > > Signed-off-by: Ravi Babu > --- > include/configs/dra7xx_evm.h |8 > include/configs/ti_omap5_common.h |2 -- > 2 files changed, 4 insertions(+), 6 deletions(-) > > diff --git a/include/configs/dra7xx_evm.h > b/

Re: [U-Boot] [RFC PATCH v1 4/6] dra7x: spl: dfu: adding SPL-DFU support for dra7x platform

2016-06-24 Thread Lukasz Majewski
Hi Ravi, > Adding SPL-DFU support for dra7x platform. The DFU > support for dra7x includes QSPI, MMC/SD and eMMC > memory devices. The SPL-DFU memory devices can be > selected through meunconfig->Boot Images. > --- > board/ti/dra7xx/evm.c | 17 + > 1 file changed, 17 insertions(

Re: [U-Boot] [RFC PATCH v1 2/6] spl: dfu: adding dfu support functions for SPL-DFU

2016-06-24 Thread B, Ravi
> > diff --git a/include/spl.h b/include/spl.h index af02a6d..8849678 > > 100644 > > --- a/include/spl.h > > +++ b/include/spl.h > > @@ -139,4 +139,14 @@ void spl_board_init(void); > > */ > > bool spl_was_boot_source(void); > > > > +/* spl dfu functions */ > > +/* spl_dfu_mmc - run dfu comman

Re: [U-Boot] [RFC PATCH v1 3/6] dfu: spl: add generic spl-dfu function in common-spl

2016-06-24 Thread Lukasz Majewski
Hi Ravi, > Add generic spl-dfu function in common-spl, specific > implemention for configuring dfu memory device is > done in platform board specific source file. > > Signed-off-by: Ravi Babu > --- > common/spl/spl.c |9 + > include/spl.h|1 + > 2 files changed, 10 insertion

Re: [U-Boot] [RFC PATCH v1 2/6] spl: dfu: adding dfu support functions for SPL-DFU

2016-06-24 Thread Lukasz Majewski
Hi Ravi, > Adding support functions to run dfu commands > > Signed-off-by: Ravi Babu > --- > common/spl/Makefile |1 + > common/spl/spl_dfu.c | 153 > ++ > include/spl.h| 10 3 files changed, 164 insertions(+) > create mode 100

Re: [U-Boot] [RFC PATCH v1 1/6] spl: dfu: add dfu support in SPL

2016-06-24 Thread B, Ravi
Hi Lukasz > > Traditionally the DFU support is available only as part 2nd stage boot > > loader(u-boot) and DFU is not supported in SPL. > > > > The SPL-DFU feature is useful for boards which has only USB inteface > > and do not have external interface like ethernet or MMC/SD to boot the > > b

Re: [U-Boot] [RFC PATCH v1 1/6] spl: dfu: add dfu support in SPL

2016-06-24 Thread Lukasz Majewski
Hi Ravi, > Traditionally the DFU support is available only > as part 2nd stage boot loader(u-boot) and DFU > is not supported in SPL. > > The SPL-DFU feature is useful for boards which has > only USB inteface and do not have external interface > like ethernet or MMC/SD to boot the board. > > Thi

[U-Boot] [PATCH][v3] armv8: fsl-layerscape: Append "A" in SoC name for ARM based SoCs

2016-06-24 Thread Prabhakar Kushwaha
Freescale ARMv8 SoC name ends with "A" to represent ARM SoCs. like LS2080A, LS1043A, LS1012A. So append "A" at the last of SoCs. Signed-off-by: Pratiyush Mohan Srivastava Signed-off-by: Prabhakar Kushwaha --- Changes for v2: Updated the description Changes for v3: Apped "A" uniformly across the

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

2016-06-24 Thread Guillaume Gardet
Le 23/06/2016 21:08, Tom Rini a écrit : On Thu, Jun 23, 2016 at 11:10:26AM +0200, Guillaume GARDET wrote: This patch enables NFSv3 support. If NFSv2 is available use it as usual. If NFSv2 is not available, but NFSv3 is available, use NFSv3. If NFSv2 and NFSv3 are not available, print an error