[U-Boot] [PATCH v3] socfpga: Add a signer that is integrated into mkimage

2014-02-22 Thread Charles Manning
This adds a signer for the socfpga preloader built from SPL. Instead of using the arcane Altera signing tool, this automatically creates a signed version of the SPL in the u-boot root directory. Changes since previous submissions: * This version is integrated into mkimage, with image type socfpga

Re: [U-Boot] [PATCH] cfb_console: force natural alignment of unzipped bitmap images

2014-02-22 Thread Wolfgang Denk
Dear Eric Nelson, In message <1393103071-2788-1-git-send-email-eric.nel...@boundarydevices.com> you wrote: > Bitmaps contain 32-bit integers aligned at offsets of > +2, +6 within the bmp_header structure. This patch > forces them to be aligned properly when gzipped > bitmaps are used. This makes

Re: [U-Boot] Porting a freescale sabrelite-like board to master ?

2014-02-22 Thread Wolfgang Denk
Dear Thierry, In message <53090207.5060...@free.fr> you wrote: > > > The kernel version is actually totally uninteresting here. What > > matters is what U-Boot version you have. Let me guess - it is some > > v2009.x - i. e. 5 year old stuff? ... > Sorry for the confusion. I should have been more

Re: [U-Boot] Porting a freescale sabrelite-like board to master ?

2014-02-22 Thread Eric Nelson
Hi Thierry, On 02/22/2014 01:01 PM, Thierry Bultel wrote: Le 22/02/2014 20:20, Wolfgang Denk a écrit : Dear Thierry, In message <5308e4d1.5000...@free.fr> you wrote: The board I am working on, is based on the Freescale sabrelite board, the manufacturer provides support for it , as an about 10

Re: [U-Boot] Porting a freescale sabrelite-like board to master ?

2014-02-22 Thread Eric Nelson
Hi Thierry, On 02/22/2014 10:56 AM, Thierry Bultel wrote: Hi, The board I am working on, is based on the Freescale sabrelite board, the manufacturer provides support for it, as an about 1000 > lines patch that applies to rel_imx_3.0.35_4.1.0 (3.0.35_4.1.0 is the kernel version I am using) A

[U-Boot] [PATCH] cfb_console: force natural alignment of unzipped bitmap images

2014-02-22 Thread Eric Nelson
Bitmaps contain 32-bit integers aligned at offsets of +2, +6 within the bmp_header structure. This patch forces them to be aligned properly when gzipped bitmaps are used. Refer to these files for more details: doc/README.displaying-bmps doc/README.arm-unaligned-accesses Signed-off

[U-Boot] [PATCH v4 3/3] usb: tegra: combine header file

2014-02-22 Thread Stefan Agner
Combine the Tegra USB header file into one header file for all SoCs. Use ifdef to account for the difference, especially Tegra20 is quite different from newer SoCs. This avoids duplication especially between Tegra30 and newer devices. Reviewed-by: Stephen Warren Signed-off-by: Stefan Agner ---

[U-Boot] [PATCH v4 0/3] ubs: tegra: two fixes and cleanup

2014-02-22 Thread Stefan Agner
Only patch 1 is an actual issue while the second patch is something I stumbled upon, and the third is more about housekeeping. I descieded to ifdef the driver, I think that this is easier to read and does not mix register access style. The function ehci_get_port_speed however don't get a pointer t

[U-Boot] [PATCH v4 1/3] usb: tegra: fix USB2 powerdown for Tegra30 and later

2014-02-22 Thread Stefan Agner
Clear the forced powerdown bit in the UTMIP_PLL_CFG2_0 register which brings USB2 in UTMI mode to work. This was clearly missing since the forced powerdown bit is set in reset by default for all USB ports. Acked-by: Stephen Warren Signed-off-by: Stefan Agner --- drivers/usb/host/ehci-tegra.c |

[U-Boot] [PATCH v4 2/3] usb: tegra: fix PHY configuration

2014-02-22 Thread Stefan Agner
On Tegra30 and later, the PTS (parallel transceiver select) and STS (serial transceiver select) are part of the HOSTPC1_DEVLC_0 register rather than PORTSC1_0 register. Since the reset configuration usually matches the intended configuration, this error did not show up on Tegra30 devices. Also use

Re: [U-Boot] Porting a freescale sabrelite-like board to master ?

2014-02-22 Thread Fabio Estevam
Hi Thierry, On Sat, Feb 22, 2014 at 5:01 PM, Thierry Bultel wrote: > If the sabrelite board would still be supported in master, it would be > straightforward. sabrelite is still supported in master. Its source is located at board/boundary/nitrogen6x/nitrogen6x.c Regards, Fabio Estevam ___

Re: [U-Boot] Porting a freescale sabrelite-like board to master ?

2014-02-22 Thread Thierry Bultel
Le 22/02/2014 20:20, Wolfgang Denk a écrit : Dear Thierry, In message <5308e4d1.5000...@free.fr> you wrote: The board I am working on, is based on the Freescale sabrelite board, the manufacturer provides support for it , as an about 1000 lines patch that applies to rel_imx_3.0.35_4.1.0 (3.0.35_

Re: [U-Boot] Porting a freescale sabrelite-like board to master ?

2014-02-22 Thread Wolfgang Denk
Dear Thierry, In message <5308e4d1.5000...@free.fr> you wrote: > > The board I am working on, is based on the Freescale sabrelite board, > the manufacturer provides > support for it , as an about 1000 lines patch that applies to > rel_imx_3.0.35_4.1.0 > (3.0.35_4.1.0 is the kernel version I am u

[U-Boot] Porting a freescale sabrelite-like board to master ?

2014-02-22 Thread Thierry Bultel
Hi, The board I am working on, is based on the Freescale sabrelite board, the manufacturer provides support for it , as an about 1000 lines patch that applies to rel_imx_3.0.35_4.1.0 (3.0.35_4.1.0 is the kernel version I am using) As that freescale version is too old for me (that is, it does

Re: [U-Boot] [PATCH v7 1/3] cm_t335: fix linker file to produce full ELF

2014-02-22 Thread Albert ARIBAUD
Hi Tom, On Sat, 22 Feb 2014 12:34:40 -0500, Tom Rini wrote: > On Sat, Feb 22, 2014 at 05:53:41PM +0100, Albert ARIBAUD wrote: > > > Newly added cm_t335 was missed in commit 47ed5dd0 which > > made ARM targets produce full ELF files. Fix its linker > > script. > > > > This change is binary-inva

Re: [U-Boot] [PATCH v7 1/3] cm_t335: fix linker file to produce full ELF

2014-02-22 Thread Tom Rini
On Sat, Feb 22, 2014 at 05:53:41PM +0100, Albert ARIBAUD wrote: > Newly added cm_t335 was missed in commit 47ed5dd0 which > made ARM targets produce full ELF files. Fix its linker > script. > > This change is binary-invariant when only .dynsym, .dynstr, > .dynamic, .plt, .interp and .gun sections

Re: [U-Boot] [PATCH] socfpga: Add a signing tool that automatically signs the preloader.

2014-02-22 Thread Gerhard Sittig
On Thu, Feb 20, 2014 at 12:01 +1300, Charles Manning wrote: > > No need to use the altera tool any more... I like the idea of removing this external dependency. But there are some issues with your submission. The commit message could use some more helpful text for those who are not familiar wit

[U-Boot] [PATCH v7 2/3] arm: make _end compiler-generated

2014-02-22 Thread Albert ARIBAUD
This prevents references to _end from generating absolute relocation records. This change is binary invariant for ARM targets. Signed-off-by: Albert ARIBAUD --- Changes in v7: - Dropped changes to actux (boards were removed) - Dropped changes to zynq (has to use its own lds file) Changes in v6

[U-Boot] [PATCH v7 3/3] arm: remove unneeded symbol offsets and _TEXT_BASE

2014-02-22 Thread Albert ARIBAUD
Remove the last uses of symbol offsets in ARM U-Boot. Remove some needless uses of _TEXT_BASE. Remove all _TEXT_BASE definitions. Signed-off-by: Albert ARIBAUD --- Changes in v7: - dropped IXP and SMDK5250 (removed from codebase) Changes in v6: None Changes in v5: None Changes in v4: - removed

[U-Boot] [PATCH v7 1/3] cm_t335: fix linker file to produce full ELF

2014-02-22 Thread Albert ARIBAUD
Newly added cm_t335 was missed in commit 47ed5dd0 which made ARM targets produce full ELF files. Fix its linker script. This change is binary-invariant when only .dynsym, .dynstr, .dynamic, .plt, .interp and .gun sections are declared. Sections .hash, .got.plt, .dynbss and .ARM.exidx are also dec

Re: [U-Boot] [RFC] [PATCH] rewrite doc/README.arm-unaligned-accesses

2014-02-22 Thread Albert ARIBAUD
On Sat, 22 Feb 2014 13:17:50 +0100, Albert ARIBAUD wrote: > Code which traps with -munaligned-access and SRC.A set is code which > is not correct, since the native unaligned access which was trapped > reflects an unaligned access within the C source code, which is not > allowed as per C99. If tha

Re: [U-Boot] [PATCH] arm: Handle .gnu.hash section in ldscripts

2014-02-22 Thread Albert ARIBAUD
Hi Albert, On Thu, 13 Feb 2014 12:39:07 +0100, Albert ARIBAUD wrote: > Hi Andreas, > > On Mon, 27 Jan 2014 19:46:03 +0100, Andreas Färber > wrote: > > > Hello, > > > > Am 27.01.2014 15:24, schrieb Wolfgang Denk: > > > In message <1390798091-24747-1-git-send-email-afaer...@suse.de> you wrote:

Re: [U-Boot] [PATCH V2 1/4] pxe: allow compilation when !defined(CONFIG_CMD_NET)

2014-02-22 Thread Albert ARIBAUD
Hi Stephen, On Wed, 5 Feb 2014 20:49:20 -0700, Stephen Warren wrote: > pxe.c provides both the "pxe" command which relies on a network, and the > "sysboot" command which doesn't. Fix the file to compile when network > support isn't enabled. This is useful e.g. on the Raspberry Pi which has > no

Re: [U-Boot] [RFC PATCH 1/3] add file with a default boot environment based heavily on Stephen Warrens recent tegra work.

2014-02-22 Thread Otavio Salvador
Hello Tom, On Thu, Feb 20, 2014 at 10:46 AM, Tom Rini wrote: > On Thu, Feb 20, 2014 at 09:31:36AM -0300, Otavio Salvador wrote: >> Hello Tom, >> >> On Wed, Feb 19, 2014 at 4:41 PM, Tom Rini wrote: >> > On Wed, Feb 19, 2014 at 12:29:19PM -0700, Stephen Warren wrote: >> >> On 02/19/2014 12:24 PM,

Re: [U-Boot] [PATCH] dfu: mmc: Replace calls to u-boot commands with native mmc API

2014-02-22 Thread Lukasz Majewski
Hi Pantelis, > Hi Lukasz, > > Looks fine to me. > Let me run a few tests over the weekend I was wondering if we could share tests for DFU? Will it be suitable to put it in the ./test/dfu? > and I'll > apply. > > Thanks > > -- Pantelis > > On Feb 21, 2014, at 9:23 AM, Lukasz Majewski w

Re: [U-Boot] [RFC] [PATCH] rewrite doc/README.arm-unaligned-accesses

2014-02-22 Thread Albert ARIBAUD
Hi Tom, On Fri, 21 Feb 2014 08:38:18 -0500, Tom Rini wrote: > > > And as an aside, building with -Wcast-align shows some places we _may_ > > > need to investigate. > > > > Thanks for the suggestion. If investigation shows it to be a good sign > > of some alignment issue, then maybe we could add

Re: [U-Boot] [RFC PATCH 1/3] add file with a default boot environment based heavily on Stephen Warrens recent tegra work.

2014-02-22 Thread Dennis Gilmore
On Wed, 19 Feb 2014 10:40:15 -0700 Stephen Warren wrote: > On 02/17/2014 10:56 AM, Dennis Gilmore wrote: > > Signed-off-by: Dennis Gilmore > > Patch description? I failed in my rush to get it out for feedback. > > diff --git a/include/config_distro_bootcmd.h > > b/include/config_distro_bootcm

Re: [U-Boot] [PATCH v5] socfpga: Adding Scan Manager driver

2014-02-22 Thread Wolfgang Denk
Dear Chin Liang See, In message <1393022790-9296-1-git-send-email-cl...@altera.com> you wrote: > Scan Manager driver will be called to configure the IOCSR > scan chain. This configuration will setup the IO buffer settings > > Signed-off-by: Chin Liang See > Cc: Dinh Nguyen > Cc: Wolfgang Denk