Re: [U-Boot] [PATCH v5 2/2] timer: Add High Precision Event Timers (HPET) support

2018-04-15 Thread Bin Meng
Hi Simon, On Fri, Apr 13, 2018 at 12:42 AM, Simon Glass wrote: > Hi, > > On 8 April 2018 at 19:22, Bin Meng wrote: >> Hi Ivan, >> >> On Sat, Apr 7, 2018 at 3:18 AM, Ivan Gorinov wrote: >>> Add HPET driver as an alternative timer

[U-Boot] [PATCH] kbuild: use -fmacro-prefix-map to make __FILE__ a relative path

2018-04-15 Thread Masahiro Yamada
The __FILE__ macro is used everywhere in U-Boot to locate the file printing the log message, such as WARN_ON(), etc. If U-Boot is built out of tree, this can be a long absolute path. This is because Kbuild runs in the objtree instead of the srctree, then __FILE__ is expanded to a file path

[U-Boot] [PATCH] ARM: dts: uniphier: sync DT with Linux 4.17-rc1

2018-04-15 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- arch/arm/dts/uniphier-ld11-global.dts | 109 ++--- arch/arm/dts/uniphier-ld11-ref.dts | 25 -- arch/arm/dts/uniphier-ld11.dtsi | 127 ++---

Re: [U-Boot] [PATCH] board: freescale: ls1012ardb: Add command to switch QSPI bank

2018-04-15 Thread Calvin Johnson
On Fri, Apr 13, 2018 at 12:18 AM, Jagdish Gediya wrote: > Add command "boot_bank X" to switch the boot bank to either > 1 or 2. Are these functions required as this can be handled by new env vars to switch banks? > > Signed-off-by: Jagdish Gediya

Re: [U-Boot] skylake fsp

2018-04-15 Thread Bin Meng
Hi Christian, On Fri, Apr 13, 2018 at 4:50 PM, Christian Gmeiner wrote: > Hi all > > Currently I am trying to get the skylake fsp working with u-boot but I run > into some issues: > > 1) I see the postcode POST_BIST_FAILURE triggered in car_init > > I am not sure how

Re: [U-Boot] [PATCH 03/12] libfdt: Safer access to strings section

2018-04-15 Thread David Gibson
On Sat, Apr 14, 2018 at 08:42:23AM -0600, Warner Losh wrote: > On Fri, Apr 13, 2018 at 9:43 PM, David Gibson > wrote: > > > On Fri, Apr 13, 2018 at 12:53:19PM -0400, Tom Rini wrote: > > > On Thu, Apr 12, 2018 at 02:39:19PM +1000, David Gibson wrote: > > > > On Tue,

Re: [U-Boot] [PATCH] ARM: rmobile: Add rudimentary SDHI2 node on R8A77970 V3M Eagle

2018-04-15 Thread Marek Vasut
On 04/16/2018 12:59 AM, Marek Vasut wrote: > Add rudimentary SDHI2 DT node on R8A77970 V3M Eagle to allow the > Renesas SDHI driver to bind with it and allow access to the SD card. > > Signed-off-by: Marek Vasut > Cc: Nobuhiro Iwamatsu > ---

[U-Boot] [PATCH V2] ARM: rmobile: Add rudimentary SDHI2 node on R8A77970 V3M

2018-04-15 Thread Marek Vasut
Add rudimentary SDHI2 DT node on R8A77970 V3M to allow the Renesas SDHI driver to bind with it and allow access to the SD card. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- V2: Drop the Eagle part from commit message, it's obviously

[U-Boot] [PATCH] ARM: rmobile: Enable SDHI2 on R8A77970 V3M Eagle

2018-04-15 Thread Marek Vasut
Mark the SDHI2 as okay in the DT so it can be used. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a77970-eagle.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/r8a77970-eagle.dts

[U-Boot] [PATCH] ARM: rmobile: Add rudimentary SDHI2 node on R8A77970 V3M Eagle

2018-04-15 Thread Marek Vasut
Add rudimentary SDHI2 DT node on R8A77970 V3M Eagle to allow the Renesas SDHI driver to bind with it and allow access to the SD card. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a77970.dtsi | 11 +++ 1 file

[U-Boot] [PATCH] ARM: rmobile: Enable RPC QSPI on R8A77970 V3M Eagle

2018-04-15 Thread Marek Vasut
Enable the RPC QSPI driver on R8A77970 V3M Eagle and configure the environment layout to match that used by old U-Boot. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a77970-eagle.dts | 20

[U-Boot] [PATCH] ARM: rmobile: Enable fitImage support on Gen3

2018-04-15 Thread Marek Vasut
Enable fitImage support to be on the right side of the millenium. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- configs/r8a7795_salvator-x_defconfig | 1 + configs/r8a7795_ulcb_defconfig| 1 +

[U-Boot] [PATCH] ARM: rmobile: Add Renesas RPC HF/QSPI DT nodes

2018-04-15 Thread Marek Vasut
Add device tree nodes for the Renesas RPC HF/QSPI controller. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a7795.dtsi | 8 arch/arm/dts/r8a7796.dtsi | 8 arch/arm/dts/r8a77965.dtsi | 8

Re: [U-Boot] net: sh_eth: Add remaining Gen2 DT compatible

2018-04-15 Thread Marek Vasut
On 04/15/2018 07:32 PM, Tom Rini wrote: > On Sun, Apr 15, 2018 at 11:26:40AM -0500, Joe Hershberger wrote: >> Hey Marek, >> >> On Sun, Apr 15, 2018 at 3:38 AM, Marek Vasut wrote: >>> On 04/15/2018 06:16 AM, Joe Hershberger wrote: Hi Marek,

[U-Boot] [PATCH] dts: dm: fec: imx53: Provide proper compatible string for imx53 fec driver

2018-04-15 Thread Lukasz Majewski
After this change the DM FEC ETH driver can be also reused on some imx53 devices. Signed-off-by: Lukasz Majewski --- drivers/net/fec_mxc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index ff7ad91116..3dc2816da0 100644 ---

Re: [U-Boot] [PULL] Please pull u-boot-imx

2018-04-15 Thread Lukasz Majewski
Hi Tom, > On Sun, Apr 15, 2018 at 12:28:54PM +0200, Stefano Babic wrote: > > > Hi Tom, > > > > please pull from u-boot-imx, thanks ! > > > > > > -- The following changes since commit > > 6d7403bf72b5ea46497fe8222d0303cb79563379: > > > > doc: mxc_hab: Update i.MX HAB documentation

[U-Boot] [PATCH] doc: Update git-mailrc entry for lukma (lu...@denx.de)

2018-04-15 Thread Lukasz Majewski
Signed-off-by: Lukasz Majewski --- doc/git-mailrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/git-mailrc b/doc/git-mailrc index 5a365cddd9..159e446512 100644 --- a/doc/git-mailrc +++ b/doc/git-mailrc @@ -31,7 +31,7 @@ alias jhersh Joe

[U-Boot] [PATCH] eth: dm: fec: Change FEC PHY mask setting from CONFIG_PHYLIB to CONFIG_FEC_MXC_PHYADDR

2018-04-15 Thread Lukasz Majewski
Without this commit we do have an explicit dependency on CONFIG_PHYLIB when one wants to set PHY ADDR on a iMX board (FEC + driver model). This shall be changed to CONFIG_FEC_MXC_PHYADDR, as only when we do have it set, we shall mask out other devices. As a side effect, when

Re: [U-Boot] [PULL] u-boot-sh/master

2018-04-15 Thread Tom Rini
On Sun, Apr 15, 2018 at 12:38:32AM +0200, Marek Vasut wrote: > The following changes since commit 901b77b9c8e716cd44dc85bf6bf54e4576d14ddd: > > vexpress: fix syntax error in armv7_boot_nonsec_default() (2018-04-13 > 17:06:16 -0400) > > are available in the Git repository at: > >

Re: [U-Boot] Pull request: u-boot-net.git master

2018-04-15 Thread Tom Rini
On Sat, Apr 14, 2018 at 11:18:45PM -0500, Joe Hershberger wrote: > Hi Tom, > > There are a few checkpatch warnings, but I checked each of them and they seem > appropriate. > > The following changes since commit 93cb6142c1d349492d23bad3951b5a8f59eaafed: > > Merge git://git.denx.de/u-boot-sh

Re: [U-Boot] [PULL] Please pull u-boot-imx

2018-04-15 Thread Tom Rini
On Sun, Apr 15, 2018 at 12:28:54PM +0200, Stefano Babic wrote: > Hi Tom, > > please pull from u-boot-imx, thanks ! > > > -- The following changes since commit > 6d7403bf72b5ea46497fe8222d0303cb79563379: > > doc: mxc_hab: Update i.MX HAB documentation (2018-03-11 16:00:21 +0100) > > are

Re: [U-Boot] net: sh_eth: Add remaining Gen2 DT compatible

2018-04-15 Thread Tom Rini
On Sun, Apr 15, 2018 at 11:26:40AM -0500, Joe Hershberger wrote: > Hey Marek, > > On Sun, Apr 15, 2018 at 3:38 AM, Marek Vasut wrote: > > On 04/15/2018 06:16 AM, Joe Hershberger wrote: > >> Hi Marek, > >> > >> https://patchwork.ozlabs.org/patch/897786/ was applied to > >>

Re: [U-Boot] net: sh_eth: Add remaining Gen2 DT compatible

2018-04-15 Thread Joe Hershberger
Hey Marek, On Sun, Apr 15, 2018 at 3:38 AM, Marek Vasut wrote: > On 04/15/2018 06:16 AM, Joe Hershberger wrote: >> Hi Marek, >> >> https://patchwork.ozlabs.org/patch/897786/ was applied to >> http://git.denx.de/?p=u-boot/u-boot-net.git > > If you don't mind, I'll pull it

[U-Boot] [PATCH 5/5] spl: socfpga: Generate Arria10 SFP header V1

2018-04-15 Thread Marek Vasut
Generate SoCFPGA boot header version 1 instead of version 0 for Arria10. Signed-off-by: Marek Vasut Cc: Dinh Nguyen Cc: Chin Liang See --- scripts/Makefile.spl | 4 1 file changed, 4 insertions(+) diff --git

[U-Boot] [PATCH 2/5] image: socfpga: Add SFP image version 1 definition

2018-04-15 Thread Marek Vasut
Add support for the SoCFPGA header v1, which is used on Arria 10. The layout of the v0 and v1 header is similar, yet there are a few differences which make it incompatible with previous v0 header, so add a new entry. Signed-off-by: Marek Vasut Cc: Dinh Nguyen

[U-Boot] [PATCH 4/5] tools: socfpga: Add SFP image V1 support

2018-04-15 Thread Marek Vasut
Add support for the SoCFPGA header v1 , which is used on Arria 10. Thus far the mkimage-socfpga image only supported header format v0 used on Cyclone V and Arria V, but is not supported on Arria 10. The layout of the v0 and v1 header is similar, yet there are a few differences, see the patch body

[U-Boot] [PATCH 1/5] ARM: socfpga: Add boot trampoline for Arria10

2018-04-15 Thread Marek Vasut
The Arria10 uses slightly different boot image header than the Gen5 SoCs, in particular the header itself contains an offset from the start of the header to which the Arria10 jumps. This offset must not be negative, yet the header is placed at offset 0x40 of the bootable binary. Therefore, to jump

[U-Boot] [PATCH 3/5] tools: socfpga: Stop using global struct socfpga_image

2018-04-15 Thread Marek Vasut
The structure is passed around correctly, create local instances where necessary and zap the global struct socfpga_image instance. Signed-off-by: Marek Vasut Cc: Dinh Nguyen Cc: Chin Liang See --- tools/socfpgaimage.c | 8 ++--

[U-Boot] [PATCH v2] bootm: Align cache flush begin address

2018-04-15 Thread Bryan O'Donoghue
commit b4d956f6bc0f ("bootm: Align cache flush end address correctly") aligns the end address of the cache flush operation to a cache-line size to ensure lower-layers in the code accept the range provided and flush. A similar action should be taken for the begin address of a cache flush

Re: [U-Boot] [PATCH] Revert "imximage: Remove failure when no IVT offset is found"

2018-04-15 Thread Stefano Babic
Hi Fabio, On 15/04/2018 12:37, Fabio Estevam wrote: > From: Fabio Estevam > > This reverts commit b5b0e4e351e20a606de22db6a56ad6bc1e2aa8fd. > > Commit f916757300c1 ("imx: Create distinct pre-processed mkimage > config files") provided a proper fix for the parallel

[U-Boot] [PATCH] Revert "imximage: Remove failure when no IVT offset is found"

2018-04-15 Thread Fabio Estevam
From: Fabio Estevam This reverts commit b5b0e4e351e20a606de22db6a56ad6bc1e2aa8fd. Commit f916757300c1 ("imx: Create distinct pre-processed mkimage config files") provided a proper fix for the parallel mkimage config files build failure, so the original workaround can be

[U-Boot] [PULL] Please pull u-boot-imx

2018-04-15 Thread Stefano Babic
Hi Tom, please pull from u-boot-imx, thanks ! -- The following changes since commit 6d7403bf72b5ea46497fe8222d0303cb79563379: doc: mxc_hab: Update i.MX HAB documentation (2018-03-11 16:00:21 +0100) are available in the git repository at: git://www.denx.de/git/u-boot-imx.git master for

Re: [U-Boot] [PATCH] mx6cuboxi: Fix some memory configuration errors

2018-04-15 Thread Stefano Babic
On 10/04/2018 22:05, Fabio Estevam wrote: > From: Jon Nettleton > > These changes bring mainline back into line with the configurations > that were originally set in our stable BSP. > > Signed-off-by: Jon Nettleton > Signed-off-by: Fabio Estevam

Re: [U-Boot] [PATCH 1/2] imx31_phycore: Delete

2018-04-15 Thread Stefano Babic
On 06/04/2018 22:27, Tom Rini wrote: > This platform has been marked as orphaned since September 2013, remove. > > Signed-off-by: Tom Rini > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic --

Re: [U-Boot] [PATCH 2/2] mx31ads: Delete

2018-04-15 Thread Stefano Babic
On 06/04/2018 22:27, Tom Rini wrote: > This platform has been marked as orphaned since September 2013, remove. > > Signed-off-by: Tom Rini > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic --

Re: [U-Boot] [PATCH] imx: Create distinct pre-processed mkimage config files

2018-04-15 Thread Stefano Babic
On 07/04/2018 02:11, Trent Piepho wrote: > Each imx image is created by a separate sub-make and during this process > the mkimage config file is run though cpp. > > The cpp output is to the same file no matter what imx image is being > created. > > This means if two imx images are generated in

Re: [U-Boot] [PATCH] imx: mx7: snvs: Add an SNVS init routine

2018-04-15 Thread Stefano Babic
On 05/04/2018 20:46, Bryan O'Donoghue wrote: > Working with HAB on the i.MX7 we've encountered a case where a board that > successfully authenticates u-boot when booting Linux via OPTEE subsequently > fails to properly bring up the RTC. > > The RTC registers live in the low-power block of the

Re: [U-Boot] [PATCH] pico-imx7d: Replace fatload command

2018-04-15 Thread Stefano Babic
On 06/04/2018 21:54, Vanessa Maegima wrote: > Replace fatload with the fs generic loading interface ('load' command). > > Signed-off-by: Vanessa Maegima > --- > configs/pico-imx7d_defconfig | 1 + > include/configs/pico-imx7d.h | 4 ++-- > 2 files changed, 3

Re: [U-Boot] [PATCH v2 1/2] imx: board: Add support for the K+P's kp_imx6q_tpc board

2018-04-15 Thread Stefano Babic
On 05/04/2018 09:04, Lukasz Majewski wrote: > This commit provides support for Kieback & Peter GmbH IMX6Q based > TPC board. > > U-boot console output: > > U-Boot SPL 2018.05-rc1-5-g631e2d01fd (Apr 04 2018 - 21:16:24 +0200) > Trying to boot from MMC1 > > U-Boot

Re: [U-Boot] [PATCHv2] board: ge: bx50v3: enable backlight on demand

2018-04-15 Thread Stefano Babic
On 04/04/2018 10:50, Sebastian Reichel wrote: > From: Ian Ray > > Enable display backlight only if a message needs to be displayed. > The kernel re-initializes the backlight, which results in some > unwanted artifacts. > > Signed-off-by: Ian Ray >

Re: [U-Boot] [PATCH v2 2/2] boot: script: The boot.scr file for K+P's boards

2018-04-15 Thread Stefano Babic
On 05/04/2018 09:04, Lukasz Majewski wrote: > By using this file one can avoid cluttering .h file with u-boot > HUSH commands necessary for booting target device. > > With such approach the commands are stored only in one place and can be > reused if needed. > > Signed-off-by: Lukasz Majewski

Re: [U-Boot] [PATCH] arm: imx: Add Winbond SPI-NOR support for Advantech DMS-BA16 board

2018-04-15 Thread Stefano Babic
On 30/03/2018 03:11, Ken Lin wrote: > Windbond's been in the AVL list and need to enable the support > > Signed-off-by: Ken Lin > --- > configs/dms-ba16-1g_defconfig | 1 + > configs/dms-ba16_defconfig| 1 + > 2 files changed, 2 insertions(+) > > diff --git

Re: [U-Boot] [PATCH v3 1/2] imximage: Encase majority of header in __ASSEMBLY__ declaration

2018-04-15 Thread Stefano Babic
On 26/03/2018 16:36, Bryan O'Donoghue wrote: > Subsequent patches will want to include imageimage.h but in doing so > include it on an assembly compile path causing a range of compile errors. > Fix the errors pre-emptively by encasing the majority of the declarations > in imximage.h inside an

Re: [U-Boot] [PATCH v3 2/2] imx: hab: Provide hab_auth_img_or_fail command

2018-04-15 Thread Stefano Babic
On 26/03/2018 16:36, Bryan O'Donoghue wrote: > This patch adds hab_auth_img_or_fail() a command line function that > encapsulates a common usage of authenticate and failover, namely if > authenticate image fails, then drop to BootROM USB recovery mode. > > For secure-boot systems, this type of

Re: [U-Boot] [PATCH v3 3/3] warp7: Set u-boot serial# based on OTP value

2018-04-15 Thread Stefano Babic
On 26/03/2018 16:27, Bryan O'Donoghue wrote: > u-boot has a standard "serial#" environment variable that is suitable > for storing the iSerial number we will supply via the USB device > descriptor. serial# is automatically picked up by the disk subsystem in > u-boot - thus providing a handy

Re: [U-Boot] [PATCH v3 2/3] imx: mx7: Add comment to describe OTP TESTER registers

2018-04-15 Thread Stefano Babic
On 26/03/2018 16:27, Bryan O'Donoghue wrote: > The tester registers provide a unique chip-level identifier which > get_board_serial() returns in a "struct tag_serialnr". > > This patch documents the properties of the registers; in summary. > > 31:0 OCOTP_TESTER0 (most significant) > - FSL-wide

Re: [U-Boot] [PATCH v3 1/3] imx: mx7: Fix CONFIG_SERIAL_TAG compilation

2018-04-15 Thread Stefano Babic
On 26/03/2018 16:27, Bryan O'Donoghue wrote: > Currently when we define CONFIG_SERIAL_TAG we will barf with a failure to > define "struct tag_serialnr". > > This structure is defined in , this patch includes > to fix. > > Signed-off-by: Bryan O'Donoghue > Cc:

Re: [U-Boot] [PATCH] ARM: mx6: ddr: Add write leveling correction code

2018-04-15 Thread Stefano Babic
On 30/03/2018 03:04, Marek Vasut wrote: > When the DDR calibration is enabled, a situation may happen that it > will fail on a few select boards out of a whole production lot. In > particular, after the first write leveling stage, the MPWLDECTRLx > registers will contain a value 0x1nn , for nn

Re: [U-Boot] [PATCH 2/2] tools/imximage: use 0x prefix in HAB Blocks line

2018-04-15 Thread Stefano Babic
On 23/03/2018 12:08, Rasmus Villemoes wrote: > The u-boot-ivt.img.log file contains 0x prefixes in the HAB Blocks line, > while the SPL.log does not. For consistency, and to make it easier to > extract and put into a .csf file for use with NXP's code signing tool, > add 0x prefixes here. > >

Re: [U-Boot] [PATCH 1/2] Makefile: always preserve output for images that can contain HAB Blocks

2018-04-15 Thread Stefano Babic
On 24/03/2018 23:13, Breno Matheus Lima wrote: > Hi All, > > 2018-03-23 8:08 GMT-03:00 Rasmus Villemoes : >> The current makefile logic disables creation of the >> SPL.log/u-boot-ivt.img.log etc. files when V=1 is given on the command >> line, the rationale

Re: [U-Boot] net: sh_eth: Add remaining Gen2 DT compatible

2018-04-15 Thread Marek Vasut
On 04/15/2018 06:16 AM, Joe Hershberger wrote: > Hi Marek, > > https://patchwork.ozlabs.org/patch/897786/ was applied to > http://git.denx.de/?p=u-boot/u-boot-net.git If you don't mind, I'll pull it through -sh alongside the rest of the Gen2 junk, OK ? -- Best regards, Marek Vasut