Re: [U-Boot] [PATCH v2] usb_storage: fix ehci driver max transfer size

2012-07-09 Thread Stefan Herbrechtsmeier
Am 10.07.2012 04:12, schrieb Marek Vasut: The commit 5dd95cf93dfffa1d19a1928990852aac9f55b9d9 'usb_storage: Fix EHCI "out of buffer pointers" with CD-ROM' introduce a bug in usb_storage as it wrongly assumes that every transfer can use 4096 bytes per qt_buffer. This is wrong if the start address

Re: [U-Boot] [PATCH] EXYNOS: Fix USB compiler warning

2012-07-09 Thread Wolfgang Denk
Dear Rajeshwari Shinde, In message <1341898474-14729-1-git-send-email-rajeshwar...@samsung.com> you wrote: > Fixed the compiler warning message. > > Signed-off-by: Rajeshwari Shinde > --- > arch/arm/cpu/armv7/exynos/system.c |1 - > 1 files changed, 0 insertions(+), 1 deletions(-) Applied

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

2012-07-09 Thread Albert ARIBAUD
Hi Wolfgang, Please consider applying this branch before -rc1. The following changes since commit 18277f7057c8e9b895aa4f8590969a57c4bce888: Revert "arm: bugfix: save_boot_params_default accesses uninitalized stack when -O0" (2012-07-09 09:19:00 +0200) are available in the git repository at:

Re: [U-Boot] [PATCH 2/2] arm: work around assembler bug

2012-07-09 Thread Albert ARIBAUD
Hi Graeme and Allen, On Tue, 10 Jul 2012 15:13:47 +1000, Graeme Russ wrote: > Hi Martin, > > On Tue, Jul 10, 2012 at 3:08 PM, Allen Martin wrote: > > Disable sibling call optimization based on binutils version. This is > > to work around a bug in the assember in binutils versions < 2.22. > > B

Re: [U-Boot] [PATCH] EXYNOS: Fix USB compiler warning

2012-07-09 Thread Rajeshwari Birje
Hi Jaehoon Chung, I just fixed the waning messages i saw on u-boot-usb. Did not find these warning messages in that tree. Will fix these. Sorry for inconvenience. Regards, Rajeshwari Shinde. On Tue, Jul 10, 2012 at 11:18 AM, Jaehoon Chung wrote: > Hi Rajeshwari, > > How do you think about fixin

Re: [U-Boot] [PATCH] EXYNOS: Fix USB compiler warning

2012-07-09 Thread Jaehoon Chung
Hi Rajeshwari, How do you think about fixing other warning messages? If you are inconvenience, i will fix it. pinmux.c: In function 'exynos_pinmux_config': pinmux.c:100:20: warning: 'gpio_func' may be used uninitialized in this function [-Wuninitialized] pinmux.c:69:16: note: 'gpio_func' was dec

Re: [U-Boot] [PATCH] EXYNOS: Fix USB compiler warning

2012-07-09 Thread Marek Vasut
Dear Rajeshwari Shinde, > Fixed the compiler warning message. Acked-by: Marek Vasut > Signed-off-by: Rajeshwari Shinde > --- > arch/arm/cpu/armv7/exynos/system.c |1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > > diff --git a/arch/arm/cpu/armv7/exynos/system.c > b/arch/arm/cpu/

[U-Boot] [PATCH] EXYNOS: Fix USB compiler warning

2012-07-09 Thread Rajeshwari Shinde
Fixed the compiler warning message. Signed-off-by: Rajeshwari Shinde --- arch/arm/cpu/armv7/exynos/system.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/arm/cpu/armv7/exynos/system.c b/arch/arm/cpu/armv7/exynos/system.c index cc6ee03..4426611 100644 --- a/arch/a

Re: [U-Boot] [PATCH 2/2] arm: work around assembler bug

2012-07-09 Thread Graeme Russ
Hi Martin, On Tue, Jul 10, 2012 at 3:08 PM, Allen Martin wrote: > Disable sibling call optimization based on binutils version. This is > to work around a bug in the assember in binutils versions < 2.22. > Branches to weak symbols can be incorrectly optimized in thumb mode to > a short branch (b.

[U-Boot] [PATCH 2/2] arm: work around assembler bug

2012-07-09 Thread Allen Martin
Disable sibling call optimization based on binutils version. This is to work around a bug in the assember in binutils versions < 2.22. Branches to weak symbols can be incorrectly optimized in thumb mode to a short branch (b.n instruction) that won't reach when the symbol gets preempted. http://so

[U-Boot] [PATCH 1/2] tools, config.mk: add binutils-version

2012-07-09 Thread Allen Martin
Modeled after gcc-version, add function to get binutils version. Signed-off-by: Allen Martin --- config.mk |1 + tools/binutils-version.sh | 20 2 files changed, 21 insertions(+) create mode 100755 tools/binutils-version.sh diff --git a/config.mk b/co

Re: [U-Boot] [PULL] u-boot-usb/master

2012-07-09 Thread Wolfgang Denk
Dear Marek, Vivek, Rajeshwari: In message <20120709220446.1bf84202...@gemini.denx.de> I wrote: > > > for you to fetch changes up to a4dae631bfa848d8a0d1933583ed7e2f6a96cab3: > > > > CONFIG: EXYNOS5: USB: Enable USB 2.0 on smdk5250 (2012-07-09 18:27:55 > > +0200) > > > > -

Re: [U-Boot] [PATCH] smsc95xx: align buffers to cache line size

2012-07-09 Thread Marek Vasut
Dear Ilya Yanok, > Dear Marek, > > On Mon, Jul 9, 2012 at 4:45 AM, Marek Vasut wrote: > > > But in practice it works without any alignment... ok, you made me read > > > > the > > > > > spec ;) > > > page 55: "For the page 0 current offset interpretation, this field is > > > the byte offset int

Re: [U-Boot] USB detection

2012-07-09 Thread Marek Vasut
Dear Manukumar, > hello > I checked with the hardware spec > in that > P1020RDB: having connection like > P1012processor -> PHY -> HUB -> ports > > whereas in custom board > P1012processor -> phy -> port(single usb port) This is fairy normal. > In uboot source code initializing sequence of u-bo

Re: [U-Boot] [ARM] one warning left for all ARM boards

2012-07-09 Thread Marek Vasut
Dear Albert ARIBAUD, > Hi Tom, > > On Mon, 9 Jul 2012 14:07:22 -0700, Tom Rini wrote: > > On Mon, Jul 09, 2012 at 09:48:18PM +0200, Wolfgang Denk wrote: > > > Dear Albert ARIBAUD, > > > > > > In message <20120709174210.0bc0cef5@aari01-12> you wrote: > > > > With the latest commits on u-boot/mas

Re: [U-Boot] [PATCH 2/2] ehci-hcd.c, musb_core, usb.h: Add USB_DMA_MINALIGN define for cache alignment

2012-07-09 Thread Marek Vasut
Dear Ilya Yanok, > Hi Marek, > > On Sun, Jul 8, 2012 at 7:08 AM, Marek Vasut wrote: > > - /* Invalidate the memory area occupied by buffer */ > > - invalidate_dcache_range(((uint32_t)buffer & ~31), > > - ((uint32_t)buffer & ~31) + roundup(length, 32)); > > + /* >

Re: [U-Boot] [PATCH 2/2] [v3] net: abort network initialization if the PHY driver fails

2012-07-09 Thread Marek Vasut
Dear Timur Tabi, > Now that phy_startup() can return an actual error code, check for that > error code and abort network initialization if the PHY fails. > > Signed-off-by: Timur Tabi > Acked-by: Nobuhiro Iwamamatsu (sh_eth > part) Acked-by: Stephan Linz (Xilinx part, > xilinx_axi_emac and xil

Re: [U-Boot] [PATCH v2] usb_storage: fix ehci driver max transfer size

2012-07-09 Thread Marek Vasut
Dear Stefan Herbrechtsmeier, > The commit 5dd95cf93dfffa1d19a1928990852aac9f55b9d9 'usb_storage: > Fix EHCI "out of buffer pointers" with CD-ROM' introduce a bug in > usb_storage as it wrongly assumes that every transfer can use > 4096 bytes per qt_buffer. This is wrong if the start address of > t

Re: [U-Boot] [PATCH 1/1] igep0020: set OMAP MUX mcspi1_cs2 pin to GPIO 176 mode

2012-07-09 Thread Javier Martinez Canillas
On Mon, Jul 9, 2012 at 10:46 AM, Tom Rini wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 07/09/2012 12:32 AM, Enric Balletbò i Serra wrote: >> Hi Javier, >> >> 2012/7/3 Javier Martinez Canillas > > >> >> According to the IGEPv2 Rev.C data-sheet the LAN9

Re: [U-Boot] [PATCH 2/7] HACK: rearrange link order for thumb

2012-07-09 Thread Graeme Russ
Hi Allen On Tue, Jul 10, 2012 at 10:45 AM, Allen Martin wrote: > On Sat, Jul 07, 2012 at 03:15:36AM -0700, Albert ARIBAUD wrote: >> Hi Allen, >> >> On Fri, 6 Jul 2012 16:17:19 -0700, Allen Martin wrote: [snip] >> > And I forgot to mention, the code bloat from disabling the >> > optimization is

Re: [U-Boot] [PATCH 2/7] HACK: rearrange link order for thumb

2012-07-09 Thread Allen Martin
On Sat, Jul 07, 2012 at 03:15:36AM -0700, Albert ARIBAUD wrote: > Hi Allen, > > On Fri, 6 Jul 2012 16:17:19 -0700, Allen Martin wrote: > > On Fri, Jul 06, 2012 at 01:44:32PM -0700, Stephen Warren wrote: > > > On 07/06/2012 02:33 PM, Allen Martin wrote: > > > > On Fri, Jul 06, 2012 at 12:09:43PM -

Re: [U-Boot] [PATCH 07/13] S3C6400: Delete nand_spl for S3C6400

2012-07-09 Thread Scott Wood
On 07/07/2012 04:57 AM, Zhong Hongbo wrote: > From: Zhong Hongbo > > The old spl use nand_spl directory file to support > nand flash boot. We will adopt the new SPL framework > to implement it. > > Signed-off-by: Zhong Hongbo > --- > board/samsung/smdk6400/config.mk | 28 --- >

Re: [U-Boot] [PATCH 02/13] S3C64XX: Switch to use readl/writel to operate nand flash

2012-07-09 Thread Scott Wood
On 07/07/2012 04:57 AM, Zhong Hongbo wrote: > +static inline unsigned int s3c64xx_get_base_nand(void) > +{ > + return ELFIN_NAND_BASE; > +} unsigned long or uintptr_t would be more appropriate, even if U-Boot is unlikely to be 64-bit any time soon. Or better, "struct s3c64xx_nand *". > @@ -8

Re: [U-Boot] [PATCH] Add support for DS1388.

2012-07-09 Thread Wolfgang Denk
Dear Kenth Eriksson, In message <1337006340-27331-1-git-send-email-kenth.eriks...@transmode.com> you wrote: > Support for DS1388 is added by extending the DS1337 driver. DS1388 is similar > to DS1337. The time registers are offset by 1 (due to support for hundreds of > seconds), and there is no

Re: [U-Boot] [PULL] u-boot-usb/master

2012-07-09 Thread Wolfgang Denk
Dear Marek Vasut, In message <201207091843.31146.ma...@denx.de> you wrote: > Hello, > > This has been in the usb tree for a while, but I'm hesitant to ask you for > scheduling it into current release. On the other hand, I don't think this > will > cause any breakage. > > The following changes

Re: [U-Boot] [PATCH v2] arm: cm4008, cm41xx: set gd->ram_size in dram_init

2012-07-09 Thread Albert ARIBAUD
Hi Andreas, On Fri, 06 Jul 2012 12:25:00 +0200, "Andreas Bießmann" wrote: > Dear Yann Vernier, > > On 06.07.2012 11:14, Yann Vernier wrote: > > On Friday 06 July 2012 10:43:40 you wrote: > > =((CONFIG_SYS_SDRAM_BASE+CONFIG_SYS_SDRAM_SIZE-0x1)<<(22-16) | \ + > > (CONFIG_SYS_SDRA

Re: [U-Boot] [ARM] one warning left for all ARM boards

2012-07-09 Thread Albert ARIBAUD
Hi Tom, On Mon, 9 Jul 2012 14:07:22 -0700, Tom Rini wrote: > On Mon, Jul 09, 2012 at 09:48:18PM +0200, Wolfgang Denk wrote: > > Dear Albert ARIBAUD, > > > > In message <20120709174210.0bc0cef5@aari01-12> you wrote: > > > > > > With the latest commits on u-boot/master, two obnoxious "attention"

Re: [U-Boot] [PATCH 3/3] microblaze: Wire up OF support for emaclite

2012-07-09 Thread Simon Glass
On Wed, Jul 4, 2012 at 1:25 PM, Stephan Linz wrote: > - expand the condition with CONFIG_OF_CONTROL > > Signed-off-by: Stephan Linz > Acked-by: Simon Glass > --- > include/configs/microblaze-generic.h |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/include

Re: [U-Boot] [PATCH 1/3] fdt: Add board specific dts inclusion

2012-07-09 Thread Simon Glass
On Mon, Jul 9, 2012 at 12:42 AM, Michal Simek wrote: > On 07/04/2012 10:25 PM, Stephan Linz wrote: > >> Some architectures, for example Microblaze, doesn't need a >> splitted device tree because every Microblaze hw design is >> different. The individuell Microblaze device tree will be >> auto gen

Re: [U-Boot] [PATCH 10/12] microblaze: Call serial multi initialization

2012-07-09 Thread Simon Glass
On Mon, Jul 9, 2012 at 2:20 AM, Michal Simek wrote: > Signed-off-by: Michal Simek > Acked-by: Simon Glass > --- > arch/microblaze/lib/board.c |5 + > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c > index d

Re: [U-Boot] [PATCH 09/12] microblaze: timer: Add device-tree driver configuration

2012-07-09 Thread Simon Glass
Hi Michal, On Mon, Jul 9, 2012 at 2:20 AM, Michal Simek wrote: > Read configuration from DTB. > > Signed-off-by: Michal Simek > --- > arch/microblaze/cpu/timer.c | 25 + > 1 files changed, 25 insertions(+), 0 deletions(-) > > diff --git a/arch/microblaze/cpu/timer.c b

Re: [U-Boot] [PATCH 07/12] microblaze: Move __udelay implementation

2012-07-09 Thread Simon Glass
On Mon, Jul 9, 2012 at 2:20 AM, Michal Simek wrote: > Move __udelay to the timer code because of unification. > And clean coding style because of checkpatch.pl. > > Signed-off-by: Michal Simek > Acked-by: Simon Glass > --- > arch/microblaze/cpu/timer.c | 19 +++ > arch/mi

Re: [U-Boot] [PATCH 06/12] microblaze: intc: Add device-tree driver configuration

2012-07-09 Thread Simon Glass
Hi Michal, On Mon, Jul 9, 2012 at 2:20 AM, Michal Simek wrote: > Read configuration from DTB. > > Signed-off-by: Michal Simek > --- > arch/microblaze/cpu/interrupts.c | 19 +++ > 1 files changed, 19 insertions(+), 0 deletions(-) > > diff --git a/arch/microblaze/cpu/interrupts

Re: [U-Boot] [PATCH 05/12] microblaze: intc: Coding style cleanup

2012-07-09 Thread Simon Glass
On Mon, Jul 9, 2012 at 2:20 AM, Michal Simek wrote: > Just coding style cleanup. > Remove unneeded externs. > > Signed-off-by: Michal Simek > Acked-by: Simon Glass > --- > arch/microblaze/cpu/interrupts.c | 26 +- > 1 files changed, 13 insertions(+), 13 deletions(-

Re: [U-Boot] [PATCH 04/12] microblaze: intc: Registering interrupt should return value

2012-07-09 Thread Simon Glass
Hi Michal, On Mon, Jul 9, 2012 at 2:20 AM, Michal Simek wrote: > Return value to find out if un/registration was succesful. > > Signed-off-by: Michal Simek > --- > arch/microblaze/cpu/interrupts.c | 15 +-- > arch/microblaze/include/asm/microblaze_intc.h |2 +- >

Re: [U-Boot] [PATCH 03/12] microblaze: intc: Clear interrupt code

2012-07-09 Thread Simon Glass
Hi Michal, On Mon, Jul 9, 2012 at 2:20 AM, Michal Simek wrote: > Clear and prepare for device-tree driven configuration. > Remove CONFIG_SYS_INTC_0 definition > Use dynamic allocation instead of static. > > Signed-off-by: Michal Simek > I'm not really qualified to review this, but it seems rea

Re: [U-Boot] [PATCH V3 2/3] arm/davinci: spl - boot device selection

2012-07-09 Thread Mikhail Kshevetskiy
On Mon, 9 Jul 2012 13:08:07 -0700 Tom Rini wrote: > On 07/09/2012 12:57 PM, Mikhail Kshevetskiy wrote: > > On Mon, 9 Jul 2012 12:41:06 -0700 > > Tom Rini wrote: > > > >> On 07/09/2012 11:53 AM, Mikhail Kshevetskiy wrote: > >>> This patch allow us to have a universal spl that detects a boot > >>

Re: [U-Boot] [PATCH V3 2/3] arm/davinci: spl - boot device selection

2012-07-09 Thread Mikhail Kshevetskiy
On Mon, 9 Jul 2012 12:41:06 -0700 Tom Rini wrote: > On 07/09/2012 11:53 AM, Mikhail Kshevetskiy wrote: > > This patch allow us to have a universal spl that detects a boot > > device and select a corresponding boot algorithm for main u-boot part > > (SOC_DA8XX only) > > > > This patch create copy

Re: [U-Boot] U-boot Porting

2012-07-09 Thread Daniel Schwierzeck
Hi Aaron, 2012/7/6 Aaron Williams : > Hi Andreas, > > I would love to see OCTEON support in the mainline as well, though I am not > sure how I should go about this since it is a substantial amount of code. > Fortunately most of the changes are not to the common code, and many of the > common code

Re: [U-Boot] [PATCH 02/12] microblaze: Remove extern from board.c

2012-07-09 Thread Simon Glass
On Mon, Jul 9, 2012 at 2:20 AM, Michal Simek wrote: > eth_init() is defined at include/net.h. > > Signed-off-by: Michal Simek > Acked-by: Simon Glass > --- > arch/microblaze/lib/board.c |4 > 1 files changed, 0 insertions(+), 4 deletions(-) > > diff --git a/arch/microblaze/lib/boar

Re: [U-Boot] [PATCH 01/12] microblaze: board: Remove compilation warning

2012-07-09 Thread Simon Glass
Hi Michal, On Mon, Jul 9, 2012 at 2:20 AM, Michal Simek wrote: > Variable is used when CONFIG_SYS_FLASH_CHECKSUM is used. > > Warning log: > board.c: In function 'board_init': > board.c:101: warning: unused variable 's' > > Signed-off-by: Michal Simek > --- > arch/microblaze/lib/board.c |7

Re: [U-Boot] [ARM] one warning left for all ARM boards

2012-07-09 Thread Tom Rini
On Mon, Jul 09, 2012 at 09:48:18PM +0200, Wolfgang Denk wrote: > Dear Albert ARIBAUD, > > In message <20120709174210.0bc0cef5@aari01-12> you wrote: > > > > With the latest commits on u-boot/master, two obnoxious "attention" > > messages were removed from ARM builds, but one still remains: > > >

Re: [U-Boot] [ARM] one warning left for all ARM boards

2012-07-09 Thread Albert ARIBAUD
Hi Wolfgang, On Mon, 09 Jul 2012 21:48:18 +0200, Wolfgang Denk wrote: > Dear Albert ARIBAUD, > > In message <20120709174210.0bc0cef5@aari01-12> you wrote: > > > > With the latest commits on u-boot/master, two obnoxious "attention" > > messages were removed from ARM builds, but one still remains

Re: [U-Boot] [PATCH 12/20] arm/km: add support for external switchconfiguration

2012-07-09 Thread Prafulla Wadaskar
> -Original Message- > From: Holger Brunck [mailto:holger.bru...@keymile.com] > Sent: 09 July 2012 17:34 > To: Prafulla Wadaskar > Cc: Detlev Zundel; Valentin Longchamp; u-boot@lists.denx.de > Subject: Re: [PATCH 12/20] arm/km: add support for external > switchconfiguration > ...snip...

Re: [U-Boot] [ARM] one warning left for all ARM boards

2012-07-09 Thread Tom Rini
On Mon, Jul 09, 2012 at 09:48:18PM +0200, Wolfgang Denk wrote: > Dear Albert ARIBAUD, > > In message <20120709174210.0bc0cef5@aari01-12> you wrote: > > > > With the latest commits on u-boot/master, two obnoxious "attention" > > messages were removed from ARM builds, but one still remains: > > >

Re: [U-Boot] pull request for u-boot-tegra/master

2012-07-09 Thread Albert ARIBAUD
Hi Tom, On Mon, 9 Jul 2012 10:49:34 -0700, Tom Warren wrote: > Albert, > > Please pull u-boot-tegra/master into ARM master. Thanks! > > The following changes since commit 58e22f8a15adec39d24d060180d76a4cbe86a04b: > Stephen Warren (1): > fdt: send all dtc output to stderr > > are avai

Re: [U-Boot] Please pull u-boot-ti/next

2012-07-09 Thread Albert ARIBAUD
Hi Tom, On Mon, 9 Jul 2012 11:46:11 -0700, Tom Rini wrote: > Hello, > > The following changes since commit d702b0811df53a1fc2d8049e35431e4591d093c6: > > ARM: cache: Move the cp15 CR register read before flushing the cache. > (2012-07-07 14:07:44 +0200) > > are available in the git repositor

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

2012-07-09 Thread Albert ARIBAUD
Hi Tom, On Mon, 9 Jul 2012 11:43:56 -0700, Tom Rini wrote: > Hello, > > The following changes since commit d702b0811df53a1fc2d8049e35431e4591d093c6: > > ARM: cache: Move the cp15 CR register read before flushing the cache. > (2012-07-07 14:07:44 +0200) > > are available in the git repositor

Re: [U-Boot] [PATCH V3 2/3] arm/davinci: spl - boot device selection

2012-07-09 Thread Tom Rini
On 07/09/2012 12:57 PM, Mikhail Kshevetskiy wrote: > On Mon, 9 Jul 2012 12:41:06 -0700 > Tom Rini wrote: > >> On 07/09/2012 11:53 AM, Mikhail Kshevetskiy wrote: >>> This patch allow us to have a universal spl that detects a boot >>> device and select a corresponding boot algorithm for main u-boot

[U-Boot] [PATCH v2] usb_storage: fix ehci driver max transfer size

2012-07-09 Thread Stefan Herbrechtsmeier
The commit 5dd95cf93dfffa1d19a1928990852aac9f55b9d9 'usb_storage: Fix EHCI "out of buffer pointers" with CD-ROM' introduce a bug in usb_storage as it wrongly assumes that every transfer can use 4096 bytes per qt_buffer. This is wrong if the start address of the data is not page aligned to 4096 byte

Re: [U-Boot] random errors in kernel or rootfs;u-boot check sum

2012-07-09 Thread Wolfgang Denk
Dear Anthony Garland, In message you wrote: > > I'm working on a recovery tool for an overo COM where I can boot all > the way into into Linux over USB. This is similar to the beagle-board > recovery tools. I have a host computer send the overo a modified > version of x-loader which will ask th

Re: [U-Boot] [ARM] one warning left for all ARM boards

2012-07-09 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message <20120709174210.0bc0cef5@aari01-12> you wrote: > > With the latest commits on u-boot/master, two obnoxious "attention" > messages were removed from ARM builds, but one still remains: > > attention : -fstack-usage not supported for this target [enabled by > default

Re: [U-Boot] i.MX35PDK: Starting U-Boot from serial NOR-Flash

2012-07-09 Thread Fabio Estevam
Hi Michael, On Mon, Jul 9, 2012 at 9:57 AM, Hornung, Michael wrote: > +++ b/board/freescale/mx35pdk/imximage.cfg > > +BOOT_FROM spi Please see the Freescale U-boot, you missed the initialization of the CS5: //WEIM config-CS5 init DCDGEN(1, 4, 0xB8002050, 0xd843) DCDGEN(1_1, 4, 0

Re: [U-Boot] [PATCH 12/20] arm/km: add support for external switchconfiguration

2012-07-09 Thread Wolfgang Denk
Dear Holger, In message <4ffaee4f.3090...@keymile.com> you wrote: > > shouldn't be there an exception for strictly board specific peripheral drivers > like an custom-made FPGA? I see two situations: 1) We are talking about code to load a bitstream into the FPGA, i. e. to "program it". Such

Re: [U-Boot] [PATCH V3 2/3] arm/davinci: spl - boot device selection

2012-07-09 Thread Tom Rini
On 07/09/2012 11:53 AM, Mikhail Kshevetskiy wrote: > This patch allow us to have a universal spl that detects a boot > device and select a corresponding boot algorithm for main u-boot part > (SOC_DA8XX only) > > This patch create copy copy of drivers/mtd/nand/nand_spl_load.c and > drivers/mtd/spi/

Re: [U-Boot] sha256_crypt for uboot

2012-07-09 Thread Wolfgang Denk
Dear Richard Retanubun, In message <4ffae18d.3080...@ruggedcom.com> you wrote: > > Thus, we aim to add the ability uboot to identify users, much like the > payload OS does > before granting access to its CLI (if the user interrupts the boot process). You are opening a can of worms here, and I be

Re: [U-Boot] [PATCH 12/20] arm/km: add support for external switchconfiguration

2012-07-09 Thread Wolfgang Denk
Dear Detlev, In message you wrote: > > I just read through our documentation on the Wiki and found nothing > relavant to such a topic. If we make this a requirement, we should add > it so people know about it beforehand. You know all too well that our wiki suffers from a mismatch of what peopl

Re: [U-Boot] [PATCH 12/20] arm/km: add support for external switchconfiguration

2012-07-09 Thread Wolfgang Denk
Dear Detlev, In message you wrote: > > > I agree that even very simple and uncomplete implementations can co in should read: ...can go in... > > if the fulfil some purpose, and can form a basis for future > > extensions. > > > > To make sure everybody sees such code, we should really add it t

[U-Boot] [PATCH V3 3/3] arm/davinci: spl - add compressed u-boot image support

2012-07-09 Thread Mikhail Kshevetskiy
Motivation: * we have a board with 128 Kb spi flash, so normal u-boot.ais does not fit on it. This patch add support of compressed 2-nd u-boot stage. To create a compressed ais image its required: * define CONFIG_SPL_GUNZIP_SUPPORT --- enable compressed ais image supports * define CONFIG_SPL

[U-Boot] [PATCH V3 2/3] arm/davinci: spl - boot device selection

2012-07-09 Thread Mikhail Kshevetskiy
This patch allow us to have a universal spl that detects a boot device and select a corresponding boot algorithm for main u-boot part (SOC_DA8XX only) This patch create copy copy of drivers/mtd/nand/nand_spl_load.c and drivers/mtd/spi/spi_spl_load.c for the following reasons: * avoid jump to main

[U-Boot] [PATCH V3 1/3] MMC: u-boot-spl may be compiled without partition support

2012-07-09 Thread Mikhail Kshevetskiy
Signed-off-by: Mikhail Kshevetskiy --- Change for v3: * split MMC+SPL+no partition table support bugfix to separate patch series (series 3/3) Change for v2: * fix checkpatch warnings --- drivers/mmc/mmc.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mmc/mmc.c b/drivers/mm

[U-Boot] [PATCH V3 2/2] mtd/spi: add sst25l driver

2012-07-09 Thread Mikhail Kshevetskiy
Current SST driver does not support well this types of flash, so introduce a new one. This code is a combination of sst.c driver from u-boot and sst25l.c driver from linux-3.3 release. I try to make a code as close to linux driver as it was possible. Signed-off-by: Mikhail Kshevetskiy --- Change

[U-Boot] [PATCH V3 1/2] mtd/spi/spi_flash: support CMD_READ_ID=0x90 case

2012-07-09 Thread Mikhail Kshevetskiy
current code does not support spi flashes that have 0x90 read_id command, so fix this Signed-off-by: Mikhail Kshevetskiy --- Change for v3: * split SPI flash fixes to separate patch series (series 2/3) Change for v2: * fix checkpatch warnings --- drivers/mtd/spi/spi_flash.c | 66 +++

[U-Boot] [PATCH V3 3/3] serial/ns16550: ns16550 has a different register layout on SOC_DA8XX

2012-07-09 Thread Mikhail Kshevetskiy
also fix NS16550_init() as we need 16x divider Signed-off-by: Mikhail Kshevetskiy Acked-by: Christian Riesch Tested-by: Christian Riesch --- Change for v3: * split DDR and UART bugfixes to separate patch series (series 1/3) Change for v2: * fix checkpatch warnings --- drivers/serial/ns16550.

[U-Boot] [PATCH V3 2/3] arm/davinci/da850: add uart0 pinmux

2012-07-09 Thread Mikhail Kshevetskiy
Signed-off-by: Mikhail Kshevetskiy --- Change for v3: * split DDR and UART bugfixes to separate patch series (series 1/3) Change for v2: * fix checkpatch warnings --- arch/arm/cpu/arm926ejs/davinci/da850_pinmux.c |5 + arch/arm/include/asm/arch-davinci/hardware.h|1 + arch/arm

[U-Boot] [PATCH V3 1/3] arm/davinci: fix DDR2/mDDR memory controller initialization for Omap L138

2012-07-09 Thread Mikhail Kshevetskiy
follow section 15.2.13.1 (Initializing Following Device Power Up or Reset) of OMAP-L138 DSP+ARM Processor Technical Reference Manual Signed-off-by: Mikhail Kshevetskiy Acked-by: Christian Riesch Tested-by: Christian Riesch --- Change for v3: * split DDR and UART bugfixes to separate patch seri

Re: [U-Boot] [PATCH 08/12] microblaze: timer: Prepare for device-tree initialization

2012-07-09 Thread Stephan Linz
Am Montag, den 09.07.2012, 11:20 +0200 schrieb Michal Simek: > microblaze: Fix CONFIG_SYS_HZ usage in board config > > Do not use hardcoded value. Use CONFIG_SYS_HZ instead. > Separate static configuration to single block. > > Signed-off-by: Michal Simek > --- > arch/microblaze/cpu/timer.c

[U-Boot] [PATCH 2/2] [v3] net: abort network initialization if the PHY driver fails

2012-07-09 Thread Timur Tabi
Now that phy_startup() can return an actual error code, check for that error code and abort network initialization if the PHY fails. Signed-off-by: Timur Tabi Acked-by: Nobuhiro Iwamamatsu (sh_eth part) Acked-by: Stephan Linz (Xilinx part, xilinx_axi_emac and xilinx_ll_temac) Reviewed-by: Mare

[U-Boot] Please pull u-boot-ti/next

2012-07-09 Thread Tom Rini
Hello, The following changes since commit d702b0811df53a1fc2d8049e35431e4591d093c6: ARM: cache: Move the cp15 CR register read before flushing the cache. (2012-07-07 14:07:44 +0200) are available in the git repository at: git://git.denx.de/u-boot-ti next for you to fetch changes up to 9af

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

2012-07-09 Thread Tom Rini
Hello, The following changes since commit d702b0811df53a1fc2d8049e35431e4591d093c6: ARM: cache: Move the cp15 CR register read before flushing the cache. (2012-07-07 14:07:44 +0200) are available in the git repository at: git://git.denx.de/u-boot-ti master for you to fetch changes up to a

Re: [U-Boot] [PATCH 2/2] ehci-hcd.c, musb_core, usb.h: Add USB_DMA_MINALIGN define for cache alignment

2012-07-09 Thread Ilya Yanok
Hi Marek, On Sun, Jul 8, 2012 at 7:08 AM, Marek Vasut wrote: > - /* Invalidate the memory area occupied by buffer */ > - invalidate_dcache_range(((uint32_t)buffer & ~31), > - ((uint32_t)buffer & ~31) + roundup(length, 32)); > + /* > +* Invalidate the memor

Re: [U-Boot] [PATCH] smsc95xx: align buffers to cache line size

2012-07-09 Thread Ilya Yanok
Dear Marek, On Mon, Jul 9, 2012 at 4:45 AM, Marek Vasut wrote: > > > But in practice it works without any alignment... ok, you made me read > the > > spec ;) > > page 55: "For the page 0 current offset interpretation, this field is the > > byte offset into the current page" > > > See the thread

Re: [U-Boot] [PATCH 08/12] microblaze: timer: Prepare for device-tree initialization

2012-07-09 Thread Stephan Linz
Hi Michal, Am Montag, den 09.07.2012, 11:20 +0200 schrieb Michal Simek: > microblaze: Fix CONFIG_SYS_HZ usage in board config > > Do not use hardcoded value. Use CONFIG_SYS_HZ instead. > Separate static configuration to single block. > > Signed-off-by: Michal Simek > --- > arch/microblaze/cpu

Re: [U-Boot] [PATCH 09/12] microblaze: timer: Add device-tree driver configuration

2012-07-09 Thread Stephan Linz
Hi Michal, Am Montag, den 09.07.2012, 11:20 +0200 schrieb Michal Simek: > Read configuration from DTB. > > Signed-off-by: Michal Simek > --- > arch/microblaze/cpu/timer.c | 25 + > 1 files changed, 25 insertions(+), 0 deletions(-) > > diff --git a/arch/microblaze/cpu

[U-Boot] pull request for u-boot-tegra/master

2012-07-09 Thread Tom Warren
Albert, Please pull u-boot-tegra/master into ARM master. Thanks! The following changes since commit 58e22f8a15adec39d24d060180d76a4cbe86a04b: Stephen Warren (1): fdt: send all dtc output to stderr are available in the git repository at: git://git.denx.de/u-boot-tegra master Jim Lin

[U-Boot] [PULL] u-boot-usb/master

2012-07-09 Thread Marek Vasut
Hello, This has been in the usb tree for a while, but I'm hesitant to ask you for scheduling it into current release. On the other hand, I don't think this will cause any breakage. The following changes since commit 58e22f8a15adec39d24d060180d76a4cbe86a04b: fdt: send all dtc output to stderr

Re: [U-Boot] [PATCH 2/2] [v2] net: abort network initialization if the PHY driver fails

2012-07-09 Thread Marek Vasut
Dear Timur Tabi, > Now that phy_startup() can return an actual error code, check for that > error code and abort network initialization if the PHY fails. > > Signed-off-by: Timur Tabi > --- > drivers/net/fec_mxc.c |7 ++- > drivers/net/fm/eth.c |9 - > drive

Re: [U-Boot] [PATCH v2 4/7] dfu: MMC specific routines for DFU operation

2012-07-09 Thread Marek Vasut
Dear Lukasz Majewski, > Support for MMC storage devices to work with DFU framework. > > Signed-off-by: Lukasz Majewski > Signed-off-by: Kyungmin Park > Cc: Marek Vasut > This one opens some questions. [...] > +int dfu_fill_entity_mmc(struct dfu_entity *dfu, char* s) > +{ > + char *st =

Re: [U-Boot] [PATCH v2 3/7] dfu: DFU backend implementation

2012-07-09 Thread Marek Vasut
Dear Lukasz Majewski, > New, separate driver at ./drivers/dfu has been added. It allows platform > and storage independent operation of DFU. > > Signed-off-by: Lukasz Majewski > Signed-off-by: Kyungmin Park > Cc: Marek Vasut > [...] > +char *dfu_extract_token(char** e, int *n) > +{ > +

Re: [U-Boot] [PATCH v2 2/7] dfu:usb: DFU USB function (f_dfu) support for g_dnl composite gadget

2012-07-09 Thread Marek Vasut
Dear Lukasz Majewski, > Support for f_dfu USB function. > > Signed-off-by: Lukasz Majewski > Signed-off-by: Kyungmin Park > Cc: Marek Vasut > [...] > +static void handle_getstatus(struct usb_request *req) > +{ > + struct dfu_status *dstat = (struct dfu_status *)req->buf; > + struct f

Re: [U-Boot] [PATCH v2 1/7] dfu:usb: Support for g_dnl composite download gadget.

2012-07-09 Thread Marek Vasut
Dear Lukasz Majewski, > Composite USB download gadget support (g_dnl) for download functions. > This code works on top of composite gadget. > > Signed-off-by: Lukasz Majewski > Signed-off-by: Kyungmin Park > Cc: Marek Vasut > > --- > Changes for v2: > > - G_DNL_{VENDOR_NUM, PRODUCT_NUM and M

Re: [U-Boot] [PATCH 2/2] [v2] net: abort network initialization if the PHY driver fails

2012-07-09 Thread Stephan Linz
Hi Timur, Am Freitag, den 06.07.2012, 13:35 -0500 schrieb Timur Tabi: > Now that phy_startup() can return an actual error code, check for that error > code and abort network initialization if the PHY fails. > > Signed-off-by: Timur Tabi > --- > drivers/net/fec_mxc.c |7 ++- > d

Re: [U-Boot] [PATCH v2 0/7] dfu:usb: Composite USB download gadget with DFU function

2012-07-09 Thread Marek Vasut
Dear Tom Rini, > On Mon, Jul 09, 2012 at 01:28:27PM +0200, Lukasz Majewski wrote: > > Hi Marek, > > > > > Those patches add support for composite USB download gadget. > > > This gadget (at least for now) is equipped with DFU download function. > > > > > > A separate DFU back-end and front-end ha

Re: [U-Boot] sha256_crypt for uboot

2012-07-09 Thread Albert ARIBAUD
Hi Richard, On Mon, 9 Jul 2012 10:55:18 -0400, Richard Retanubun wrote: > >> Thanks for responding, I realize most people are probably away on > >> summer holiday. > > > > Actually some of them are at a U-Boot developer's meeting in Geneva. > > Uh-oh... Is it safe to place such a high concentrat

[U-Boot] [ARM] one warning left for all ARM boards

2012-07-09 Thread Albert ARIBAUD
Hi all, With the latest commits on u-boot/master, two obnoxious "attention" messages were removed from ARM builds, but one still remains: attention : -fstack-usage not supported for this target [enabled by default] This is with gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5). doc/SPL/README.om

Re: [U-Boot] sha256_crypt for uboot

2012-07-09 Thread Richard Retanubun
Thanks for responding, I realize most people are probably away on summer holiday. Actually some of them are at a U-Boot developer's meeting in Geneva. Uh-oh... Is it safe to place such a high concentration of hacker brains so close to CERN? :) The primary concern here is the power of u-boot

Re: [U-Boot] [PATCH 12/20] arm/km: add support for external switchconfiguration

2012-07-09 Thread Holger Brunck
Hi Detlev, On 07/09/2012 03:06 PM, Detlev Zundel wrote: >> If we place the driver in your board diretory, the chances are huge it >> will simply sit there and rot, and the next one who needs something >> similar will reinvent the wheel because he did not find your copy. >> >> I agree that even ver

Re: [U-Boot] [PATCH 12/20] arm/km: add support for external switchconfiguration

2012-07-09 Thread Valentin Longchamp
Hi Detlev, On 07/09/2012 04:31 PM, Detlev Zundel wrote: > Hi Prafulla, > > [...] > >> Hi Detlev >> Clear NAK for this patch > > Do you mean clear NAK for "the patch" or "for the location of the > files"? > >> Let's put it in drivers/net/phy/ >> FYI: there are several drivers used by just one b

Re: [U-Boot] [PATCH 12/20] arm/km: add support for external switchconfiguration

2012-07-09 Thread Detlev Zundel
Hi Prafulla, [...] > Hi Detlev > Clear NAK for this patch Do you mean clear NAK for "the patch" or "for the location of the files"? > Let's put it in drivers/net/phy/ > FYI: there are several drivers used by just one board, > [prafulla@pe-dt061 u-boot-marvell.git (master)]$ vim > drivers/net/ph

Re: [U-Boot] [V3] arm: Fix to mistake clean the memory space

2012-07-09 Thread Albert ARIBAUD
Hi Andreas, On Mon, 09 Jul 2012 13:21:12 +0200, "Andreas Bießmann" wrote: > Dear Zhong Hongbo, > > On 07.07.2012 15:19, Zhong Hongbo wrote: > > On 07/07/2012 05:58 PM, Albert ARIBAUD wrote: > >> Hi Zhong Hongbo, > >> > >> On Sat, 7 Jul 2012 17:47:16 +0800, Zhong Hongbo > >> wrote: > >>> From:

Re: [U-Boot] sha256_crypt for uboot

2012-07-09 Thread Albert ARIBAUD
Hi Richard, On Mon, 9 Jul 2012 09:50:05 -0400, Richard Retanubun wrote: > On 05/07/12 05:59 AM, Albert ARIBAUD wrote: > Hi Albert, > > Thanks for responding, I realize most people are probably away on > summer holiday. Actually some of them are at a U-Boot developer's meeting in Geneva. > > Ca

Re: [U-Boot] sha256_crypt for uboot

2012-07-09 Thread Richard Retanubun
On 05/07/12 05:59 AM, Albert ARIBAUD wrote: Hi Albert, Thanks for responding, I realize most people are probably away on summer holiday. Can't speak for Wolfgang of course, but my main question would be why would U-Boot need to identify users when its payload OS can do this with much more ease

[U-Boot] [PATCH v2] Add support for Bluegiga APX4 Development Kit

2012-07-09 Thread Veli-Pekka Peltola
This adds support for Bluegiga APX4 Development Kit. It is built around Freescale i.MX28. Currently supported features are: ethernet, I2C, MMC, RTC and USB. APX4 has only one ethernet port. Signed-off-by: Veli-Pekka Peltola Signed-off-by: Lauri Hintsala Cc: Stefano Babic --- Changes after v1 fr

Re: [U-Boot] i.MX35PDK: Starting U-Boot from serial NOR-Flash

2012-07-09 Thread Hornung, Michael
>On Thu, Jul 5, 2012 at 6:09 AM, Estevam, wrote: >Hi Michael, Hi Fabio, Thank you very much for your support, I'm getting closer. >The best way to generate 'u-boot.imx' is to simply do 'make u-boot.imx' and >then you don't need to pass the above line manually. >In internal mode you should do

Re: [U-Boot] [PATCH 12/20] arm/km: add support for external switchconfiguration

2012-07-09 Thread Detlev Zundel
Hi Wolfgang, [...] > If we place the driver in your board diretory, the chances are huge it > will simply sit there and rot, and the next one who needs something > similar will reinvent the wheel because he did not find your copy. > > I agree that even very simple and uncomplete implementations c

Re: [U-Boot] [PATCH] davinci: reduce pimux_config size by storing register id instead of address

2012-07-09 Thread Tom Rini
On Sun, Apr 08, 2012 at 05:02:03PM -0400, Jérôme Carretero wrote: > This patch does nothing except saving a few bytes (makes a difference SPL) > > Signed-off-by: Jérôme Carretero > CC: Manjunathappa, Prakash > --- > arch/arm/cpu/arm926ejs/davinci/pinmux.c |2 +- > arch/arm/include

Re: [U-Boot] [PATCH 12/20] arm/km: add support for external switchconfiguration

2012-07-09 Thread Detlev Zundel
Hi Wolfgang, [...] > Sorry, but I disagree. How many board directories are there in > U-Boot? Several hundreds... How many board directories did you check > to make sure none of them contains any driver that is similar to what > you implement here? > > If we place the driver in your board dire

Re: [U-Boot] [PATCH 12/20] arm/km: add support for external switchconfiguration

2012-07-09 Thread Wolfgang Denk
Dear Holger, In message <4ffac8c9.1020...@keymile.com> you wrote: > > > Anyways peripheral driver should go in drivers/ > > yes there are maybe drivers which proof your concept, but there are many > others > in the board related code which do the opposite. Yes, but bad examples are not a good

Re: [U-Boot] [PATCH 05/12] ARM: rpi_b: enable CONFIG_OF_LIBFDT

2012-07-09 Thread Tom Rini
On Tue, Jul 03, 2012 at 08:02:48PM -0600, Stephen Warren wrote: > This allows bootm/bootz to pass a device tree to the kernel. > > Signed-off-by: Stephen Warren FWIW, I would combine this, 6 and 7 into a single commit and say "Enable booting the Linux Kernel" and in the body mention that today w

Re: [U-Boot] [PATCH 04/12] ARM: rpi_b: include config_cmd_default.h

2012-07-09 Thread Tom Rini
On Tue, Jul 03, 2012 at 08:02:47PM -0600, Stephen Warren wrote: > This enables a more typical default set of commands. Remove explicit > enables for commands already in the default list. > > Signed-off-by: Stephen Warren > --- > include/configs/rpi_b.h |8 ++-- > 1 file changed, 6 inser

  1   2   >