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

2012-07-10 Thread Albert ARIBAUD
Hi Graeme and Allen, On Tue, 10 Jul 2012 15:13:47 +1000, Graeme Russ graeme.r...@gmail.com wrote: Hi Martin, On Tue, Jul 10, 2012 at 3:08 PM, Allen Martin amar...@nvidia.com wrote: Disable sibling call optimization based on binutils version. This is to work around a bug in the assember

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

2012-07-10 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] EXYNOS: Fix USB compiler warning

2012-07-10 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 rajeshwar...@samsung.com --- arch/arm/cpu/armv7/exynos/system.c |1 - 1 files changed, 0 insertions(+), 1

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

2012-07-10 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] Pull request: u-boot-arm/master

2012-07-10 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message 20120710083046.119e0988@lilith you wrote: Hi Wolfgang, Please consider applying this branch before -rc1. The following changes since commit 18277f7057c8e9b895aa4f8590969a57c4bce888: Revert arm: bugfix: save_boot_params_default accesses uninitalized

Re: [U-Boot] [PATCH v2] Consolidate bootcount code into drivers/bootcount

2012-07-10 Thread Wolfgang Denk
Dear Stefan Roese, In message 201206041514.17201...@denx.de you wrote: Why don't you use __BYTE_ORDER rather than a new define? Unfortunately not. There are LE platforms that use BE accessors for the bootcounter already (Davinci enbw_cmc). Mostly historical reasons I assume, since the

[U-Boot] [PATCH] ARM: EXYNOS: fixed compiler warning message

2012-07-10 Thread Jaehoon Chung
Removed [-Wuninitialized] warning message. The fout_sel is assigned to -1 by default. And start, gpio_func is initialized to 0. Signed-off-by: Jaehoon Chung jh80.ch...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/cpu/armv7/exynos/clock.c |3 +++

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

2012-07-10 Thread Marek Vasut
Dear 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.

[U-Boot] [STATUS] v2012.07-rc1 is out - release date July 23

2012-07-10 Thread Wolfgang Denk
Hi everybody, this is to let you know that the v2012.07-rc1 prerelease is out. Please help testing, so we can fix the remaining issues before the release, which I decided to shift by a week, i. e. the new schedule for the release is July 23. Please also note that you can now send pull requests

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

2012-07-10 Thread Michal Simek
On 07/09/2012 11:37 PM, Simon Glass wrote: On Mon, Jul 9, 2012 at 12:42 AM, Michal Simek mon...@monstr.eu mailto:mon...@monstr.eu wrote: On 07/04/2012 10:25 PM, Stephan Linz wrote: Some architectures, for example Microblaze, doesn't need a splitted device tree because

Re: [U-Boot] [PATCH 2/3] microblaze: Wire up dts configuration

2012-07-10 Thread Michal Simek
On 07/04/2012 10:25 PM, Stephan Linz wrote: - enable OF control and embedded OF - set default device tree file name to 'microblaze' - add CPP to dtc proxy: board/xilinx/dts/microblaze.dts - add an empty but processable dts for microblaze-generic Signed-off-by: Stephan

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

2012-07-10 Thread Michal Simek
On 07/09/2012 11:42 PM, Simon Glass wrote: On Wed, Jul 4, 2012 at 1:25 PM, Stephan Linz l...@li-pro.net mailto:l...@li-pro.net wrote: - expand the condition with CONFIG_OF_CONTROL Signed-off-by: Stephan Linz l...@li-pro.net mailto:l...@li-pro.net Acked-by: Simon Glass

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

2012-07-10 Thread Michal Simek
On 07/09/2012 08:26 PM, Stephan Linz wrote: 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

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

2012-07-10 Thread Michal Simek
On 07/09/2012 09:06 PM, Stephan Linz wrote: 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

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

2012-07-10 Thread Michal Simek
On 07/09/2012 11:08 PM, Simon Glass wrote: Hi Michal, On Mon, Jul 9, 2012 at 2:20 AM, Michal Simek mon...@monstr.eu mailto:mon...@monstr.eu wrote: Variable is used when CONFIG_SYS_FLASH_CHECKSUM is used. Warning log: board.c: In function 'board_init': board.c:101: warning:

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

2012-07-10 Thread Michal Simek
On 07/09/2012 11:10 PM, Simon Glass wrote: Acked-by: Simon Glass s...@chromium.org mailto:s...@chromium.org Applied. Thanks, Michal -- Michal Simek, Ing. (M.Eng) w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/ Microblaze U-BOOT

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

2012-07-10 Thread Michal Simek
On 07/09/2012 11:28 PM, Simon Glass wrote: Acked-by: Simon Glass s...@chromium.org mailto:s...@chromium.org Applied. Thanks, Michal -- Michal Simek, Ing. (M.Eng) w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/ Microblaze U-BOOT

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

2012-07-10 Thread Michal Simek
On 07/09/2012 11:32 PM, Simon Glass wrote: Acked-by: Simon Glass s...@chromium.org mailto:s...@chromium.org Applied. Thanks, Michal -- Michal Simek, Ing. (M.Eng) w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/ Microblaze U-BOOT

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

2012-07-10 Thread Lukasz Majewski
Hi Marek, 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

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

2012-07-10 Thread Michal Simek
On 07/09/2012 11:21 PM, Simon Glass wrote: Hi Michal, On Mon, Jul 9, 2012 at 2:20 AM, Michal Simek mon...@monstr.eu mailto:mon...@monstr.eu wrote: Clear and prepare for device-tree driven configuration. Remove CONFIG_SYS_INTC_0 definition Use dynamic allocation instead of static.

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

2012-07-10 Thread Tom Rini
On Tue, Jul 10, 2012 at 03:53:43AM +0200, Marek Vasut wrote: Dear Albert ARIBAUD, Hi Tom, On Mon, 9 Jul 2012 14:07:22 -0700, Tom Rini tr...@ti.com wrote: On Mon, Jul 09, 2012 at 09:48:18PM +0200, Wolfgang Denk wrote: Dear Albert ARIBAUD, In message

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

2012-07-10 Thread Tom Rini
On Wed, Jul 04, 2012 at 05:48:39PM +0200, Lukasz Majewski wrote: Support for MMC storage devices to work with DFU framework. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Marek Vasut ma...@denx.de [snip] + case RAW_ADDR:

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

2012-07-10 Thread Ilya Yanok
Hi guys, On Tue, Jul 10, 2012 at 12:37 PM, Tom Rini tr...@ti.com wrote: What do we want to do about the USB issue (on ARM platforms, with EHCI, with 32byte alignment requirements, if dcache isn't build-time disabled, USB is unusable, a change from previous releases), for this

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

2012-07-10 Thread Ilya Yanok
Hi Marek, On Tue, Jul 10, 2012 at 6:17 AM, Marek Vasut marek.va...@gmail.com wrote: Well, of course we need proper alignment for cache stuff (well, actually we can skip this alignment thing for the buffer we will flush as long as all buffers we are going to invalidate are properly

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

2012-07-10 Thread Michal Simek
On 07/09/2012 11:22 PM, Simon Glass wrote: Hi Michal, On Mon, Jul 9, 2012 at 2:20 AM, Michal Simek mon...@monstr.eu mailto:mon...@monstr.eu wrote: Return value to find out if un/registration was succesful. Signed-off-by: Michal Simek mon...@monstr.eu mailto:mon...@monstr.eu ---

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

2012-07-10 Thread Tom Rini
On Tue, Jul 10, 2012 at 12:46:21PM +0400, Ilya Yanok wrote: Hi guys, On Tue, Jul 10, 2012 at 12:37 PM, Tom Rini tr...@ti.com wrote: What do we want to do about the USB issue (on ARM platforms, with EHCI, with 32byte alignment requirements, if dcache isn't build-time

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

2012-07-10 Thread Michal Simek
On 07/09/2012 11:23 PM, Simon Glass wrote: On Mon, Jul 9, 2012 at 2:20 AM, Michal Simek mon...@monstr.eu mailto:mon...@monstr.eu wrote: Just coding style cleanup. Remove unneeded externs. Signed-off-by: Michal Simek mon...@monstr.eu mailto:mon...@monstr.eu Acked-by: Simon Glass

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

2012-07-10 Thread Michal Simek
On 07/09/2012 11:26 PM, Simon Glass wrote: Hi Michal, On Mon, Jul 9, 2012 at 2:20 AM, Michal Simek mon...@monstr.eu mailto:mon...@monstr.eu wrote: Read configuration from DTB. Signed-off-by: Michal Simek mon...@monstr.eu mailto:mon...@monstr.eu ---

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

2012-07-10 Thread Michal Simek
On 07/09/2012 11:32 PM, Simon Glass wrote: Hi Michal, On Mon, Jul 9, 2012 at 2:20 AM, Michal Simek mon...@monstr.eu mailto:mon...@monstr.eu wrote: Read configuration from DTB. Signed-off-by: Michal Simek mon...@monstr.eu mailto:mon...@monstr.eu ---

Re: [U-Boot] [PATCH] i2c: deblock i2c bus also if accessed before realocation

2012-07-10 Thread Holger Brunck
Hi Heiko, On 06/28/2012 04:30 PM, Holger Brunck wrote: If we switch to a different i2c bus in changing the mux config for the i2c mux, we have to be sure to deblock the bus also before realocation. Signed-off-by: Holger Brunck holger.bru...@keymile.com cc: Heiko Schocher h...@denx.de cc:

Re: [U-Boot] [PATCH] i2c: deblock i2c bus also if accessed before realocation

2012-07-10 Thread Heiko Schocher
Hello Holger, On 10.07.2012 11:25, Holger Brunck wrote: Hi Heiko, On 06/28/2012 04:30 PM, Holger Brunck wrote: If we switch to a different i2c bus in changing the mux config for the i2c mux, we have to be sure to deblock the bus also before realocation. Signed-off-by: Holger

Re: [U-Boot] [STATUS] v2012.07-rc1 is out - release date July 23

2012-07-10 Thread Marek Vasut
Dear Wolfgang Denk, Hi everybody, this is to let you know that the v2012.07-rc1 prerelease is out. Please help testing, so we can fix the remaining issues before the release, which I decided to shift by a week, i. e. the new schedule for the release is July 23. Please also note that

[U-Boot] [PATCH] fdt: Include arch specific gpio.h

2012-07-10 Thread Michal Simek
Also include arch specific gpio.h which can contain gpio function implementation. Signed-off-by: Michal Simek mon...@monstr.eu CC: Simon Glass s...@chromium.org --- lib/fdtdec.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lib/fdtdec.c b/lib/fdtdec.c index

[U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Michal Simek
Hi Simon, Wolfgang and others, just want to open new topic about FDT driver initialization function declaration. There are some drivers which can be simple move to fdt initialization. I have in my mind ethernet drivers and then systemace (I have ported it). Ethernet drivers use

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

2012-07-10 Thread Prafulla Wadaskar
-Original Message- From: Detlev Zundel [mailto:d...@denx.de] Sent: 09 July 2012 20:02 To: Prafulla Wadaskar Cc: Valentin Longchamp; u-boot@lists.denx.de; holger.bru...@keymile.com Subject: Re: [U-Boot] [PATCH 12/20] arm/km: add support for external switchconfiguration Hi

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

2012-07-10 Thread Lukasz Majewski
Hi Tom, On Wed, Jul 04, 2012 at 05:48:39PM +0200, Lukasz Majewski wrote: Support for MMC storage devices to work with DFU framework. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Marek Vasut ma...@denx.de [snip] +

[U-Boot] [PATCH] net: fix typo in arp clean up

2012-07-10 Thread Mike Frysinger
The clean up patch missed an , so we end up passing an int rather than a pointer to the sprintf function. arp.c: In function 'ArpReceive': arp.c:197: warning: format '%p' expects type 'void *', but argument 3 has type 'int' Signed-off-by: Mike Frysinger vap...@gentoo.org --- net/arp.c |2

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

2012-07-10 Thread Ilya Yanok
On Tue, Jul 10, 2012 at 1:34 PM, Marek Vasut marek.va...@gmail.com wrote: aligned to 16 bytes for arch with 16 byte cachelines. Yes, and this is exactly what we need. ALLOC_CACHE_ALIGN_BUFFER(u32, tmpbuf, 1); this stuff maybe? It'll be It isn't, EHCI needs it aligned on 32 byte

Re: [U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Wolfgang Denk
Dear Michal, In message 4ffc02bd.7060...@monstr.eu you wrote: just want to open new topic about FDT driver initialization function declaration. There are some drivers which can be simple move to fdt initialization. I have in my mind ethernet drivers and then systemace (I have ported it).

Re: [U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Michal Simek
Dear Wolfgang, On 07/10/2012 01:54 PM, Wolfgang Denk wrote: Dear Michal, In message4ffc02bd.7060...@monstr.eu you wrote: just want to open new topic about FDT driver initialization function declaration. There are some drivers which can be simple move to fdt initialization. I have in my

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

2012-07-10 Thread Greg Ungerer
On 07/10/2012 07:58 AM, Albert ARIBAUD wrote: Hi Andreas, On Fri, 06 Jul 2012 12:25:00 +0200, Andreas Bießmann andreas.de...@googlemail.com wrote: Dear Yann Vernier, On 06.07.2012 11:14, Yann Vernier wrote: On Friday 06 July 2012 10:43:40 you wrote:

Re: [U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Marek Vasut
Dear Michal Simek, Dear Wolfgang, On 07/10/2012 01:54 PM, Wolfgang Denk wrote: Dear Michal, In message4ffc02bd.7060...@monstr.eu you wrote: just want to open new topic about FDT driver initialization function declaration. There are some drivers which can be simple move to fdt

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

2012-07-10 Thread Zhong Hongbo
On 07/10/2012 08:29 PM, Zhong Hongbo wrote: On 07/10/2012 06:19 AM, Scott Wood wrote: 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

Re: [U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Wolfgang Denk
Dear Michal Simek, In message 4ffc1ef8.9060...@monstr.eu you wrote: The hardest part I have identify on microblaze was about u-boot variables. Because based on information from device-tree you can choose where variables should be stored and also this memory should be accessible before u-boot

Re: [U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Marek Vasut
Dear Michal Simek, Hi Simon, Wolfgang and others, just want to open new topic about FDT driver initialization function declaration. Ok, my few nits (with consideration of the DM stuff) ... 1) Parsing the DTB is slowish 2) The DT can bind nicely with the DM, but if you could investigate

Re: [U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Marek Vasut
Dear Wolfgang Denk, Dear Michal Simek, In message 4ffc1ef8.9060...@monstr.eu you wrote: The hardest part I have identify on microblaze was about u-boot variables. Because based on information from device-tree you can choose where variables should be stored and also this memory should be

Re: [U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Simon Glass
Hi, On Tue, Jul 10, 2012 at 3:05 PM, Marek Vasut marek.va...@gmail.com wrote: Dear Michal Simek, Hi Simon, Wolfgang and others, just want to open new topic about FDT driver initialization function declaration. Ok, my few nits (with consideration of the DM stuff) ... 1) Parsing the

Re: [U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Simon Glass
Hi Michal, On Tue, Jul 10, 2012 at 12:23 PM, Michal Simek mon...@monstr.eu wrote: Hi Simon, Wolfgang and others, just want to open new topic about FDT driver initialization function declaration. There are some drivers which can be simple move to fdt initialization. I have in my mind

Re: [U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Michal Simek
On 07/10/2012 03:00 PM, Marek Vasut wrote: Dear Michal Simek, Dear Wolfgang, On 07/10/2012 01:54 PM, Wolfgang Denk wrote: Dear Michal, In message4ffc02bd.7060...@monstr.eu you wrote: just want to open new topic about FDT driver initialization function declaration. There are some drivers

Re: [U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Michal Simek
On 07/10/2012 03:12 PM, Marek Vasut wrote: Dear Wolfgang Denk, Dear Michal Simek, In message4ffc1ef8.9060...@monstr.eu you wrote: The hardest part I have identify on microblaze was about u-boot variables. Because based on information from device-tree you can choose where variables should be

Re: [U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Wolfgang Denk
Dear Marek, In message 201207101505.26919.marek.va...@gmail.com you wrote: Wolfgang, is it possible to somehow tag the DM patches so we can later collect these tagged patches to prove we did the amount of work to the university committee? Or maybe simple dm: in the subject will suffice.

Re: [U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Michal Simek
Dear Wolfgang, On 07/10/2012 03:03 PM, Wolfgang Denk wrote: Dear Michal Simek, In message4ffc1ef8.9060...@monstr.eu you wrote: The hardest part I have identify on microblaze was about u-boot variables. Because based on information from device-tree you can choose where variables should be

Re: [U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Michal Simek
On 07/10/2012 03:18 PM, Simon Glass wrote: Hi Michal, On Tue, Jul 10, 2012 at 12:23 PM, Michal Simek mon...@monstr.eu mailto:mon...@monstr.eu wrote: Hi Simon, Wolfgang and others, just want to open new topic about FDT driver initialization function declaration. There are

Re: [U-Boot] Issue with running commands

2012-07-10 Thread Sughosh Ganu
On Tue Jul 03, 2012 at 12:54:04AM +0530, Sughosh Ganu wrote: hi, While testing on hawkboard with the latest commit, i hit an issue of commands not being accepted. hawkboard reset Unknown command '�' - try 'help' hawkboard Running git bisect showed that this is caused due to commit

Re: [U-Boot] [U-Boot-DM] FDT driver initialization function declaration

2012-07-10 Thread Marek Vasut
Dear Simon Glass, Hi, On Tue, Jul 10, 2012 at 3:05 PM, Marek Vasut marek.va...@gmail.com wrote: Dear Michal Simek, Hi Simon, Wolfgang and others, just want to open new topic about FDT driver initialization function declaration. Ok, my few nits (with consideration of the

Re: [U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Marek Vasut
Dear Michal Simek, [...] Michal, can you try investigating how will the DT probing intertwine with the DM? Firstly I need to understand what you are trying to achieve and how. Then if I have time I can look at how DT probing can be added to it. But I think that there is good example

Re: [U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Marek Vasut
Dear Michal Simek, Dear Wolfgang, On 07/10/2012 03:03 PM, Wolfgang Denk wrote: Dear Michal Simek, In message4ffc1ef8.9060...@monstr.eu you wrote: The hardest part I have identify on microblaze was about u-boot variables. Because based on information from device-tree you can choose

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

2012-07-10 Thread Scott Wood
On 07/10/2012 08:00 AM, Zhong Hongbo wrote: On 07/10/2012 08:29 PM, Zhong Hongbo wrote: On 07/10/2012 06:19 AM, Scott Wood wrote: On 07/07/2012 04:57 AM, Zhong Hongbo wrote: @@ -89,15 +96,16 @@ static void s3c_nand_select_chip(struct mtd_info *mtd, int chip) */ static void

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

2012-07-10 Thread Marek Vasut
Dear Ilya Yanok, On Tue, Jul 10, 2012 at 1:34 PM, Marek Vasut marek.va...@gmail.com wrote: aligned to 16 bytes for arch with 16 byte cachelines. Yes, and this is exactly what we need. ALLOC_CACHE_ALIGN_BUFFER(u32, tmpbuf, 1); this stuff maybe? It'll be It isn't, EHCI

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

2012-07-10 Thread Joe Hershberger
Hi Timur Tabi, On Mon, Jul 9, 2012 at 1:52 PM, Timur Tabi ti...@freescale.com wrote: 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 ti...@freescale.com Acked-by: Nobuhiro

[U-Boot] [PATCH] beagle: only call DSS code when #defined CONFIG_VIDEO_OMAP3

2012-07-10 Thread Peter Meerwald
From: Peter Meerwald p.meerw...@bct-electronic.com Signed-off-by: Peter Meerwald p.meerw...@bct-electronic.com --- board/ti/beagle/beagle.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c index a02a350..f13f1be

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

2012-07-10 Thread Timur Tabi
Joe Hershberger wrote: diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index eee41d7..5700552 100644 --- a/drivers/net/fec_mxc.c +++ b/drivers/net/fec_mxc.c @@ -510,7 +510,13 @@ static int fec_open(struct eth_device *edev) fec_eth_phy_config(edev); if

Re: [U-Boot] Dreamplug v10 uboot

2012-07-10 Thread Steven McGrath
Jason, These instructions are great, however they don't work for the newer v10 Dreamplugs. I would be happy to lend my v10 Dreamplug to the cause to get a workable U-Boot for it. -- Steven McGrath Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Monday, July 2, 2012 at 1:20 PM,

Re: [U-Boot] Dreamplug v10 uboot

2012-07-10 Thread Luka Perkov
Hi Steven, On Tue, Jul 10, 2012 at 10:57:53AM -0500, Steven McGrath wrote: These instructions are great, however they don't work for the newer v10 Dreamplugs. I would be happy to lend my v10 Dreamplug to the cause to get a workable U-Boot for it. Can you please try with kwboot? It's in

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

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

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

2012-07-10 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.

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

2012-07-10 Thread Tom Rini
On Tue, Jul 10, 2012 at 10:00:17AM -0700, 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.n

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

2012-07-10 Thread Allen Martin
On Tue, Jul 10, 2012 at 10:25:05AM -0700, Tom Rini wrote: * PGP Signed by an unknown key On Tue, Jul 10, 2012 at 10:00:17AM -0700, 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.

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

2012-07-10 Thread Tom Rini
On Tue, Jul 10, 2012 at 10:44:33AM -0700, Allen Martin wrote: On Tue, Jul 10, 2012 at 10:25:05AM -0700, Tom Rini wrote: * PGP Signed by an unknown key On Tue, Jul 10, 2012 at 10:00:17AM -0700, Allen Martin wrote: Disable sibling call optimization based on binutils version. This is

Re: [U-Boot] RMLL/LSM 2012 - U-Boot Developer's Meeting

2012-07-10 Thread Marek Vasut
Dear Wolfgang Denk, Hi all, this is just a reminder for the first U-Boot Developer's Meeting which takes place next week in the context of the 13es Rencontres Mondiales du Logiciel Libre (RMLL) aka 13th Libre Software Meeting (LSM) in Geneva. So far, the following events are scheduled:

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

2012-07-10 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 bytes

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

2012-07-10 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 the

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

2012-07-10 Thread Allen Martin
On Tue, Jul 10, 2012 at 10:50:34AM -0700, Tom Rini wrote: On Tue, Jul 10, 2012 at 10:44:33AM -0700, Allen Martin wrote: On Tue, Jul 10, 2012 at 10:25:05AM -0700, Tom Rini wrote: * PGP Signed by an unknown key On Tue, Jul 10, 2012 at 10:00:17AM -0700, Allen Martin wrote: Disable

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

2012-07-10 Thread Tom Rini
On Tue, Jul 10, 2012 at 11:04:50AM -0700, Allen Martin wrote: On Tue, Jul 10, 2012 at 10:50:34AM -0700, Tom Rini wrote: On Tue, Jul 10, 2012 at 10:44:33AM -0700, Allen Martin wrote: On Tue, Jul 10, 2012 at 10:25:05AM -0700, Tom Rini wrote: * PGP Signed by an unknown key On Tue,

Re: [U-Boot] [PATCH] beagle: only call DSS code when #defined CONFIG_VIDEO_OMAP3

2012-07-10 Thread Tom Rini
On Tue, Jul 10, 2012 at 06:07:34PM +0200, Peter Meerwald wrote: From: Peter Meerwald p.meerw...@bct-electronic.com Signed-off-by: Peter Meerwald p.meerw...@bct-electronic.com So, why? Are you doing custom builds for beagleboard, but with the dss stuff removed? To try and make beagle an

Re: [U-Boot] Dreamplug v10 uboot

2012-07-10 Thread Steven McGrath
Luka, Working on it. Trying to get a workable build environment at the moment. I have been using binary u-boot images and do not have a build environment for u-boot. Trying to build one on Fedora, however not seeing any good docs on how to do it . -- Steven McGrath Sent with Sparrow

Re: [U-Boot] [PATCH] beagle: only call DSS code when #defined CONFIG_VIDEO_OMAP3

2012-07-10 Thread Peter Meerwald
So, why? Are you doing custom builds for beagleboard, but with the dss stuff removed? To try and make beagle an easier starting point for custom hardware? Thanks! I consider a CONFIG #define which only works when defined a bug thx, p. -- Peter Meerwald +43-664-218 (mobile)

Re: [U-Boot] [PATCH] net: bugfix: NetSetTimeout assumes CONFIG_SYS_HZ=1000

2012-07-10 Thread Joe Hershberger
Hi Wolfgang, On Sun, Jul 8, 2012 at 2:58 PM, Wolfgang Denk w...@denx.de wrote: Dear Tetsuyuki Kobayashi, In message 4fe85b87.6090...@kmckk.co.jp you wrote: NetSetTimeout sets incorrect value to timeDelta when CONFIG_SYS_HZ != 1000. Your patch is OK per se, but please note that it is a

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

2012-07-10 Thread Joe Hershberger
Hi Timur Tabi, On Tue, Jul 10, 2012 at 11:15 AM, Timur Tabi ti...@freescale.com wrote: Joe Hershberger wrote: diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index eee41d7..5700552 100644 --- a/drivers/net/fec_mxc.c +++ b/drivers/net/fec_mxc.c @@ -510,7 +510,13 @@ static int

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

2012-07-10 Thread Timur Tabi
Joe Hershberger wrote: @@ -384,7 +387,11 @@ static int fm_eth_open(struct eth_device *dev, bd_t *bd) fmc_tx_port_graceful_stop_disable(fm_eth); #ifdef CONFIG_PHYLIB - phy_startup(fm_eth-phydev); + ret = phy_startup(fm_eth-phydev); + if (ret) { +

Re: [U-Boot] [PATCH RESEND] tftp: fix type of block arg to store_block

2012-07-10 Thread Joe Hershberger
Hi Jayachandran C, On Tue, Jul 10, 2012 at 1:18 AM, Jayachandran C jayachandr...@netlogicmicro.com wrote: [Sending again, probably for the last time. This is a simple fix for an obvious issue, please merge if you are convinced :) ] The block argument for store_block can be -1 when the tftp

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

2012-07-10 Thread Stephan Linz
Am Dienstag, den 10.07.2012, 10:16 +0200 schrieb Michal Simek: On 07/09/2012 09:06 PM, Stephan Linz wrote: 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

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

2012-07-10 Thread Joe Hershberger
On Tue, Jul 10, 2012 at 1:35 PM, Timur Tabi ti...@freescale.com wrote: Joe Hershberger wrote: diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c index bb57e4d..268d884 100644 --- a/drivers/net/sh_eth.c +++ b/drivers/net/sh_eth.c @@ -415,7 +415,11 @@ static int sh_eth_config(struct

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

2012-07-10 Thread Sughosh Ganu
hi Mikhail, On Mon Jul 09, 2012 at 10:53:39PM +0400, 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) I have not tested this patch, will do so sometime this week. I

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

2012-07-10 Thread Sughosh Ganu
hi Mikhail, On Mon Jul 09, 2012 at 10:53:40PM +0400, Mikhail Kshevetskiy wrote: 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

Re: [U-Boot] [PATCH] net: fix typo in arp clean up

2012-07-10 Thread Joe Hershberger
Hi Mike, On Tue, Jul 10, 2012 at 5:41 AM, Mike Frysinger vap...@gentoo.org wrote: The clean up patch missed an , so we end up passing an int rather than a pointer to the sprintf function. arp.c: In function 'ArpReceive': arp.c:197: warning: format '%p' expects type 'void *', but argument 3

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

2012-07-10 Thread Joe Hershberger
Hi Wolfgang, Please pull a few bug fixes. The following changes since commit 211e47549b668c7cdd8658c0413a272f0d0495d4: Wolfgang Denk (1): Prepare v2012.07-rc1 are available in the git repository at: git://git.denx.de/u-boot-net.git master Mike Frysinger (1): net: fix typo in

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

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

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

2012-07-10 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.

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

2012-07-10 Thread Hornung, Michael
On Mon, Jul 9, 2012 at 9:45 PM, Fabio Estevam feste...@gmail.com wrote: Hi Michael, Hi Fabio, On Mon, Jul 9, 2012 at 9:57 AM, Hornung, Michael mhorn...@init-ka.de wrote: +++ b/board/freescale/mx35pdk/imximage.cfg +BOOT_FROM spi Please see the Freescale U-boot, you missed the

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

2012-07-10 Thread Joe Hershberger
Hi Prafulla, On Mon, Jul 9, 2012 at 3:42 PM, Prafulla Wadaskar prafu...@marvell.com wrote: -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: [U-Boot] [PATCH RESEND] tftp: fix type of block arg to store_block

2012-07-10 Thread Wolfgang Denk
Dear Joe, In message CANr=Z=YAheDrCk=r5yza8ig9fzax+7gb86huch5mnar_lro...@mail.gmail.com you wrote: Something about your email is not being pulled into patchwork. Perhaps it hasn't made it past a list moderator? List moderation has nothing to do with that. Patchwork is just another e-mail

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

2012-07-10 Thread Mikhail Kshevetskiy
On Wed, 11 Jul 2012 00:09:06 +0530 Sughosh Ganu urwithsugh...@gmail.com wrote: hi Mikhail, On Mon Jul 09, 2012 at 10:53:39PM +0400, 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

Re: [U-Boot] [PATCH RESEND] tftp: fix type of block arg to store_block

2012-07-10 Thread Joe Hershberger
Hi Wolfgang, On Tue, Jul 10, 2012 at 2:39 PM, Wolfgang Denk w...@denx.de wrote: Dear Joe, In message CANr=Z=YAheDrCk=r5yza8ig9fzax+7gb86huch5mnar_lro...@mail.gmail.com you wrote: Something about your email is not being pulled into patchwork. Perhaps it hasn't made it past a list

Re: [U-Boot] Dreamplug v10 uboot

2012-07-10 Thread Steven McGrath
I have everything working via openocd I compiled a U-Boot for Dreamplug on a Raspberry Pi and noticed that it isn't configured to support the V10 Dreamplugs. I'm compiling another version as we speak for the guru plug board and will report back on that one. The V10s don't have SPI/NOR flash

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

2012-07-10 Thread Simon Glass
Hi Michal, On Tue, Jul 10, 2012 at 11:07 AM, Michal Simek mon...@monstr.eu wrote: On 07/09/2012 11:26 PM, Simon Glass wrote: Hi Michal, On Mon, Jul 9, 2012 at 2:20 AM, Michal Simek mon...@monstr.eu mailto: mon...@monstr.eu wrote: Read configuration from DTB. Signed-off-by:

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

2012-07-10 Thread Simon Glass
Hi Mich On Tue, Jul 10, 2012 at 11:34 AM, Michal Simek mon...@monstr.eu wrote: On 07/09/2012 11:32 PM, Simon Glass wrote: Hi Michal, On Mon, Jul 9, 2012 at 2:20 AM, Michal Simek mon...@monstr.eu mailto: mon...@monstr.eu wrote: Read configuration from DTB. Signed-off-by: Michal

Re: [U-Boot] [PATCH] fdt: Include arch specific gpio.h

2012-07-10 Thread Simon Glass
Hi Michal, On Tue, Jul 10, 2012 at 11:56 AM, Michal Simek mon...@monstr.eu wrote: Also include arch specific gpio.h which can contain gpio function implementation. Signed-off-by: Michal Simek mon...@monstr.eu CC: Simon Glass s...@chromium.org --- lib/fdtdec.c |1 + 1 files changed,

Re: [U-Boot] [PATCH v4] powerpc/p1022ds: Add sdcard and spi boot support to P1022DS

2012-07-10 Thread Andy Fleming
On Mon, May 7, 2012 at 8:41 AM, Dirk Eibach eib...@gdsys.de wrote: Signed-off-by: Dirk Eibach eib...@gdsys.de Cc: Timur Tabi ti...@freescale.com --- Changes in v2: - add Cc - split up original patch series Changes in v3: - use clrsetbits() instead of clrbits()/setbits() - remove dead code

Re: [U-Boot] [PATCH 1/2] NET: NE2000: Cleanup IO accessors

2012-07-10 Thread Joe Hershberger
Hi Marek, On Fri, Dec 16, 2011 at 2:36 PM, Marek Vasut marek.va...@gmail.com wrote: On Friday 16 December 2011 13:13:33 Marek Vasut wrote: On Friday 16 December 2011 12:33:53 Mike Frysinger wrote: rename ISA_OFFSET to CONFIG_NE2000_IO_OFFSET, then move the 2 to CONFIG_NE2000_IO_STRIDE,

  1   2   >