Re: [U-Boot] QSPI XIP boot on am437x

2015-11-10 Thread Albert ARIBAUD
Hello Vignesh, On Wed, 11 Nov 2015 11:42:55 +0530, R, Vignesh wrote: > Hi Albert, > > Thanks for the response! > > On 11/10/2015 5:44 PM, Albert ARIBAUD wrote: > > Hello Vignesh, > > > > On Tue, 10 Nov 2015 14:29:54 +0530, Vignesh R wrote: > >> Hi, > >> > >> With commit 7ae8350f67eea("ti: arm

[U-Boot] Pull request: u-boot-blackfin

2015-11-10 Thread Sonic Zhang
Hi Tom, Please pull the following patches for Blackfin from u-boot-blackfin into your tree. Thanks Sonic Zhang The following changes since commit 83bf005710a1e01341de5e2f44a3ce082717e313: arm: at91: reworked meesc board support (2015-11-03 14:21:32 +0100) are available in the git repositor

Re: [U-Boot] QSPI XIP boot on am437x

2015-11-10 Thread R, Vignesh
Hi Albert, Thanks for the response! On 11/10/2015 5:44 PM, Albert ARIBAUD wrote: > Hello Vignesh, > > On Tue, 10 Nov 2015 14:29:54 +0530, Vignesh R wrote: >> Hi, >> >> With commit 7ae8350f67eea("ti: armv7: Move SPL SDRAM init to the right >> place, drop unused CONFIG_SPL_STACK") QSPI XIP boot a

Re: [U-Boot] [PATCH v3 3/3] nios2: add 3c120 and 10m50 devboards MAINTAINERS

2015-11-10 Thread Thomas Chou
Hi Marek, On 2015年11月11日 11:02, Marek Vasut wrote: I'd use "killall python" on another terminal to stop the builder. I absolutelly don't want to do killall python, it'd bring down much more than this buildman ;-) It does depend. On my desktop, there is no other python running as user. I wo

Re: [U-Boot] [PATCH v2 8/8] x86: Remove CONFIG_SYS_EARLY_PCI_INIT

2015-11-10 Thread Bin Meng
On Sat, Nov 7, 2015 at 7:58 AM, Simon Glass wrote: > On 6 November 2015 at 02:04, Bin Meng wrote: >> CONFIG_SYS_EARLY_PCI_INIT is not needed any more since with driver >> model, PCI enumeration is automatically triggered. >> >> Signed-off-by: Bin Meng >> >> --- >> >> Changes in v2: None >> >> i

Re: [U-Boot] [PATCH v2 7/8] x86: Remove legacy pci codes

2015-11-10 Thread Bin Meng
On Sat, Nov 7, 2015 at 7:58 AM, Simon Glass wrote: > On 6 November 2015 at 02:04, Bin Meng wrote: >> Now that we have converted all x86 boards to use driver model pci, >> remove these legacy pci codes. >> >> Signed-off-by: Bin Meng >> --- >> >> Changes in v2: None >> >> arch/x86/cpu/pci.c

Re: [U-Boot] [PATCH v2 6/8] x86: crownbay: Remove unused PCI region address macros

2015-11-10 Thread Bin Meng
On Sat, Nov 7, 2015 at 7:58 AM, Simon Glass wrote: > On 6 November 2015 at 02:04, Bin Meng wrote: >> These are leftover when converted to use driver model pci. >> >> Signed-off-by: Bin Meng >> --- >> >> Changes in v2: None >> >> include/configs/crownbay.h | 12 >> 1 file changed, 1

Re: [U-Boot] [PATCH v2 3/8] x86: qemu: Convert to use driver model pci

2015-11-10 Thread Bin Meng
On Sat, Nov 7, 2015 at 7:57 AM, Simon Glass wrote: > On 6 November 2015 at 02:04, Bin Meng wrote: >> Move to driver model for pci on QEMU. >> >> Signed-off-by: Bin Meng >> --- >> >> Changes in v2: None >> >> arch/x86/cpu/qemu/Makefile | 1 - >> arch/x86/cpu/qemu/pci.c| 49 >> -

Re: [U-Boot] [PATCH v2 4/8] x86: qemu: Convert to use driver model usb

2015-11-10 Thread Bin Meng
On Sat, Nov 7, 2015 at 7:58 AM, Simon Glass wrote: > On 6 November 2015 at 02:04, Bin Meng wrote: >> Move to driver model for USB on QEMU. >> >> Signed-off-by: Bin Meng >> >> --- >> >> Changes in v2: None >> >> configs/qemu-x86_defconfig | 2 ++ >> 1 file changed, 2 insertions(+) > > Acked-by:

Re: [U-Boot] [PATCH v2 5/8] x86: qemu: Convert to use driver model eth

2015-11-10 Thread Bin Meng
On Sat, Nov 7, 2015 at 7:58 AM, Simon Glass wrote: > On 6 November 2015 at 02:04, Bin Meng wrote: >> Move to driver model for ETH (e1000) on QEMU. >> >> Signed-off-by: Bin Meng >> >> --- >> >> Changes in v2: >> - Rebase on top of u-boot/master >> - New patch to convert to use driver model eth >>

Re: [U-Boot] [PATCH v2 2/8] x86: qemu: Move chipset-specific codes from pci.c to qemu.c

2015-11-10 Thread Bin Meng
On Sat, Nov 7, 2015 at 7:57 AM, Simon Glass wrote: > On 6 November 2015 at 02:04, Bin Meng wrote: >> Move chipset-specific codes such as PAM init, PCIe ECAM and MP table >> from pci.c to qemu.c, to prepare for DM PCI conversion. >> >> Signed-off-by: Bin Meng >> --- >> >> Changes in v2: None >> >

Re: [U-Boot] [PATCH v2 1/8] x86: qemu: Remove call to vgabios execution

2015-11-10 Thread Bin Meng
On Fri, Nov 6, 2015 at 8:08 PM, Simon Glass wrote: > On 6 November 2015 at 03:04, Bin Meng wrote: >> The call to pci_run_vga_bios() is not needed as this is handled >> in the vesa_fb driver. >> >> Signed-off-by: Bin Meng >> --- >> >> Changes in v2: None >> >> arch/x86/cpu/qemu/pci.c | 19 +-

Re: [U-Boot] [PATCH v3 3/3] nios2: add 3c120 and 10m50 devboards MAINTAINERS

2015-11-10 Thread Marek Vasut
On Wednesday, November 11, 2015 at 03:55:10 AM, Thomas Chou wrote: > Hi Marek, > > On 2015年11月11日 09:41, Marek Vasut wrote: > > I gave up on buildman. I want some builder where I can stop the builds if > > something goes wrong, but instead of this, buildman spawns multiple > > processes somewhere

Re: [U-Boot] [PATCH v7 21/21] sf: Add SPI NOR protection mechanism

2015-11-10 Thread Simon Glass
Hi Fabio, On 10 November 2015 at 16:51, Fabio Estevam wrote: > > Hi Simon, > > On Tue, Nov 10, 2015 at 10:09 PM, Simon Glass wrote: > > > This patch breaks chromebook_link - I think because it adds a new > > operation which is not supported by all flash chips. Those that are > > not supported (i

Re: [U-Boot] [PATCH v3 3/3] nios2: add 3c120 and 10m50 devboards MAINTAINERS

2015-11-10 Thread Thomas Chou
Hi Marek, On 2015年11月11日 09:41, Marek Vasut wrote: I gave up on buildman. I want some builder where I can stop the builds if something goes wrong, but instead of this, buildman spawns multiple processes somewhere on my machine at random and I have no control over that. I'd like to reevaluate bui

Re: [U-Boot] [PATCH v3 3/3] nios2: add 3c120 and 10m50 devboards MAINTAINERS

2015-11-10 Thread Marek Vasut
On Wednesday, November 11, 2015 at 02:48:04 AM, Thomas Chou wrote: > Hi Marek, > > On 2015年11月11日 09:18, Thomas Chou wrote: > > I still miss some toolchains, like bfin. I can not find them on the > > internet. I will need to search my old HDDs. However, most others works. > > Do you have better re

[U-Boot] [PATCH] git-mailrc: Add Bin as a maintainer of x86

2015-11-10 Thread Bin Meng
This updates git-mailrc to add me as a maintainer of x86. Signed-off-by: Bin Meng --- doc/git-mailrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/git-mailrc b/doc/git-mailrc index 6fe78a1..5b0af80 100644 --- a/doc/git-mailrc +++ b/doc/git-mailrc @@ -17,6 +17,7 @@ al

Re: [U-Boot] [RFC PATCH v1 1/2] armv8: fsl-layerscape: Reserve memory for PPA

2015-11-10 Thread Scott Wood
On Tue, 2015-11-10 at 12:24 -0800, York Sun wrote: > > On 11/10/2015 11:51 AM, Scott Wood wrote: > > On Tue, 2015-11-10 at 11:44 -0800, York Sun wrote: > > > > > > On 11/10/2015 11:31 AM, Scott Wood wrote: > > > > On Tue, 2015-11-10 at 11:17 -0800, York Sun wrote: > > > > > Primary Protected Appl

Re: [U-Boot] [PATCH v3 3/3] nios2: add 3c120 and 10m50 devboards MAINTAINERS

2015-11-10 Thread Thomas Chou
Hi Marek, On 2015年11月11日 09:18, Thomas Chou wrote: I still miss some toolchains, like bfin. I can not find them on the internet. I will need to search my old HDDs. However, most others works. Do you have better results? I look at sourceforge again. And the bfin toolchains is back. Best regard

Re: [U-Boot] [PATCH v3 3/3] nios2: add 3c120 and 10m50 devboards MAINTAINERS

2015-11-10 Thread Marek Vasut
On Wednesday, November 11, 2015 at 02:18:26 AM, Thomas Chou wrote: > Hi Marek, Hi! > On 2015年11月11日 08:27, Marek Vasut wrote: > > On Wednesday, November 11, 2015 at 01:06:15 AM, Thomas Chou wrote: > >> Add 3c120 and 10m50 devboards MAINTAINERS > >> > >> Signed-off-by: Thomas Chou > > > > All i

Re: [U-Boot] [PATCH v3 3/3] nios2: add 3c120 and 10m50 devboards MAINTAINERS

2015-11-10 Thread Thomas Chou
Hi Marek, On 2015年11月11日 08:27, Marek Vasut wrote: On Wednesday, November 11, 2015 at 01:06:15 AM, Thomas Chou wrote: Add 3c120 and 10m50 devboards MAINTAINERS Signed-off-by: Thomas Chou All is good with this series. Acked-by: Marek Vasut And thanks for all your good work, it's amazing!

Re: [U-Boot] [PATCH V4 1/3] arm: discard relocation entries for secure text

2015-11-10 Thread Peng Fan
Hi Stefano, On Tue, Nov 10, 2015 at 02:14:10PM +0100, Albert ARIBAUD wrote: >Hello Peng, > >On Fri, 23 Oct 2015 10:13:03 +0800, Peng Fan >wrote: >> The code such as PSCI in section named secure is bundled with >> u-boot image, and when bootm, the code will be copied to their >> runtime address sa

Re: [U-Boot] [PATCH v7 21/21] sf: Add SPI NOR protection mechanism

2015-11-10 Thread Fabio Estevam
Hi Simon, On Tue, Nov 10, 2015 at 10:09 PM, Simon Glass wrote: > This patch breaks chromebook_link - I think because it adds a new > operation which is not supported by all flash chips. Those that are > not supported (i.e that don't have the 'flash_is_locked' method) > should still work. What i

Re: [U-Boot] [PATCH v7 21/21] sf: Add SPI NOR protection mechanism

2015-11-10 Thread Tom Rini
On Tue, Nov 10, 2015 at 04:09:52PM -0800, Simon Glass wrote: > Hi Fabio, > > On 6 November 2015 at 04:24, Tom Rini wrote: > > On Thu, Nov 05, 2015 at 12:43:42PM -0200, Fabio Estevam wrote: > > > >> Many SPI flashes have protection bits (BP2, BP1 and BP0) in the > >> status register that can prote

Re: [U-Boot] [PATCH v3 3/3] nios2: add 3c120 and 10m50 devboards MAINTAINERS

2015-11-10 Thread Marek Vasut
On Wednesday, November 11, 2015 at 01:06:15 AM, Thomas Chou wrote: > Add 3c120 and 10m50 devboards MAINTAINERS > > Signed-off-by: Thomas Chou All is good with this series. Acked-by: Marek Vasut And thanks for all your good work, it's amazing! Best regards, Marek Vasut ___

Re: [U-Boot] [PATCH v7 21/21] sf: Add SPI NOR protection mechanism

2015-11-10 Thread Simon Glass
Hi Fabio, On 6 November 2015 at 04:24, Tom Rini wrote: > On Thu, Nov 05, 2015 at 12:43:42PM -0200, Fabio Estevam wrote: > >> Many SPI flashes have protection bits (BP2, BP1 and BP0) in the >> status register that can protect selected regions of the SPI NOR. >> >> Take these bits into account when

[U-Boot] [PATCH v3 2/3] nios2: change README.nios2 to use 10m50 as template

2015-11-10 Thread Thomas Chou
The 10m50 devboard becomes the new golden reference design of Nios II Linux. So change README.nios2 to use 10m50 as template. Signed-off-by: Thomas Chou --- v3 use 10m50 as template. doc/README.nios2 | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/README

[U-Boot] [PATCH v3 3/3] nios2: add 3c120 and 10m50 devboards MAINTAINERS

2015-11-10 Thread Thomas Chou
Add 3c120 and 10m50 devboards MAINTAINERS Signed-off-by: Thomas Chou --- board/altera/nios2/MAINTAINERS | 13 + 1 file changed, 13 insertions(+) create mode 100644 board/altera/nios2/MAINTAINERS diff --git a/board/altera/nios2/MAINTAINERS b/board/altera/nios2/MAINTAINERS new file m

[U-Boot] [PATCH v3 1/3] nios2: rename board nios2-generic to 3c120_devboard

2015-11-10 Thread Thomas Chou
Rename board nios2-generic to 3c120_devboard. Since nios2 is converted to driver model and device tree control of u-boot, the nios2-generic board directory is removed. We can rename the board back to a real board name. Now the boards maintained in u-boot mainline are the same as Linux kernel, namel

Re: [U-Boot] [PATCH v2 18/26] dm: usb: Remove inactive children after a bus scan

2015-11-10 Thread Simon Glass
Hi Hans, On 9 November 2015 at 12:25, Simon Glass wrote: > Hi Hans, > > On 9 November 2015 at 00:22, Hans de Goede wrote: >> Hi, >> >> On 09-11-15 07:48, Simon Glass wrote: >>> >>> Each scan of the USB bus may return different results. Existing >>> driver-model >>> devices are reused when found,

Re: [U-Boot] [PATCH] Fix board init code to use a valid C runtime environment

2015-11-10 Thread Albert ARIBAUD
Hello Simon, On Tue, 10 Nov 2015 13:04:50 -0700, Simon Glass wrote: > I'm hoping we don't have to bring back this assembler. What we need in ASM is just the part that actually alters the stack (i.e., changes the SP of the architecture) so that no C function has to do it. > Do we really need to

Re: [U-Boot] [PATCH v2] Various Makefiles: Add SPDX-License-Identifier tags

2015-11-10 Thread Tom Rini
On Mon, Nov 09, 2015 at 08:14:34PM -0500, Tom Rini wrote: > After consulting with some of the SPDX team, the conclusion is that > Makefiles are worth adding SPDX-License-Identifier tags too, and most of > ours have one. This adds tags to ones that lack them and converts a few > that had full (or

Re: [U-Boot] [PATCH] Revert "arm: Switch 32-bit ARM to using generic global_data setup"

2015-11-10 Thread Simon Glass
Hi Fabio, On 10 November 2015 at 14:47, Fabio Estevam wrote: > On Tue, Nov 10, 2015 at 7:29 PM, Simon Glass wrote: > >> Are you able to check what is happening in malloc_simple()? It is a >> really simple function. > > Yes, I turned on debug inside malloc_simple() and it returns NULL: > > U-Boot

Re: [U-Boot] [PATCH] Revert "arm: Switch 32-bit ARM to using generic global_data setup"

2015-11-10 Thread Fabio Estevam
On Tue, Nov 10, 2015 at 7:29 PM, Simon Glass wrote: > Are you able to check what is happening in malloc_simple()? It is a > really simple function. Yes, I turned on debug inside malloc_simple() and it returns NULL: U-Boot SPL 2015.10-00523-ge490ad2-dirty (Nov 10 2015 - 19:44:06) malloc_simple:

Re: [U-Boot] [PATCH] arm: novena: Switch novena to config_distro_bootcmd

2015-11-10 Thread Marek Vasut
On Tuesday, November 10, 2015 at 09:54:52 PM, Vagrant Cascadian wrote: > On 2015-11-10, Marek Vasut wrote: > > Switch Novena to distro bootcmd, so it can be used with debian easily. > > ... > > > diff --git a/include/configs/novena.h b/include/configs/novena.h > > index 718989f..b0f4c02 100644 >

[U-Boot] [PATCH V2] arm: novena: Switch novena to config_distro_bootcmd

2015-11-10 Thread Marek Vasut
From: Vagrant Cascadian Switch Novena to distro bootcmd, so it can be used with debian easily. Signed-off-by: Vagrant Cascadian Signed-off-by: Marek Vasut Cc: Sean Cross Cc: Stefano Babic --- include/configs/novena.h | 22 +- 1 file changed, 21 insertions(+), 1 deletion(

Re: [U-Boot] [PATCH] Revert "arm: Switch 32-bit ARM to using generic global_data setup"

2015-11-10 Thread Simon Glass
Hi Fabio, On 10 November 2015 at 14:23, Fabio Estevam wrote: > Hi Simon, > > On Tue, Nov 10, 2015 at 7:19 PM, Simon Glass wrote: > >> Then I wonder why malloc() is failing? Is it because there is too much > > In the example I sent I only allocate 64 bytes. malloc() does fail > even if I decrease

Re: [U-Boot] [PATCH] Revert "arm: Switch 32-bit ARM to using generic global_data setup"

2015-11-10 Thread Fabio Estevam
Hi Simon, On Tue, Nov 10, 2015 at 7:19 PM, Simon Glass wrote: > Then I wonder why malloc() is failing? Is it because there is too much In the example I sent I only allocate 64 bytes. malloc() does fail even if I decrease this number. > being allocated, or is the simple malloc region not being

Re: [U-Boot] [PATCH] Revert "arm: Switch 32-bit ARM to using generic global_data setup"

2015-11-10 Thread Simon Glass
Hi Fabio, On 10 November 2015 at 14:16, Fabio Estevam wrote: > On Tue, Nov 10, 2015 at 1:38 PM, Fabio Estevam wrote: > >>> Are you using CONFIG_SYS_MALLOC_F? >> >> No, I am not, but I have also tried adding CONFIG_SYS_MALLOC_F_LEN >> inside configs/mx6sabresd_spl_defconfig, but it did not help.

Re: [U-Boot] [PATCH] Revert "arm: Switch 32-bit ARM to using generic global_data setup"

2015-11-10 Thread Fabio Estevam
On Tue, Nov 10, 2015 at 1:38 PM, Fabio Estevam wrote: >> Are you using CONFIG_SYS_MALLOC_F? > > No, I am not, but I have also tried adding CONFIG_SYS_MALLOC_F_LEN > inside configs/mx6sabresd_spl_defconfig, but it did not help. Sorry, you asked for CONFIG_SYS_MALLOC_F. I do have CONFIG_SYS_MALLOC

Re: [U-Boot] [RFC PATCH v1 1/2] armv8: fsl-layerscape: Reserve memory for PPA

2015-11-10 Thread York Sun
On 11/10/2015 11:51 AM, Scott Wood wrote: > On Tue, 2015-11-10 at 11:44 -0800, York Sun wrote: >> >> On 11/10/2015 11:31 AM, Scott Wood wrote: >>> On Tue, 2015-11-10 at 11:17 -0800, York Sun wrote: Primary Protected Application (PPA) is the base of TrustZone for Freescale Layerscape SoC

Re: [U-Boot] [PATCH] net: phy: added aquantia PHY AQR405 support

2015-11-10 Thread Joe Hershberger
On Tue, Nov 10, 2015 at 5:16 AM, wrote: > From: Shaohui Xie > > The phy can share driver with other aquantia PHYs, so we only added PHY > ID. > > Signed-off-by: Shaohui Xie Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de http:

Re: [U-Boot] Pull request: u-boot-arm/master

2015-11-10 Thread Tom Rini
On Tue, Nov 10, 2015 at 06:45:40PM +0100, Albert ARIBAUD wrote: > Hello Tom, > > The following changes since commit e490ad25eb3dc4f075ed33b4b00b1f97071fcf3d: > > ARM64: zynqmp: Sync zynq_sdhci_init() declaration (2015-11-07 08:17:54 > -0500) > > are available in the git repository at: > >

Re: [U-Boot] [PATCH v3] net: phy: Add support for Texas Instruments DP83867

2015-11-10 Thread Joe Hershberger
Hi Michal, On Tue, Nov 10, 2015 at 7:00 AM, Michal Simek wrote: > > From: "Edgar E. Iglesias" > > Code is taken from Linux kernel driver (v4.2). > > Signed-off-by: Edgar E. Iglesias > Signed-off-by: Michal Simek Acked-by: Joe Hershberger ___ U-Boot

Re: [U-Boot] [PATCH] powerpc: Finish updating u-boot*lds scripts for newer binutils

2015-11-10 Thread Tom Rini
On Tue, Nov 10, 2015 at 09:18:50AM -0500, Tom Rini wrote: > In 522b021 we dropped 'PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4)' lines in > the mpc85xx linker scripts as this is not required and breaks newer > binutils. This commit cleans up the rest of the powerpc linker scripts. > > Signed-off-by: T

Re: [U-Boot] [U-Boot, v2] mpc85xx/u-boot*.lds: remove _GLOBAL_OFFSET_TABLE_ definition

2015-11-10 Thread Tom Rini
On Sun, Oct 25, 2015 at 10:32:28AM +0530, Prabhakar Kushwaha wrote: > From: Zhenhua Luo > > In binutils-2.25, the _GLOBAL_OFFSET_TABLE_ symbols defined by PROVIDE in > u-boot.lds overrides the linker built-in symbols > (https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff; > h=b

Re: [U-Boot] Replace "extern inline" with "static inline"

2015-11-10 Thread Tom Rini
On Fri, Nov 06, 2015 at 12:44:01PM +, Måns Rullgård wrote: > A number of headers define functions as "extern inline" which is > causing problems with gcc5. The reason is that starting with > version 5.1, gcc defaults to the standard C99 semantics for the > inline keyword. > > Under the tradi

Re: [U-Boot] [PATCH] board/ti: Update MAINTAINERS entries with more boards

2015-11-10 Thread Tom Rini
On Tue, Nov 10, 2015 at 09:14:38AM -0500, Tom Rini wrote: > A few config files have been added without updating MAINTAINERS. > > Reported-by: Albert ARIBAUD > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [RFC PATCH v1 1/2] armv8: fsl-layerscape: Reserve memory for PPA

2015-11-10 Thread York Sun
On 11/10/2015 11:52 AM, Wolfgang Denk wrote: > Dear York, > > In message <5642490c.9090...@freescale.com> you wrote: >> +- CONFIG_FSL_PPA_RESERVED_DRAM_SIZE + If defined, this is reserved in highest address as secure memory >>> >>> What is Freescale-specific about the concept of reser

Re: [U-Boot] [PATCH] Fix board init code to use a valid C runtime environment

2015-11-10 Thread Simon Glass
Hi Albert, On 9 November 2015 at 17:20, Albert ARIBAUD wrote: > board_init_f_mem() alters the C runtime environment's > stack it ls actually already using. This is not a valid > C runtime environment and may conflict with the C compiler's > expectations. > > Split board_init_f_mem into C function

Re: [U-Boot] [RFC PATCH] tricorder: rewrite tricordereeprom command

2015-11-10 Thread Marek Vasut
On Tuesday, November 04, 2014 at 05:01:47 PM, Andreas Bießmann wrote: > This rewrite uses lately promoted eeprom_init(int) function to choose the > right I2C bus when writing data to the EEPROM. > > Signed-off-by: Andreas Bießmann > Cc: Marek Vasut I am back! Yes, picked this up, thanks! Best

[U-Boot] [PATCH] arm: novena: Switch novena to config_distro_bootcmd

2015-11-10 Thread Marek Vasut
From: Vagrant Cascadian Switch Novena to distro bootcmd, so it can be used with debian easily. Signed-off-by: Vagrant Cascadian Signed-off-by: Marek Vasut Cc: Sean Cross Cc: Stefano Babic --- include/configs/novena.h | 23 ++- 1 file changed, 22 insertions(+), 1 deletion

[U-Boot] [PATCH] arm: novena: Fix kernel_addr_r env variable

2015-11-10 Thread Marek Vasut
The kernel_addr_r should be set to the same value as CONFIG_LOADADDR, get rid of the duplication. Signed-off-by: Marek Vasut Cc: Sean Cross Cc: Stefano Babic --- include/configs/novena.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/novena.h b/include/conf

[U-Boot] [PATCH 12/17] eeprom: Pull out CONFIG_SYS_EEPROM_PAGE_WRITE_BITS

2015-11-10 Thread Marek Vasut
Implement default value of 8 for this macro and pull out all of this macro out of the code. The default value of 8 actually does implement exactly the same behavior as the previous code which was in the #else clause of the ifdef. Signed-off-by: Marek Vasut Cc: Simon Glass Cc: Tom Rini Cc: Heiko

[U-Boot] [PATCH 16/17] eeprom: Add support for selecting i2c bus

2015-11-10 Thread Marek Vasut
Add additional parameter into the eeprom command to select the I2C bus on which the eeprom resides. Signed-off-by: Marek Vasut Cc: Simon Glass Cc: Tom Rini Cc: Heiko Schocher --- common/cmd_eeprom.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/common/cm

[U-Boot] [PATCH 15/17] eeprom: Add bus argument to eeprom_init()

2015-11-10 Thread Marek Vasut
Add bus argument to eeprom_init(), so that it can select the I2C bus number on which the eeprom resides. Any negative value of the $bus argument will preserve the old behavior. This is in place so that old code does not randomly break. Signed-off-by: Marek Vasut Cc: Simon Glass Cc: Tom Rini Cc:

[U-Boot] [PATCH 10/17] eeprom: Pull out CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS

2015-11-10 Thread Marek Vasut
Pull this macro to the beginning of the cmd_eeprom.c and remove another nasty ifdef from the code. Note that this is legal, since udelay(0) changes the behavior only such that it pings the WDT if WDT is enabled and otherwise does not wait. Signed-off-by: Marek Vasut Cc: Simon Glass Cc: Tom Rini

[U-Boot] [PATCH 11/17] eeprom: Suck the ifdef into eeprom_init()

2015-11-10 Thread Marek Vasut
Just suck the ugly ifdef around eeprom_init() call into eeprom_init() function itself. This puts all of the ifdef mess into one place. Signed-off-by: Marek Vasut Cc: Simon Glass Cc: Tom Rini Cc: Heiko Schocher --- common/cmd_eeprom.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-)

[U-Boot] [PATCH 04/17] eeprom: Zap CONFIG_SYS_EEPROM_X40430

2015-11-10 Thread Marek Vasut
Now that the only user of CONFIG_SYS_EEPROM_X40430 was removed, remove this unused code from cmd_eeprom.c Signed-off-by: Marek Vasut Cc: Tom Rini Cc: Simon Glass Cc: Heiko Schocher --- common/cmd_eeprom.c | 94 - 1 file changed, 94 deletions

[U-Boot] [PATCH 09/17] eeprom: Make eeprom_write_enable() weak

2015-11-10 Thread Marek Vasut
Make this function weak and implement it's weak implementation so that the boards can just reimplement it. This zaps the horrid CONFIG_SYS_EEPROM_WREN macro. Signed-off-by: Marek Vasut Cc: Simon Glass Cc: Tom Rini Cc: Heiko Schocher --- common/cmd_eeprom.c | 18 +- 1 file chan

[U-Boot] [PATCH 17/17] eeprom: Clean up checkpatch issues

2015-11-10 Thread Marek Vasut
Cosmetic fixes to the file, make it checkpatch clean. Signed-off-by: Marek Vasut Cc: Simon Glass Cc: Tom Rini Cc: Heiko Schocher --- common/cmd_eeprom.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/common/cmd_eeprom.c b/common/cmd_eeprom.c index 13c

[U-Boot] [PATCH 02/17] eeprom: Shuffle code around

2015-11-10 Thread Marek Vasut
Just move the code around so that the forward declarations are not necessary. Also zap a few checkpatch issues where applicable and zap the use of #ifdef CONFIG_CMD_EEPROM in the code, since this is always true. Signed-off-by: Marek Vasut Cc: Simon Glass Cc: Tom Rini Cc: Heiko Schocher --- co

[U-Boot] [PATCH 06/17] eeprom: Zap CONFIG_SPI_X

2015-11-10 Thread Marek Vasut
This macro is no longer used, so just reap it. Signed-off-by: Marek Vasut Cc: Tom Rini Cc: Simon Glass Cc: Heiko Schocher --- README | 5 - common/cmd_eeprom.c | 8 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/README b/README index ef8d437..8fb81e9

[U-Boot] [PATCH 03/17] eeprom: Zap CONFIG_SYS_I2C_MULTI_EEPROMS

2015-11-10 Thread Marek Vasut
This option only complicates the code unnecessarily, just use CONFIG_SYS_DEF_EEPROM_ADDR as the default address if there are only five arguments to eeprom {read/write} if this is defined. If CONFIG_SYS_DEF_EEPROM_ADDR is not defined, we mandate all six arguments. Signed-off-by: Marek Vasut Cc: Si

[U-Boot] [PATCH 07/17] eeprom: Pull out the I/O code

2015-11-10 Thread Marek Vasut
Pull out the code which does the I2C or SPI read/write, so that the beefy ifdef around it is contained in a single function. Signed-off-by: Marek Vasut Cc: Simon Glass Cc: Tom Rini Cc: Heiko Schocher --- common/cmd_eeprom.c | 50 +++--- 1 file chang

[U-Boot] [PATCH 14/17] eeprom: Pull out the RW loop

2015-11-10 Thread Marek Vasut
Unify the code for doing read/write into single function, since the code for both the read and write is almost identical. This again trims down the code duplication. Signed-off-by: Marek Vasut Cc: Simon Glass Cc: Tom Rini Cc: Heiko Schocher --- common/cmd_eeprom.c | 51 +--

[U-Boot] [PATCH 01/17] tricorder: rewrite tricordereeprom command

2015-11-10 Thread Marek Vasut
From: Andreas Bießmann This rewrite uses lately promoted eeprom_init(int) function to choose the right I2C bus when writing data to the EEPROM. Signed-off-by: Andreas Bießmann Cc: Marek Vasut Cc: Simon Glass Cc: Tom Rini Cc: Heiko Schocher --- board/corscience/tricorder/tricorder-eeprom.c

[U-Boot] [PATCH 13/17] eeprom: Pull out transfer length computation

2015-11-10 Thread Marek Vasut
Pull out the code which computes the length of the transfer into separate code and clean it up a little. This again trims down the code duplication. Signed-off-by: Marek Vasut Cc: Simon Glass Cc: Tom Rini Cc: Heiko Schocher --- common/cmd_eeprom.c | 66

[U-Boot] [PATCH 05/17] eeprom: Zap eeprom_probe()

2015-11-10 Thread Marek Vasut
Remove this function as it's no longer used. Signed-off-by: Marek Vasut Cc: Tom Rini Cc: Simon Glass Cc: Heiko Schocher --- common/cmd_eeprom.c | 19 --- include/common.h| 3 --- 2 files changed, 22 deletions(-) diff --git a/common/cmd_eeprom.c b/common/cmd_eeprom.c inde

[U-Boot] [PATCH 08/17] eeprom: Pull out address computation

2015-11-10 Thread Marek Vasut
Pull out the code computing the EEPROM address into separate function so that it's not duplicated. Signed-off-by: Marek Vasut Cc: Simon Glass Cc: Tom Rini Cc: Heiko Schocher --- common/cmd_eeprom.c | 64 ++--- 1 file changed, 26 insertions(+), 3

Re: [U-Boot] [RFC PATCH v1 1/2] armv8: fsl-layerscape: Reserve memory for PPA

2015-11-10 Thread Scott Wood
On Tue, 2015-11-10 at 11:44 -0800, York Sun wrote: > > On 11/10/2015 11:31 AM, Scott Wood wrote: > > On Tue, 2015-11-10 at 11:17 -0800, York Sun wrote: > > > Primary Protected Application (PPA) is the base of TrustZone for > > > Freescale Layerscape SoCs. It needs to run in secure memory while > >

Re: [U-Boot] [RFC PATCH v1 1/2] armv8: fsl-layerscape: Reserve memory for PPA

2015-11-10 Thread Wolfgang Denk
Dear York, In message <5642490c.9090...@freescale.com> you wrote: > > >> +- CONFIG_FSL_PPA_RESERVED_DRAM_SIZE > >> + If defined, this is reserved in highest address as secure memory > > > > What is Freescale-specific about the concept of reserving memory for a > > secure > > monitor? > > The

Re: [U-Boot] [RFC PATCH v1 1/2] armv8: fsl-layerscape: Reserve memory for PPA

2015-11-10 Thread York Sun
On 11/10/2015 11:31 AM, Scott Wood wrote: > On Tue, 2015-11-10 at 11:17 -0800, York Sun wrote: >> Primary Protected Application (PPA) is the base of TrustZone for >> Freescale Layerscape SoCs. It needs to run in secure memory while >> the rest of u-boot can run in non-secure memory. The secure me

Re: [U-Boot] [RFC PATCH v1 1/2] armv8: fsl-layerscape: Reserve memory for PPA

2015-11-10 Thread Scott Wood
On Tue, 2015-11-10 at 11:17 -0800, York Sun wrote: > Primary Protected Application (PPA) is the base of TrustZone for > Freescale Layerscape SoCs. It needs to run in secure memory while > the rest of u-boot can run in non-secure memory. The secure memory > is reserved at the very end of DDR, before

Re: [U-Boot] [PATCH v4 00/33] dm: Introduce Rockchip RK3288 support

2015-11-10 Thread Simon Glass
Hi, On 9 November 2015 at 19:34, c...@rock-chips.com wrote: > > Hi Simon, > > Thank you so much for your response. > > If there is no new framework, I may first follow the following API which > U-boot has defined > in the file include/common.h, such as: > > /* $(CPU)/interrupts.c */ > in

[U-Boot] [RFC PATCH v1 1/2] armv8: fsl-layerscape: Reserve memory for PPA

2015-11-10 Thread York Sun
Primary Protected Application (PPA) is the base of TrustZone for Freescale Layerscape SoCs. It needs to run in secure memory while the rest of u-boot can run in non-secure memory. The secure memory is reserved at the very end of DDR, before debug server and MC reservations. The address varies depen

[U-Boot] [RFC PATCH v1 2/2] armv8: fsl-layerscape: Make DDR non secure in MMU tables

2015-11-10 Thread York Sun
DDR has been set as secure in MMU tables. Non-secure master such as SDHC DMA cannot access data correctly. Mixing secure and non- secure MMU entries requirs the MMU tables themselves in secure memory. This patch moves MMU tables into a secure DDR area reserved for TrustZone with size CONFIG_FSL_PPA

Re: [U-Boot] [PATCH 1/2][v2] armv8: LS2080A: Rename LS2085A to reflect LS2080A

2015-11-10 Thread York Sun
On 11/09/2015 03:12 AM, Prabhakar Kushwaha wrote: > LS2080A is a prime personality of Freescale’s LS2085A. It is a non-AIOP > personality without support of DP-DDR, L2 switch, 1588, PCIe endpoint etc. > So renaming existing LS2085A code base to reflect LS2080A (Prime personality) > > Signed-off-

[U-Boot] [PATCH v2] Fix board init code to use a valid C runtime environment

2015-11-10 Thread Albert ARIBAUD
board_init_f_mem() alters the C runtime environment's stack it ls actually already using. This is not a valid C runtime environment. Split board_init_f_mem into C functions which do not alter their own stack and therefore run in a valid C runtime environment. Signed-off-by: Albert ARIBAUD --- Fo

[U-Boot] Pull request: u-boot-arm/master

2015-11-10 Thread Albert ARIBAUD
Hello Tom, The following changes since commit e490ad25eb3dc4f075ed33b4b00b1f97071fcf3d: ARM64: zynqmp: Sync zynq_sdhci_init() declaration (2015-11-07 08:17:54 -0500) are available in the git repository at: git://git.denx.de/u-boot-arm master for you to fetch changes up to 5e68ff3949a3eebf6

Re: [U-Boot] [PATCH v2] omap3: cm-t3517: add board specific get_board_rev()

2015-11-10 Thread Igor Grinberg
On 11/10/15 15:17, Dmitry Lifshitz wrote: > CM-T3517 has several HW revisions. > Add board specific get_board_rev() callback to retrieve revision number. > > Signed-off-by: Dmitry Lifshitz Reviewed-by: Igor Grinberg > --- > > Igor, Tom > > I forgot to add a mailing list address in send-ema

Re: [U-Boot] [PATCH 1/4] armv8: enable compilation with CONFIG_SYS_NONCACHED_MEMORY

2015-11-10 Thread Albert ARIBAUD
Hello Tom, Switching to these ASAP. :) On Tue, 10 Nov 2015 15:54:58 +, Tom Warren wrote: > Thanks, Tom. > > > -Original Message- > > From: Tom Rini [mailto:tr...@konsulko.com] > > Sent: Monday, November 09, 2015 4:36 PM > > To: Tom Warren > > Cc: Albert ARIBAUD ; swar...@wwwdotorg.

Re: [U-Boot] [PATCH] ls1043ardb: Add missing config entries to MAINTAINERS

2015-11-10 Thread Albert ARIBAUD
Hello York, On Tue, 10 Nov 2015 08:36:17 -0800, York Sun wrote: > > > On 11/10/2015 07:44 AM, Albert ARIBAUD wrote: > > Hello Fabio, > > > > On Tue, 10 Nov 2015 13:41:03 -0200, Fabio Estevam > > wrote: > >> ls1043ardb_nand_defconfig and ls1043ardb_sdcard_defconfig are missing > >> in the MAI

Re: [U-Boot] [PATCH v2 4/5] armv7/fsl-ls102xa: Workaround for DDR erratum A008514

2015-11-10 Thread York Sun
On 11/10/2015 05:18 AM, Yuan Yao-B46683 wrote: > Thanks york, > > So it seems I should moving the workaround out of DDR driver in "gen4" to SoC. > I think the workaround is not just only for ddr4. > And It should be as a workaround for the SOC. Please make the patch if you are comfortable. Please

Re: [U-Boot] [PATCH] ls1043ardb: Add missing config entries to MAINTAINERS

2015-11-10 Thread York Sun
On 11/10/2015 07:44 AM, Albert ARIBAUD wrote: > Hello Fabio, > > On Tue, 10 Nov 2015 13:41:03 -0200, Fabio Estevam > wrote: >> ls1043ardb_nand_defconfig and ls1043ardb_sdcard_defconfig are missing >> in the MAINTAINERS file, so add them for completeness. >> >> Reported-by: Albert Aribaud >> S

Re: [U-Boot] [PATCH 1/4] armv8: enable compilation with CONFIG_SYS_NONCACHED_MEMORY

2015-11-10 Thread Tom Warren
Thanks, Tom. > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Monday, November 09, 2015 4:36 PM > To: Tom Warren > Cc: Albert ARIBAUD ; swar...@wwwdotorg.org; u- > b...@lists.denx.de; Simon Glass ; Stephen Warren > ; Thierry Reding ; York Sun > ; Michal Simek ; >

Re: [U-Boot] [PATCH] ls1043ardb: Add missing config entries to MAINTAINERS

2015-11-10 Thread Albert ARIBAUD
Hello Fabio, On Tue, 10 Nov 2015 13:41:03 -0200, Fabio Estevam wrote: > ls1043ardb_nand_defconfig and ls1043ardb_sdcard_defconfig are missing > in the MAINTAINERS file, so add them for completeness. > > Reported-by: Albert Aribaud > Signed-off-by: Fabio Estevam > --- > board/freescale/ls1043

[U-Boot] [PATCH] ls1043ardb: Add missing config entries to MAINTAINERS

2015-11-10 Thread Fabio Estevam
ls1043ardb_nand_defconfig and ls1043ardb_sdcard_defconfig are missing in the MAINTAINERS file, so add them for completeness. Reported-by: Albert Aribaud Signed-off-by: Fabio Estevam --- board/freescale/ls1043ardb/MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/freescale/

Re: [U-Boot] [PATCH] Revert "arm: Switch 32-bit ARM to using generic global_data setup"

2015-11-10 Thread Fabio Estevam
On Tue, Nov 10, 2015 at 1:21 PM, Simon Glass wrote: > Is this patch against mainline or does your tree have other changes? This change is against a clean mainline tree. >> /* DDR initialization */ >> spl_dram_init(); >> >> It is the ame issue I reported back in August: >> http://list

Re: [U-Boot] [PATCH] Makefile: Include vendor common library in include search path

2015-11-10 Thread Nishanth Menon
On 11/10/2015 08:55 AM, Nishanth Menon wrote: > On 12:25-20151110, Masahiro Yamada wrote: >> 2015-11-10 5:24 GMT+09:00 Simon Glass : >>>>> I am unhappy because I was hoping >>>>> we could stop creating symbolic links during building >>>>>

Re: [U-Boot] [PATCH] Revert "arm: Switch 32-bit ARM to using generic global_data setup"

2015-11-10 Thread Simon Glass
Hi Fabio, On 10 November 2015 at 06:50, Fabio Estevam wrote: > Hi Simon, > > On Tue, Nov 10, 2015 at 12:41 PM, Simon Glass wrote: > >> We're at the very start the release process, so I wonder if we can try >> to figure out what is wrong here? >> >> Is it because malloc() is not working, perhaps?

Re: [U-Boot] [PATCH] Revert "arm: Switch 32-bit ARM to using generic global_data setup"

2015-11-10 Thread Albert ARIBAUD
Hello Simon, On Tue, 10 Nov 2015 06:41:25 -0800, Simon Glass wrote: > Hi Fabio, > > On 10 November 2015 at 04:40, Fabio Estevam > wrote: > > This reverts commit 5ba534d247d418e09c5b4fe5fb7fa780aac08e49. > > > > This commit causes cgtqmx6eval to not boot anymore: > > > > U-Boot SPL 2015.10-0052

Re: [U-Boot] [PATCH] Makefile: Include vendor common library in include search path

2015-11-10 Thread Nishanth Menon
On 12:25-20151110, Masahiro Yamada wrote: > 2015-11-10 5:24 GMT+09:00 Simon Glass : > >>> I am unhappy because I was hoping > >>> we could stop creating symbolic links during building > >>> in a long run. > > > > But how? I don't see that it

Re: [U-Boot] [PATCH v2 1/2] nios2: rename board nios2-generic to 3c120_devboard

2015-11-10 Thread Marek Vasut
On Tuesday, November 10, 2015 at 03:48:40 PM, Thomas Chou wrote: > Rename board nios2-generic to 3c120_devboard. Since nios2 is > converted to driver model and device tree control of u-boot, > the nios2-generic board directory is removed. We can rename > the board back to a real board name. Now the

Re: [U-Boot] [PATCH] Revert "arm: Switch 32-bit ARM to using generic global_data setup"

2015-11-10 Thread Fabio Estevam
Hi Simon, On Tue, Nov 10, 2015 at 12:41 PM, Simon Glass wrote: > We're at the very start the release process, so I wonder if we can try > to figure out what is wrong here? > > Is it because malloc() is not working, perhaps? Yes, exactly. malloc() is not working. Issue happens on Congatec board

[U-Boot] [PATCH v2 2/2] nios2: add 3c120 and 10m50 devboards MAINTAINERS

2015-11-10 Thread Thomas Chou
Add 3c120 and 10m50 devboards MAINTAINERS Signed-off-by: Thomas Chou --- board/altera/nios2/MAINTAINERS | 13 + 1 file changed, 13 insertions(+) create mode 100644 board/altera/nios2/MAINTAINERS diff --git a/board/altera/nios2/MAINTAINERS b/board/altera/nios2/MAINTAINERS new file m

[U-Boot] [PATCH v2 1/2] nios2: rename board nios2-generic to 3c120_devboard

2015-11-10 Thread Thomas Chou
Rename board nios2-generic to 3c120_devboard. Since nios2 is converted to driver model and device tree control of u-boot, the nios2-generic board directory is removed. We can rename the board back to a real board name. Now the boards maintained in u-boot mainline are the same as Linux kernel, namel

Re: [U-Boot] [PATCH] Revert "arm: Switch 32-bit ARM to using generic global_data setup"

2015-11-10 Thread Simon Glass
Hi Fabio, On 10 November 2015 at 04:40, Fabio Estevam wrote: > This reverts commit 5ba534d247d418e09c5b4fe5fb7fa780aac08e49. > > This commit causes cgtqmx6eval to not boot anymore: > > U-Boot SPL 2015.10-00527-g8800bee (Nov 09 2015 - 21:23:54) > mxc_spi: SPI Slave not allocated ! > > Signed-off-b

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-11-10 Thread Fabio Estevam
On Mon, Nov 9, 2015 at 10:05 PM, Fabio Estevam wrote: > Hi Nikolay, > > On Thu, Aug 13, 2015 at 9:37 AM, Nikolay Dimitrov wrote: > >> Thanks for sharing this info, it seems it will solve a similar problem >> of mine on the latest U-Boot code (SPI slave malloc not working during >> SPL boot from S

[U-Boot] [PATCH] powerpc: Finish updating u-boot*lds scripts for newer binutils

2015-11-10 Thread Tom Rini
In 522b021 we dropped 'PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4)' lines in the mpc85xx linker scripts as this is not required and breaks newer binutils. This commit cleans up the rest of the powerpc linker scripts. Signed-off-by: Tom Rini --- arch/powerpc/cpu/mpc512x/u-boot.lds |1 - arch/

  1   2   >