Re: [U-Boot] d.bfd: error: /.../libgcc.a(_udivdi3.o) uses VFP register arguments, u-boot does not

2015-06-14 Thread fabioca
Yes it solves the issue. Thanks for speedy reply! -- View this message in context: http://u-boot.10912.n7.nabble.com/d-bfd-error-libgcc-a-udivdi3-o-uses-VFP-register-arguments-u-boot-does-not-tp217065p217077.html Sent from the U-Boot mailing list archive at Nabble.com. _

Re: [U-Boot] d.bfd: error: /.../libgcc.a(_udivdi3.o) uses VFP register arguments, u-boot does not

2015-06-14 Thread Bernhard Nortmann
fabioca yahoo.com> writes: > I just cloned the repo (top commit: 64d16706a052553c85d2f8f4c741879a4e3e6116) > and run on a bananapi (armv7): > # make Bananapi_defconfig > # make > > The second command fails with errors like: > ld.bfd: error: > /usr/lib/gcc/armv7l-unknown-linux-gnueabihf/4.9.2/lib

Re: [U-Boot] [linux-sunxi] [RFC 11/11] mtd/nand: Sunxi NAND boot partition definitions

2015-06-14 Thread Boris Brezillon
On Sun, 14 Jun 2015 19:42:58 +0200 Michal Suchanek wrote: > On 14 June 2015 at 14:18, Boris Brezillon > wrote: > > On Sun, 14 Jun 2015 13:56:56 +0200 > > Michal Suchanek wrote: > > > >> On 14 June 2015 at 13:25, Boris Brezillon > >> wrote: > >> > Hi Michal, > >> > > >> > On Sun, 7 Jun 2015 18:

[U-Boot] [PATCH] This patch clears the errors found my running checkpatch.pl on file drivers/spi/fsl_espi.c

2015-06-14 Thread Chakra Divi
Signed-off-by: Chakra Divi --- drivers/spi/fsl_espi.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/spi/fsl_espi.c b/drivers/spi/fsl_espi.c index 375dc07..9d9a6e0 100644 --- a/drivers/spi/fsl_espi.c +++ b/drivers/spi/fsl_espi.c @@ -92,11 +92,12 @@ st

[U-Boot] d.bfd: error: /.../libgcc.a(_udivdi3.o) uses VFP register arguments, u-boot does not

2015-06-14 Thread fabioca
I just cloned the repo (top commit: 64d16706a052553c85d2f8f4c741879a4e3e6116) and run on a bananapi (armv7): # make Bananapi_defconfig # make The second command fails with errors like: ld.bfd: error: /usr/lib/gcc/armv7l-unknown-linux-gnueabihf/4.9.2/libgcc.a(_udivdi3.o) uses VFP register arguments

[U-Boot] [PATCH] spi: fsl_espi.c: fix checkpatch.pl erorrs/warnings

2015-06-14 Thread Chakra Divi
This patch clears the errors found by running checkpatch.pl on file drivers/spi/fsl_espi.c Signed-off-by: Chakra Divi --- drivers/spi/fsl_espi.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/spi/fsl_espi.c b/drivers/spi/fsl_espi.c index 375dc07..9d

Re: [U-Boot] [Reproducible-builds] [PATCH] build: create time and date independent binary

2015-06-14 Thread Holger Levsen
Hi Paul, thanks for contacting us! On Freitag, 12. Juni 2015, Paul Kocialkowski wrote: > I think a bit more is needed to get truly reproducible builds in U-Boot, > but this is a first good step! you've seen https://reproducible.debian.net/u-boot ? > I have been thinking about bringing reproduci

Re: [U-Boot] [U-Boot,7/8] ARM: highbank: remove DRAM bank setup

2015-06-14 Thread Andre Przywara
On Fri, 12 Jun 2015 22:10:07 -0400 Tom Rini wrote: > On Fri, Jun 05, 2015 at 12:58:48AM +0100, Andre Przywara wrote: > > > From: Rob Herring > > > > On the highbank platform the SoC's management controller firmware > > will probe the DRAM modules and populates the initial device tree > > with

Re: [U-Boot] [linux-sunxi] [RFC 11/11] mtd/nand: Sunxi NAND boot partition definitions

2015-06-14 Thread Michal Suchanek
On 14 June 2015 at 14:18, Boris Brezillon wrote: > On Sun, 14 Jun 2015 13:56:56 +0200 > Michal Suchanek wrote: > >> On 14 June 2015 at 13:25, Boris Brezillon >> wrote: >> > Hi Michal, >> > >> > On Sun, 7 Jun 2015 18:48:26 +0200 >> > Michal Suchanek wrote: >> > >> >> Hello, >> >> >> >> On 5 June

Re: [U-Boot] [PATCH] sun6i: cpu_reset: Do not return from cpu_reset()

2015-06-14 Thread Ian Campbell
On Sun, 2015-06-14 at 16:58 +0200, Hans de Goede wrote: > Currently on sun6i after a "reset" the prompt returns and the user can > even type stuff until the watchdog triggers and does the actual reset. > > This is somewhat unexpected behavior for the "reset" command, It certainly is! > this > c

Re: [U-Boot] [PATCH 1/2] sunxi: musb: Do not fully reset the controler from sunxi_musb_disable

2015-06-14 Thread Hans de Goede
Hi, On 06/14/2015 01:46 PM, Ian Campbell wrote: On Sun, 2015-06-14 at 12:40 +0200, Hans de Goede wrote: Fully resetting the controller is a too big hammer, and the musb_core will then afterwards fail to communicate with any endpoints other then 0 as too much state was cleared. Instead report v

[U-Boot] Please pull u-boot-marvell master

2015-06-14 Thread Luka Perkov
Hi Tom, this series contains patches from Kevin and Stefan and it would be great if you could pull them in this release. The following changes since commit 64d16706a052553c85d2f8f4c741879a4e3e6116: Nokia RX-51: Fix calculating return address in save_boot_params (2015-06-12 08:11:18 -0400) ar

[U-Boot] [PATCH] sun6i: cpu_reset: Do not return from cpu_reset()

2015-06-14 Thread Hans de Goede
Currently on sun6i after a "reset" the prompt returns and the user can even type stuff until the watchdog triggers and does the actual reset. This is somewhat unexpected behavior for the "reset" command, this commit adds an endless loop to wait for the watchdog to trigger so that we do not return

Re: [U-Boot] [linux-sunxi] [RFC 11/11] mtd/nand: Sunxi NAND boot partition definitions

2015-06-14 Thread Boris Brezillon
On Sun, 14 Jun 2015 13:56:56 +0200 Michal Suchanek wrote: > On 14 June 2015 at 13:25, Boris Brezillon > wrote: > > Hi Michal, > > > > On Sun, 7 Jun 2015 18:48:26 +0200 > > Michal Suchanek wrote: > > > >> Hello, > >> > >> On 5 June 2015 at 13:52, Roy Spliet wrote: > >> > Based on the default la

Re: [U-Boot] [linux-sunxi] Re: [RFC 02/11] mtd/nand: add ONFI timing mode to nand_timings converter

2015-06-14 Thread Boris Brezillon
On Mon, 08 Jun 2015 10:41:28 +0200 Roy Spliet wrote: > Hello Michal, > > Op 08-06-15 om 10:34 schreef Michal Suchanek: > > On 8 June 2015 at 10:11, Roy Spliet wrote: > >> Hello Scott et al., > >> > >> Op 06-06-15 om 00:02 schreef Scott Wood: > >> > >> On Fri, 2015-06-05 at 13:52 +0200, Roy Spli

Re: [U-Boot] [linux-sunxi] [RFC 11/11] mtd/nand: Sunxi NAND boot partition definitions

2015-06-14 Thread Michal Suchanek
On 14 June 2015 at 13:25, Boris Brezillon wrote: > Hi Michal, > > On Sun, 7 Jun 2015 18:48:26 +0200 > Michal Suchanek wrote: > >> Hello, >> >> On 5 June 2015 at 13:52, Roy Spliet wrote: >> > Based on the default layout of the android image used at least on Olimex >> > Lime >> > >> > Signed-off-

Re: [U-Boot] [RFC 03/11] mtd/nand: support ONFI timing mode retrieval for non-ONFI

2015-06-14 Thread Boris Brezillon
On Fri, 5 Jun 2015 13:52:36 +0200 Roy Spliet wrote: That one has been accepted, so I guess it will be taken by Scott during his sync with the last mainline kernel. > From: yassin > > Signed-off-by: Roy Spliet > --- > drivers/mtd/nand/nand_base.c | 1 + > include/linux/mtd/nand.h | 7 +++

Re: [U-Boot] [RFC 04/11] mtd/nand: add page status table (pst)

2015-06-14 Thread Boris Brezillon
On Fri, 5 Jun 2015 13:52:37 +0200 Roy Spliet wrote: Ditto (this work hasn't been accepted in Linux). > From: yassin > > Signed-off-by: Roy Spliet > --- > drivers/mtd/nand/nand_base.c | 154 > +++ > include/linux/mtd/nand.h | 21 ++ > 2 files

Re: [U-Boot] [RFC 05/11] mtd/nand: take nand_ecc_ctrl initialization out of nand_scan_tail

2015-06-14 Thread Boris Brezillon
On Fri, 5 Jun 2015 13:52:38 +0200 Roy Spliet wrote: Ditto (work not mainlined yet, so we'd better either get rid of it). BTW, a commit message would help understanding what you're doing in this patch (even if I'm probably the one who omit the commit message in the first place, that doesn't mean

Re: [U-Boot] [RFC 06/11] mtd/nand: Add randomisation layer

2015-06-14 Thread Boris Brezillon
On Fri, 5 Jun 2015 13:52:39 +0200 Roy Spliet wrote: > Based on BBrezillons work, minus per-partition support. Changes to support > that would be quite invasive while it hasn't been solved yet for Linux. Same comment as in other patches: this work hasn't been accepted yet in mainline Linux, so m

Re: [U-Boot] [PATCH 2/2] sunxi: musb: Remove unused sunxi_musb_exit method

2015-06-14 Thread Ian Campbell
On Sun, 2015-06-14 at 12:40 +0200, Hans de Goede wrote: > Remove the unused sunxi_musb_exit method, there is no code in u-boot > calling the exit method, and our implementation was broken as it did > not disable the clocks and asserted reset. Seems to me the call should either be called (and the h

Re: [U-Boot] [PATCH 1/2] sunxi: musb: Do not fully reset the controler from sunxi_musb_disable

2015-06-14 Thread Ian Campbell
On Sun, 2015-06-14 at 12:40 +0200, Hans de Goede wrote: > Fully resetting the controller is a too big hammer, and the musb_core will > then afterwards fail to communicate with any endpoints other then 0 as > too much state was cleared. > > Instead report vbus low for 200ms which will effectively e

Re: [U-Boot] [RFC 07/11] mtd/nand Add Sunxi NAND driver

2015-06-14 Thread Boris Brezillon
On Sun, 14 Jun 2015 13:42:12 +0200 Boris Brezillon wrote: > On Fri, 5 Jun 2015 13:52:40 +0200 > Roy Spliet wrote: > > > Heavily based on BBrezillon's (downstream) driver. Most noticable > > differences > > - No per-partition ECC settings. Partitions in U-boot are quite > > different from Lin

Re: [U-Boot] [RFC 07/11] mtd/nand Add Sunxi NAND driver

2015-06-14 Thread Boris Brezillon
On Fri, 5 Jun 2015 13:52:40 +0200 Roy Spliet wrote: > Heavily based on BBrezillon's (downstream) driver. Most noticable > differences > - No per-partition ECC settings. Partitions in U-boot are quite > different from Linux > - U-boot register definitions, shared with sunxi_nand_spl > - FDT par

Re: [U-Boot] [RFC 08/11] mtd/nand: Add DT definitions for Olimex Lime

2015-06-14 Thread Boris Brezillon
On Fri, 5 Jun 2015 13:52:41 +0200 Roy Spliet wrote: > Signed-off-by: Roy Spliet > --- > arch/arm/dts/sun7i-a20-olinuxino-lime.dts | 41 ++ > arch/arm/dts/sun7i-a20.dtsi | 90 > +++ > 2 files changed, 131 insertions(+) > > diff --git a/arc

Re: [U-Boot] [linux-sunxi] [RFC 11/11] mtd/nand: Sunxi NAND boot partition definitions

2015-06-14 Thread Boris Brezillon
Roy, Yassin, On Mon, 08 Jun 2015 13:35:04 +0200 Roy Spliet wrote: > Hello Yassin, > > Op 08-06-15 om 12:48 schreef Yassin: > > Hi Roy > > Thank you for working on this, I would like to suggest if you could > > implement separate control commands to switch ECC and Randomisation modes > > per p

Re: [U-Boot] [linux-sunxi] [RFC 11/11] mtd/nand: Sunxi NAND boot partition definitions

2015-06-14 Thread Boris Brezillon
Hi Michal, On Sun, 7 Jun 2015 18:48:26 +0200 Michal Suchanek wrote: > Hello, > > On 5 June 2015 at 13:52, Roy Spliet wrote: > > Based on the default layout of the android image used at least on Olimex > > Lime > > > > Signed-off-by: Roy Spliet > > --- > > include/configs/sunxi-common.h | 9

Re: [U-Boot] [RFC] Sunxi NAND support for U-Boot

2015-06-14 Thread Boris Brezillon
Hi All, I'm eventually joining the discussion (better late than never ;-)). You'll find my comments in each patch (or answers to those patches). On Fri, 5 Jun 2015 13:52:33 +0200 Roy Spliet wrote: > Following up on earlier SPL patches, here a series based on Yassin Jaffer's > work to bring NA

[U-Boot] [PATCH 2/2] sunxi: musb: Remove unused sunxi_musb_exit method

2015-06-14 Thread Hans de Goede
Remove the unused sunxi_musb_exit method, there is no code in u-boot calling the exit method, and our implementation was broken as it did not disable the clocks and asserted reset. Signed-off-by: Hans de Goede --- drivers/usb/musb-new/sunxi.c | 34 -- 1 file chang

[U-Boot] [PATCH 1/2] sunxi: musb: Do not fully reset the controler from sunxi_musb_disable

2015-06-14 Thread Hans de Goede
Fully resetting the controller is a too big hammer, and the musb_core will then afterwards fail to communicate with any endpoints other then 0 as too much state was cleared. Instead report vbus low for 200ms which will effectively end the current session without needing to do a full reset. This f

[U-Boot] [PATCH 0/2] sunxi: musb: Fix "usb reset" handling

2015-06-14 Thread Hans de Goede
Hi Ian, Paul, Here is a patch to fix the problems where most usb devices will no longer work after a "usb reset ", when connected to the otg controller in host mode + a related cleanup patch. Ian I would like to send out a PR with these 2 as fixed for v2015.07, can you review them please? Note I'

[U-Boot] [PATCH] MSI_Primo81_defconfig: enable USB OTG port and keyboard support

2015-06-14 Thread Karsten Merker
The MSI Primo 81 is an Allwinner A31s-based tablet on which the OTG port is the only accessible USB interface. The existing defconfig had VGA console on the LCD enabled, but was missing keyboard support because the prerequisites for that (sunxi MUSB support and AXP221 GPIO support) had not been av

[U-Boot] [PATCH] imx: imximage: add new CHECK/CLR BIT command

2015-06-14 Thread Peng Fan
Since rom code supports the following commands, add new commands support in imximage. 1. CHECK_BITS_SET 4 [address] [mask bit] means: while ((*address & mask) != mask); 2. CHECK_BITS_CLR 4 [address] [mask bit] means: while ((*address & ~mask) != 0); 2. CLR_BIT 4 [address] [mask bit]