Re: [U-Boot] [v3] armv8: ls1012a: enable/disable eSDHC1 through hwconfig for new RDB

2017-12-07 Thread Y.b. Lu
Sent out v4 patch-set. Please help to review. Thanks a lot :) > -Original Message- > From: York Sun > Sent: 2017年12月8日 1:34 > To: Y.b. Lu ; u-boot@lists.denx.de > Subject: Re: [v3] armv8: ls1012a: enable/disable eSDHC1 through hwconfig for > new RDB > > On 12/07/2017

[U-Boot] [v4 3/3] armv8: ls1012ardb: support hwconfig for eSDHC1 enabling

2017-12-07 Thread Yangbo Lu
I2C reading for DIP switch setting is not reliable for LS1012ARDB RevD and later versions. This patch is to add hwconfig support to enable/disable eSDHC1 manually for these boards. Also drop 'status' fix-up for eSDHC0 and leave it as it is. It shouldn't always be fixed up with 'okay'.

[U-Boot] [v4 2/3] armv8: ls1012ardb: add more board version information

2017-12-07 Thread Yangbo Lu
Add LS1012ARDB RevC/RevC1/RevC2/RevD/RevE information and detect it when u-boot starts up. Signed-off-by: Yangbo Lu --- Changes for v4: - Added this patch. --- board/freescale/ls1012ardb/ls1012ardb.c | 26 +++--- include/configs/ls1012ardb.h

[U-Boot] [v4 1/3] armv8: ls1012ardb: clean up definitions for I2C IO expanders

2017-12-07 Thread Yangbo Lu
This patch is to clean up definitions for I2C IO expanders. The value 0x10 of __SW_BOOT_EMU is wrong. It should be 0x2. Fixed it in this patch. Signed-off-by: Yangbo Lu --- Changes for v4: - Added this patch. --- board/freescale/ls1012ardb/ls1012ardb.c | 14

Re: [U-Boot] [PATCH] sunxi: Add the TBS A711 tablet

2017-12-07 Thread Maxime Ripard
Hi, On Thu, Dec 07, 2017 at 10:29:05PM +0530, Jagan Teki wrote: > > +/dts-v1/; > > +#include "sun8i-a83t.dtsi" > > + > > +/ { > > + model = "TBS A711 Tablet"; > > + compatible = "tbs-biometrics,a711", "allwinner,sun8i-a83t"; > > + > > + aliases { > > + serial0 = >

Re: [U-Boot] [PATCH] cmd: fastboot: Kconfig: solve config issue

2017-12-07 Thread Maxime Ripard
On Thu, Dec 07, 2017 at 06:26:17PM +0100, Patrick Delaunay wrote: > When FASTBOOT is activated, only one the supported device is supported in > code at the same time > - CONFIG_FASTBOOT_FLASH_MMC_DEV > - CONFIG_FASTBOOT_FLASH_NAND_DEV > > But Today the choice is not exclusive in Kconfig > and

Re: [U-Boot] [PATCH] efi_loader: Fix partition offsets

2017-12-07 Thread Jonathan Gray
On Fri, Dec 08, 2017 at 08:09:46AM +0100, Heinrich Schuchardt wrote: > On 12/07/2017 08:00 AM, Jonathan Gray wrote: > > On Fri, Dec 01, 2017 at 04:10:33PM +0100, Alexander Graf wrote: > > > Commit 884bcf6f65 (efi_loader: use proper device-paths for partitions) > > > tried > > > to introduce the

Re: [U-Boot] [PATCH] efi_loader: Fix partition offsets

2017-12-07 Thread Heinrich Schuchardt
On 12/07/2017 08:00 AM, Jonathan Gray wrote: On Fri, Dec 01, 2017 at 04:10:33PM +0100, Alexander Graf wrote: Commit 884bcf6f65 (efi_loader: use proper device-paths for partitions) tried to introduce the el torito scheme to all partition table types: Spawn individual disk objects for each

Re: [U-Boot] [PATCH] efi_loader: Fix partition offsets

2017-12-07 Thread Heinrich Schuchardt
On 12/08/2017 06:55 AM, Alexander Graf wrote: On 07.12.17 12:45, Jonathan Gray wrote: On Thu, Dec 07, 2017 at 11:57:43AM +0100, Heinrich Schuchardt wrote: On 12/07/2017 08:00 AM, Jonathan Gray wrote: On Fri, Dec 01, 2017 at 04:10:33PM +0100, Alexander Graf wrote: Commit 884bcf6f65

Re: [U-Boot] [RFC PATCH 03/13] arm: move SYS_ARCH_TIMER to KConfig

2017-12-07 Thread Tuomas Tynkkynen
Hi Andre, On 11/30/2017 03:25 AM, Andre Przywara wrote: SYS_ARCH_TIMER guards the usage of the ARM Generic Timer (aka arch timer) in U-Boot. At the moment it is mandatory for ARMv8 and used by two ARMv7 boards. Add a proper Kconfig symbol to express this dependency properly, allowing certain

Re: [U-Boot] [PATCH] efi_loader: Fix partition offsets

2017-12-07 Thread Jonathan Gray
On Fri, Dec 08, 2017 at 06:55:02AM +0100, Alexander Graf wrote: > > > On 07.12.17 12:45, Jonathan Gray wrote: > > On Thu, Dec 07, 2017 at 11:57:43AM +0100, Heinrich Schuchardt wrote: > >> On 12/07/2017 08:00 AM, Jonathan Gray wrote: > >>> On Fri, Dec 01, 2017 at 04:10:33PM +0100, Alexander Graf

Re: [U-Boot] [PATCH] efi_loader: Fix partition offsets

2017-12-07 Thread Alexander Graf
On 07.12.17 12:45, Jonathan Gray wrote: > On Thu, Dec 07, 2017 at 11:57:43AM +0100, Heinrich Schuchardt wrote: >> On 12/07/2017 08:00 AM, Jonathan Gray wrote: >>> On Fri, Dec 01, 2017 at 04:10:33PM +0100, Alexander Graf wrote: Commit 884bcf6f65 (efi_loader: use proper device-paths for

[U-Boot] [PATCH] armv8: ls1088 : MC alignment should always be fixed to 512MB

2017-12-07 Thread Ashish Kumar
Signed-off-by: Ashish Kumar --- arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig index 47145a2..3716e9c 100644 ---

Re: [U-Boot] [PATCH 0/3][v3] Update MAC address in "ethernet" node of Linux device tree

2017-12-07 Thread Prabhakar Kushwaha
Hi Simon, > -Original Message- > From: York Sun > Sent: Thursday, November 30, 2017 1:03 AM > To: Simon Glass > Cc: Prabhakar Kushwaha ; u- > b...@lists.denx.de > Subject: Re: [PATCH 0/3][v3] Update MAC address in "ethernet" node of Linux >

Re: [U-Boot] [PATCH v5 07/20] common: Generic firmware loader for file system

2017-12-07 Thread Chee, Tien Fong
On Kha, 2017-12-07 at 10:00 +0100, Lothar Waßmann wrote: > Hi, > > On Thu, 7 Dec 2017 08:10:06 + Chee, Tien Fong wrote: > > > > On Kha, 2017-12-07 at 08:49 +0100, Lothar Waßmann wrote: > > > > > > Hi, > > > > > > On Thu, 7 Dec 2017 05:29:24 + Chee, Tien Fong wrote: > > > > > > > > >

Re: [U-Boot] [PATCH] sunxi: Add support for Libre Computer Board ALL-H3-CC H3 ver.

2017-12-07 Thread Jagan Teki
On Fri, Dec 8, 2017 at 7:59 AM, Chen-Yu Tsai wrote: > On Fri, Dec 8, 2017 at 1:01 AM, Jagan Teki wrote: >> On Thu, Dec 7, 2017 at 6:30 PM, Chen-Yu Tsai wrote: >>> The Libre Computer Board ALL-H3-CC from Libre Technology is a Raspberry >>>

Re: [U-Boot] Please pull u-boot-fsl-qoriq master

2017-12-07 Thread Tom Rini
On Thu, Dec 07, 2017 at 10:43:15PM +, York Sun wrote: > Tom, > > The following changes since commit 9da7fb4a39149c3061cb148bfbaa76b4b52b9008: > > Prepare v2018.01-rc1 (2017-12-04 18:27:17 -0500) > > are available in the git repository at: > > git://git.denx.de/u-boot-fsl-qoriq.git >

Re: [U-Boot] [PATCH] sunxi: Add support for Libre Computer Board ALL-H3-CC H3 ver.

2017-12-07 Thread Chen-Yu Tsai
On Fri, Dec 8, 2017 at 1:01 AM, Jagan Teki wrote: > On Thu, Dec 7, 2017 at 6:30 PM, Chen-Yu Tsai wrote: >> The Libre Computer Board ALL-H3-CC from Libre Technology is a Raspberry >> Pi B+ form factor single board computer based on the Allwinner H3 SoC. >>

Re: [U-Boot] Updating ZFS for U-boot

2017-12-07 Thread Jorgen Lundman
> for ( > uclass_first_device(UCLASS_BLK, ); > dev; > uclass_next_device() > ) { > struct blk_desc *desc = dev_get_uclass_platdata(dev); > if (part_get_info_whole_disk(desc, ) == 0) { > But to my surprise,

Re: [U-Boot] [PATCH] MAINTAINERS: git-mailrc: Update the maintainer for rmobile

2017-12-07 Thread Nobuhiro Iwamatsu
Hi, 2017-12-01 18:07 GMT+09:00 Marek Vasut : > On 12/01/2017 06:02 AM, Nobuhiro Iwamatsu wrote: >> Adding Marek Vasut to MAINTAINERS and git-mailrc for the Renesas ARM rmobile >> architecture. >> >> Signed-off-by: Nobuhiro Iwamatsu > > This mailrc

Re: [U-Boot] [PATCH v1 1/2] drivers/misc: Share qbman init between archs

2017-12-07 Thread York Sun
On 12/07/2017 02:53 PM, Ahmed Mansour wrote: > This patch adds changes necessary to move functionality present in > PowerPC folders with ARM architectures that have DPAA1 QBMan hardware > > - Created new board/freescale/common/portals.c to house shared device > tree fixups for DPAA1 devices

Re: [U-Boot] [U-Boot, v4, 12/15] log: Plumb logging into the init sequence

2017-12-07 Thread Tom Rini
On Mon, Dec 04, 2017 at 01:48:28PM -0700, Simon Glass wrote: > Set up logging both before and after relocation. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot,v4,09/15] log: Add a console driver

2017-12-07 Thread Tom Rini
On Mon, Dec 04, 2017 at 01:48:25PM -0700, Simon Glass wrote: > It is useful to display log messages on the console. Add a simple driver > to handle this. > > Note that this driver outputs to the console, which may be serial or > video. It does not specifically select serial output. > >

Re: [U-Boot] [U-Boot, v4, 08/15] log: Add an implementation of logging

2017-12-07 Thread Tom Rini
On Mon, Dec 04, 2017 at 01:48:24PM -0700, Simon Glass wrote: > Add the logging header file and implementation with some configuration > options to control it. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot,v4,13/15] log: sandbox: Enable logging

2017-12-07 Thread Tom Rini
On Mon, Dec 04, 2017 at 01:48:29PM -0700, Simon Glass wrote: > Enable all logging features on sandbox so that the tests can be run. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot,v4,06/15] usb: Correct use of debug()

2017-12-07 Thread Tom Rini
On Mon, Dec 04, 2017 at 01:48:22PM -0700, Simon Glass wrote: > With clang this gives a warning because hubsts appears to be used before > it is set, even if ultimately it is not used. Simplify the code to avoid > this problem. > > Signed-off-by: Simon Glass Applied to

Re: [U-Boot] [U-Boot, v4, 02/15] sandbox: Adjust pre-console address to avoid conflict

2017-12-07 Thread Tom Rini
On Mon, Dec 04, 2017 at 01:48:18PM -0700, Simon Glass wrote: > We cannot use sandbox memory at 0 since other things use memory at that > address. Move it up out of the way. > > Note that the pre-console buffer is currently disabled with sandbox, but > this change will avoid confusion if it is

Re: [U-Boot] [U-Boot,v4,05/15] mtdparts: Correct use of debug()

2017-12-07 Thread Tom Rini
On Mon, Dec 04, 2017 at 01:48:21PM -0700, Simon Glass wrote: > The debug() macro now evaluates its expression so does not need #ifdef > protection. In fact the current code causes a warning with the new log > implementation. Adjust the code to fix this. > > Signed-off-by: Simon Glass

Re: [U-Boot] [U-Boot,v4,11/15] log: Add a test command

2017-12-07 Thread Tom Rini
On Mon, Dec 04, 2017 at 01:48:27PM -0700, Simon Glass wrote: > Add a command which exercises the logging system. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot,v4,14/15] log: test: Add a pytest for logging

2017-12-07 Thread Tom Rini
On Mon, Dec 04, 2017 at 01:48:30PM -0700, Simon Glass wrote: > Add a test which tries out various filters and options to make sure that > logging works as expected. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [U-Boot] [U-Boot, v4, 04/15] Move debug and logging support to a separate header

2017-12-07 Thread Tom Rini
On Mon, Dec 04, 2017 at 01:48:20PM -0700, Simon Glass wrote: > Before adding new features, move these definitions to a separate header > to avoid further cluttering common.h. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng Applied to

Re: [U-Boot] [U-Boot, v4, 01/15] Revert "sandbox: remove os_putc() and os_puts()"

2017-12-07 Thread Tom Rini
On Mon, Dec 04, 2017 at 01:48:17PM -0700, Simon Glass wrote: > While sandbox works OK without the special-case code, it does result in > console output being stored in the pre-console buffer while sandbox starts > up. If there is a crash or a problem then there is no indication of what > is going

Re: [U-Boot] [U-Boot,v4,15/15] log: Add documentation

2017-12-07 Thread Tom Rini
On Mon, Dec 04, 2017 at 01:48:31PM -0700, Simon Glass wrote: > Add documentation for the log system. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v4, 03/15] Revert "sandbox: Drop special case console code for sandbox"

2017-12-07 Thread Tom Rini
On Mon, Dec 04, 2017 at 01:48:19PM -0700, Simon Glass wrote: > While sandbox works OK without the special-case code, it does result in > console output being stored in the pre-console buffer while sandbox starts > up. If there is a crash or a problem then there is no indication of what > is going

Re: [U-Boot] [U-Boot,v4,10/15] log: Add a 'log level' command

2017-12-07 Thread Tom Rini
On Mon, Dec 04, 2017 at 01:48:26PM -0700, Simon Glass wrote: > Add a command for adjusting the log level. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

[U-Boot] [PATCH v1 2/2] Move SYS_DPAA_QBMAN to Kconfig

2017-12-07 Thread Ahmed Mansour
The CONFIG_SYS_DPAA_QBMAN define is used by DPAA1 freescale SOCs to add device tree fixups that allow deep sleep in Linux. The define was placed in header files included by a number of boards, but was not explicitly documented in any of the Kconfigs. A description was added to the

Re: [U-Boot] [U-Boot,v4,07/15] Drop the log buffer

2017-12-07 Thread Tom Rini
On Mon, Dec 04, 2017 at 01:48:23PM -0700, Simon Glass wrote: > This does not appear to be used by any boards. Before introducing a new > log system, remove this old one. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng Applied to u-boot/master,

Re: [U-Boot] armv8: fix gd after relocation

2017-12-07 Thread Tom Rini
On Thu, Dec 07, 2017 at 01:16:07PM -0800, York Sun wrote: > Commit 21f4486faa5d ("armv8: update gd after relocate") sets x18 > without checking the return value of spl_relocate_stack_gd(). > > Signed-off-by: York Sun > CC: Kever Yang > CC: Philipp

[U-Boot] [PATCH v1 0/2] arm: ppc: Share DPAA1 fixups between ARCHs

2017-12-07 Thread Ahmed Mansour
- Support DPAA1 QBMan device tree fixups in a shared location for both arm and ppc architectures - cleanup a define from header files and add as Kconfig with auto selection based on SOC Ahmed Mansour (2): drivers/misc: Share qbman init between archs Move SYS_DPAA_QBMAN to Kconfig

[U-Boot] [PATCH v1 1/2] drivers/misc: Share qbman init between archs

2017-12-07 Thread Ahmed Mansour
This patch adds changes necessary to move functionality present in PowerPC folders with ARM architectures that have DPAA1 QBMan hardware - Created new board/freescale/common/portals.c to house shared device tree fixups for DPAA1 devices with ARM and PowerPC cores - Added new header file to top

[U-Boot] Please pull u-boot-fsl-qoriq master

2017-12-07 Thread York Sun
Tom, The following changes since commit 9da7fb4a39149c3061cb148bfbaa76b4b52b9008: Prepare v2018.01-rc1 (2017-12-04 18:27:17 -0500) are available in the git repository at: git://git.denx.de/u-boot-fsl-qoriq.git d798a6ee6436c7d2bcbf3fa6bda01daa4411a493 for you to fetch changes up to

[U-Boot] [PATCH 2/2] armv8: ls2085a: Update README file for NAND boot

2017-12-07 Thread York Sun
Update README file to note LS2088A and LS1088A don't support booting from NAND flash. Signed-off-by: York Sun --- arch/arm/cpu/armv8/fsl-layerscape/doc/README.lsch3 | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH 1/2] armv8: ls2080a: Increase load image len for NAND boot

2017-12-07 Thread York Sun
From: Yuan Yao Again the image size increases and the length needs to be adjusted. Signed-off-by: York Sun --- include/configs/ls2080a_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/ls2080a_common.h

Re: [U-Boot] [PATCH] armv8: fix gd after relocation

2017-12-07 Thread Stephen Warren
On 12/07/2017 02:16 PM, York Sun wrote: Commit 21f4486faa5d ("armv8: update gd after relocate") sets x18 without checking the return value of spl_relocate_stack_gd(). Reviewed-by: Stephen Warren This matches what the 32-bit ARM code does, so I guess it's right.

Re: [U-Boot] armv8: update gd after relocate

2017-12-07 Thread Tom Rini
On Thu, Dec 07, 2017 at 09:26:58PM +, York Sun wrote: > On 11/17/2017 08:07 AM, Tom Rini wrote: > > On Fri, Nov 03, 2017 at 10:10:27AM +0800, Kever Yang wrote: > > > >> We need to update gd in assamble code after relocate, > >> this is a fix to: > >> adc421e arm: move gd handling outside of C

Re: [U-Boot] armv8: update gd after relocate

2017-12-07 Thread York Sun
On 11/17/2017 08:07 AM, Tom Rini wrote: > On Fri, Nov 03, 2017 at 10:10:27AM +0800, Kever Yang wrote: > >> We need to update gd in assamble code after relocate, >> this is a fix to: >> adc421e arm: move gd handling outside of C code >> >> Signed-off-by: Kever Yang >>

[U-Boot] [PATCH] armv8: fix gd after relocation

2017-12-07 Thread York Sun
Commit 21f4486faa5d ("armv8: update gd after relocate") sets x18 without checking the return value of spl_relocate_stack_gd(). Signed-off-by: York Sun CC: Kever Yang CC: Philipp Tomsich ---

Re: [U-Boot] rockchip: rk3399-puma: preserve leading zeros in serial#

2017-12-07 Thread Philipp Tomsich
> Linux preserves leading zeros in /proc/cpuinfo, so we > should as well. > > Otherwise we have the situation that > /sys/firmware/devicetree/base/serial-number > and /proc/cpuinfo disagree in Linux. > > Signed-off-by: Jakob Unterwurzacher > >

Re: [U-Boot] rockchip: board: puma-rk3399: define ENV_SIZE for SPI FLASH

2017-12-07 Thread Philipp Tomsich
Klaus, On Thu, 7 Dec 2017, Klaus Goger wrote: be942f2e0d introduced a common CONFIG_ENV_SIZE of 32k in rockchip-common.h On puma-rk3399 with ENV_IN_SPI active we place the environment in the gap between SPL and the FIT image. Previously undefined it defaulted to one sector defined with

Re: [U-Boot] rockchip: board: puma-rk3399: define ENV_SIZE for SPI FLASH

2017-12-07 Thread Philipp Tomsich
> be942f2e0d introduced a common CONFIG_ENV_SIZE of 32k in rockchip-common.h > On puma-rk3399 with ENV_IN_SPI active we place the environment in the > gap between SPL and the FIT image. Previously undefined it defaulted to > one sector defined with CONFIG_ENV_SECT_SIZE. With the now larger >

Re: [U-Boot] Linux hang

2017-12-07 Thread Jan Siegmund
Am 07.12.2017 um 20:19 schrieb Alan Tull: On Thu, Dec 7, 2017 at 5:00 AM, Siegmund, Jan wrote: Hi SIegmund, Hi all, does anybody have an idea for the following problem? * FPGA is programmed using an overlay * FPGA writes to SDRAM via the FPGA2SDRAM-bridge * Linux hangs

[U-Boot] [PATCH] rockchip: board: puma-rk3399: define ENV_SIZE for SPI FLASH

2017-12-07 Thread Klaus Goger
be942f2e0d introduced a common CONFIG_ENV_SIZE of 32k in rockchip-common.h On puma-rk3399 with ENV_IN_SPI active we place the environment in the gap between SPL and the FIT image. Previously undefined it defaulted to one sector defined with CONFIG_ENV_SECT_SIZE. With the now larger environment a

Re: [U-Boot] rockchip: rk3399-puma: preserve leading zeros in serial#

2017-12-07 Thread Philipp Tomsich
> Linux preserves leading zeros in /proc/cpuinfo, so we > should as well. > > Otherwise we have the situation that > /sys/firmware/devicetree/base/serial-number > and /proc/cpuinfo disagree in Linux. > > Signed-off-by: Jakob Unterwurzacher > >

Re: [U-Boot] [PATCH 00/14] env: Multiple env support and env transition for sunxi

2017-12-07 Thread Tom Rini
On Tue, Nov 28, 2017 at 11:24:35AM +0100, Maxime Ripard wrote: > Hi, > > Here is an attempt at transitioning away from the MMC raw environment to a > FAT-based one. Since the RFC was quite well received, I actually tested it > and fixed a few rough edges. > > You'll find the first RFC here for

Re: [U-Boot] Please pull from u-boot-i2c

2017-12-07 Thread Tom Rini
On Thu, Dec 07, 2017 at 01:23:03PM +0100, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-i2c master > > The following changes since commit c8e1ca3ebfd21915f6f2e399c9ca1cd3d7a4b076: > > tools: omapimage: fix corner-case in byteswap path (2017-12-05 21:56:29 > -0500) > > are

Re: [U-Boot] Linux hang

2017-12-07 Thread Jan Siegmund
Am 07.12.2017 um 15:01 schrieb Goldschmidt Simon: On 2017-12-07 12:01, Siegmund, Jan wrote: Hi all, does anybody have an idea for the following problem? * FPGA is programmed using an overlay * FPGA writes to SDRAM via the FPGA2SDRAM-bridge * Linux hangs and the watchdog resets the board (the

Re: [U-Boot] Linux hang

2017-12-07 Thread Alan Tull
On Thu, Dec 7, 2017 at 5:00 AM, Siegmund, Jan wrote: Hi SIegmund, > Hi all, > does anybody have an idea for the following problem? > > * FPGA is programmed using an overlay > * FPGA writes to SDRAM via the FPGA2SDRAM-bridge > * Linux hangs and the watchdog resets the board

Re: [U-Boot] [PATCH v2 2/5] net: sun8i_emac: Support RX/TX delay chains

2017-12-07 Thread Joe Hershberger
On Wed, Dec 6, 2017 at 8:35 PM, Chen-Yu Tsai wrote: > On Thu, Dec 7, 2017 at 4:20 AM, Joe Hershberger > wrote: >> On Tue, Dec 5, 2017 at 8:34 PM, Chen-Yu Tsai wrote: >>> On Wed, Dec 6, 2017 at 4:50 AM, Joe Hershberger

Re: [U-Boot] [v3] armv8: ls1012a: enable/disable eSDHC1 through hwconfig for new RDB

2017-12-07 Thread York Sun
On 12/07/2017 12:10 AM, Y.b. Lu wrote: > >> >>> printf("Error reading i2c boot information!\n"); >>> - return 0; /* Don't want to hang() on this error */ >>> + return 0; >> >> What does I2C failure mean here? Returning 0 will cause the code keep going >> in >>

Re: [U-Boot] [PATCH] common/memsize.c: restore content of the base address

2017-12-07 Thread Wolfgang Denk
Dear Patrick, In message <6daf1478e4284b8590c2862c6a504...@sfhdag6node3.st.com> you wrote: > > After investigation, I found an potential issue when the current code of > get_ram_size() > is loaded near of power of 2 offset (just before an address modified by the > code)... > In fact the

[U-Boot] [PATCH] cmd: fastboot: Kconfig: solve config issue

2017-12-07 Thread Patrick Delaunay
When FASTBOOT is activated, only one the supported device is supported in code at the same time - CONFIG_FASTBOOT_FLASH_MMC_DEV - CONFIG_FASTBOOT_FLASH_NAND_DEV But Today the choice is not exclusive in Kconfig and that cause Kconfig issue when : - CONFIG_FASTBOOT, CONFIG_MMC, CONFIG_NAND are

Re: [U-Boot] tiny printf limits

2017-12-07 Thread Tom Rini
On Tue, Dec 05, 2017 at 02:06:17PM -0500, Frank Mori Hess wrote: > Shouldn't tiny printf abort or something when it encounters a printf > format string it doesn't support? Right now, it just silently skips > it while leaving the associated argument in place, resulting in the > arguments getting

Re: [U-Boot] [PATCH] sunxi: Add support for Libre Computer Board ALL-H3-CC H3 ver.

2017-12-07 Thread Jagan Teki
On Thu, Dec 7, 2017 at 6:30 PM, Chen-Yu Tsai wrote: > The Libre Computer Board ALL-H3-CC from Libre Technology is a Raspberry > Pi B+ form factor single board computer based on the Allwinner H3 SoC. > The board has 1GB DDR3 SDRAM, provided by 4 2Gb chips. The mounting holes > and

Re: [U-Boot] [PATCH] sunxi: Add the TBS A711 tablet

2017-12-07 Thread Jagan Teki
On Thu, Dec 7, 2017 at 9:50 PM, Maxime Ripard wrote: > The TBS Tablet sports an LVDS display, an eMMC, an external SD, USB devices > and USB OTG. > > Signed-off-by: Maxime Ripard > --- > arch/arm/dts/Makefile|

[U-Boot] [PATCH] sunxi: Add the TBS A711 tablet

2017-12-07 Thread Maxime Ripard
The TBS Tablet sports an LVDS display, an eMMC, an external SD, USB devices and USB OTG. Signed-off-by: Maxime Ripard --- arch/arm/dts/Makefile| 3 +- arch/arm/dts/sun8i-a83t-tbs-a711.dts | 76

Re: [U-Boot] [PATCH v2 0/4] sunxi: Ease eMMC usage and flashing

2017-12-07 Thread Maxime Ripard
On Tue, Dec 05, 2017 at 04:56:37PM +0100, Maxime Ripard wrote: > Hi, > > Here is a set of patches that have been sitting in some variations for > quite some time now. > > This is mostly to ease the eMMC (and MMC, to some extent) flashing > using fastboot that in turn rely on GPT. > > The

Re: [U-Boot] [PATCH] common/memsize.c: restore content of the base address

2017-12-07 Thread Patrick DELAUNAY
Dear Wolfgang, > > Dear Patrick, > > In message <1512575263-23010-1-git-send-email-patrick.delau...@st.com> > you wrote: > > In function get_ram_size() and for 2 last cases the content of the > > base address (*base) is not restored even it is correctly saved in > > stack (in save[i]). > > > >

Re: [U-Boot] [PATCH] rockchip: rk3399-puma: preserve leading zeros in serial#

2017-12-07 Thread Dr. Philipp Tomsich
> On 7 Dec 2017, at 16:20, Jakob Unterwurzacher > wrote: > > Linux preserves leading zeros in /proc/cpuinfo, so we > should as well. > > Otherwise we have the situation that > /sys/firmware/devicetree/base/serial-number > and /proc/cpuinfo disagree

[U-Boot] [PATCH] rockchip: rk3399-puma: preserve leading zeros in serial#

2017-12-07 Thread Jakob Unterwurzacher
Linux preserves leading zeros in /proc/cpuinfo, so we should as well. Otherwise we have the situation that /sys/firmware/devicetree/base/serial-number and /proc/cpuinfo disagree in Linux. Signed-off-by: Jakob Unterwurzacher ---

[U-Boot] [PATCH 15/15] ARM: rmobile: Add R8A77995 D3 Draak board

2017-12-07 Thread Marek Vasut
Add bits to support yet another board, the R8A77995 D3 Draak. The DT file is from Linux 4.15-rc1 , commit b35334447513c14a4dd55a67c269a743d4a4824b . Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/Makefile| 3

[U-Boot] [PATCH 11/15] mmc: uniphier-sd: Add R8A77995 D3 compatible

2017-12-07 Thread Marek Vasut
Add new compatible to the Uniphier SD driver for R8A77995 D3 SoC. Signed-off-by: Marek Vasut Cc: Masahiro Yamada Cc: Nobuhiro Iwamatsu --- drivers/mmc/uniphier-sd.c | 1 + 1 file changed, 1 insertion(+) diff

[U-Boot] [PATCH 09/15] gpio: rmobile: Add generic Gen3 compatible

2017-12-07 Thread Marek Vasut
Add generic compatible to the GPIO driver for Gen3 SoCs. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/gpio/gpio-rcar.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/gpio-rcar.c b/drivers/gpio/gpio-rcar.c

[U-Boot] [PATCH 12/15] net: ravb: Add R8A77970 V3M compatible

2017-12-07 Thread Marek Vasut
Add new compatible to the Ethernet AVB driver for R8A77970 V3M SoC. Signed-off-by: Marek Vasut Cc: Joe Hershberger Cc: Nobuhiro Iwamatsu --- drivers/net/ravb.c | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH 14/15] ARM: rmobile: Add R8A77970 V3M Eagle board

2017-12-07 Thread Marek Vasut
Add bits to support yet another board, the R8A77970 V3M Eagle. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/Makefile| 3 +- arch/arm/dts/r8a77970-eagle.dts | 87 +++

[U-Boot] [PATCH 13/15] net: ravb: Add R8A77995 D3 compatible

2017-12-07 Thread Marek Vasut
Add new compatible to the Ethernet AVB driver for R8A77995 D3 SoC. Signed-off-by: Marek Vasut Cc: Joe Hershberger Cc: Nobuhiro Iwamatsu --- drivers/net/ravb.c | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH 10/15] mmc: uniphier-sd: Add R8A77970 V3M compatible

2017-12-07 Thread Marek Vasut
Add new compatible to the Uniphier SD driver for R8A77970 V3M SoC. Signed-off-by: Marek Vasut Cc: Masahiro Yamada Cc: Nobuhiro Iwamatsu --- drivers/mmc/uniphier-sd.c | 1 + 1 file changed, 1 insertion(+) diff

[U-Boot] [PATCH 08/15] gpio: rmobile: Add R8A77995 D3 compatible

2017-12-07 Thread Marek Vasut
Add new compatible to the GPIO driver for R8A77995 D3 SoC. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/gpio/gpio-rcar.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/gpio-rcar.c b/drivers/gpio/gpio-rcar.c

[U-Boot] [PATCH 06/15] pinctrl: rmobile: Add R8A77995 D3 PFC tables

2017-12-07 Thread Marek Vasut
Add PFC tables for R8A77995 D3 SoC. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/pinctrl/renesas/Kconfig| 11 + drivers/pinctrl/renesas/Makefile |1 + drivers/pinctrl/renesas/pfc-r8a77995.c | 1813

[U-Boot] [PATCH 05/15] pinctrl: rmobile: Add R8A77970 V3M PFC tables

2017-12-07 Thread Marek Vasut
Add PFC tables for R8A77970 V3M SoC. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/pinctrl/renesas/Kconfig| 11 + drivers/pinctrl/renesas/Makefile |1 + drivers/pinctrl/renesas/pfc-r8a77970.c | 2585

[U-Boot] [PATCH 04/15] clk: rmobile: Add R8A77995 D3 clock tables

2017-12-07 Thread Marek Vasut
Add clock tables for R8A77995 D3 SoC. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/clk/renesas/clk-rcar-gen3.c | 167 +++- 1 file changed, 164 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH 07/15] gpio: rmobile: Add R8A77970 V3M compatible

2017-12-07 Thread Marek Vasut
Add new compatible to the GPIO driver for R8A77970 V3M SoC. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/gpio/gpio-rcar.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/gpio-rcar.c b/drivers/gpio/gpio-rcar.c

[U-Boot] [PATCH 03/15] clk: rmobile: Add R8A77970 V3M clock tables

2017-12-07 Thread Marek Vasut
Add clock tables for R8A77970 V3M SoC. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/clk/renesas/Kconfig | 5 +- drivers/clk/renesas/clk-rcar-gen3.c | 120 +++- 2 files changed, 121

[U-Boot] [PATCH 02/15] ARM: rmobile: Add R8A77995 SoC

2017-12-07 Thread Marek Vasut
Add bits to support yet another SoC, the R8A77995 D3 . Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a77995.dtsi| 410 ++ arch/arm/mach-rmobile/Kconfig.64 | 3 +

[U-Boot] [PATCH 01/15] ARM: rmobile: Add R8A77970 SoC

2017-12-07 Thread Marek Vasut
Add bits to support yet another SoC, the R8A77970 V3M . Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a77970.dtsi| 392 ++ arch/arm/mach-rmobile/Kconfig.64 | 3

[U-Boot] [PATCH] clk: rmobile: Fix typo in R8A7796 RPC clock table entry

2017-12-07 Thread Marek Vasut
Fix a copy-paste typo in the clock table entry, s/7795/7796/. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/clk/renesas/clk-rcar-gen3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [U-Boot] Linux hang

2017-12-07 Thread Goldschmidt Simon
Pepperl+Fuchs GmbH, Mannheim Geschaeftsfuehrer/Managing Directors: Dr.-Ing. Gunther Kegel (Vors./CEO), Werner Guthier, Mehmet Hatiboglu Vorsitzender des Aufsichtsrats/Chairman of the supervisory board: Claus Michael Registergericht/Register Court: AG Mannheim HRB 4713 On 2017-12-07 12:01,

Re: [U-Boot] [PATCH] arm: arm64: only use general regs

2017-12-07 Thread Alexander Graf
On 12/07/2017 08:25 AM, Peng Fan wrote: Hi Alexander, On Fri, Dec 01, 2017 at 10:46:29PM +0100, Alexander Graf wrote: On 28.11.17 03:09, Peng Fan wrote: When compiling with android toolchain, there is an instruction "str q0, [x8],#16", but x8 is not 16bytes aligned, this instruction will

Re: [U-Boot] [PATCH] sunxi: Add support for Libre Computer Board ALL-H3-CC H3 ver.

2017-12-07 Thread Maxime Ripard
On Thu, Dec 07, 2017 at 09:00:45PM +0800, Chen-Yu Tsai wrote: > The Libre Computer Board ALL-H3-CC from Libre Technology is a Raspberry > Pi B+ form factor single board computer based on the Allwinner H3 SoC. > The board has 1GB DDR3 SDRAM, provided by 4 2Gb chips. The mounting holes > and

Re: [U-Boot] [ANN] U-Boot v2018.01-rc1 released

2017-12-07 Thread Tom Rini
On Thu, Dec 07, 2017 at 04:49:49AM -0700, Simon Glass wrote: > Hi Tom, > > On 4 December 2017 at 16:33, Tom Rini wrote: > > Hey all, > > > > So it's release day and I've put up v2018.01-rc1. The merge window is > > now closed and I've updated git and the tarballs are also up

[U-Boot] [PATCH] sunxi: Add support for Libre Computer Board ALL-H3-CC H3 ver.

2017-12-07 Thread Chen-Yu Tsai
The Libre Computer Board ALL-H3-CC from Libre Technology is a Raspberry Pi B+ form factor single board computer based on the Allwinner H3 SoC. The board has 1GB DDR3 SDRAM, provided by 4 2Gb chips. The mounting holes and connectors are in the exact same position as on the Raspberry Pi B+.

Re: [U-Boot] [PATCH] cmd: i2c: Fix use sdram sub command with CONFIG_DM_I2C

2017-12-07 Thread Heiko Schocher
Hello Nobuhiro, Am 01.12.2017 um 06:39 schrieb Nobuhiro Iwamatsu: sdram sub command of i2c command does not support Drivers Model. This adds Drivers Model support to sdram sub command. Signed-off-by: Nobuhiro Iwamatsu --- cmd/i2c.c | 14 -- 1 file changed,

[U-Boot] Please pull from u-boot-i2c

2017-12-07 Thread Heiko Schocher
Hello Tom, please pull from u-boot-i2c master The following changes since commit c8e1ca3ebfd21915f6f2e399c9ca1cd3d7a4b076: tools: omapimage: fix corner-case in byteswap path (2017-12-05 21:56:29 -0500) are available in the git repository at: git://git.denx.de/u-boot-i2c.git master for

Re: [U-Boot] [PATCH 2/2] i2c: at91_i2c: remove the .probe_chip function

2017-12-07 Thread Heiko Schocher
Hello Alan, Am 29.11.2017 um 04:25 schrieb Alan Ott: The .probe_chip function is supposed to probe an i2c device on the bus to determine whether a device is answering to a particular address. at91_i2c_probe_chip() did not do anything resembling this and always returned 0. It looks as though

Re: [U-Boot] [PATCH 1/2] i2c: at91_i2c: Wait for TXRDY after sending the first byte

2017-12-07 Thread Heiko Schocher
Hello Alan, Am 29.11.2017 um 04:25 schrieb Alan Ott: The driver must wait for TXRDY after each byte is pushed into the i2c FIFO before pushing the next byte. Previously this was not done for the first byte, causing a race condition with zeros sometimes being sent for the next byte (which is

Re: [U-Boot] [PATCH 4/4] i2c: meson: add some comments

2017-12-07 Thread Heiko Schocher
Hello Beniamino, Am 26.11.2017 um 17:40 schrieb Beniamino Galvani: Add some comment describing the purpose of struct members and functions. Signed-off-by: Beniamino Galvani --- drivers/i2c/meson_i2c.c | 25 +++-- 1 file changed, 19 insertions(+), 6

Re: [U-Boot] [PATCH 3/4] i2c: meson: fix return codes on error

2017-12-07 Thread Heiko Schocher
Hello Beniamino, Am 26.11.2017 um 17:40 schrieb Beniamino Galvani: Change meson_i2c_xfer_msg() to return -EREMOTEIO in case of NACK, as done by other drivers. Also, don't change the return error in meson_i2c_xfer(). Signed-off-by: Beniamino Galvani ---

Re: [U-Boot] [PATCH 2/4] i2c: meson: reduce timeout

2017-12-07 Thread Heiko Schocher
Hello Beniamino, Am 26.11.2017 um 17:40 schrieb Beniamino Galvani: The datasheet doesn't specify a suggested timeout and 500ms seems very long: reduce it to 100ms. Signed-off-by: Beniamino Galvani --- drivers/i2c/meson_i2c.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [U-Boot] [PATCH 1/4] i2c: meson: improve Kconfig description

2017-12-07 Thread Heiko Schocher
Hello Beniamino, Am 26.11.2017 um 17:40 schrieb Beniamino Galvani: Expand the Kconfig description with hardware features. Signed-off-by: Beniamino Galvani --- drivers/i2c/Kconfig | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) Applied to u-boot-i2c master

[U-Boot] Option to send file with y-modem protocol, from U-boot => to target host

2017-12-07 Thread A.W.C.
When a network connection is not available, U-Boot can be load files via the serial port. The U-Boot commands for loading files over the UART all have the same options. Is it possible implement two-way file transfer in xyzModem - use loady, loadb to send files from U-boot to target host? So

Re: [U-Boot] [ANN] U-Boot v2018.01-rc1 released

2017-12-07 Thread Simon Glass
Hi Tom, On 4 December 2017 at 16:33, Tom Rini wrote: > Hey all, > > So it's release day and I've put up v2018.01-rc1. The merge window is > now closed and I've updated git and the tarballs are also up now. > > I think my patch queue is in OK shape currently, but I need to >

  1   2   >