Re: [U-Boot] [PATCH v2] spi: fsl_qspi: Add controller busy check before new spi operation

2017-08-29 Thread Suresh Gupta
> -Original Message- > From: Jagan Teki [mailto:jagannadh.t...@gmail.com] > Sent: Tuesday, August 29, 2017 11:08 PM > To: Suresh Gupta > Cc: u-boot@lists.denx.de; York Sun > Subject: Re: [PATCH v2] spi: fsl_qspi: Add controller busy check before new > spi > operation > > On Tue, Aug 2

Re: [U-Boot] [PATCH 3/4] sunxi: dts: added emac node for nanopi m1

2017-08-29 Thread Jagan Teki
On Wed, Aug 30, 2017 at 6:02 AM, Philipp Rossak wrote: > From: Philipp Rossak > > The sun8i emac hardware is present on the Nanopi M1. > It uses the internal PHY. > > Signed-off-by: Philipp Rossak > --- > arch/arm/dts/sun8i-h3-nanopi-m1.dts | 11 +++ > 1 file changed, 11 insertions(+) >

Re: [U-Boot] ** Can't read Driver Desriptor Block **

2017-08-29 Thread Lothar Waßmann
Hi, On Wed, 30 Aug 2017 14:34:18 +0800 Simon Glass wrote: > Hi, > > On 30 August 2017 at 09:54, Bin Meng wrote: > > Hi Heinrich, > > > > On Wed, Aug 30, 2017 at 4:26 AM, Heinrich Schuchardt > > wrote: > >> Hello Simon, > >> > >> U-Boot HEAD qemu-86_defconfig cannot discover an IDE disk with on

Re: [U-Boot] [PATCH] ARM: mvebu: add "spi-flash" compatible string

2017-08-29 Thread Jagan Teki
On Tue, Aug 29, 2017 at 2:07 PM, Chris Packham wrote: > U-boots spi-nor support is currently considered a work in progress. For > now to avoid issues it is necessary to add a "spi-flash" compatible > string. Eventually the "jedec,spi-nor" will be sufficient when the core > U-boot code is updated t

Re: [U-Boot] ** Can't read Driver Desriptor Block **

2017-08-29 Thread Simon Glass
Hi, On 30 August 2017 at 09:54, Bin Meng wrote: > Hi Heinrich, > > On Wed, Aug 30, 2017 at 4:26 AM, Heinrich Schuchardt > wrote: >> Hello Simon, >> >> U-Boot HEAD qemu-86_defconfig cannot discover an IDE disk with one FAT >> partition in qemu-system-x86_64. >> >> By bisection I found this patch

Re: [U-Boot] [PATCH v3 0/8] sf: improve support of (Q)SPI flash memories

2017-08-29 Thread Jagan Teki
Hi Wenyou Yang, On Wed, Aug 30, 2017 at 7:28 AM, Yang, Wenyou wrote: > Hi Jagan, > > > On 2017/8/26 14:34, Jagan Teki wrote: >> >> Hi, >> >> Thanks for the changes. >> >> On Tue, Jul 25, 2017 at 12:30 PM, Wenyou Yang >> wrote: >>> >>> This series of patches are based and have been tested on the

Re: [U-Boot] [PATCH v3 0/8] sf: improve support of (Q)SPI flash memories

2017-08-29 Thread Jagan Teki
Hi Bin, On Wed, Aug 30, 2017 at 11:11 AM, Bin Meng wrote: > On Wed, Aug 30, 2017 at 1:27 PM, Yang, Wenyou > wrote: >> >> >> On 2017/8/30 11:43, Bin Meng wrote: >>> >>> On Wed, Aug 30, 2017 at 11:25 AM, Yang, Wenyou >>> wrote: On 2017/8/26 14:34, Jagan Teki wrote: > > Hi,

[U-Boot] [PATCH V4 10/12] board: freescale: common: add pfuze dm code

2017-08-29 Thread Peng Fan
Add pfuze dm code, this code does the same thing as pfuze.c, but only effects when CONFIG_$(SPL_)DM_PMIC_PFUZE100 enabled. Signed-off-by: Peng Fan Cc: York Sun Cc: Jaehoon Chung Cc: Stefano Babic --- V2->V4: none board/freescale/common/Makefile | 1 + board/freescale/common/pfuze.h|

[U-Boot] [PATCH V4 07/12] imx: mx6sabresd: enable SPL FIT

2017-08-29 Thread Peng Fan
Enable SPL FIT. Now DM drivers are not enabled, so boards boot as before with only the difference that loading dtb. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam --- V2->V4: none configs/mx6sabresd_defconfig | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --gi

[U-Boot] [PATCH V4 05/12] imx: introduce mkimage_fit.sh

2017-08-29 Thread Peng Fan
Introduce mkimage_fit.sh which is modifed from board/sunxi/mksunxi_fit_atf.sh. ATF is dropped and modified for arm32 arch. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam --- V2->V4: none arch/arm/mach-imx/mkimage_fit.sh | 63 1 file chang

[U-Boot] [PATCH V4 06/12] imx: mx6sabresd: implement board_fit_config_name_match

2017-08-29 Thread Peng Fan
Implement board_fit_config_name_match. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam --- V2->V4: none board/freescale/mx6sabresd/mx6sabresd.c | 13 + 1 file changed, 13 insertions(+) diff --git a/board/freescale/mx6sabresd/mx6sabresd.c b/board/freescale/mx6sabresd

[U-Boot] [PATCH V4 11/12] imx: mx6sabresd: enable dm drivers

2017-08-29 Thread Peng Fan
Enable DM MMC/I2C/PMIC/GPIO/REGULATOR. Signed-off-by: Peng Fan Cc: Fabio Estevam Cc: Stefano Babic --- V2->V4: none board/freescale/mx6sabresd/mx6sabresd.c | 326 +--- configs/mx6sabresd_defconfig| 15 ++ include/configs/mx6sabresd.h| 15

[U-Boot] [PATCH V4 09/12] power: pmic.h: include dm/ofnode.h

2017-08-29 Thread Peng Fan
Include dm/ofnode.h. Signed-off-by: Peng Fan Reviewed-by: Simon Glass Cc: Stefano Babic --- V2: none V3: add r-b tag V4: none include/power/pmic.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/power/pmic.h b/include/power/pmic.h index 4b34316..e2517f2 100644 --- a/include/power

[U-Boot] [PATCH V4 12/12] imx: mx6sabresd: update README

2017-08-29 Thread Peng Fan
Update README since we use FIT now. Signed-off-by: Peng Fan Cc: Fabio Estevam Cc: Stefano Babic --- V2->V4: none board/freescale/mx6sabresd/README | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/board/freescale/mx6sabresd/README b/board/freescale/mx6sa

[U-Boot] [PATCH V4 08/12] mmc: fsl_esdhc: switch to use CONFIG_IS_ENABLED

2017-08-29 Thread Peng Fan
Switch to use CONFIG_IS_ENABLED. Signed-off-by: Peng Fan Cc: Jaehoon Chung Cc: Stefano Babic --- V2->V4: none drivers/mmc/fsl_esdhc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c index cc188c4..aa02bd6 100644 --

[U-Boot] [PATCH V4 04/12] Makefile: build FIT image if CONFIG_SPL_FIT_GENERATOR defined

2017-08-29 Thread Peng Fan
Build FIT image if CONFIG_SPL_FIT_GENERATOR defined. Signed-off-by: Peng Fan Cc: Simon Glass Cc: Masahiro Yamada Cc: Bin Meng Cc: Andre Przywara Cc: "Cooper Jr., Franklin" Cc: "Álvaro Fernández Rojas" Cc: Stefano Babic --- V2: none V3: none V4: wrap using SPL_LOAD_FIT to avoid build error

[U-Boot] [PATCH V4 03/12] power: pmic/regulator allow dm be omited by SPL

2017-08-29 Thread Peng Fan
Allow the dm driver be omited by SPL. Signed-off-by: Peng Fan Reviewed-by: Simon Glass Cc: Jaehoon Chung Cc: Keerthy Cc: Minkyu Kang Cc: Stefan Agner Cc: Hou Zhiqiang Cc: Jacob Chen Cc: Kever Yang Cc: Stefano Babic --- V2: none V3: add r-b tag V4: none drivers/power/pmic/Makefile

[U-Boot] [PATCH V4 02/12] arm: dts: include dts for imx6sabresd

2017-08-29 Thread Peng Fan
Import dts from commit aae4e7a8bc("Linux 4.13-rc4") for imx6sabresd board. Signed-off-by: Peng Fan Cc: Stefano Babic --- V2-V4: none arch/arm/dts/Makefile | 3 + arch/arm/dts/imx6dl-sabresd.dts | 22 ++ arch/arm/dts/imx6dl.dtsi | 242 + arch/arm/dts/imx6q

[U-Boot] [PATCH V4 01/12] scripts: spl: fix typo

2017-08-29 Thread Peng Fan
Typo fix: CONIFG->CONFIG Signed-off-by: Peng Fan Cc: Tom Rini --- V2: new V3: none V4: none scripts/Makefile.uncmd_spl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Makefile.uncmd_spl b/scripts/Makefile.uncmd_spl index 15d0836..b399411 100644 --- a/scripts/Makefi

Re: [U-Boot] [PATCH 01/19] configs: Add FPGA loadfs config for Arria 10

2017-08-29 Thread Chee, Tien Fong
On Sel, 2017-08-29 at 13:51 +0200, Marek Vasut wrote: > On 08/29/2017 12:45 PM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > This config allow FPGA design loaded from FAT fs to FPGA manager. > > > > Signed-off-by: Tien Fong Chee > > --- > >  configs/socfpga_arria10_defc

Re: [U-Boot] [PATCH v3 0/8] sf: improve support of (Q)SPI flash memories

2017-08-29 Thread Yang, Wenyou
On 2017/8/30 13:41, Bin Meng wrote: On Wed, Aug 30, 2017 at 1:27 PM, Yang, Wenyou wrote: On 2017/8/30 11:43, Bin Meng wrote: On Wed, Aug 30, 2017 at 11:25 AM, Yang, Wenyou wrote: On 2017/8/26 14:34, Jagan Teki wrote: Hi, Thanks for the changes. On Tue, Jul 25, 2017 at 12:30 PM, Wenyou

Re: [U-Boot] [PATCH v3 0/8] sf: improve support of (Q)SPI flash memories

2017-08-29 Thread Bin Meng
On Wed, Aug 30, 2017 at 1:27 PM, Yang, Wenyou wrote: > > > On 2017/8/30 11:43, Bin Meng wrote: >> >> On Wed, Aug 30, 2017 at 11:25 AM, Yang, Wenyou >> wrote: >>> >>> >>> On 2017/8/26 14:34, Jagan Teki wrote: Hi, Thanks for the changes. On Tue, Jul 25, 2017 at 12:30 P

Re: [U-Boot] DA850evm SPI Flash Partitions between Linux and U-boot are Inconsistent

2017-08-29 Thread Sekhar Nori
On Wednesday 30 August 2017 08:07 AM, Adam Ford wrote: > On Tue, Aug 29, 2017 at 8:05 AM, Adam Ford wrote: >> On Tue, Aug 29, 2017 at 6:41 AM, Sekhar Nori wrote: >>> On Tuesday 29 August 2017 03:29 PM, Adam Ford wrote: On Tue, Aug 29, 2017 at 4:13 AM, Sekhar Nori wrote: > Hi Adam, >

Re: [U-Boot] [PATCH v3 0/8] sf: improve support of (Q)SPI flash memories

2017-08-29 Thread Yang, Wenyou
On 2017/8/30 11:43, Bin Meng wrote: On Wed, Aug 30, 2017 at 11:25 AM, Yang, Wenyou wrote: On 2017/8/26 14:34, Jagan Teki wrote: Hi, Thanks for the changes. On Tue, Jul 25, 2017 at 12:30 PM, Wenyou Yang wrote: This series of patches are based and have been tested on the 'master' branch o

[U-Boot] [PATCH] libfdt: Initialize the stack variable

2017-08-29 Thread tien . fong . chee
From: Tien Fong Chee Report Coverity log: The code uses a variable that has not been initialized, leading to unpredictable or unintended results. Reported-by: Coverity (CID: 60519) Signed-off-by: Tien Fong Chee --- lib/libfdt/fdt_wip.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-

Re: [U-Boot] [PATCH] libfdt: Initialize the stack variable

2017-08-29 Thread Chee, Tien Fong
On Kha, 2017-08-24 at 21:04 -0400, Tom Rini wrote: > On Thu, Aug 24, 2017 at 01:53:57PM +0800, tien.fong.c...@intel.com > wrote: > > > > > From: Tien Fong Chee > > > > Report Coverity log: > > The code uses a variable that has not > > been initialized, leading to unpredictable > > or unintended

Re: [U-Boot] ** Can't read Driver Desriptor Block **

2017-08-29 Thread Heinrich Schuchardt
On 08/30/2017 03:54 AM, Bin Meng wrote: > Hi Heinrich, > > On Wed, Aug 30, 2017 at 4:26 AM, Heinrich Schuchardt > wrote: >> Hello Simon, >> >> U-Boot HEAD qemu-86_defconfig cannot discover an IDE disk with one FAT >> partition in qemu-system-x86_64. >> >> By bisection I found this patch. >> >>

Re: [U-Boot] [PATCH v3 0/8] sf: improve support of (Q)SPI flash memories

2017-08-29 Thread Bin Meng
On Wed, Aug 30, 2017 at 11:25 AM, Yang, Wenyou wrote: > > > On 2017/8/26 14:34, Jagan Teki wrote: >> >> Hi, >> >> Thanks for the changes. >> >> On Tue, Jul 25, 2017 at 12:30 PM, Wenyou Yang >> wrote: >>> >>> This series of patches are based and have been tested on the 'master' >>> branch of the u

Re: [U-Boot] [PATCH v3 0/8] sf: improve support of (Q)SPI flash memories

2017-08-29 Thread Yang, Wenyou
On 2017/8/26 14:34, Jagan Teki wrote: Hi, Thanks for the changes. On Tue, Jul 25, 2017 at 12:30 PM, Wenyou Yang wrote: This series of patches are based and have been tested on the 'master' branch of the u-boot.git tree. Tests were passed with a sama5d2 xplained board which embeds both SPI

Re: [U-Boot] DA850evm SPI Flash Partitions between Linux and U-boot are Inconsistent

2017-08-29 Thread Adam Ford
On Tue, Aug 29, 2017 at 8:05 AM, Adam Ford wrote: > On Tue, Aug 29, 2017 at 6:41 AM, Sekhar Nori wrote: >> On Tuesday 29 August 2017 03:29 PM, Adam Ford wrote: >>> On Tue, Aug 29, 2017 at 4:13 AM, Sekhar Nori wrote: Hi Adam, On Sunday 27 August 2017 08:31 PM, Adam Ford wrote:

Re: [U-Boot] [PATCH v3 0/8] sf: improve support of (Q)SPI flash memories

2017-08-29 Thread Yang, Wenyou
Hi Jagan, On 2017/8/26 14:34, Jagan Teki wrote: Hi, Thanks for the changes. On Tue, Jul 25, 2017 at 12:30 PM, Wenyou Yang wrote: This series of patches are based and have been tested on the 'master' branch of the u-boot.git tree. Tests were passed with a sama5d2 xplained board which embeds

Re: [U-Boot] ** Can't read Driver Desriptor Block **

2017-08-29 Thread Bin Meng
Hi Heinrich, On Wed, Aug 30, 2017 at 4:26 AM, Heinrich Schuchardt wrote: > Hello Simon, > > U-Boot HEAD qemu-86_defconfig cannot discover an IDE disk with one FAT > partition in qemu-system-x86_64. > > By bisection I found this patch. > > b7c6baef2891ce8978cbfddb66e944943473ac21 > x86: Convert MM

Re: [U-Boot] undefined reference to `environment'

2017-08-29 Thread Bin Meng
On Wed, Aug 30, 2017 at 6:07 AM, Thomas Petazzoni wrote: > Hello, > > On Tue, 29 Aug 2017 17:18:24 -0400, Tom Rini wrote: > >> So there's something extra funny going on in the linking. See >> https://patchwork.ozlabs.org/patch/806263/ which I have included, but >> haven't been able to push out. >

[U-Boot] [PATCH 4/4] sunxi: dts: added emac node for nanopi m1 plus

2017-08-29 Thread Philipp Rossak
From: Philipp Rossak The sun8i emac hardware is present on the Nanopi M1. It uses an external PHY. Signed-off-by: Philipp Rossak --- arch/arm/dts/sun8i-h3-nanopi-m1-plus.dts | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/dts/sun8i-h3-nanopi-m1-plus

[U-Boot] [PATCH 1/4] sunxi: defconfig: enable sun8i emac on nanopi m1

2017-08-29 Thread Philipp Rossak
From: Philipp Rossak The sun8i emac hardware is present on the Nanopi M1. It uses the internal PHY. Signed-off-by: Philipp Rossak --- configs/nanopi_m1_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/nanopi_m1_defconfig b/configs/nanopi_m1_defconfig index 498496b..6ac8968

[U-Boot] [PATCH 2/4] sunxi: defconfig: enable sun8i emac on nanopi m1 plus

2017-08-29 Thread Philipp Rossak
From: Philipp Rossak The sun8i emac hardware is present on the Nanopi M1. It uses an external PHY. Pin PD6 is used to enable the external PHY. Signed-off-by: Philipp Rossak --- configs/nanopi_m1_plus_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/nanopi_m1_plus_defconf

[U-Boot] [PATCH 3/4] sunxi: dts: added emac node for nanopi m1

2017-08-29 Thread Philipp Rossak
From: Philipp Rossak The sun8i emac hardware is present on the Nanopi M1. It uses the internal PHY. Signed-off-by: Philipp Rossak --- arch/arm/dts/sun8i-h3-nanopi-m1.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/dts/sun8i-h3-nanopi-m1.dts b/arch/arm/dts/sun8i-h

[U-Boot] [PATCH 0/4] Enable ethernet on nanopi m1 and nanopi m1 plus

2017-08-29 Thread Philipp Rossak
From: Philipp Rossak This Patchseries enables the ethernet for the Friendlyarm Nanopi M1 and the Friendlyarm Nanopi M1 Plus. Philipp Rossak (4): sunxi: defconfig: enable sun8i emac on nanopi m1 sunxi: defconfig: enable sun8i emac on nanopi m1 plus sunxi: dts: added emac node for nanopi m1

[U-Boot] [GIT PULL] u-boot-uniphier/master

2017-08-29 Thread Masahiro Yamada
Hi Tom, Here is a bit volume pull request, but changes are SoC-specific except the ofnode patch and denali_dt. The latter is reviewed by Simon. - add {ofnode,dev}_read_resource_byname - provide DT probe hook to Denali NAND driver - update clk/reset driver - update DT - misc cleanups The follow

Re: [U-Boot] [PATCH] ARM: uniphier: move CONFIG_NAND to defconfig

2017-08-29 Thread Masahiro Yamada
2017-08-29 15:41 GMT+09:00 Masahiro Yamada : > This imply was added when the option was moved by the moveconfig tool, > but the intention is not clear. Move it to defconfig. > > Signed-off-by: Masahiro Yamada > --- Applied to u-boot-uniphier. -- Best Regards Masahiro Yamada ___

Re: [U-Boot] [PATCH] ARM: uniphier: enable Denali NAND driver for 64bit SoCs

2017-08-29 Thread Masahiro Yamada
2017-08-30 1:04 GMT+09:00 Masahiro Yamada : > Now the entry to the NAND driver init can be is controlled by DT; > it should not hurt to compile the driver all the time. > > Signed-off-by: Masahiro Yamada > --- Applied to u-boot-uniphier. -- Best Regards Masahiro Yamada _

Re: [U-Boot] [PATCH] ARM: uniphier: set system bus pinmux for PXs3

2017-08-29 Thread Masahiro Yamada
2017-08-29 15:42 GMT+09:00 Masahiro Yamada : > The system bus is not enabled by default for NAND, eMMC boot > etc. of PXs3. > > Signed-off-by: Masahiro Yamada Series, applied to u-boot-uniphier. -- Best Regards Masahiro Yamada ___ U-Boot mailing list

Re: [U-Boot] [PATCH 1/4] reset: uniphier: fix compatible for SD reset node for LD11/LD20

2017-08-29 Thread Masahiro Yamada
2017-08-29 12:20 GMT+09:00 Masahiro Yamada : > LD20 has SD ctrl instead of MIO ctrl. LD11 has both of them. > > Signed-off-by: Masahiro Yamada > --- Series, applied to u-boot-uniphier. -- Best Regards Masahiro Yamada ___ U-Boot mailing list U-Boot@l

Re: [U-Boot] [PATCH 0/2] Add denali DT driver

2017-08-29 Thread Masahiro Yamada
2017-08-26 1:12 GMT+09:00 Masahiro Yamada : > 1/2 is required for 2/2. > Denali NAND controller has two reg regions named "nand_data" and "denali_reg" > as described by Documentation/devicetree/bindings/mtd/denali-nand.txt > > > > Masahiro Yamada (2): > ofnode: add {ofnode,dev}_read_resource_byna

Re: [U-Boot] [PATCH 0/6] ARM: uniphier: update PLL settings and clean-up NAND settings

2017-08-29 Thread Masahiro Yamada
2017-08-26 17:57 GMT+09:00 Masahiro Yamada : > > 1-3: update PLL init code > 4-6: clean up NAND adhoc code (the last two are only applicable > after the Denali DT driver is applied.) > http://patchwork.ozlabs.org/patch/805959/ > Series, applied. -- Best Regards Masahiro Yamada _

Re: [U-Boot] undefined reference to `environment'

2017-08-29 Thread Thomas Petazzoni
Hello, On Tue, 29 Aug 2017 17:18:24 -0400, Tom Rini wrote: > So there's something extra funny going on in the linking. See > https://patchwork.ozlabs.org/patch/806263/ which I have included, but > haven't been able to push out. At this point, I don't think it's the correct fix. I don't see why

Re: [U-Boot] [PATCH 00/23] efi_loader implement missing functions

2017-08-29 Thread Heinrich Schuchardt
On 08/29/2017 10:38 PM, Alexander Graf wrote: > > >> Am 29.08.2017 um 22:16 schrieb Simon Glass : >> >> Hi, >> >>> On 29 August 2017 at 22:16, Rob Clark wrote: On Tue, Aug 29, 2017 at 8:57 AM, Leif Lindholm wrote: On Tue, Aug 29, 2017 at 02:26:48PM +0200, Alexander Graf wrote:

[U-Boot] [PATCH v2] patman: add support for omitting bouncing addresses

2017-08-29 Thread Chris Packham
Add support for reading a list of bouncing addresses from a in-tree file (doc/bounces) and from the ~/.patman config file. These addresses are stripped from the Cc list. Signed-off-by: Chris Packham --- This version supports an in-tree doc/bounces file as well as a section in the .patman config f

Re: [U-Boot] undefined reference to `environment'

2017-08-29 Thread Tom Rini
On Tue, Aug 29, 2017 at 4:50 PM, Thomas Petazzoni wrote: > Hello, > > On Wed, 30 Aug 2017 04:16:39 +0800, Simon Glass wrote: > >> A bisect shows this came in with: >> >> f40ad66f (refs/bisect/bad) arch/sh: don't bring common/env_embedded.o >> into the link >> >> Thomas, could you please take a loo

Re: [U-Boot] undefined reference to `environment'

2017-08-29 Thread Thomas Petazzoni
Hello, On Wed, 30 Aug 2017 04:16:39 +0800, Simon Glass wrote: > A bisect shows this came in with: > > f40ad66f (refs/bisect/bad) arch/sh: don't bring common/env_embedded.o > into the link > > Thomas, could you please take a look? env/embedded.o is missing in the link. It is added to extra-y by

Re: [U-Boot] [PATCH 00/23] efi_loader implement missing functions

2017-08-29 Thread Alexander Graf
> Am 29.08.2017 um 22:16 schrieb Simon Glass : > > Hi, > >> On 29 August 2017 at 22:16, Rob Clark wrote: >>> On Tue, Aug 29, 2017 at 8:57 AM, Leif Lindholm >>> wrote: >>> On Tue, Aug 29, 2017 at 02:26:48PM +0200, Alexander Graf wrote: >>> I would add command >>> bootefi selftest.efi

Re: [U-Boot] [PATCH v2 00/16] dtoc: Add support for 64-bit addresses

2017-08-29 Thread Dr. Philipp Tomsich
Simon, I should be able to give this a test drive on the RK3368 by the end of the week. For the RK3399 our board uses full OF_CONTROL, so I won’t really exercise this there. Given that the RK3399 can always fall back to OF_CONTROL for SPL (as is the default on Puma) and this only blocks the RK336

[U-Boot] ** Can't read Driver Desriptor Block **

2017-08-29 Thread Heinrich Schuchardt
Hello Simon, U-Boot HEAD qemu-86_defconfig cannot discover an IDE disk with one FAT partition in qemu-system-x86_64. By bisection I found this patch. b7c6baef2891ce8978cbfddb66e944943473ac21 x86: Convert MMC to driver model With this patch I get IDE: Bus 0: OK Bus 1: OK Device 0: Model: QE

Re: [U-Boot] [PATCH v2 05/16] dtoc: Add support for 32 or 64-bit addresses

2017-08-29 Thread Dr. Philipp Tomsich
> On 29 Aug 2017, at 22:15, Simon Glass wrote: > > When using 32-bit addresses dtoc works correctly. For 64-bit addresses it > does not since it ignores the #address-cells and #size-cells properties. > > Update the tool to use fdt64_t as the element type for reg properties when > either the add

Re: [U-Boot] [PATCH 00/23] efi_loader implement missing functions

2017-08-29 Thread Simon Glass
Hi, On 29 August 2017 at 22:16, Rob Clark wrote: > On Tue, Aug 29, 2017 at 8:57 AM, Leif Lindholm > wrote: >> On Tue, Aug 29, 2017 at 02:26:48PM +0200, Alexander Graf wrote: >>> > > > I would add command >>> > > > bootefi selftest.efi >>> > > > to run the tests and provide the python wrapper co

Re: [U-Boot] undefined reference to `environment'

2017-08-29 Thread Simon Glass
+Thomas Hi Joe, On 29 August 2017 at 06:59, Joe Hershberger wrote: > Hi Simon / Tom, > > It seems the SH4 build is failing with the current trunk. Or at least > my test build is failing and the change seems to have nothing to do > with the failure. > > https://travis-ci.org/jhershbe/u-boot/jobs/

[U-Boot] [PATCH v2 10/16] dtoc: Rename is_phandle() and adjust it to return more detail

2017-08-29 Thread Simon Glass
Update this function to return more detail about a property that contains phandles. This will allow (in a future commit) more accurate handling of these properties. Signed-off-by: Simon Glass --- Changes in v2: None tools/dtoc/dtb_platdata.py | 79 +---

Re: [U-Boot] undefined reference to `environment'

2017-08-29 Thread Thomas Petazzoni
Hello, On Wed, 30 Aug 2017 04:16:39 +0800, Simon Glass wrote: > Hi Joe, > > On 29 August 2017 at 06:59, Joe Hershberger wrote: > > Hi Simon / Tom, > > > > It seems the SH4 build is failing with the current trunk. Or at least > > my test build is failing and the change seems to have nothing to d

[U-Boot] [PATCH v2 08/16] dtoc: Use the Fdt's class's phandle map

2017-08-29 Thread Simon Glass
Now that the Fdt class can map phandles to the associated nodes, use that instead of a separate implementation. Signed-off-by: Simon Glass --- Changes in v2: None tools/dtoc/dtb_platdata.py | 16 +++- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/tools/dtoc/dtb_pla

[U-Boot] [PATCH v2 11/16] dtoc: Rename the phandle struct

2017-08-29 Thread Simon Glass
Rather than naming the phandle struct according to the number of cells it uses (e.g. struct phandle_2_cell) name it according to the number of arguments it has (e.g. struct phandle_1_arg). This is a more intuitive naming. Signed-off-by: Simon Glass --- Changes in v2: None doc/driver-model/of-p

[U-Boot] [PATCH v2 07/16] dtoc: Update the Fdt class to record phandles

2017-08-29 Thread Simon Glass
Add a map from phandles to nodes. This can be used by clients of the the class instead of maintaining this themselves. Signed-off-by: Simon Glass --- Changes in v2: None tools/dtoc/fdt.py | 5 + 1 file changed, 5 insertions(+) diff --git a/tools/dtoc/fdt.py b/tools/dtoc/fdt.py index ffd42

[U-Boot] [PATCH v2 09/16] dtoc: Make is_phandle() a member function

2017-08-29 Thread Simon Glass
This function will need to have access to class members once we enhance it to support multiple phandle values. In preparation for that, move it into the class. Signed-off-by: Simon Glass --- Changes in v2: None tools/dtoc/dtb_platdata.py | 36 ++-- 1 file change

Re: [U-Boot] [PATCH] env: Fix operation of 'make environ'

2017-08-29 Thread Simon Glass
Hi Joe, On 30 August 2017 at 04:02, Joe Hershberger wrote: > Hi Simon, > > On Tue, Aug 29, 2017 at 2:53 PM, Simon Glass wrote: >> This was broken by the recent environment refactoring. Specifically: >> >> $ make environ >> scripts/Makefile.build:59: tools/environ/Makefile: No such file or direc

[U-Boot] [PATCH v2 16/16] dtoc: Add a header to the generated files

2017-08-29 Thread Simon Glass
Add a header that indicates that the files generated by dtoc should not be modified. Signed-off-by: Simon Glass --- Changes in v2: None tools/dtoc/dtb_platdata.py | 12 1 file changed, 12 insertions(+) diff --git a/tools/dtoc/dtb_platdata.py b/tools/dtoc/dtb_platdata.py index cfc

[U-Boot] [PATCH v2 14/16] dtoc: Support properties containing multiple phandle values

2017-08-29 Thread Simon Glass
At present dtoc has a very simplistic view of phandles. It assumes that a property has only a single phandle with a single argument (i.e. two cells per property). This is not true in many cases. Enhance the implementation to scan all phandles in a property and to use the correct number of argument

Re: [U-Boot] [U-Boot, 5/5] boot: fdt: fixup the memory dt nodes falcon boot

2017-08-29 Thread York Sun
On 08/29/2017 12:30 PM, Jagan Teki wrote: > On Mon, Aug 28, 2017 at 10:17 PM, York Sun wrote: >> On 08/26/2017 04:50 AM, Jagan Teki wrote: >>> On Thu, Aug 3, 2017 at 1:02 AM, Tom Rini wrote: On Wed, Aug 02, 2017 at 07:10:51PM +, York Sun wrote: > On 04/18/2017 04:57 AM, B, Ravi wrote

[U-Boot] [PATCH v2 13/16] dtoc: Put phandle args in an array

2017-08-29 Thread Simon Glass
We want to support more than one phandle argument. It makes sense to use an array for this rather than discrete struct members. Adjust the code to support this. Rename the member to 'arg' instead of 'id'. Signed-off-by: Simon Glass --- Changes in v2: None drivers/clk/clk-uclass.c | 2 +- inc

[U-Boot] [PATCH v2 12/16] dtoc: Put each phandle on a separate line

2017-08-29 Thread Simon Glass
When writing values from properties which contain phandles, dtoc currently writes 8 phandles per line. Change this to write one phandle per line. This helps reduce line length, since phandles are generally longer and may have arguments. Signed-off-by: Simon Glass --- Changes in v2: None tools/

[U-Boot] [PATCH v2 03/16] dtoc: Add a 64-bit type and a way to convert cells into 64 bits

2017-08-29 Thread Simon Glass
When dealing with multi-cell values we need a type that can hold this value. Add this and a function to process it from a list of cell values. Signed-off-by: Simon Glass Reviewed-by: Philipp Tomsich Tested-by: Philipp Tomsich --- Changes in v2: None tools/dtoc/dtb_platdata.py | 3 +++ tools

[U-Boot] [PATCH v2 15/16] dtoc: Rename the auto-generated dt-structs.h file

2017-08-29 Thread Simon Glass
The filename of the auto-generated file is the same as the file that includes it. Even though the form is in the generated/ subdirectory, this could be confused. Rename the generated file to something that makes it clear it is auto-generated. Signed-off-by: Simon Glass --- Changes in v2: None

[U-Boot] [PATCH v2 06/16] dtoc: Handle 'reg' properties with unusual sizes

2017-08-29 Thread Simon Glass
At present dtoc assumes that all 'reg' properties have both an address and a size. For I2C devices we do not have this. Adjust dtoc to cope. Reported-by: Philipp Tomsich Signed-off-by: Simon Glass --- Changes in v2: None tools/dtoc/dtoc_test_simple.dts | 14 ++ tools/dtoc/test_dto

[U-Boot] [PATCH v2 04/16] dtoc: Avoid very long lines in output

2017-08-29 Thread Simon Glass
Large arrays can result in lines with hundreds or thousands of characters which is not very editor-friendly. To avoid this, addjust the tool to group values 8 per line. Signed-off-by: Simon Glass --- Changes in v2: None tools/dtoc/dtb_platdata.py | 7 ++- tools/dtoc/test_dtoc.py| 6 +++

[U-Boot] [PATCH v2 02/16] dtoc: Adjust Node to record its parent

2017-08-29 Thread Simon Glass
We need to be able to search back up the tree for #address-cells and #size-cells. Record the parent of each node to make this easier. Signed-off-by: Simon Glass Reviewed-by: Philipp Tomsich Tested-by: Philipp Tomsich --- Changes in v2: None tools/dtoc/fdt.py | 12 +++- 1 file change

[U-Boot] [PATCH v2 05/16] dtoc: Add support for 32 or 64-bit addresses

2017-08-29 Thread Simon Glass
When using 32-bit addresses dtoc works correctly. For 64-bit addresses it does not since it ignores the #address-cells and #size-cells properties. Update the tool to use fdt64_t as the element type for reg properties when either the address or size is larger than one cell. Use the correct value so

[U-Boot] [PATCH v2 01/16] fdt: Sync libfdt up to upstream

2017-08-29 Thread Simon Glass
Add upstream changes to U-Boot: - new pylibfdt functions - fdt_setprop_placeholder() Signed-off-by: Simon Glass --- Changes in v2: None lib/libfdt/fdt_rw.c | 20 --- lib/libfdt/libfdt.h | 31 +++ lib/libfdt/pylibfdt/libfdt.i | 58 +

[U-Boot] [PATCH v2 00/16] dtoc: Add support for 64-bit addresses

2017-08-29 Thread Simon Glass
This series updates dtoc to support 64-bit addresses automatically. These appear in C code as fdt64_t arrays: struct dtd_test1 { fdt64_t reg[2]; }; static struct dtd_test1 dtv_test1 = { .reg= {0x1234, 0x5678}, }; C code can then process these address

Re: [U-Boot] [PATCH] env: Fix operation of 'make environ'

2017-08-29 Thread Joe Hershberger
Hi Simon, On Tue, Aug 29, 2017 at 2:53 PM, Simon Glass wrote: > This was broken by the recent environment refactoring. Specifically: > > $ make environ > scripts/Makefile.build:59: tools/environ/Makefile: No such file or directory > make[1]: *** No rule to make target 'tools/environ/Makefile'.

[U-Boot] [PATCH] env: Fix operation of 'make environ'

2017-08-29 Thread Simon Glass
This was broken by the recent environment refactoring. Specifically: $ make environ scripts/Makefile.build:59: tools/environ/Makefile: No such file or directory make[1]: *** No rule to make target 'tools/environ/Makefile'. Stop. make: *** [Makefile:1469: environ] Error 2 Fix this by updating th

Re: [U-Boot] [U-Boot, 5/5] boot: fdt: fixup the memory dt nodes falcon boot

2017-08-29 Thread Jagan Teki
On Mon, Aug 28, 2017 at 10:17 PM, York Sun wrote: > On 08/26/2017 04:50 AM, Jagan Teki wrote: >> On Thu, Aug 3, 2017 at 1:02 AM, Tom Rini wrote: >>> On Wed, Aug 02, 2017 at 07:10:51PM +, York Sun wrote: On 04/18/2017 04:57 AM, B, Ravi wrote: > In single stage bootmode or falcon boot

Re: [U-Boot] [PATCH] imx: mx7: Add support for USB boot mode

2017-08-29 Thread Troy Kisky
On 8/29/2017 7:37 AM, Eric Nelson wrote: > Hi Troy, > > On 08/28/2017 09:42 AM, Troy Kisky wrote: >> On 8/27/2017 3:04 PM, Eric Nelson wrote: >>> This adds support for USB boot mode on the i.MX7D SoC, which >>> is most useful when doing U-Boot development on this chip. >>> >>> i.e., it enables you

Re: [U-Boot] [PATCH 2/2] net: nfs: Correct type of rpc_t->u.reply->data

2017-08-29 Thread Joe Hershberger
On Sun, Aug 20, 2017 at 9:40 PM, Tom Rini wrote: > In rpc_t we declare data to be a uint8_t of size 2048, for a final size > of 2048. We also however declare the reply part of the union to have a > uint32_t data field of NFS_READ_SIZE (1024) for a final size of > 4096+24=4120 and an overrun. Exp

Re: [U-Boot] [u-boot-release] [PATCH 2/3] armv8: ls1088a: SPL size reduction

2017-08-29 Thread York Sun
On 08/29/2017 10:36 AM, Sumit Garg wrote: >> -Original Message- >> From: York Sun >> Sent: Tuesday, August 29, 2017 9:25 PM >> To: Sumit Garg ; u-boot@lists.denx.de >> Cc: Prabhakar Kushwaha ; Ruchika Gupta >> >> Subject: Re: [u-boot-release] [PATCH 2/3] armv8: ls1088a: SPL size reduction

Re: [U-Boot] [PATCH v2] spi: fsl_qspi: Add controller busy check before new spi operation

2017-08-29 Thread Jagan Teki
On Tue, Aug 29, 2017 at 6:55 PM, Suresh Gupta wrote: > It is recommended to check either controller is free to take > new spi action. The IP_ACC and AHB_ACC bits indicates that > the controller is busy in IP or AHB mode respectively. > And the BUSY bit indicates that controller is currently > busy

Re: [U-Boot] [u-boot-release] [PATCH 2/3] armv8: ls1088a: SPL size reduction

2017-08-29 Thread Sumit Garg
> -Original Message- > From: York Sun > Sent: Tuesday, August 29, 2017 9:25 PM > To: Sumit Garg ; u-boot@lists.denx.de > Cc: Prabhakar Kushwaha ; Ruchika Gupta > > Subject: Re: [u-boot-release] [PATCH 2/3] armv8: ls1088a: SPL size reduction > > On 08/29/2017 12:02 AM, Sumit Garg wrote: >

Re: [U-Boot] setup of PEX_GCLK_RATIO in E500 CPUs(P2010) missing ?

2017-08-29 Thread York Sun
+Roy Zang to comment on PCIe clock source On 08/29/2017 10:06 AM, Joakim Tjernlund wrote: > On Tue, 2017-08-29 at 15:43 +, York Sun wrote: >> On 08/29/2017 06:21 AM, Joakim Tjernlund wrote: >>> On Tue, 2017-08-29 at 12:47 +0200, Joakim Tjernlund wrote: As we are looking at PCI stuff ATM I

Re: [U-Boot] [PATCH] mtd/spi: Add MT35XU512ABA1G12 NOR flash support

2017-08-29 Thread Jagan Teki
On Tue, Aug 29, 2017 at 9:42 PM, Yogesh Narayan Gaur wrote: > > >> -Original Message- >> From: Jagan Teki [mailto:jagannadh.t...@gmail.com] >> Sent: Friday, August 11, 2017 4:03 PM >> To: Yogesh Narayan Gaur >> Cc: u-boot@lists.denx.de; York Sun >> Subject: Re: [PATCH] mtd/spi: Add MT35X

Re: [U-Boot] [PATCH v1] imx: remove SATA boot mode for i.MX 6UL and 6ULL

2017-08-29 Thread Jagan Teki
On Tue, Aug 29, 2017 at 10:16 PM, Stefano Babic wrote: > Hi Stefan, > > On 29/08/2017 18:10, Stefan Agner wrote: >> From: Stefan Agner >> >> The NXP i.MX 6UL and 6ULL do not support SATA and have no SATA >> boot mode, hence remove it from the boot device detecion. This >> fixes a build error intr

Re: [U-Boot] [PATCH 00/23] efi_loader implement missing functions

2017-08-29 Thread Heinrich Schuchardt
On 08/29/2017 04:16 PM, Rob Clark wrote: > On Tue, Aug 29, 2017 at 8:57 AM, Leif Lindholm > wrote: >> On Tue, Aug 29, 2017 at 02:26:48PM +0200, Alexander Graf wrote: >> I would add command >> bootefi selftest.efi >> to run the tests and provide the python wrapper code to add it to t

Re: [U-Boot] setup of PEX_GCLK_RATIO in E500 CPUs(P2010) missing ?

2017-08-29 Thread Joakim Tjernlund
On Tue, 2017-08-29 at 15:43 +, York Sun wrote: > On 08/29/2017 06:21 AM, Joakim Tjernlund wrote: > > On Tue, 2017-08-29 at 12:47 +0200, Joakim Tjernlund wrote: > > > As we are looking at PCI stuff ATM I would like to ask > > > about PEX_GCLK_RATIO in E500 CPUs. I cannot find this is setup > > >

Re: [U-Boot] [PATCH 1/1] net: fix typos

2017-08-29 Thread Joe Hershberger
On Tue, Aug 29, 2017 at 11:44 AM, Heinrich Schuchardt wrote: > %s/Desriptor/Descriptor/g > > Signed-off-by: Heinrich Schuchardt Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] [PATCH] pico-imx7d: Add "how to boot with NXP 4.1 Kernel"

2017-08-29 Thread Vanessa Maegima
The NXP 4.1 kernel needs to boot with secure boot. Add information on how to enable secure boot mode. Signed-off-by: Vanessa Maegima --- board/technexion/pico-imx7d/README | 17 + 1 file changed, 17 insertions(+) diff --git a/board/technexion/pico-imx7d/README b/board/technexi

[U-Boot] [PATCH 1/1] net: fix typos

2017-08-29 Thread Heinrich Schuchardt
%s/Desriptor/Descriptor/g Signed-off-by: Heinrich Schuchardt --- drivers/net/fsl_mcdmafec.c | 2 +- drivers/net/mcffec.c | 2 +- drivers/net/mvneta.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/fsl_mcdmafec.c b/drivers/net/fsl_mcdmafec.c index 2

Re: [U-Boot] [PATCH v1] imx: remove SATA boot mode for i.MX 6UL and 6ULL

2017-08-29 Thread Stefano Babic
Hi Stefan, On 29/08/2017 18:10, Stefan Agner wrote: > From: Stefan Agner > > The NXP i.MX 6UL and 6ULL do not support SATA and have no SATA > boot mode, hence remove it from the boot device detecion. This > fixes a build error introduced with 3bd1642d4d50 ("imx: fix USB > boot mode detection for

[U-Boot] [PATCH 1/1] disk: part: fix typo

2017-08-29 Thread Heinrich Schuchardt
%s/Desriptor/Descriptor/g Fix lines over 80 characters with said typo. Signed-off-by: Heinrich Schuchardt --- disk/part_mac.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/disk/part_mac.c b/disk/part_mac.c index b6c082e7e1..d597dcf00a 100644 --- a/disk/part_ma

Re: [U-Boot] [PATCH 00/23] efi_loader implement missing functions

2017-08-29 Thread Leif Lindholm
On Tue, Aug 29, 2017 at 05:59:41PM +0200, Heinrich Schuchardt wrote: > On 08/29/2017 02:57 PM, Leif Lindholm wrote: > > UEFI SCT is not yet open source/free software. Obviously, this is > > something Linaro has been lobbying for since day one of our > > involvement. There used to be little understa

Re: [U-Boot] setup of PEX_GCLK_RATIO in E500 CPUs(P2010) missing ?

2017-08-29 Thread York Sun
On 08/29/2017 06:21 AM, Joakim Tjernlund wrote: > On Tue, 2017-08-29 at 12:47 +0200, Joakim Tjernlund wrote: >> As we are looking at PCI stuff ATM I would like to ask >> about PEX_GCLK_RATIO in E500 CPUs. I cannot find this is setup >> at all for E500 but I THINK this is required. >> >> In 83xx one

Re: [U-Boot] [PATCH 00/23] efi_loader implement missing functions

2017-08-29 Thread Heinrich Schuchardt
On 08/29/2017 02:57 PM, Leif Lindholm wrote: > On Tue, Aug 29, 2017 at 02:26:48PM +0200, Alexander Graf wrote: > I would add command > bootefi selftest.efi > to run the tests and provide the python wrapper code to add it to the > test suite. I think that's a great idea,

Re: [U-Boot] [PATCH 00/23] efi_loader implement missing functions

2017-08-29 Thread Alexander Graf
On 08/29/2017 06:06 PM, Leif Lindholm wrote: On Tue, Aug 29, 2017 at 05:59:41PM +0200, Heinrich Schuchardt wrote: On 08/29/2017 02:57 PM, Leif Lindholm wrote: UEFI SCT is not yet open source/free software. Obviously, this is something Linaro has been lobbying for since day one of our involvemen

Re: [U-Boot] [PATCH] mtd/spi: Add MT35XU512ABA1G12 NOR flash support

2017-08-29 Thread Yogesh Narayan Gaur
> -Original Message- > From: Jagan Teki [mailto:jagannadh.t...@gmail.com] > Sent: Friday, August 11, 2017 4:03 PM > To: Yogesh Narayan Gaur > Cc: u-boot@lists.denx.de; York Sun > Subject: Re: [PATCH] mtd/spi: Add MT35XU512ABA1G12 NOR flash support > > On Fri, Aug 11, 2017 at 3:38 PM, Y

[U-Boot] [PATCH] ARM: uniphier: enable Denali NAND driver for 64bit SoCs

2017-08-29 Thread Masahiro Yamada
Now the entry to the NAND driver init can be is controlled by DT; it should not hurt to compile the driver all the time. Signed-off-by: Masahiro Yamada --- configs/uniphier_v8_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/uniphier_v8_defconfig b/configs/uniphier_v8_

  1   2   >