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] [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,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,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

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,

[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] 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

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,

[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

[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

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,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, 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] [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,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, 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,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, 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] [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] [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, 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, 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] 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

[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] [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

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] [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

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] 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] 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 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] 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

[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

[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] [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] 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 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] 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] [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

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] [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

[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] 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 >>

Re: [U-Boot] [PATCH V2 22/23] imx: add i.MX8MQ EVK support

2017-12-07 Thread Peng Fan
Hi Stefano, On Thu, Dec 07, 2017 at 09:52:46AM +0100, Stefano Babic wrote: >Hi Peng, > >On 04/12/2017 05:31, Peng Fan wrote: >> Add i.MX8MQ EVK support. SPL will initialize ddr and load ddr phy >> firmware. Then loading FIT image, ATF to OCRAM, U-Boot and DTB to >> DRAM. >> >> The boot log: >> "

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

2017-12-07 Thread Heiko Schocher
Hello Baniamino, 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(-) Thanks! Reviewed-by: Heiko

Re: [U-Boot] [PATCH] mx6_common: remove dead code

2017-12-07 Thread Stefano Babic
On 25/11/2017 20:39, Adam Ford wrote: > There is an #ifdef and #endif with nothing in between. This patch simply > removes this dead/useless code. > > Signed-off-by: Adam Ford > > diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h > index

Re: [U-Boot] [PATCH V2 12/23] imx: mx8m: add soc related settings and files

2017-12-07 Thread Peng Fan
Hi Stefano, On Thu, Dec 07, 2017 at 09:39:23AM +0100, Stefano Babic wrote: >Hi Peng, > >On 04/12/2017 05:31, Peng Fan wrote: >> Add SoC level initialization code >> - arch_cpu_init >> - mmu table >> - detect cpu revision >> - reset cpu and wdog settings >> - M4 boot >> - timer init >> -

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] 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,

Re: [U-Boot] [PATCH V2 22/23] imx: add i.MX8MQ EVK support

2017-12-07 Thread Stefano Babic
Hi Peng, On 04/12/2017 05:31, Peng Fan wrote: > Add i.MX8MQ EVK support. SPL will initialize ddr and load ddr phy > firmware. Then loading FIT image, ATF to OCRAM, U-Boot and DTB to > DRAM. > > The boot log: > " > U-Boot SPL 2017.11-00062-gd4c7c3ebb3-dirty (Dec 01 2017 - 14:49:31) > PMIC:

Re: [U-Boot] [PATCH V2 20/23] power: pmic/regulator allow dm be omitted by SPL

2017-12-07 Thread Stefano Babic
On 04/12/2017 05:31, Peng Fan wrote: > Allow the dm driver be omitted by SPL. > > Signed-off-by: Peng Fan > Reviewed-by: Simon Glass > Cc: Jaehoon Chung > Cc: Stefano Babic > --- > drivers/power/pmic/Makefile |

Re: [U-Boot] [PATCH V2 19/23] net: fec: fix build warnings for 64bits support

2017-12-07 Thread Stefano Babic
On 04/12/2017 05:31, Peng Fan wrote: > When building for 64bits system, we get some warnings about type > cast between pointer and integer. This patch eliminates the warnings > by using ulong/long type which is 32bits on 32bits system or 64bits on > 64bits system. > > Signed-off-by: Ye Li

Re: [U-Boot] [PATCH V2 18/23] net: fec: do not access reserved register for i.MX8M

2017-12-07 Thread Stefano Babic
On 04/12/2017 05:31, Peng Fan wrote: > The MIB RAM and FIFO receive start register does not exist on > i.MX8M. Accessing these register will cause system hang. > > Signed-off-by: Peng Fan > Cc: Joe Hershberger > --- > drivers/net/fec_mxc.c | 4 ++-- >

Re: [U-Boot] [PATCH] sf: ensure flash device is in 3-byte address mode

2017-12-07 Thread Prabhakar Kushwaha
Dear Jagan, Simon, > -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Jagan Teki > Sent: Thursday, December 07, 2017 11:19 AM > To: Goldschmidt Simon > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH] sf:

Re: [U-Boot] [PATCH V2 16/23] imx: lcdif: include i.MX8M

2017-12-07 Thread Stefano Babic
On 04/12/2017 05:31, Peng Fan wrote: > Include i.MX8M in lcdif register layout map. > Also included i.MX7ULP in this patch, since share same with i.MX8M. > > Signed-off-by: Peng Fan > --- > arch/arm/include/asm/mach-imx/regs-lcdif.h | 11 --- > 1 file changed, 8

Re: [U-Boot] [PATCH V2 15/23] mmc: fsl_esdhc: support i.MX8M

2017-12-07 Thread Stefano Babic
On 04/12/2017 05:31, Peng Fan wrote: > Support i.MX8M in fsl esdhc driver. > > Signed-off-by: Peng Fan > --- > drivers/mmc/fsl_esdhc.c | 12 > 1 file changed, 8 insertions(+), 4 deletions(-) > > diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c >

Re: [U-Boot] [PATCH V2 14/23] misc: ocotp: add i.MX8M support

2017-12-07 Thread Stefano Babic
On 04/12/2017 05:31, Peng Fan wrote: > i.MX8M OCOTP follow same flow as i.MX6Q, but it has 64 banks > and each bank 4 words. > > Signed-off-by: Peng Fan > --- > drivers/misc/mxc_ocotp.c | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/drivers/misc/mxc_ocotp.c

Re: [U-Boot] [PATCH V2 08/23] imx: cpu: update cpu file to support i.MX8M

2017-12-07 Thread Stefano Babic
On 04/12/2017 05:31, Peng Fan wrote: > Update get_reset_cause to reflect i.MX8M > Compile out get_ahb_clk and set_chipselect_size for i.MX8M > > Signed-off-by: Peng Fan > --- > arch/arm/mach-imx/cpu.c | 11 ++- > 1 file changed, 10 insertions(+), 1 deletion(-) > >

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 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

[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 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 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 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 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 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

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

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]). > > > >

[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 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] 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

[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 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 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] 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 ---

Re: [U-Boot] [PATCH 00/16] Updates / improvements to bx50v3 support

2017-12-07 Thread Stefano Babic
Hi Martyn, On 08/11/2017 16:59, Martyn Welch wrote: > This series improves the support on the bx50v3 devices (b540v3, b650v3 and > b850v3) and utilising features recently added as part of the PPD > implementation. > > NOTE: This series requires the PPD series: >

Re: [U-Boot] [PATCH V2 22/23] imx: add i.MX8MQ EVK support

2017-12-07 Thread Peng Fan
Hi Stefano, > >>> + > >>> +DECLARE_GLOBAL_DATA_PTR; > >>> + > >>> +__weak void ddr_init(void) > >>> +{ > >>> +}; > >>> + > >> > >> This weak could be dropped, it was surely for test purpose :-) > > > > I understand patch 23/23 about the ddr script, it is hard to be accepted. > > So I add a weak

Re: [U-Boot] [PATCH 0/4] ARM: imx: cm_fx6: fix & clean up device model support

2017-12-07 Thread Stefano Babic
Hi Christopher, On 30/11/2017 22:38, christopher.spinr...@rwth-aachen.de wrote: > From: Christopher Spinrath > > Hi all, > > The primary objective of this series is to reinstate basic USB support for > the cm_fx6 module which was effectively removed by

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

2017-12-07 Thread Jonathan Gray
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 partitions) > >> tried > >> to introduce the el

Re: [U-Boot] [PATCH] sf: ensure flash device is in 3-byte address mode

2017-12-07 Thread Goldschmidt Simon
On 2017-10-07 09:23 AM, Prabhakar Kushwaha wrote: > Dear Jagan, Simon, > > > -Original Message- > > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Jagan > > Teki > > Sent: Thursday, December 07, 2017 11:19 AM > > To: Goldschmidt Simon >

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

Re: [U-Boot] [PATCH V2 22/23] imx: add i.MX8MQ EVK support

2017-12-07 Thread Stefano Babic
Hi Peng, On 07/12/2017 10:13, Peng Fan wrote: > Hi Stefano, > > On Thu, Dec 07, 2017 at 09:52:46AM +0100, Stefano Babic wrote: >> Hi Peng, >> >> On 04/12/2017 05:31, Peng Fan wrote: >>> Add i.MX8MQ EVK support. SPL will initialize ddr and load ddr phy >>> firmware. Then loading FIT image, ATF to

Re: [U-Boot] [PATCH V2 22/23] imx: add i.MX8MQ EVK support

2017-12-07 Thread Stefano Babic
Hi Peng, On 07/12/2017 10:13, Peng Fan wrote: > Hi Stefano, >> Just for my understanding: is this board specific ? Enabling the >> TrustZone controller looks to me more general, but I am maybe wrong. Can >> you better explain me this ? Thanks ! > > If want to use TZC380 on i.MX, TZC380 needs to

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

2017-12-07 Thread Alexander Graf
On 07.12.17 08:00, 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

[U-Boot] Updating ZFS for U-boot

2017-12-07 Thread Jorgen Lundman
Hello list, The ZFS support in U-boot is in need of updating, so I have done so now. Which enables support for feature pools, LZ4 and raidz. One thing that raidz support does, is iterate all the devices looking for the other devices needed to read the raid set. Currently I put in the code:

[U-Boot] WG: Linux hang

2017-12-07 Thread Siegmund, Jan
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 FPGA stays programmed) * After the reset and boot, the FPGA is reprogrammed using the same

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 >

[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] [PATCH] fdtdec: Support parsing multiple /memory nodes

2017-12-07 Thread Simon Glass
Hi, On 29 November 2017 at 06:08, Simon Glass wrote: > On 28 November 2017 at 19:45, Marek Vasut wrote: >> It is legal to have multiple /memory nodes in a device tree . Currently, >> fdtdec_setup_memory_size() only supports parsing the first node . This

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] [v3] armv8: ls1012a: enable/disable eSDHC1 through hwconfig for new RDB

2017-12-07 Thread Y.b. Lu
Hi York, > -Original Message- > From: York Sun > Sent: 2017年12月7日 3:08 > To: Y.b. Lu ; u-boot@lists.denx.de > Subject: Re: [v3] armv8: ls1012a: enable/disable eSDHC1 through hwconfig for > new RDB > > On 12/06/2017 02:19 AM, Yangbo Lu wrote: > > For LS1012ARDB RevD and

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 08:49 +0100, Lothar Waßmann wrote: > Hi, > > On Thu, 7 Dec 2017 05:29:24 + Chee, Tien Fong wrote: > > > > On Rab, 2017-12-06 at 12:00 +0100, Lothar Waßmann wrote: > > > > > > Hi, > > > > > > On Wed, 6 Dec 2017 10:06:21 + Chee, Tien Fong wrote: > > > > > > > > >

  1   2   >