[U-Boot] [PATCH v3 5/8] powerpc: mpc85xx: Select BINMAN by default

2018-09-02 Thread Jagdish Gediya
Signed-off-by: Jagdish Gediya Reviewed-by: Bin Meng --- No changes for v2 and v3. arch/powerpc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 8faef0b..c727d91 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -20,6

[U-Boot] [PATCH v3 7/8] powerpc: dts: Add u-boot.dtsi to use binman for MPC85xx boards

2018-09-02 Thread Jagdish Gediya
Signed-off-by: Jagdish Gediya Reviewed-by: Bin Meng --- Changes for v2: - Remove mpc85xx-u-boot.dtsi - Update u-boot.dtsi to use CONFIG_MPC85XX_HAVE_RESET_VECTOR Changes for v3: - Use 'sort-by-offset' property instead of 'sort-by-pos' arch/powerpc/dts/u-boot.dtsi | 32

[U-Boot] [PATCH v3 6/8] powerpc: mpc85xx: Use binman to embed dtb inside U-Boot

2018-09-02 Thread Jagdish Gediya
Below is the sequence to embed dtb inside U-Boot, 1. Remove bootpg and resetvec section if needed 2. Append dtb 3. Append bootpg and resetvec section back if removed in step 1 Above procedure is required only when CONFIG_MPC85xx and CONFIG_OF_SEPARATE are defined. Add new config

[U-Boot] [PATCH v3 2/8] powerpc/dts: Makefile changes to clean and build dts

2018-09-02 Thread Jagdish Gediya
Signed-off-by: Jagdish Gediya Reviewed-by: Bin Meng Reviewed-by: Simon Glass --- No changes for v2 and v3. arch/powerpc/dts/Makefile | 12 dts/Makefile | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 arch/powerpc/dts/Makefile diff

[U-Boot] [PATCH v3 8/8] powerpc: dts: Enable device tree support for T2080QDS

2018-09-02 Thread Jagdish Gediya
Add device tree for T2080QDS board and enable CONFIG_OF_CONTROL so that device tree can be compiled. Update board README for device tree usage. Signed-off-by: Jagdish Gediya Reviewed-by: Bin Meng --- Changes for v2: - Enable CONFIG_MPC85XX_HAVE_RESET_VECTOR in T2080QDS_defconfig

[U-Boot] [PATCH v3 3/8] binman: Add a new "skip-at-start" property in Section class

2018-09-02 Thread Jagdish Gediya
Currently binman calculates '_skip_at_start' based on 'end-at-4gb' property and it is used for x86 images. For PowerPC mpc85xx based CPU, CONFIG_SYS_TEXT_BASE is the entry offset of the first entry. It can be 0xeff4 or 0xfff4 for nor flash boot, 0x201000 for sd boot etc, so

[U-Boot] [PATCH v3 1/8] powerpc/dts: Define '_end' symbol in mpc85xx U-Boot lds files

2018-09-02 Thread Jagdish Gediya
'board_fdt_blob_setup' function sets up fdt blob at '&_end' so define '_end' symbol in mpc85xx lds files. Signed-off-by: Jagdish Gediya --- Changes for v2: - Define '_end' symbol in lds file instead of defining new 'board_fdt_blob_setup' function using existing '_init_end'

[U-Boot] [PATCH v3 4/8] binman: Add support for PowerPC mpc85xx 'bootpg + resetvec' entry

2018-09-02 Thread Jagdish Gediya
This entry contains the PowerPC mpc85xx boot page and resetvec sections. Signed-off-by: Jagdish Gediya --- Changes for v2: - Updated README for new binman entry - Added test Changes for v3: - Changed text from 'Powerpc' to 'PowerPC' tools/binman/README.entries

[U-Boot] [PATCH v3 0/8] Device tree support for PowerPC in U-Boot

2018-09-02 Thread Jagdish Gediya
In current implementation, PowerPC does not support device tree in U-Boot. This patch enables device tree support for PowerPC platform . T2080AQDS board used as first platform. Dtb is embedded in the U-Boot following below steps using binmam tool. 1. Remove bootpg and resetvec section if

Re: [U-Boot] U-Boot 2018.07 Still Broken for Allwinner H3 SoCs

2018-09-02 Thread Chen-Yu Tsai
Hi, On Wed, Aug 1, 2018 at 9:22 PM Peter Robinson wrote: > > On Tue, Jul 10, 2018 at 4:04 AM, Chen-Yu Tsai wrote: > > This is on a Libre Computer ALL-H3-CC H3 variant. Still running a > > bisect, but v2018.07-rc1 is a working version. From the EHCI error > > messages, I'm thinking it might be

Re: [U-Boot] [U-Boot, 1/8] rockchip: add STIMER_BASE for Rockchip SoCs

2018-09-02 Thread Kever Yang
Hi Philipp, On 08/30/2018 05:11 PM, Philipp Tomsich wrote: > > > On Wed, 18 Apr 2018, Kever Yang wrote: > >> Most of Rockchip SoCs have ARM arch/generic timer whose clock source >> is from one of secure timer(if the soc supports Trust environment). >> >> STIMER can only access in secure mode, so

[U-Boot] [PATCH 1/1] lib/slre: remove superfluous assignment

2018-09-02 Thread Heinrich Schuchardt
It makes no sense to assign a value to 'res' if the next use of the variable is an assignment. Signed-off-by: Heinrich Schuchardt --- lib/slre.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/slre.c b/lib/slre.c index e26d344865..969c46a859 100644 --- a/lib/slre.c +++ b/lib/slre.c @@

[U-Boot] [PATCH 1/1] efi_loader: use correct documentation style

2018-09-02 Thread Heinrich Schuchardt
We have moved generating html documentation with Sphinx. %s/Return Value/Return/g Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index

Re: [U-Boot] [PATCH] pci: Support parsing PCI controller DT subnodes

2018-09-02 Thread Marek Vasut
On 09/03/2018 01:35 AM, Simon Glass wrote: > Hi Marek, > > On 2 September 2018 at 12:24, Marek Vasut wrote: >> On 09/02/2018 03:07 AM, Simon Glass wrote: >>> Hi Marek, >>> >>> On 1 September 2018 at 16:43, Marek Vasut wrote: On 09/01/2018 11:45 PM, Simon Glass wrote: > Hi Marek, >

Re: [U-Boot] [PATCH v1] Makefile: Don't generate position independent code

2018-09-02 Thread Simon Glass
Hi, On 10 August 2018 at 00:04, Bin Meng wrote: > On Thu, Aug 9, 2018 at 9:07 PM, Andy Shevchenko > wrote: >> On Thu, 2018-08-09 at 14:25 +0200, Heinrich Schuchardt wrote: >> >>> I did not test loading of >>> Linux on x86. >> >> For the record I did test this. >> > > Tested-by: Bin Meng > On

Re: [U-Boot] [PATCH] pci: Support parsing PCI controller DT subnodes

2018-09-02 Thread Simon Glass
Hi Marek, On 2 September 2018 at 12:24, Marek Vasut wrote: > On 09/02/2018 03:07 AM, Simon Glass wrote: >> Hi Marek, >> >> On 1 September 2018 at 16:43, Marek Vasut wrote: >>> On 09/01/2018 11:45 PM, Simon Glass wrote: Hi Marek, On 30 August 2018 at 03:25, Marek Vasut wrote:

Re: [U-Boot] [PATCH V2 2/2] pci: Update documentation to make 'compatible' string optional

2018-09-02 Thread Simon Glass
Hi Marek, On 2 September 2018 at 12:26, Marek Vasut wrote: > On 09/02/2018 03:07 AM, Simon Glass wrote: >> Hi, >> >> On 1 September 2018 at 16:41, Marek Vasut wrote: >>> On 09/01/2018 11:45 PM, Simon Glass wrote: Hi Marek, On 30 August 2018 at 04:20, Marek Vasut wrote: > On

[U-Boot] [PATCH 3/4] binman: Add support for Intel reference code

2018-09-02 Thread Simon Glass
Some platforms use this instead of FSP to set up the platform, including memory. Add support for this in binman. This is needed for chromebook_samus, for example. Signed-off-by: Simon Glass --- tools/binman/etype/intel_refcode.py | 27 +++ 1 file changed, 27

[U-Boot] [PATCH 4/4] Revert "x86: galileo: Fix boot failure"

2018-09-02 Thread Simon Glass
The root cause of this problem should now be fixed. Renable bootstage. (Note, if this does not fix it, and instead a -ENOMEM error is produced, then we probably need to increase CONFIG_SYS_MALLOC_F_LEN a bit). This reverts commit 7995dd3782f90e1939969a4ead800a5e98e2d197. Signed-off-by: Simon

[U-Boot] [PATCH 2/4] chromebook_samus: Increase pre-relocation memory

2018-09-02 Thread Simon Glass
With bootstage now allocating pre-relocation memory the current amount available is insufficient. Increase it a little. Signed-off-by: Simon Glass --- configs/chromebook_samus_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/chromebook_samus_defconfig

[U-Boot] [PATCH 1/4] Enable CONFIG_TIMER_EARLY with bootstage

2018-09-02 Thread Simon Glass
In initr_bootstage() we call bootstage_mark_name() which ends up calling timer_get_us(). This call happens before initr_dm(), which inits driver model. On x86 we set gd->timer to NULL in the transition from board_init_f() to board_init_r(). See board_init_f_r() for this assignment. So U-Boot

[U-Boot] [PATCH 0/4] x86: Fix up some bootstage problems

2018-09-02 Thread Simon Glass
There is a subtle problem with bootstage on x86. This series aims to fix it so that it can be re-enabled on x86. Simon Glass (4): Enable CONFIG_TIMER_EARLY with bootstage chromebook_samus: Increase pre-relocation memory binman: Add support for Intel reference code Revert "x86: galileo:

Re: [U-Boot] [PATCH] mtd: spi: Add DM support to SH QSPI driver

2018-09-02 Thread Marek Vasut
On 09/02/2018 08:41 PM, Jagan Teki wrote: > On Sun, Sep 2, 2018 at 11:56 PM, Marek Vasut wrote: >> On 09/02/2018 08:00 PM, Jagan Teki wrote: >>> On Sun, Aug 26, 2018 at 4:07 PM, Marek Vasut wrote: On 08/26/2018 08:45 AM, Jagan Teki wrote: > On Sat, Aug 25, 2018 at 11:04 PM, Marek Vasut

Re: [U-Boot] [PATCH] mtd: spi: Add DM support to SH QSPI driver

2018-09-02 Thread Jagan Teki
On Sun, Sep 2, 2018 at 11:56 PM, Marek Vasut wrote: > On 09/02/2018 08:00 PM, Jagan Teki wrote: >> On Sun, Aug 26, 2018 at 4:07 PM, Marek Vasut wrote: >>> On 08/26/2018 08:45 AM, Jagan Teki wrote: On Sat, Aug 25, 2018 at 11:04 PM, Marek Vasut wrote: > Add DM support to the SH

Re: [U-Boot] [PATCH] mtd: spi: Add DM support to SH QSPI driver

2018-09-02 Thread Marek Vasut
On 09/02/2018 08:00 PM, Jagan Teki wrote: > On Sun, Aug 26, 2018 at 4:07 PM, Marek Vasut wrote: >> On 08/26/2018 08:45 AM, Jagan Teki wrote: >>> On Sat, Aug 25, 2018 at 11:04 PM, Marek Vasut wrote: Add DM support to the SH QSPI driver while retaining non-DM support. The later is

Re: [U-Boot] [PATCH V2 2/2] pci: Update documentation to make 'compatible' string optional

2018-09-02 Thread Marek Vasut
On 09/02/2018 03:07 AM, Simon Glass wrote: > Hi, > > On 1 September 2018 at 16:41, Marek Vasut wrote: >> On 09/01/2018 11:45 PM, Simon Glass wrote: >>> Hi Marek, >>> >>> On 30 August 2018 at 04:20, Marek Vasut wrote: On 08/30/2018 02:29 AM, Simon Glass wrote: > Hi Marek, Hi,

Re: [U-Boot] [PATCH] pci: Support parsing PCI controller DT subnodes

2018-09-02 Thread Marek Vasut
On 09/02/2018 03:07 AM, Simon Glass wrote: > Hi Marek, > > On 1 September 2018 at 16:43, Marek Vasut wrote: >> On 09/01/2018 11:45 PM, Simon Glass wrote: >>> Hi Marek, >>> >>> On 30 August 2018 at 03:25, Marek Vasut wrote: On 08/30/2018 02:29 AM, Simon Glass wrote: > Hi Marek,

Re: [U-Boot] [PATCH v6 00/31] SPI-NAND support

2018-09-02 Thread Jagan Teki
On Thu, Aug 30, 2018 at 6:13 PM, Miquel Raynal wrote: > Hello, > > Miquel Raynal wrote on Fri, 17 Aug 2018 > 10:38:46 +0200: > >> Hi Tom, Jagan, >> >> Boris Brezillon wrote on Thu, 16 Aug 2018 >> 18:58:58 +0200: >> >> > Tom, Jagan, >> > >> > On Thu, 16 Aug 2018 17:29:58 +0200 >> > Miquel Raynal

Re: [U-Boot] [PATCH 02/13] pico-imx6ul: Convert to SPL

2018-09-02 Thread Jagan Teki
On Fri, Aug 31, 2018 at 12:40 AM, Otavio Salvador wrote: > From: Fabio Estevam > > There are two versions of imx6ul pico SOMs: one with 256MB and another > one with 512MB of RAM. > > Convert to SPL so that both versions can be supported. > > Currently only the 256MB is tested/supported. > >

Re: [U-Boot] [PATCH] mtd: spi: Add DM support to SH QSPI driver

2018-09-02 Thread Jagan Teki
On Sun, Aug 26, 2018 at 4:07 PM, Marek Vasut wrote: > On 08/26/2018 08:45 AM, Jagan Teki wrote: >> On Sat, Aug 25, 2018 at 11:04 PM, Marek Vasut wrote: >>> Add DM support to the SH QSPI driver while retaining non-DM support. >>> The later is required as this driver is used in SPL which has a

Re: [U-Boot] [PATCH 1/9] dm: allow 4GB of DRAM on 32bit systems

2018-09-02 Thread Alexander Graf
> Am 02.09.2018 um 18:04 schrieb Vagrant Cascadian : > >> On 2018-09-02, Alexander Graf wrote: >>> On 02.08.18 23:31, Dr. Philipp Tomsich wrote: >>> On 2 Aug 2018, at 22:36, Simon Glass wrote: On 26 July 2018 at 07:59, Philipp Tomsich >>>

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

2018-09-02 Thread Stefano Babic
On 02/09/2018 19:11, Tom Rini wrote: > On Sun, Sep 02, 2018 at 07:06:06PM +0200, Stefano Babic wrote: >> >> >> On 01/09/2018 13:37, Tom Rini wrote: >>> On Fri, Aug 31, 2018 at 03:04:31PM +0200, Stefano Babic wrote: >>> Hi Tom, please pull from u-boot-imx, thanks ! The

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

2018-09-02 Thread Tom Rini
On Sun, Sep 02, 2018 at 07:06:06PM +0200, Stefano Babic wrote: > > > On 01/09/2018 13:37, Tom Rini wrote: > > On Fri, Aug 31, 2018 at 03:04:31PM +0200, Stefano Babic wrote: > > > >> Hi Tom, > >> > >> please pull from u-boot-imx, thanks ! > >> > >> The following changes since commit > >>

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

2018-09-02 Thread Stefano Babic
On 01/09/2018 13:37, Tom Rini wrote: > On Fri, Aug 31, 2018 at 03:04:31PM +0200, Stefano Babic wrote: > >> Hi Tom, >> >> please pull from u-boot-imx, thanks ! >> >> The following changes since commit 11ed312896c5f5814064c5d45dcb2f53dc121437: >> >> configs: am57xx: change default board name to

Re: [U-Boot] [PATCH 1/9] dm: allow 4GB of DRAM on 32bit systems

2018-09-02 Thread Vagrant Cascadian
On 2018-09-02, Alexander Graf wrote: > On 02.08.18 23:31, Dr. Philipp Tomsich wrote: >> >>> On 2 Aug 2018, at 22:36, Simon Glass wrote: >>> >>> On 26 July 2018 at 07:59, Philipp Tomsich >>> >> > wrote: Even on 32bit systems a full 4GB of DRAM

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

2018-09-02 Thread Tom Rini
On Sun, Sep 02, 2018 at 03:20:25PM +0200, Sébastien Szymanski wrote: > Hi Tom, > > > On 1 Sep 2018, at 13:37, Tom Rini wrote: > > > > - So I start reading the whole diff and I see: > > commit 8e00d802e402d2a6734a88ebeb77a70efcfc354c > > Author: Sébastien Szymanski > > Date: Wed Jul 25

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

2018-09-02 Thread Sébastien Szymanski
Hi Tom, > On 1 Sep 2018, at 13:37, Tom Rini wrote: > > - So I start reading the whole diff and I see: > commit 8e00d802e402d2a6734a88ebeb77a70efcfc354c > Author: Sébastien Szymanski > Date: Wed Jul 25 14:47:53 2018 +0200 > >ARM: opos6ul: make the board boot again > > Which is wrong.

Re: [U-Boot] [PATCH 1/9] dm: allow 4GB of DRAM on 32bit systems

2018-09-02 Thread Alexander Graf
On 02.08.18 23:31, Dr. Philipp Tomsich wrote: > >> On 2 Aug 2018, at 22:36, Simon Glass wrote: >> >> On 26 July 2018 at 07:59, Philipp Tomsich >> > > wrote: >>> Even on 32bit systems a full 4GB of DRAM may be installed and reported >>> by the DRAM