[U-Boot] Pull request - arm/zynq v3

2013-08-19 Thread Michal Simek
Hi Albert, please pull these 3 zynq patches to your arm tree. I have rebased the tree on the 2013.07 to remove that new nds32 patches. There is still pending the arm: lds: Remove libgcc eabi exception handling tables patch. Have you considered to also add it? v3: - Rebase on the v2013.07 becaus

[U-Boot] legacy I2C_GET_BUS()/I2C_SET_BUS() not working anymore

2013-08-19 Thread Dirk Eibach
Hello Heiko, your commit 385c9ef5 introduced in include/i2c.h #if defined(CONFIG_SYS_I2C) || defined(CONFIG_I2C_MULTI_BUS) # if !defined(CONFIG_SYS_MAX_I2C_BUS) # define CONFIG_SYS_MAX_I2C_BUS 2 # endif # define I2C_MULTI_BUS 0 #else # define CONFIG_SYS_MAX_I2C_BUS 1 # define I2C_MULTI_BUS 0 #en

[U-Boot] U-Boot Driver Development on Atmel's sama5d3xek

2013-08-19 Thread Steven Rosenberg
Dear Personnel, We are investigating using U-Boot Driver samples for development on the Atmel's sama5dxek boards and could use some guidance. I have reviewed the following: http://www.chromium.org/chromium-os/u-boot-porting-guide/u-boot-drivers We are interested in the Ethernet example, but co

Re: [U-Boot] [PATCH v3 2/5] board support of arm64

2013-08-19 Thread Stuart Yoder
On Thu, Aug 15, 2013 at 8:47 AM, wrote: > From: David Feng > > This patch provide u-boot with arm64 support. Currently, it works on > Foundation Model for armv8 or Fast Model for armv8. > > Signed-off-by: David Feng > --- > Changes for v3: > - rewrite cache.S and exception.S that partly ori

[U-Boot] [U-boot] question about pl310.h / armv7.h

2013-08-19 Thread TigerLiu
Hi, experts: There are 4 functions definition in arch/arm/include/asm/pl310.h . But not implemented in cache-pl310.c file. And the implemented functions in cache-pl310.c file are defined in arch/arm/include/asm/armv7.h . So, maybe pl310.h should be deleted? Or function declarations are m

Re: [U-Boot] legacy I2C_GET_BUS()/I2C_SET_BUS() not working anymore

2013-08-19 Thread Lukasz Majewski
On Fri, 16 Aug 2013 11:43:58 +0200 Dirk Eibach dirk.eib...@googlemail.com wrote, > Hello Heiko, > > your commit 385c9ef5 introduced in include/i2c.h Hi Dirk, I've posted fix for it on late friday: http://patchwork.ozlabs.org/patch/267651/ > > #if defined(CONFIG_SYS_I2C) || defined(CONFIG_I2C_

Re: [U-Boot] [PATCH v1 0/4] Fixes on gdsys boards and some new functionality

2013-08-19 Thread Stefan Roese
On 09.08.2013 10:52, dirk.eib...@gdsys.cc wrote: > From: Dirk Eibach > > > Since I will be on parental leave soon, Reinhard will probably take over > maintaining this series at some point. > > > Dirk Eibach (4): > powerpc/ppc4xx: Add support for iocon fiber > powerpc/ppc4xx: Add support fo

[U-Boot] Please pull u-boot-ppc4xx/master

2013-08-19 Thread Stefan Roese
Hi Tom, please pull the following patches: The following changes since commit e20cc2ca15b5b0644f51b6e58d530d70acd2bc00: Merge branch 'master' of git://88.191.163.10/u-boot-arm (2013-08-18 14:14:34 -0400) are available in the git repository at: git://www.denx.de/git/u-boot-ppc4xx.git mast

Re: [U-Boot] [PATCH 1/3] mtd: driver _read() returns max_bitflips; mtd_read() returns -EUCLEAN

2013-08-19 Thread Stefan Roese
On 06.08.2013 12:13, Paul Burton wrote: > Linux modified the MTD driver interface in commit edbc4540 (with the > same name as this commit). The effect is that calls to mtd_read will not > return -EUCLEAN if the number of ECC-corrected bit errors is below a > certain threshold, which defaults to the

Re: [U-Boot] [PATCH 0/6 V2] EXYNOS: I2S: Enable I2S0 channel

2013-08-19 Thread Rajeshwari Birje
Acked-by: Rajeshwari Shinde Tested-by: Rajeshwari Shinde On Sun, Aug 4, 2013 at 12:14 PM, Dani Krishna Mohan wrote: > This patch set replaces I2S1 channel with I2S0 channel. > Corresponding changes have been done in audio codec to > support I2S0 channel. > > Changes in V2: > - Added co

Re: [U-Boot] [PATCH 3/3] cmd_ubi: add write.part command, to write a volume in multiple parts

2013-08-19 Thread Stefan Roese
Hi Paul, On 06.08.2013 12:13, Paul Burton wrote: > This allows you to write data to an UBI volume when the amount of memory > available to write that data from is less than the total size of the > data. For example, you may split a root filesystem UBIFS image into > parts, provide the total size o

[U-Boot] [PATCH v5] SPL: Makefile: Build a separate autoconf.mk for SPL

2013-08-19 Thread ying.zhang
From: Ying Zhang SPL defines CONFIG_SPL_BUILD but this does not percolate to the autoconf.mk Makefile. As a result the build breaks when CONFIG_SPL_BUILD is used in the board-specific include header file. With this, there is a possibility of having a CONFIG option defined in the header file bu

[U-Boot] [PATCH] arm: atmel: cpux9k2: board update and enhancement

2013-08-19 Thread Jens Scharsig (BuS Elektronik)
From: "Jens Scharsig (BuS Elektronik)" - remove jffs2 support, board doesn't use this anymore - add ubifs support - change sizes and start for partitions Signed-off-by: Jens Scharsig (BuS Elektronik) --- include/configs/eb_cpux9k2.h | 61 ++-- localversi

[U-Boot] [PATCH V2] arm: atmel: cpux9k2: board update and enhancement

2013-08-19 Thread Jens Scharsig (BuS Elektronik)
From: "Jens Scharsig (BuS Elektronik)" - remove jffs2 support, board doesn't use this anymore - add ubifs support - change sizes and start for partitions Signed-off-by: Jens Scharsig (BuS Elektronik) --- sorry about this fast V2. localversion-eb_cpux9k2 are now removed from patch include/co

[U-Boot] [PATCH 1/3][v3] powerpc/common/vsc3316: remove const from vsc3316_config parameter define

2013-08-19 Thread Shaohui Xie
Since the parameters need to be modified according to different Serdes protocols at runtime, the const will block this. Also remove const from arrays define used by vsc3316_config. Signed-off-by: Shaohui Xie --- changes for V3: 1. rebased on top of master branch. changes for V2: 1. changed subje

[U-Boot] [PATCH 1/3][v3] powerpc/common/vsc3316: remove const from vsc3316_config parameter define

2013-08-19 Thread Shaohui Xie
From: Shaohui Xie Since the parameters need to be modified according to different Serdes protocols at runtime, the const will block this. Also remove const from arrays define used by vsc3316_config. Signed-off-by: Shaohui Xie --- changes for V3: 1. rebased on top of master branch. changes for

[U-Boot] [PATCH 2/3] powerpc/t4240: fix lanes routing for QSGMII protocols

2013-08-19 Thread Shaohui Xie
From: Shaohui Xie When using QSGMII protocols, the first lane and third lane on each slot need to be swapped. Signed-off-by: Shaohui Xie --- resend for patchwork to catch. board/freescale/t4qds/t4240qds.c | 39 - 1 files changed, 37 insertions(+), 2 delet

[U-Boot] [PATCH 3/3] powerpc/t4240: add QSGMII interface support

2013-08-19 Thread Shaohui Xie
From: Shaohui Xie Also some fix for QSGMII. 1. fix QSGMII configure of Serdes2. 2. fix PHY address of QSGMII MAC9 & MAC10 for each FMAN. 3. fix dtb for QSGMII interface. Signed-off-by: Shaohui Xie --- resend for patchwork to catch. arch/powerpc/cpu/mpc85xx/t4240_serdes.c | 14 +++--- board/

Re: [U-Boot] [PATCH v2 5/7] tools: add padding of data image file for imximage

2013-08-19 Thread Stefano Babic
Hi Marek, On 13/08/2013 07:10, Marek Vasut wrote: > Dear Stefano Babic, > >> Implement function vrec_header to be able to pad the final >> data image file according the what has been calculated for >> boot_data.length. >> >> Signed-off-by: Stefano Babic >> --- > > [...] > >> +if (!imxhdr)

Re: [U-Boot] [PATCH v2 0/7] The patchset fixes some issue in the generation of the imx image

2013-08-19 Thread Stefano Babic
Hio Otavio, On 12/08/2013 17:23, Otavio Salvador wrote: > On Mon, Aug 12, 2013 at 11:39 AM, Stefano Babic wrote: > ... >> The patchset allows to add to the imx Header the CSF (command Sequence File) >> generated by the tools provided by Freescale. The CSF is then simply >> concatenated >> to the

Re: [U-Boot] [PATCH v2 0/7] The patchset fixes some issue in the generation of the imx image

2013-08-19 Thread Otavio Salvador
On Mon, Aug 19, 2013 at 8:30 AM, Stefano Babic wrote: > Hio Otavio, > > On 12/08/2013 17:23, Otavio Salvador wrote: >> On Mon, Aug 12, 2013 at 11:39 AM, Stefano Babic wrote: >> ... >>> The patchset allows to add to the imx Header the CSF (command Sequence File) >>> generated by the tools provided

Re: [U-Boot] merge arm64 to arm

2013-08-19 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/18/2013 11:46 PM, Sharma Bhupesh-B45370 wrote: > [Re-posting as original msg was rejected due to HTML content..] > >>> FengHua writes: >>> > FengHua writes: > >> hi tom, hi albert, yes, it's right. the u-boot could be >> mor

Re: [U-Boot] merge arm64 to arm

2013-08-19 Thread Måns Rullgård
Tom Rini writes: > On 08/18/2013 11:46 PM, Sharma Bhupesh-B45370 wrote: >> [Re-posting as original msg was rejected due to HTML content..] >> FengHua writes: >> FengHua writes: >> >>> hi tom, hi albert, yes, it's right. the u-boot could be >>> more uniformly and mainta

Re: [U-Boot] merge arm64 to arm

2013-08-19 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/19/2013 08:32 AM, Måns Rullgård wrote: > Tom Rini writes: > >> On 08/18/2013 11:46 PM, Sharma Bhupesh-B45370 wrote: >>> [Re-posting as original msg was rejected due to HTML >>> content..] >>> > FengHua writes: > >>> FengHua writ

Re: [U-Boot] merge arm64 to arm

2013-08-19 Thread Måns Rullgård
Tom Rini writes: > On 08/19/2013 08:32 AM, Måns Rullgård wrote: >> Tom Rini writes: >> >>> On 08/18/2013 11:46 PM, Sharma Bhupesh-B45370 wrote: [Re-posting as original msg was rejected due to HTML content..] >> FengHua writes: >> FengHua writes: >>>

Re: [U-Boot] merge arm64 to arm

2013-08-19 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/19/2013 09:01 AM, Måns Rullgård wrote: > Tom Rini writes: > >> On 08/19/2013 08:32 AM, Måns Rullgård wrote: >>> Tom Rini writes: >>> On 08/18/2013 11:46 PM, Sharma Bhupesh-B45370 wrote: > [Re-posting as original msg was rejected due

Re: [U-Boot] Please pull u-boot-ppc4xx/master

2013-08-19 Thread Tom Rini
On Mon, Aug 19, 2013 at 10:37:25AM +0200, Stefan Roese wrote: > Hi Tom, > > please pull the following patches: > > The following changes since commit e20cc2ca15b5b0644f51b6e58d530d70acd2bc00: > > Merge branch 'master' of git://88.191.163.10/u-boot-arm (2013-08-18 > 14:14:34 -0400) > > are a

Re: [U-Boot] [PATCH] serial: arm_dcc: Convert to use default_serial_puts

2013-08-19 Thread Tom Rini
On Sat, Aug 17, 2013 at 03:39:34PM +0800, Axel Lin wrote: > Use default_serial_puts() instead of its own implementation. > > Signed-off-by: Axel Lin Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

[U-Boot] Enabling L2 cache on mx53

2013-08-19 Thread Fabio Estevam
Hi, I notice slow tftp transfer on mx53qsb and I suspected it could be due to L2 cache being disabled. Tried enabling with: --- a/arch/arm/cpu/armv7/mx5/lowlevel_init.S +++ b/arch/arm/cpu/armv7/mx5/lowlevel_init.S @@ -45,6 +45,11 @@ #endif mcr 15, 1, r0, c9, c0, 2 + + /* enable L

Re: [U-Boot] u-boot serial loading/booting from ram

2013-08-19 Thread Tom Rini
On Thu, Aug 15, 2013 at 09:04:20AM -0400, Matt Geiman wrote: > Hello all, > > I have a quick question that I hope you can help me with. We are running > version 2009.11 of u-boot on a Beagleboard based project and are looking to > upgrade to the latest and greatest (currently 2013.07). This pro

Re: [U-Boot] [PATCH V2] ARM: mxs: tools: Add mkimage support for MXS bootstream

2013-08-19 Thread Tom Rini
On Tue, Aug 06, 2013 at 04:54:53PM +0200, Marek Vasut wrote: > Add mkimage support for generating and verifying MXS bootstream. > The implementation here is mostly a glue code between MXSSB v0.4 > and mkimage, but the long-term goal is to rectify this and merge > MXSSB with mkimage more tightly. On

[U-Boot] [PATCH v4 4/6] arm, am335x: add watchdog support

2013-08-19 Thread Heiko Schocher
Add TI OMAP 16xx & 24xx/34xx 32KHz (non-secure) watchdog support. Signed-off-by: Heiko Schocher Reviewed-by: Tom Rini Cc: Albert Aribaud --- - changes for v2: - add Reviedwed-by from Tom Rini - fixed subject - add SPDX-License-Identifier - changes for v3: - add a more detailed commen

[U-Boot] [PATCH v4 3/6] arm, spl: add watchdog library to SPL

2013-08-19 Thread Heiko Schocher
Signed-off-by: Heiko Schocher Cc: Tom Rini --- - changes for v2: none - changes for v3: rebased against u-boot-ti commit bb2a5d8f87fffb4fadfb205837decbd1b3e75f88 - changes for v4: rebased against u-boot-ti commit 425faf74cd8189c87919f7e72a0101c684ee3b9f --- doc/README.SPL | 2 +- spl/Make

[U-Boot] [PATCH v4 1/6] arm, am33xx: add defines for gmii_sel_register bits

2013-08-19 Thread Heiko Schocher
Signed-off-by: Heiko Schocher Acked-by: Mugunthan V N --- - changes for v2: defined all bits used in the gmii_sel register as Tom Rini suggested - changes for v3: rebased against u-boot-ti commit bb2a5d8f87fffb4fadfb205837decbd1b3e75f88 - changes for v4: - rebased against u-boot-ti commi

[U-Boot] [PATCH v4 0/6] arm, am335x: add support for siemens boards

2013-08-19 Thread Heiko Schocher
add support for the am335x based boards from siemens: dxr2: - DDR3 128MiB - NAND 256MiB - Ethernet with external Switch SMSC LAN9303 - no PMIC - internal Watchdog - DFU support pxm2: - DDR2 512 MiB - NAND 1024 MiB - PMIC - PHY atheros ar803x - USB Host - internal Watchdog

[U-Boot] [PATCH v4 5/6] video: add formike lcd panel init

2013-08-19 Thread Heiko Schocher
Signed-off-by: Heiko Schocher Cc: Anatolij Gustschin Cc: Tom Rini --- - changes for v4: new patch in this patchserie, as video support added drivers/video/Makefile | 1 + drivers/video/formike.c | 511 include/video.h | 4 + 3 Da

[U-Boot] [PATCH] PCIe:Add a function to get the address of requested capability structure.

2013-08-19 Thread Zhao Qiang
Add a function to get the address of requested capability structure in PCIe configuration space by capability ID. The step of this function: 1. Read Status register in PCIe configuration space to confirm that Capabilities List is valid. 2. Find the address of Capabilities

[U-Boot] [PATCH v4 2/6] arm, am335x: add some missing registers and defines for lcd and epwm support

2013-08-19 Thread Heiko Schocher
- add missing register defines in struct cm_perpl epwmss0clkctrl epwmss2clkctrl lcdcclkstctrl - add missing register defines in struct cm_dpll clklcdcpixelclk - add struct pwmss_regs - add struct pwmss_ecap_regs - add LCD Controller base LCD_CNTL_BASE - add PWM0 controller base PWMSS0_BASE

[U-Boot] [PATCH v2 1/2] i2c, omap24xx: convert driver to new mutlibus/mutliadapter framework

2013-08-19 Thread Heiko Schocher
- add omap24xx driver to new multibus/multiadpater support - adapted all config files, which uses this driver Tested on the am335x based siemens boards rut, dxr2 and pxm2 posted here: http://patchwork.ozlabs.org/patch/263211/ Signed-off-by: Heiko Schocher Cc: Tom Rini Cc: Lars Poeschel Cc: Ste

[U-Boot] [PATCH 1/2] usb:dfu:g_dnl: Change number of exported configurations at composite gadget

2013-08-19 Thread Lukasz Majewski
USB composite gadget (g_dnl) supports only one configuration. Due to that the corresponding field - bConfigurationValue has been changed. Moreover more descriptive names were chosen for relevant fields. Windows XP setup: - Thesyscon USB Descriptor Dumper - zadig_xp program for WinUSB installation

[U-Boot] [PATCH 2/2] usb:dfu:g_dnl: Refactoring the string definition code for g_dnl driver

2013-08-19 Thread Lukasz Majewski
The manufacturer and product IDs are dynamically assigned when gadget is bind. Now the IDs aren't assigned at struct g_dnl_string_defs definition. Signed-off-by: Lukasz Majewski Cc: Marek Vasut Cc: "Egli, Samuel" --- drivers/usb/gadget/g_dnl.c | 11 +++ 1 file changed, 7 insertions(+

Re: [U-Boot] Enabling L2 cache on mx53

2013-08-19 Thread Dirk Behme
Am 19.08.2013 15:55, schrieb Fabio Estevam: Hi, I notice slow tftp transfer on mx53qsb and I suspected it could be due to L2 cache being disabled. Tried enabling with: --- a/arch/arm/cpu/armv7/mx5/lowlevel_init.S +++ b/arch/arm/cpu/armv7/mx5/lowlevel_init.S @@ -45,6 +45,11 @@ #endif

Re: [U-Boot] Enabling L2 cache on mx53

2013-08-19 Thread Fabio Estevam
Hi Dirk, On Mon, Aug 19, 2013 at 12:16 PM, Dirk Behme wrote: > Is the mx53 L2 cache the same like on mx6? I think they are different. On mx6 the L2 cache controller is memory mapped ,but on mx53 there is no L2 cache entry in its memory map. Regards, Fabio Estevam

Re: [U-Boot] [U-Boot, v1, 4/8] mpc8xxx: set x2 DDR3 refresh rate if SPD config requires it

2013-08-19 Thread Valentin Longchamp
On 08/13/2013 10:24 PM, York Sun wrote: > On 07/26/2013 03:02 AM, Valentin Longchamp wrote: >> If the DDR3 module supports industrial temperature range and requires >> the x2 refresh rate for that temp range, the refresh period must be >> 3.9us instead of 7.8 us. >> >> Signed-off-by: Valentin Longc

Re: [U-Boot] [U-Boot, v1, 5/8] fsl: do not define FSL_SRIO_PCIE_BOOT_MASTER for all P2041 systems

2013-08-19 Thread Valentin Longchamp
On 08/13/2013 10:32 PM, York Sun wrote: > On 07/26/2013 03:02 AM, Valentin Longchamp wrote: >> If this #define stays in config_mpc85xx.h, the P2041 based boards must >> define a lot of SRIO values even if they do not implement a SRIO device. >> >> The #define is moved into the P2041RDB board config

Re: [U-Boot] [U-Boot, v1, 6/8] net/fman: add a fm_enable_port function

2013-08-19 Thread Valentin Longchamp
On 08/13/2013 10:38 PM, York Sun wrote: > On 07/26/2013 03:02 AM, Valentin Longchamp wrote: >> This can be useful if we want to disable an interface in u-boot and >> later reenable them, so that it looks available when trying to fix the >> FDT or for the kernel. >> >> Signed-off-by: Valentin Longch

Re: [U-Boot] [PATCH v4 1/6] arm, am33xx: add defines for gmii_sel_register bits

2013-08-19 Thread Tom Rini
On Mon, Aug 19, 2013 at 04:38:56PM +0200, Heiko Schocher wrote: > Signed-off-by: Heiko Schocher > Acked-by: Mugunthan V N Looks fine, but can we get this tested on the isee board too? It's a functional change there (since it was setting the NOTUSED bit that HW folks say really should not be se

Re: [U-Boot] [PATCH v1 7/8] mtd/fsl_elbc: take NAND_ECC_SOFT_BCH config option into accout

2013-08-19 Thread Valentin Longchamp
On 08/13/2013 10:54 PM, Scott Wood wrote: > On Fri, 2013-07-26 at 12:02 +0200, Valentin Longchamp wrote: >> NAND_ECC_SOFT was the only option available while the SOFT_BCH option >> may also be used. >> >> Signed-off-by: Valentin Longchamp >> --- >> drivers/mtd/nand/fsl_elbc_nand.c | 6 +- >>

Re: [U-Boot] [PATCH v4 0/6] arm, am335x: add support for siemens boards

2013-08-19 Thread Tom Rini
On Mon, Aug 19, 2013 at 04:38:55PM +0200, Heiko Schocher wrote: [snip] > - changes for v4: > - rebased against u-boot-ti commit 425faf74cd8189c87919f7e72a0101c684ee3b9f > therefore added define CONFIG_OMAP_COMMON > - add video splash screen support > Therefor needed patches (already ap

Re: [U-Boot] [PATCH v1 8/8] mpc85xx: introduce the kmp204x reference design support

2013-08-19 Thread Valentin Longchamp
On 08/13/2013 11:38 PM, Scott Wood wrote: > On Fri, 2013-07-26 at 12:02 +0200, Valentin Longchamp wrote: >> This patch introduces the support for Keymile's kmp204x reference >> design. This design is based on Freescale's P2040/P2041 SoC. >> >> The peripherals used by this design are: >> - DDR3 RAM

Re: [U-Boot] [U-Boot, v1, 8/8] mpc85xx: introduce the kmp204x reference design support

2013-08-19 Thread Valentin Longchamp
On 08/13/2013 11:44 PM, York Sun wrote: > On 07/26/2013 03:02 AM, Valentin Longchamp wrote: >> + >> +phys_size_t initdram(int board_type) >> +{ >> +phys_size_t dram_size = 0; >> + >> +puts("Initializing"); >> + >> +if (fsl_use_spd()) { >> +puts("using SPD\n"); >> +

Re: [U-Boot] [PATCH v2 0/7] The patchset fixes some issue in the generation of the imx image

2013-08-19 Thread Tom Rini
On Mon, Aug 12, 2013 at 04:39:27PM +0200, Stefano Babic wrote: > (header for Freescale's i.MX processors) to allow the usage of > Freescale's tools to sign the u-boot image and provide a secure boot. > > This has nothing to do with the Secure Boot extensions implemented by > Simon Glass, that can

Re: [U-Boot] [PATCH 1/3] mtd: driver _read() returns max_bitflips; mtd_read() returns -EUCLEAN

2013-08-19 Thread Scott Wood
On Mon, 2013-08-19 at 10:55 +0200, Stefan Roese wrote: > On 06.08.2013 12:13, Paul Burton wrote: > > Linux modified the MTD driver interface in commit edbc4540 (with the > > same name as this commit). The effect is that calls to mtd_read will not > > return -EUCLEAN if the number of ECC-corrected b

Re: [U-Boot] merge arm64 to arm

2013-08-19 Thread Scott Wood
On Sat, 2013-08-17 at 15:55 +0100, Måns Rullgård wrote: > FengHua writes: > > >> FengHua writes: > >> > >> > hi tom, > >> > hi albert, > >> > yes, it's right. the u-boot could be more uniformly and maintainable > >> > if merging armv8 to arm architecture. I will try to migrate arm64 to > >> > a

Re: [U-Boot] [PATCH v2 0/7] The patchset fixes some issue in the generation of the imx image

2013-08-19 Thread Stefano Babic
Hi Tom, On 19/08/2013 18:19, Tom Rini wrote: > On Mon, Aug 12, 2013 at 04:39:27PM +0200, Stefano Babic wrote: > >> (header for Freescale's i.MX processors) to allow the usage of >> Freescale's tools to sign the u-boot image and provide a secure >> boot. >> >> This has nothing to do with the Sec

Re: [U-Boot] merge arm64 to arm

2013-08-19 Thread Scott Wood
On Mon, 2013-08-19 at 09:10 -0400, Tom Rini wrote: > On 08/19/2013 09:01 AM, Måns Rullgård wrote: > > Tom Rini writes: > > > >> On 08/19/2013 08:32 AM, Måns Rullgård wrote: > >>> If there's a lot of code shared between these architectures, > >>> why is it in an architecture-specific directory in

[U-Boot] [PATCH v3 2/7] tools: rename mximage_flash_offset to imximage_ivt_offset

2013-08-19 Thread Stefano Babic
This better reflects the naming from the Reference Manual as well as fits better since "flash" is not really applicabe for SATA. Signed-off-by: Stefano Babic --- Changes in v3: None Changes in v2: None tools/imximage.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) d

[U-Boot] [PATCH v3 3/7] tools: dynamically allocate imx_header in imximage

2013-08-19 Thread Stefano Babic
Change to dynamically allocate the imx_header to correctly allocate the IVT, Boot Data and DCD at correct locations depending on the boot media. Also check that the Image Vector Table Offset + IVT + Boot Data + DCD <= Initial Load Region Size. Previously struct imx_header was always 4096 bytes an

[U-Boot] [PATCH v3 6/7] tools: add support for setting the CSF into imximage

2013-08-19 Thread Stefano Babic
Add support for setting the CSF (Command Sequence File) pointer which is used for HAB (High Assurance Boot) in the imximage by adding e.g. CSF 0x2000 in the imximage.cfg file. This will set the CSF pointer accordingly just after the padded data image area. The boot_data.length is adjusted with t

[U-Boot] [PATCH v3 0/7] The patchset fixes some issue in the generation of the imx image

2013-08-19 Thread Stefano Babic
(header for Freescale's i.MX processors) to allow the usage of Freescale's tools to sign the u-boot image and provide a secure boot. This has nothing to do with the Secure Boot extensions implemented by Simon Glass, that can be in any case used to boot later a secure image. Freescale's secure boot

[U-Boot] [PATCH v3 1/7] tools: imx_header should not include flash_offset

2013-08-19 Thread Stefano Babic
Doing a make distclean; make mx6qsabresd_config; make and hexdump -C u-boot.imx | less ... 0360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 || * 03f0 00 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 ||

[U-Boot] [PATCH v3 7/7] imx: add status reporting for HAB status

2013-08-19 Thread Stefano Babic
Add functions to report the HAB (High Assurance Boot) status of e.g. i.MX6 CPUs. This is taken from git://git.freescale.com/imx/uboot-imx.git branch imx_v2009.08_3.0.35_4.0.0 cpu/arm_cortexa8/mx6/generic.c include/asm-arm/arch-mx6/mx6_secure.h Signed-off-by: Stefano Babic --- Changes in v3: No

[U-Boot] [PATCH v3 4/7] tools: add variable padding of data image in mkimage

2013-08-19 Thread Stefano Babic
Use previously unused return value of function vrec_header to return a padding size to generic mkimage. This padding size is used in copy_files to pad with zeros after copying the data image. Signed-off-by: Stefano Babic --- Changes in v3: None Changes in v2: None tools/mkimage.c | 24 +++

[U-Boot] [PATCH v3 5/7] tools: add padding of data image file for imximage

2013-08-19 Thread Stefano Babic
Implement function vrec_header to be able to pad the final data image file according the what has been calculated for boot_data.length. Signed-off-by: Stefano Babic --- Changes in v3: - uses stat instead of open / fstat / close (Marek Vasut) Changes in v2: None tools/imximage.c | 74 +++

Re: [U-Boot] [PATCH 1/6] sandbox: add compression tests

2013-08-19 Thread Simon Glass
On Fri, Aug 16, 2013 at 8:59 AM, Kees Cook wrote: > This adds the "test_compression" command when building the sandbox. This > tests the existing compression and decompression routines for simple > sanity and for buffer overflow conditions. > > Signed-off-by: Kees Cook Acked-by: Simon Glass ___

Re: [U-Boot] [PATCH 2/6] documentation: add more compression configs

2013-08-19 Thread Simon Glass
On Fri, Aug 16, 2013 at 8:59 AM, Kees Cook wrote: > This adds the missing compression config items to the README. > > Signed-off-by: Kees Cook Acked-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-b

Re: [U-Boot] [RESEND PATCH v2 00/20] sf: Add common probe support

2013-08-19 Thread Jagan Teki
Hi All, Did anyone tested? atmel, ramtron, eon, gigadevice, macronix spi flash on this test spi repo. http://git.denx.de/?p=u-boot/u-boot-spi.git;a=shortlog;h=refs/heads/master-test Request to test these new changes. -- Thanks, Jagan. On Mon, Aug 12, 2013 at 12:39 PM, Jagan Teki wrote: > Hi Sa

Re: [U-Boot] [PATCH v2 3/4] ARM: use r9 for gd

2013-08-19 Thread Jeroen Hofstee
Hello Simon, On 08/19/2013 05:08 AM, Simon Glass wrote: On Sat, Aug 17, 2013 at 3:40 AM, Jeroen Hofstee wrote: This patch assumes only crt0.S sets the register used for gd in asm. I just noticed cpu/armv7/lowlevel_init.S does set gd manually, so all users of the common board.c are likely bric

Re: [U-Boot] merge arm64 to arm

2013-08-19 Thread Måns Rullgård
Scott Wood writes: > On Mon, 2013-08-19 at 09:10 -0400, Tom Rini wrote: >> On 08/19/2013 09:01 AM, Måns Rullgård wrote: >> > Tom Rini writes: >> > >> >> On 08/19/2013 08:32 AM, Måns Rullgård wrote: >> >>> If there's a lot of code shared between these architectures, >> >>> why is it in an archit

[U-Boot] Pull request: u-boot-net.git master

2013-08-19 Thread Joe Hershberger
The following changes since commit 012a2c15d781d327c9de8734f2b2b3f793a58724: serial: arm_dcc: Convert to use default_serial_puts (2013-08-19 09:44:28 -0400) are available in the git repository at: git://git.denx.de/u-boot-net.git master for you to fetch changes up to 0628cb26591a8f7990ee9b8

Re: [U-Boot] [PATCH 1/1] net: phy/realtek: Add support for RTL8211DN and RTL8211E phy modules

2013-08-19 Thread Joe Hershberger
On Thu, Jul 18, 2013 at 3:28 AM, Bhupesh Sharma wrote: > This patch adds support for Realtek PHY modules RTL8211DN and > RTL8211E (variants: RTL8211E-VB-CG, RTL8211E-VL-CG, RTL8211EG-VB-CG), > which can be found on Freescale's T1040RDB boards. > > To make the driver more generic across 8211 family

Re: [U-Boot] [PATCH] net: smsc95xx: Add support for another SMSC95xx variant

2013-08-19 Thread Joe Hershberger
On Wed, Jul 3, 2013 at 11:34 AM, Stefan Roese wrote: > This patch adds support for the SMSC9500 with product id 0x9900 which is > equipped in the "EXSYS USB 2.0" etherner USB adapter. > > Tested on omap3_beagle. > > Signed-off-by: Stefan Roese > --- Applied, Thanks! -Joe

Re: [U-Boot] [PATCH] configs: Remove unused CONFIG_BOOTP_DEFAULT

2013-08-19 Thread Joe Hershberger
On Fri, Aug 9, 2013 at 1:39 PM, Tom Rini wrote: > Signed-off-by: Tom Rini > --- Applied, Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] galaxy5200: Convert from unused CONFIG_BOOTP_MASK to specific list

2013-08-19 Thread Joe Hershberger
On Fri, Aug 9, 2013 at 1:43 PM, Tom Rini wrote: > Signed-off-by: Tom Rini > --- Applied, Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/1] net.h: don't use the reserved name __unused

2013-08-19 Thread Joe Hershberger
On Sat, Aug 10, 2013 at 9:52 AM, Jeroen Hofstee wrote: > The __* keywords are reserved. On FreeBSD __unused evaluates > to the attribute unused, causing a compilation failure. > Just use unused instead. > > Signed-off-by: Jeroen Hofstee > cc: joe.hershber...@gmail.com > --- Applied, Thanks! -Joe

Re: [U-Boot] [PATCH v3] net: Use ARRAY_SIZE at appropriate places

2013-08-19 Thread Joe Hershberger
On Tue, Jul 2, 2013 at 10:24 PM, Axel Lin wrote: > Use ARRAY_SIZE instead of having similar implementation in each drivers. > The NUMELEMS defined in drivers/net/npe/include/IxOsalTypes.h is not used > at all, so this patch removes it instead of converting it to use ARRAY_SIZE. > > Signed-off-by:

Re: [U-Boot] [PATCH 2/2] phy: smsc: LAN8710/8720 are not Gbit PHYs

2013-08-19 Thread Joe Hershberger
On Thu, Jun 6, 2013 at 7:04 PM, Fabio Estevam wrote: > From: Fabio Estevam > > LAN8710/8720 are 10/100 Mbps PHYs, so fix the '.features' field. > > Cc: Joe Hershberger > Cc: Nobuhiro Iwamatsu > Signed-off-by: Fabio Estevam > --- Applied, Thanks! -Joe __

Re: [U-Boot] merge arm64 to arm

2013-08-19 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/19/2013 01:33 PM, Måns Rullgård wrote: > Scott Wood writes: [snip] >> i960 is a bad analogy. It's often possible to turn arm32 asm >> into arm64 asm with some search and replace and minor manual >> fixups. > > Only if the original uses none of

Re: [U-Boot] [PATCH 1/1] linkstation_HGLAN: Convert from unused CONFIG_BOOTP_MASK to specific list

2013-08-19 Thread Joe Hershberger
On Fri, Aug 9, 2013 at 2:58 PM, Tom Rini wrote: > Signed-off-by: Tom Rini > --- Applied, Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v4 5/6] video: add formike lcd panel init

2013-08-19 Thread Anatolij Gustschin
On Mon, 19 Aug 2013 16:39:00 +0200 Heiko Schocher wrote: > Signed-off-by: Heiko Schocher > Cc: Anatolij Gustschin > Cc: Tom Rini > --- > - changes for v4: > new patch in this patchserie, as video support added > > drivers/video/Makefile | 1 + > drivers/video/formike.c | 511 > +++

Re: [U-Boot] [PATCH v2 1/3] net: ftmac110: Update license statement

2013-08-19 Thread Joe Hershberger
On Tue, Jul 9, 2013 at 8:25 PM, Kuo-Jung Su wrote: > From: Kuo-Jung Su > > Signed-off-by: Kuo-Jung Su > CC: Joe Hershberger > --- Applied, Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v4 0/6] arm, am335x: add support for siemens boards

2013-08-19 Thread Anatolij Gustschin
Hi Tom, On Mon, 19 Aug 2013 11:35:26 -0400 Tom Rini wrote: > On Mon, Aug 19, 2013 at 04:38:55PM +0200, Heiko Schocher wrote: > > [snip] > > - changes for v4: > > - rebased against u-boot-ti commit > > 425faf74cd8189c87919f7e72a0101c684ee3b9f > > therefore added define CONFIG_OMAP_COMMON

Re: [U-Boot] [PATCH v2 2/3] net: ftmac110: struct ftmac110_regs __iomem * -> struct ftmac110_regs *

2013-08-19 Thread Joe Hershberger
On Tue, Jul 9, 2013 at 8:25 PM, Kuo-Jung Su wrote: > From: Kuo-Jung Su > > Signed-off-by: Kuo-Jung Su > CC: Joe Hershberger > --- Applied, Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 3/3] net: ftmac110: Update tx/rx descriptor format

2013-08-19 Thread Joe Hershberger
On Tue, Jul 9, 2013 at 8:25 PM, Kuo-Jung Su wrote: > From: Kuo-Jung Su > > 1. Reformat tx/rx descriptor as an uniform struct. > 2. Replace uint32_t[2] with uint64_t for descriptor control. > > Signed-off-by: Kuo-Jung Su > CC: Joe Hershberger > --- Applied, Thanks! -Joe

Re: [U-Boot] [PATCH v4 0/6] arm, am335x: add support for siemens boards

2013-08-19 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/19/2013 01:58 PM, Anatolij Gustschin wrote: > Hi Tom, > > On Mon, 19 Aug 2013 11:35:26 -0400 Tom Rini wrote: > >> On Mon, Aug 19, 2013 at 04:38:55PM +0200, Heiko Schocher wrote: >> >> [snip] >>> - changes for v4: - rebased against u-boot-ti c

Re: [U-Boot] merge arm64 to arm

2013-08-19 Thread Scott Wood
On Mon, 2013-08-19 at 18:33 +0100, Måns Rullgård wrote: > Scott Wood writes: > > > On Mon, 2013-08-19 at 09:10 -0400, Tom Rini wrote: > >> On 08/19/2013 09:01 AM, Måns Rullgård wrote: > >> > Tom Rini writes: > >> > > >> >> On 08/19/2013 08:32 AM, Måns Rullgård wrote: > >> >>> If there's a lot o

Re: [U-Boot] [PATCH] Add support for KSZ8895 switch

2013-08-19 Thread Christian Gmeiner
Am 12.08.2013 16:48 schrieb "Christian Gmeiner" : > > This patch adds a dump phy driver for the KSZ8895 switch from > Micrel. As the SoC MAC is directly connected to switch no > autonegotiation is needed as the link is always up. > > Signed-off-by: Christian Gmeiner > --- > drivers/net/phy/micrel

Re: [U-Boot] [PATCH v2 0/7] The patchset fixes some issue in the generation of the imx image

2013-08-19 Thread Tom Rini
On Mon, Aug 19, 2013 at 06:44:03PM +0200, Stefano Babic wrote: > Hi Tom, > > On 19/08/2013 18:19, Tom Rini wrote: > > On Mon, Aug 12, 2013 at 04:39:27PM +0200, Stefano Babic wrote: > > > >> (header for Freescale's i.MX processors) to allow the usage of > >> Freescale's tools to sign the u-boot i

Re: [U-Boot] [PATCH] libfdt: SPDX-License-Identifier: GPL-2.0+ BSD-2-Clause

2013-08-19 Thread Tom Rini
On Sat, Jul 27, 2013 at 01:12:38AM +0200, Roger Meier wrote: > Signed-off-by: Roger Meier > --- > Licenses/README | 13 ++-- > Licenses/bsd-2-clause.txt| 25 ++ > lib/libfdt/fdt.c | 47 > +- >

Re: [U-Boot] [PATCH v2 0/7] The patchset fixes some issue in the generation of the imx image

2013-08-19 Thread Marek Vasut
Dear Tom Rini, > On Mon, Aug 19, 2013 at 06:44:03PM +0200, Stefano Babic wrote: > > Hi Tom, > > > > On 19/08/2013 18:19, Tom Rini wrote: > > > On Mon, Aug 12, 2013 at 04:39:27PM +0200, Stefano Babic wrote: > > >> (header for Freescale's i.MX processors) to allow the usage of > > >> Freescale's to

Re: [U-Boot] [PATCH V2] ARM: mxs: tools: Add mkimage support for MXS bootstream

2013-08-19 Thread Marek Vasut
Dear Tom Rini, > On Tue, Aug 06, 2013 at 04:54:53PM +0200, Marek Vasut wrote: > > Add mkimage support for generating and verifying MXS bootstream. > > The implementation here is mostly a glue code between MXSSB v0.4 > > and mkimage, but the long-term goal is to rectify this and merge > > MXSSB wit

Re: [U-Boot] [PATCH v5] SPL: Makefile: Build a separate autoconf.mk for SPL

2013-08-19 Thread Scott Wood
On Mon, 2013-08-19 at 16:14 +0800, ying.zh...@freescale.com wrote: > From: Ying Zhang No. You added one line AFAICT. Preserve the original author here. > SPL defines CONFIG_SPL_BUILD but this does not percolate to the autoconf.mk > Makefile. > As a result the build breaks when CONFIG_SPL_BUIL

Re: [U-Boot] merge arm64 to arm

2013-08-19 Thread Måns Rullgård
Tom Rini writes: > On 08/19/2013 01:33 PM, Måns Rullgård wrote: >> Scott Wood writes: > [snip] >>> i960 is a bad analogy. It's often possible to turn arm32 asm >>> into arm64 asm with some search and replace and minor manual >>> fixups. >> >> Only if the original uses none of the distinguishing

Re: [U-Boot] [PATCH v2 0/7] The patchset fixes some issue in the generation of the imx image

2013-08-19 Thread Tom Rini
On Mon, Aug 19, 2013 at 09:45:55PM +0200, Marek Vasut wrote: > Dear Tom Rini, > > > On Mon, Aug 19, 2013 at 06:44:03PM +0200, Stefano Babic wrote: > > > Hi Tom, > > > > > > On 19/08/2013 18:19, Tom Rini wrote: > > > > On Mon, Aug 12, 2013 at 04:39:27PM +0200, Stefano Babic wrote: > > > >> (header

Re: [U-Boot] Enabling L2 cache on mx53

2013-08-19 Thread Marek Vasut
Dear Fabio Estevam, > Hi Dirk, > > On Mon, Aug 19, 2013 at 12:16 PM, Dirk Behme wrote: > > Is the mx53 L2 cache the same like on mx6? > > I think they are different. > > On mx6 the L2 cache controller is memory mapped ,but on mx53 there is > no L2 cache entry in its memory map. > > Regards, >

Re: [U-Boot] [PATCH V2] ARM: mxs: tools: Add mkimage support for MXS bootstream

2013-08-19 Thread Tom Rini
On Mon, Aug 19, 2013 at 09:47:09PM +0200, Marek Vasut wrote: > Dear Tom Rini, > > > On Tue, Aug 06, 2013 at 04:54:53PM +0200, Marek Vasut wrote: > > > Add mkimage support for generating and verifying MXS bootstream. > > > The implementation here is mostly a glue code between MXSSB v0.4 > > > and m

Re: [U-Boot] merge arm64 to arm

2013-08-19 Thread Tom Rini
On Mon, Aug 19, 2013 at 08:50:24PM +0100, M?ns Rullg?rd wrote: > Tom Rini writes: > > > On 08/19/2013 01:33 PM, M?ns Rullg?rd wrote: > >> Scott Wood writes: > > [snip] > >>> i960 is a bad analogy. It's often possible to turn arm32 asm > >>> into arm64 asm with some search and replace and minor

Re: [U-Boot] [PATCH v5] SPL: Makefile: Build a separate autoconf.mk for SPL

2013-08-19 Thread Tom Rini
On Mon, Aug 19, 2013 at 02:47:53PM -0500, Scott Wood wrote: > On Mon, 2013-08-19 at 16:14 +0800, ying.zh...@freescale.com wrote: > > From: Ying Zhang > > No. You added one line AFAICT. Preserve the original author here. Indeed. > > SPL defines CONFIG_SPL_BUILD but this does not percolate to t

Re: [U-Boot] [PATCH v3 2/5] board support of arm64

2013-08-19 Thread Scott Wood
On Fri, 2013-08-16 at 09:14 -0500, Stuart Yoder wrote: > On Thu, Aug 15, 2013 at 8:47 AM, wrote: > > From: David Feng > > > > This patch provide u-boot with arm64 support. Currently, it works on > > Foundation Model for armv8 or Fast Model for armv8. > > > > Signed-off-by: David Feng > > --- >

Re: [U-Boot] Enabling L2 cache on mx53

2013-08-19 Thread Fabio Estevam
Hi Marek, On Mon, Aug 19, 2013 at 4:51 PM, Marek Vasut wrote: > L2CC on MX53 is enabled by setting just the L2ON and C bits in CP15, there's > no > configuration. Not even Linux enables the L2CC on MX53, so if it's not on in > U- > Boot, then it's not on at all (and that sucks). This is what

  1   2   >