Re: [U-Boot] [PATCH V2] imx: mmc: access mxcmmc from mx31 boards

2011-11-02 Thread Helmut Raiger
On 10/27/2011 02:19 PM, Helmut Raiger wrote: > This patch modifies mxcmmc.c to be used > not only by i.MX27 but also by i.MX31 boards. > Both use the same SD controller, but have different > clock set-ups. > The i.MX27 imx_get_XXXclock functions are made static to > generic.c and a public mxc_get_c

[U-Boot] [BUG] cfi_flash can't work correctly on latest uboot

2011-11-02 Thread Bob Liu
Hi, folks I think this patch make cfi_flash can't work correctly. http://git.denx.de/?p=u-boot.git;a=commitdiff;h=df4e813b72bf07d9026b00455f5e7dffd694ae48 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash.c @@ -1426,6 +1426,11 @@ int flash_real_protect (flash_info_t * info, long sector, i

Re: [U-Boot] [PATCH v5] MPC8360EMDS: 512MB DDR and 33.33MHz oscillator support

2011-11-02 Thread Huang Changming-R66093
Thanks and Best Regards Jerry Huang > -Original Message- > From: Tabi Timur-B04825 > Sent: Wednesday, November 02, 2011 11:25 AM > To: Huang Changming-R66093 > Cc: Phillips Kim-R1AAHA; u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH v5] MPC8360EMDS: 512MB DDR and 33.33MHz > oscillat

[U-Boot] malloc issue while migrating from 2010.03 to 2011.06 U-boot

2011-11-02 Thread Vinay Hegde
Hi All, I am trying to port one existing platform (which uses 2010.03 U-Boot) to 2011.06 U-Boot. I have an issue while env_relocate. The malloc fails in himport_r function. I tried multiple things and quite not sure whats going on. From the boot log (till env_relocate) things seem to be fine. I

Re: [U-Boot] [PATCH] mx31pdk: Enable D and I caches

2011-11-02 Thread Stefano Babic
On 11/01/2011 07:16 PM, Fabio Estevam wrote: > Enable D and I caches on mx31pdk. > > Signed-off-by: Fabio Estevam > --- > Stefano, > > You explained that enabling cache may cause some drivers like FEC and MMC not > to work properly. > As mx31pdk does not have FEC or MMC driver I thought this sh

Re: [U-Boot] [PATCH 1/2] PXA: Add MMC driver using the generic MMC framework

2011-11-02 Thread Igor Grinberg
On 11/01/11 14:20, Marek Vasut wrote: >> Hi Marek, > > Hi Igor, >> >> On 08/29/11 01:02, Marek Vasut wrote: >>> Signed-off-by: Marek Vasut >>> --- >>> >>> arch/arm/include/asm/arch-pxa/regs-mmc.h | 155 +++ >>> drivers/mmc/Makefile |1 + >>> drivers/mmc/pxa_mmc_g

Re: [U-Boot] [PATCH 2/2] ARM: add support for LaCie 2Big Network v2

2011-11-02 Thread Simon Guinot
Hi Prafulla, On Tue, Nov 01, 2011 at 11:25:21PM -0700, Prafulla Wadaskar wrote: > > > > -Original Message- > > From: Simon Guinot [mailto:si...@sequanux.org] > > Sent: Tuesday, November 01, 2011 7:16 PM > > To: Prafulla Wadaskar > > Cc: u-boot@lists.denx.de; Simon Guinot > > Subject: [PA

Re: [U-Boot] [PATCH 1/2 V2] PXA: Add MMC driver using the generic MMC framework

2011-11-02 Thread Igor Grinberg
On 11/02/11 00:58, Marek Vasut wrote: > Signed-off-by: Marek Vasut > --- > arch/arm/include/asm/arch-pxa/regs-mmc.h | 154 +++ > drivers/mmc/Makefile |1 + > drivers/mmc/pxa_mmc_gen.c| 442 > ++ > 3 files changed, 597

Re: [U-Boot] [PATCH 2/4] PXA: Rework start.S to be closer to other ARMs

2011-11-02 Thread Stefan Herbrechtsmeier
Am 31.10.2011 14:23, schrieb Marek Vasut: > The start.S on PXA was very obscure. This reworks it back to be close to > arm1136 > start.S and others. > > Signed-off-by: Marek Vasut > Cc: Albert ARIBAUD > --- > arch/arm/cpu/pxa/cpu.c | 16 ++ > arch/arm/cpu/pxa/start.S | 382

Re: [U-Boot] [PATCH 13/14] ehci-omap: driver for EHCI host on OMAP3

2011-11-02 Thread Igor Grinberg
Hi Ilya, This is great! Thanks. Couple of comments below On 11/02/11 01:16, Ilya Yanok wrote: > Taken from Beagle code. Tested on mcx board (AM3517-based). > > Signed-off-by: Ilya Yanok > --- > > Please note that I wasn't able to test this patch on Beagle. Testers > are welcome! Also we have

Re: [U-Boot] [PATCH 14/14] mcx: support for HTKW mcx board

2011-11-02 Thread Igor Grinberg
Hi Ilya, On 11/02/11 01:16, Ilya Yanok wrote: > This patch adds support for the HTKW mcx AM3517-based board. > Serial, Ethernet, NAND, MMC, RTC, EHCI USB host and both > NAND and MMC SPLs are supported. > > Requires updated mach-types file. > > Signed-off-by: Ilya Yanok > --- > MAINTAINERS

Re: [U-Boot] [PATCH v2] at91: Add support for Bluewater Systems Snapper 9G45 module

2011-11-02 Thread Igor Grinberg
Hi Simon, On 11/01/11 17:22, Simon Glass wrote: > Snapper 9G45 is a ARM9-based CPU module with 1GB NAND and 128MB > DDR SDRAM. This patch includes NAND and Ethernet support. > > Signed-off-by: Simon Glass > --- > Changes in v2: > - Removed unneeded i2c config > - Added machine type define > >

Re: [U-Boot] [PATCH] ulpi: add generic ULPI support header file

2011-11-02 Thread Igor Grinberg
Hi Jana, On 11/01/11 21:12, Jana Rapava wrote: > Add ULPI header file needed by Efika USB support patchset and generic > ULPI support patch, which is to be posted soon. > > Signed-off-by: Jana Rapava > Cc: Marek Vasut > Cc: Remy Bohmer > Cc: Stefano Babic > Cc: Igor Grinberg > --- > include

Re: [U-Boot] [PATCH v7 4/4] usb: add USB support for Efika

2011-11-02 Thread Igor Grinberg
Hi Jana, On 11/01/11 21:24, Jana Rapava wrote: > This commit adds USB support for EfikaMX and EfikaSB. > > Signed-off-by: Jana Rapava > Signed-off-by: Marek Vasut > Cc: Remy Bohmer > Cc: Stefano Babic > > Acked-by: Marek Vasut > --- > Changes for v2: > - introduce temporary variable in

[U-Boot] [PATCH V4] Ethernut 5 board support

2011-11-02 Thread Tim Schendekehl
Add support for the Ethernut 5 open hardware design, based on Atmel's AT91SAM9XE512 SoC. V4 - Fix several coding style issues. - Move machine type to config file. - Remove use of CONFIG_ATMEL_LEGACY. Signed-off-by: Tim Schendekehl --- MAINTAINERS |4 + board

Re: [U-Boot] [PATCH 1/2] nand_spl_simple: Add omap3 DMA usage to SPL

2011-11-02 Thread Simon Schwarz
Hi Scott On 10/31/2011 10:22 PM, Scott Wood wrote: > What would the semantics of a generic dma_wait_for_transfer() be? > > I just don't see how this is generic at all, whatever the name. > Hm. It would be a check if the given DMA channel is active - and if it is busy waiting for it. So, what w

[U-Boot] [PATCH] ARM: dig297: Define MACH_TYPE_OMAP3_CPS for DIG297 board

2011-11-02 Thread Luca Ceresoli
This was dropped in the latest mach-types sync (47af6f61bcd9) because it is not mainlined in Linux. Signed-off-by: Luca Ceresoli Cc: Sandeep Paulraj Cc: Albert Aribaud Cc: Wolfgang Denk --- include/configs/dig297.h |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a

[U-Boot] [PATCH 2/2] ARM: dig297: define CONFIG_MACH_TYPE

2011-11-02 Thread Luca Ceresoli
Signed-off-by: Luca Ceresoli Cc: Sandeep Paulraj Cc: Albert Aribaud Cc: Wolfgang Denk --- board/comelit/dig297/dig297.c |2 -- include/configs/dig297.h |1 + 2 files changed, 1 insertions(+), 2 deletions(-) diff --git a/board/comelit/dig297/dig297.c b/board/comelit/dig297/dig297.

[U-Boot] Not able read more than 12kb with fatload command

2011-11-02 Thread sadashiva reddy
*Hi Sir,* ** *I am able read 12kb size into my memory using below command * ** *=> fatload usb 0:1 40 debug.txt 3000 reading debug.txt* *12288 bytes read* ** * but I give same command even one byte more the board crashes and restarts.* ** *suppose if I given * => fatload usb 0:1 40

Re: [U-Boot] [PATCH] ARM: dig297: Define MACH_TYPE_OMAP3_CPS for DIG297 board

2011-11-02 Thread Igor Grinberg
Hi Luca, On 11/02/11 11:40, Luca Ceresoli wrote: > This was dropped in the latest mach-types sync (47af6f61bcd9) because it is > not mainlined in Linux. > > Signed-off-by: Luca Ceresoli > Cc: Sandeep Paulraj > Cc: Albert Aribaud > Cc: Wolfgang Denk > --- > include/configs/dig297.h |7 +++

Re: [U-Boot] [PATCH v5 1/3] usb:gadget:s5p USB Device Controller (UDC) implementation

2011-11-02 Thread Lukasz Majewski
On Thu, 27 Oct 2011 10:36:46 +0200 Lukasz Majewski wrote: > This commit provides UDC driver support for Samsung's SoC > family of processors. > > Signed-off-by: Lukasz Majewski > Signed-off-by: Marek Szyprowski > Signed-off-by: Kyungmin Park > Cc: Minkyu Kang > Cc: Remy Bohmer > --- > Chang

Re: [U-Boot] [PATCH] ulpi: add generic ULPI support header file

2011-11-02 Thread Marek Vasut
Hi Igor, > Hi Jana, > > On 11/01/11 21:12, Jana Rapava wrote: > > Add ULPI header file needed by Efika USB support patchset and generic > > ULPI support patch, which is to be posted soon. > > > > Signed-off-by: Jana Rapava > > Cc: Marek Vasut > > Cc: Remy Bohmer > > Cc: Stefano Babic > > Cc:

Re: [U-Boot] [PATCH] mmc: mv_sdhci: Fix host version read for Armada100

2011-11-02 Thread Marek Vasut
> - "Marek Vasut" wrote: > > > - "Marek Vasut" wrote: > > > > > sdhci_readw does not work for host version read in Armada100 > > [...] > > Well such crippled hardware might appear somewhere else too, so yes. > > But still, > > it's surprising it's only one register, really. Can you poin

Re: [U-Boot] [PATCH 2/4] PXA: Rework start.S to be closer to other ARMs

2011-11-02 Thread Marek Vasut
> Am 31.10.2011 14:23, schrieb Marek Vasut: > > The start.S on PXA was very obscure. This reworks it back to be close to > > arm1136 start.S and others. > > > > Signed-off-by: Marek Vasut > > Cc: Albert ARIBAUD > > --- > > > > arch/arm/cpu/pxa/cpu.c | 16 ++ > > arch/arm/cpu/pxa/start.S |

Re: [U-Boot] [PATCH 1/2 V2] PXA: Add MMC driver using the generic MMC framework

2011-11-02 Thread Marek Vasut
> On 11/02/11 00:58, Marek Vasut wrote: > > Signed-off-by: Marek Vasut > > --- > > > > arch/arm/include/asm/arch-pxa/regs-mmc.h | 154 +++ > > drivers/mmc/Makefile |1 + > > drivers/mmc/pxa_mmc_gen.c| 442 > > ++ 3 fil

[U-Boot] [PATCH 1/2 V3] PXA: Add MMC driver using the generic MMC framework

2011-11-02 Thread Marek Vasut
Signed-off-by: Marek Vasut --- arch/arm/include/asm/arch-pxa/regs-mmc.h | 154 +++ drivers/mmc/Makefile |1 + drivers/mmc/pxa_mmc_gen.c| 442 ++ 3 files changed, 597 insertions(+), 0 deletions(-) create mode 100644 arc

Re: [U-Boot] [PATCH] [x86] Remove the prototype for the unused function board_init

2011-11-02 Thread Graeme Russ
On 29/10/11 09:38, Gabe Black wrote: > From: Gabe Black > > Signed-off-by: Gabe Black > --- > arch/x86/include/asm/u-boot-x86.h |1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > > diff --git a/arch/x86/include/asm/u-boot-x86.h > b/arch/x86/include/asm/u-boot-x86.h > index accc8fa

Re: [U-Boot] [PATCH v1] Fix a compiler warning in arch/x86/lib/realmode.c

2011-11-02 Thread Graeme Russ
On 21/10/11 15:29, Gabe Black wrote: > Ensure that the value being passed to a %d format specifier is of type > int. > > > Signed-off-by: Gabe Black > --- > arch/x86/lib/realmode.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > Applied to u-boot-x86 (with minor tweak to subje

Re: [U-Boot] [PATCH 2/4] PXA: Rework start.S to be closer to other ARMs

2011-11-02 Thread Stefan Herbrechtsmeier
Am 02.11.2011 11:25, schrieb Marek Vasut: >> Am 31.10.2011 14:23, schrieb Marek Vasut: >>> The start.S on PXA was very obscure. This reworks it back to be close to >>> arm1136 start.S and others. >>> >>> Signed-off-by: Marek Vasut >>> Cc: Albert ARIBAUD >>> --- >>> >>> arch/arm/cpu/pxa/cpu.c |

[U-Boot] Pull request for u-boot-x86

2011-11-02 Thread Graeme Russ
Hi Wolfgang, Please note that I had to do a force push into u-boot-x86 to delete a commit that I munged the importing of (Ondrej's patch) and didn't realise until I have pushed it (the patch title was all wrong) I don't think this should cause any trouble to you though as everything in u-boot-x86

Re: [U-Boot] [PATCH] Reduce build times

2011-11-02 Thread Graeme Russ
Hi Wolfgang, On 02/11/11 17:54, Wolfgang Denk wrote: > U-Boot Makefiles contain a number of tests for compiler features etc. > which so far are executed again and again. On some architectures > (especially ARM) this results in a large number of calls to gcc. > > This patch makes sure to run such

[U-Boot] Booting two OS on dual core processor using U-boot.

2011-11-02 Thread Sandeep Sharma
Hi, I have a query regarding U-Boot. Is it possible to boot two separate OS on a Dual/multi core processor using U-Boot. I want to implement AMP on a dual core processor and want to run two separate OS on a dual core arm cortex a9 processor. Did anybody tried the same thing earlier using the U-B

Re: [U-Boot] [PATCH 7/7] omap5: Add omap5_evm board build support.

2011-11-02 Thread R, Sricharan
Hi Tom, > > One thing it's better to do #define CONFIG_FOO rather than > #define CONFIG_FOO 1. > Sorry for the late reply, i was on vacation. I agree with your comments. I will send a V2 for this and your other comment. > -- > Tom > ___ U-Boot mailing

Re: [U-Boot] [PATCH] mmc: mv_sdhci: Fix host version read for Armada100

2011-11-02 Thread Prafulla Wadaskar
> -Original Message- > From: u-boot-boun...@lists.denx.de [mailto:u-boot- > boun...@lists.denx.de] On Behalf Of Marek Vasut > Sent: Wednesday, November 02, 2011 3:55 PM > To: Ajay Bhargav > Cc: u-boot@lists.denx.de; aflem...@gmail.com > Subject: Re: [U-Boot] [PATCH] mmc: mv_sdhci: Fix hos

Re: [U-Boot] [PATCH 0/7] omap5: spl/u-boot: Add spl/u-boot support for omap5 soc.

2011-11-02 Thread R, Sricharan
Hi, On Wed, Oct 19, 2011 at 6:17 PM, sricharan wrote: > OMAP5 is Texas Instrument's SOC based on ARM Cortex-A15 SMP architecture. > It's a dual core SOC with GIC used for interrupt handling and SCU for cache > coherency. > > This patch series essentially adds the spl/u-boot support for omap5 soc.

Re: [U-Boot] [PATCH] Reduce build times

2011-11-02 Thread Matthias Weißer
Am 02.11.2011 07:54, schrieb Wolfgang Denk: > U-Boot Makefiles contain a number of tests for compiler features etc. > which so far are executed again and again. On some architectures > (especially ARM) this results in a large number of calls to gcc. > > This patch makes sure to run such tests only

[U-Boot] u-boot master on a pandaboard won't boot

2011-11-02 Thread Lalancette, Christopher
Hello, I've recently been playing around with u-boot on a pandaboard Rev A1. The rest of my environment is an MLO built from x-loader git hash c4289f1bee035dea41536c5ba5e1bc36c7d493c4, and booting an ubuntu 11.04 kernel 2.6.38-1208-omap4. Up until tag v2011.06, u-boot works flawlessly (as

Re: [U-Boot] Not able read more than 12kb with fatload command

2011-11-02 Thread Wolfgang Denk
Dear sadashiva reddy, In message you wrote: > > *I am able read 12kb size into my memory using below command * You have asked the very smae question before. Reposting such questions again and again is not considered a clever idea. Please see http://catb.org/esr/faqs/smart-questions.html

Re: [U-Boot] [PATCH] ulpi: add generic ULPI support header file

2011-11-02 Thread Wolfgang Denk
Dear Igor Grinberg, In message <4eb110d3.5020...@compulab.co.il> you wrote: > > In the structure above, you have a mixture of tab and spaces > after the type before the name. > You can use either tabs or spaces (I prefer spaces), but not both. http://www.denx.de/wiki/U-Boot/CodingStyle states c

Re: [U-Boot] malloc issue while migrating from 2010.03 to 2011.06 U-boot

2011-11-02 Thread Wolfgang Denk
Dear Vinay Hegde, In message <1320222788.66688.yahoomail...@web137907.mail.in.yahoo.com> you wrote: > > I am trying to port one existing platform (which uses 2010.03 U-Boot) > to 2011.06 U-Boot. I have an issue while env_relocate. The malloc v2011.06 is old. Please use recent code; recommended

Re: [U-Boot] [RFC] himport_r() with the first call malloc() (with bin relocation) problem in NDS32 architecture

2011-11-02 Thread 馬克泡
Hi Vinary 2011/10/31 Vinay : > Macpaul gmail.com> writes: > >> himport_r: can't malloc 29 bytes > > Hi, > > Did you get solution to this malloc failure in himpotr_r issue? > I'm hitting the same issue and looking forward to some help. > > Thanks > Vinay > I do not know which architecture/platfor

Re: [U-Boot] [PATCH] ulpi: add generic ULPI support header file

2011-11-02 Thread Igor Grinberg
On 11/02/11 15:38, Wolfgang Denk wrote: > Dear Igor Grinberg, > > In message <4eb110d3.5020...@compulab.co.il> you wrote: >> >> In the structure above, you have a mixture of tab and spaces >> after the type before the name. >> You can use either tabs or spaces (I prefer spaces), but not both. > >

Re: [U-Boot] [PATCH] mmc: mv_sdhci: Fix host version read for Armada100

2011-11-02 Thread Marek Vasut
> > -Original Message- > > From: u-boot-boun...@lists.denx.de [mailto:u-boot- > > boun...@lists.denx.de] On Behalf Of Marek Vasut > > Sent: Wednesday, November 02, 2011 3:55 PM > > To: Ajay Bhargav > > Cc: u-boot@lists.denx.de; aflem...@gmail.com > > Subject: Re: [U-Boot] [PATCH] mmc: mv_sd

[U-Boot] sandbox: I2C EEPROM support

2011-11-02 Thread Wolfgang Denk
Dear Simon, I just ran over this old posting again: 09/10/2008 Ricardo Ribalda D [PATCH] I2C EEPROM simulator v2 http://article.gmane.org/gmane.comp.boot-loaders.u-boot/46964 We never accepted this for U-Boot mainline, but in the context of the Sandbox environment it might be interesting again.

Re: [U-Boot] [PATCH] Reduce build times

2011-11-02 Thread Premi, Sanjeev
> -Original Message- > From: u-boot-boun...@lists.denx.de > [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Wolfgang Denk > Sent: Wednesday, November 02, 2011 12:24 PM > To: u-boot@lists.denx.de > Cc: Graeme Russ; Kumar Gala; Albert Aribaud; Andy Fleming > Subject: [U-Boot] [PATCH] Redu

Re: [U-Boot] [PATCH v5] MPC8360EMDS: 512MB DDR and 33.33MHz oscillator support

2011-11-02 Thread McClintock Matthew-B29882
On Wed, Nov 2, 2011 at 2:34 AM, Huang Changming-R66093 wrote: >> > How can I deal with the new board and old board? >> >> Check the board revision at runtime. >> > Board Specification says, there is one EEPROM to contain all board history, > and I found it: > On I2C2 bus, there is one EEPROM BRD(

[U-Boot] [PATCH 2/2] usb: add help for missing start subcommand

2011-11-02 Thread Veli-Pekka Peltola
Signed-off-by: Veli-Pekka Peltola Cc: Remy Bohmer --- When I first time used USB framework it was not so obvious to start with "usb reset" to get everything going on. So lets add help text for start. common/cmd_usb.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/

[U-Boot] [PATCH 1/2] cosmetic: remove excess whitespace from usb command help

2011-11-02 Thread Veli-Pekka Peltola
Signed-off-by: Veli-Pekka Peltola Cc: Remy Bohmer --- common/cmd_usb.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/common/cmd_usb.c b/common/cmd_usb.c index 8c87265..aecde13 100644 --- a/common/cmd_usb.c +++ b/common/cmd_usb.c @@ -701,10 +701,10 @@ U_BOOT_CM

Re: [U-Boot] [PATCH] dfu: initial implementation

2011-11-02 Thread Stefan Schmidt
Hello. This really comes as surprise to me as I'm working on exactly the same at the moment. I just realised that I only mentioned it here inside the fastboot patches thread. I started from the old patches Harald Welte wrote for u-boot during his work for OpenMoko. I worked with him during this t

Re: [U-Boot] sandbox: I2C EEPROM support

2011-11-02 Thread Simon Glass
Hi Wolfgang, On Wed, Nov 2, 2011 at 7:45 AM, Wolfgang Denk wrote: > Dear Simon, > > I just ran over this old posting again: > > 09/10/2008 Ricardo Ribalda D  [PATCH] I2C EEPROM simulator v2 > http://article.gmane.org/gmane.comp.boot-loaders.u-boot/46964 > > We never accepted this for U-Boot mainl

Re: [U-Boot] [PATCH] dfu: initial implementation

2011-11-02 Thread Mike Frysinger
On Wednesday 02 November 2011 06:00:07 Andrzej Pietrasiewicz wrote: > Signed-off-by: Andrzej Pietrasiewicz > Signed-off-by: Kyungmin Park > --- > > Dear All, > > This is Device Firmware Upgrade (DFU) implementation which supports data > upload and download function to devices which are equipped

Re: [U-Boot] [PATCH] Reduce build times

2011-11-02 Thread Tom Rini
On Wed, Nov 2, 2011 at 7:49 AM, Premi, Sanjeev wrote: >> -Original Message- >> From: u-boot-boun...@lists.denx.de >> [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Wolfgang Denk >> Sent: Wednesday, November 02, 2011 12:24 PM >> To: u-boot@lists.denx.de >> Cc: Graeme Russ; Kumar Gala; A

Re: [U-Boot] [PATCH v7 4/4] usb: add USB support for Efika

2011-11-02 Thread Jana Rapava
2011/11/2 Igor Grinberg > Hi Jana, > > On 11/01/11 21:24, Jana Rapava wrote: > > > diff --git a/board/efikamx/efika.h b/board/efikamx/efika.h > > new file mode 100644 > > index 000..fec9ee0 > > --- /dev/null > > +++ b/board/efikamx/efika.h > > > > diff --git a/board/efikamx/efikamx-usb.c b/bo

Re: [U-Boot] [PATCH v7 4/4] usb: add USB support for Efika

2011-11-02 Thread Stefano Babic
On 11/02/2011 05:03 PM, Jana Rapava wrote: > > Ok, so non-board-specific parts should go into ./arch/arm/cpu/armv7/mx5/ > and board-specific callbacks should stay here? Do I understand you well? Yes, I think so > >> >> I don't want to block on that issue, so if it simplifies you a >> further UL

Re: [U-Boot] [PATCH V4 0/5] fix and enhancement patches for sdhci

2011-11-02 Thread Fleming Andy-AFLEMING
Sorry for the delay, I am currently processing my patch backlog. I will be applying them today. On Nov 2, 2011, at 1:40, "Lei Wen" wrote: > Hi Andy, > > On Tue, Oct 18, 2011 at 10:58 PM, Lei Wen wrote: >> Hi Andy, >> >> On Sat, Oct 8, 2011 at 10:14 PM, Lei Wen wrote: >>> This seris fix seve

Re: [U-Boot] [PATCH 1/2] nand_spl_simple: Add omap3 DMA usage to SPL

2011-11-02 Thread Scott Wood
On 11/02/2011 04:57 AM, Simon Schwarz wrote: > Hi Scott > > On 10/31/2011 10:22 PM, Scott Wood wrote: > >> What would the semantics of a generic dma_wait_for_transfer() be? >> >> I just don't see how this is generic at all, whatever the name. >> > > Hm. It would be a check if the given DMA chann

Re: [U-Boot] u-boot master on a pandaboard won't boot

2011-11-02 Thread Tom Rini
On Wed, Nov 2, 2011 at 6:03 AM, Lalancette, Christopher wrote: > Hello, >     I've recently been playing around with u-boot on a pandaboard Rev A1.   > The rest of my environment is an MLO built from x-loader git hash > c4289f1bee035dea41536c5ba5e1bc36c7d493c4, and booting an ubuntu 11.04 kernel

Re: [U-Boot] [PATCH] Reduce build times

2011-11-02 Thread Simon Glass
On Wed, Nov 2, 2011 at 8:37 AM, Tom Rini wrote: > On Wed, Nov 2, 2011 at 7:49 AM, Premi, Sanjeev wrote: >>> -Original Message- >>> From: u-boot-boun...@lists.denx.de >>> [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Wolfgang Denk >>> Sent: Wednesday, November 02, 2011 12:24 PM >>> To

Re: [U-Boot] [PATCH] sandbox: Add improved RAM simulation

2011-11-02 Thread Matthias Weisser
Am 01.11.2011 21:10, schrieb Mike Frysinger: > On Tuesday 01 November 2011 15:01:55 Matthias Weisser wrote: >> Am 01.11.2011 19:52, schrieb Mike Frysinger: >>> On Tuesday 01 November 2011 14:37:24 Matthias Weisser wrote: I don't know the memory layout strategies for all the Linux/Unix variant

[U-Boot] [PATCH v2] ulpi: add generic ULPI support header file

2011-11-02 Thread Jana Rapava
Add ULPI header file needed by Efika USB support patchset and generic ULPI support patch, which is to be posted soon. Signed-off-by: Jana Rapava Cc: Marek Vasut Cc: Remy Bohmer Cc: Stefano Babic Cc: Igor Grinberg --- Changes for v2: - whitespace and comment changes include/usb/ulpi.h

Re: [U-Boot] [PATCH v2] sandbox: Change md command to use map_physmem

2011-11-02 Thread Matthias Weisser
Am 26.10.2011 01:51, schrieb Simon Glass: > Sandbox wants to support commands which use memory. The map_physmen() > call provides this feature, so should be used more consistently in > U-Boot. > > Signed-off-by: Simon Glass After fixing malloc problem: Tested-by: Matthias Weisser Regards Matt

[U-Boot] [PATCH] config.mk: use memoization in cc-option macro to speed up compilation

2011-11-02 Thread Daniel Schwierzeck
Apply memoization to cc-option macro by caching the results of the gcc calls. This macro is called very often so using cached results leads to faster compilation times. This feature can be enabled by setting CACHE_CC_OPTIONS=y in the environment. Signed-off-by: Daniel Schwierzeck --- Some MAKEA

Re: [U-Boot] [PATCH] Reduce build times

2011-11-02 Thread Daniel Schwierzeck
Hi Wolfgang, On Wed, Nov 2, 2011 at 7:54 AM, Wolfgang Denk wrote: > U-Boot Makefiles contain a number of tests for compiler features etc. > which so far are executed again and again.  On some architectures > (especially ARM) this results in a large number of calls to gcc. > > This patch makes sur

Re: [U-Boot] u-boot master on a pandaboard won't boot

2011-11-02 Thread Lalancette, Christopher
> If you use SPL instead (so the 'MLO' that U-Boot also builds) does > everything work again? Oh, I didn't even notice that u-boot now builds an MLO. Thanks for the heads up. Unfortunately, that doesn't help; when I copy both the new MLO and the new u-boot.bin into place (again from git head),

Re: [U-Boot] [PATCH] sandbox: Add improved RAM simulation

2011-11-02 Thread Mike Frysinger
On Wednesday 02 November 2011 14:35:55 Matthias Weisser wrote: > So, as you can see, dumping to far is not faulting. It just dumps (in > this case) the first bytes of my local libc. yes, and i think this is acceptable behavior. take any SoC out there, and if you do `md` on addresses that aren't

Re: [U-Boot] [PATCH] dfu: initial implementation

2011-11-02 Thread Stefan Schmidt
Hello. On Wed, 2011-11-02 at 11:16, Mike Frysinger wrote: > On Wednesday 02 November 2011 06:00:07 Andrzej Pietrasiewicz wrote: > > are you working with the elinux.org guys ? > http://elinux.org/Merge_DFU_support_into_mainline_U-Boot That would be me. As I stated in my other mail I was sur

[U-Boot] [PATCH v6 0/4] Buffer overruns in printf

2011-11-02 Thread Simon Glass
The printf family of functions in U-Boot cannot deal with a situation where the caller provides a buffer which turns out to be too small for the format string. This can result in buffer overflows, stack overflows and other bad behavior. This patch series tidies this up in the common vsprintf.c cod

[U-Boot] [PATCH v6 1/4] Move vsprintf functions into their own header

2011-11-02 Thread Simon Glass
common.h is very large, so before changing the vsprintf functions, move the prototypes into their own header file. Signed-off-by: Simon Glass --- Changes in v3: - Move prototypes from common.h to vsprintf.h include/common.h | 11 +-- include/vsprintf.h | 39 +++

[U-Boot] [PATCH v6 2/4] Add safe vsnprintf and snprintf library functions

2011-11-02 Thread Simon Glass
From: Sonny Rao From: Sonny Rao These functions are useful in U-Boot because they allow a graceful failure rather than an unpredictable stack overflow when printf() buffers are exceeded. Mostly copied from the Linux kernel. I copied vscnprintf and scnprintf so we can change printf and vprintf

[U-Boot] [PATCH v6 4/4] Make printf and vprintf safe from buffer overruns

2011-11-02 Thread Simon Glass
From: Sonny Rao From: Sonny Rao utilize the added vscnprintf functions to avoid buffer overruns The implementation is fairly dumb in that it doesn't detect that the buffer is too small, but at least will not cause crashes. Signed-off-by: Sonny Rao --- Changes in v2: - Use sizeof(printbuffer)

[U-Boot] [PATCH v6 3/4] vsprintf: Move function documentation into header file

2011-11-02 Thread Simon Glass
Now that this is not in common.h, perhaps it is acceptable to move this documentation into the header file. Signed-off-by: Simon Glass --- Changes in v3: - Move function documentation into header file include/vsprintf.h | 123 lib/vsprintf.c

Re: [U-Boot] [PATCH] dfu: initial implementation

2011-11-02 Thread Stefan Schmidt
Hello. @Remy: One question I have for you is if the DFU implementation should be based on the re-written gadget layer from samsung or based on the current one? First, and only high level, review for the DFU part. Against which u-boot tree/branch/version is this patch? I tried to apply it against

[U-Boot] [[PATCH V2]] sandbox: Add improved RAM simulation

2011-11-02 Thread Matthias Weisser
Using mmap to allocate memory from the OS for RAM simulation we can use u-boots own malloc implementation. Signed-off-by: Matthias Weisser --- Changes in V2: Removed the address hint for mmap Removed the special handling of dlmalloc in common Set gd->bd->bi_dram[0].start to 0 again arch/s

Re: [U-Boot] [PATCH v5 0/4] Buffer overruns in printf

2011-11-02 Thread Simon Glass
Hi Wolfgang, On Tue, Nov 1, 2011 at 6:18 PM, Simon Glass wrote: > Hi Wolfgang, > > On Tue, Nov 1, 2011 at 2:21 PM, Wolfgang Denk wrote: >> Dear Simon Glass, >> >> In message >> you >> wrote: >>> >>> I have suggested making these functions available by default, and >>> having CONFIG_NO_SYS_VSN

Re: [U-Boot] [PATCH v5] MPC8360EMDS: 512MB DDR and 33.33MHz oscillator support

2011-11-02 Thread Kim Phillips
On Wed, 2 Nov 2011 09:52:17 -0500 McClintock Matthew-B29882 wrote: > On Wed, Nov 2, 2011 at 2:34 AM, Huang Changming-R66093 > wrote: > >> > How can I deal with the new board and old board? > >> > >> Check the board revision at runtime. > >> > > Board Specification says, there is one EEPROM to co

Re: [U-Boot] [PATCH] config.mk: use memoization in cc-option macro to speed up compilation

2011-11-02 Thread Simon Glass
Hi Daniel, On Wed, Nov 2, 2011 at 11:46 AM, Daniel Schwierzeck wrote: > Apply memoization to cc-option macro by caching the results of the > gcc calls. This macro is called very often so using cached results > leads to faster compilation times. > > This feature can be enabled by setting CACHE_CC_

Re: [U-Boot] [[PATCH V2]] sandbox: Add improved RAM simulation

2011-11-02 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v5] MPC8360EMDS: 512MB DDR and 33.33MHz oscillator support

2011-11-02 Thread Timur Tabi
Kim Phillips wrote: > 4. no need to clear BATs before writing them either. FYI, take a look at Becky's BAT patch from a month ago: http://patchwork.ozlabs.org/patch/117523/ The patch is for 86xx, so I have no idea if it's relevant to this discussion. -- Timur Tabi Linux kernel develope

Re: [U-Boot] [[PATCH V2]] sandbox: Add improved RAM simulation

2011-11-02 Thread Simon Glass
On Wed, Nov 2, 2011 at 1:12 PM, Matthias Weisser wrote: > Using mmap to allocate memory from the OS for RAM simulation we can use > u-boots own malloc implementation. > > Signed-off-by: Matthias Weisser > --- > Changes in V2: >  Removed the address hint for mmap >  Removed the special handling of

Re: [U-Boot] [PATCH v2] sandbox: Change md command to use map_physmem

2011-11-02 Thread Simon Glass
Hi Matthias, On Wed, Nov 2, 2011 at 11:39 AM, Matthias Weisser wrote: > Am 26.10.2011 01:51, schrieb Simon Glass: >> Sandbox wants to support commands which use memory. The map_physmen() >> call provides this feature, so should be used more consistently in >> U-Boot. >> >> Signed-off-by: Simon Gl

Re: [U-Boot] sandbox: Crash on startup

2011-11-02 Thread Simon Glass
On Tue, Nov 1, 2011 at 11:54 AM, Mike Frysinger wrote: > On Tuesday 01 November 2011 10:01:53 Simon Glass wrote: >> On Tue, Nov 1, 2011 at 2:50 AM, Matthias Weisser wrote: >> > I just wanted to play around with the sandbox "arch" of u-boot maybe >> > adding tun/tap support. Current head compiled s

[U-Boot] sandbox tree

2011-11-02 Thread Mike Frysinger
should we start a sandbox tree with a proper maintainer ? if not, then i can at least start a "sandbox" branch in my tree and start merging things there. -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list

[U-Boot] Partnership..

2011-11-02 Thread Mr. Wen Lee
I am Mr. Wen Lee director of operations of the Bank Of Taipei Taiwan. I have an obscured business proposal for you. Reply if interested. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] sandbox tree

2011-11-02 Thread Simon Glass
Hi Mike, On Wed, Nov 2, 2011 at 2:08 PM, Mike Frysinger wrote: > should we start a sandbox tree with a proper maintainer ?  if not, then i can > at least start a "sandbox" branch in my tree and start merging things there. > -mike > Have been thinking that, particularly as it looks like it's not

[U-Boot] Partnership..

2011-11-02 Thread Mr. Wen Lee
I am Mr. Wen Lee director of operations of the Bank Of Taipei Taiwan. I have an obscured business proposal for you. Reply if interested. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] Partnership..

2011-11-02 Thread Mr. Wen Lee
I am Mr. Wen Lee director of operations of the Bank Of Taipei Taiwan. I have an obscured business proposal for you. Reply if interested. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] config.mk: use memoization in cc-option macro to speed up compilation

2011-11-02 Thread Daniel Schwierzeck
Hi Simon, On 02.11.2011 21:39, Simon Glass wrote: ... >> >> diff --git a/config.mk b/config.mk >> index 11b67e5..27c366f 100644 >> --- a/config.mk >> +++ b/config.mk >> @@ -107,8 +107,22 @@ HOSTCFLAGS += -pedantic >> # Option checker (courtesy linux kernel) to ensure >> # only supported compil

Re: [U-Boot] [PATCH 4/4] PXA: Adapt Voipac PXA270 to OneNAND SPL

2011-11-02 Thread Scott Wood
On 11/01/2011 05:44 PM, Marek Vasut wrote: >> On 11/01/2011 05:12 PM, Marek Vasut wrote: On 10/31/2011 08:23 AM, Marek Vasut wrote: > Signed-off-by: Marek Vasut > Cc: Albert ARIBAUD > --- >>> >>> [...] >>> > + for (page = 0; page <= total_pages; page++) { > + ret

Re: [U-Boot] [PATCH 4/4 V2] PXA: Adapt Voipac PXA270 to OneNAND SPL

2011-11-02 Thread Scott Wood
On 11/01/2011 05:54 PM, Marek Vasut wrote: > +inline void board_init_f(unsigned long unused) Drop the inline. > + /* Start of the rest of the SPL */ > + . = CONFIG_SPL_TEXT_BASE + 0x800; > + > + .text.1 : > + { > + *(.text*) > + } > + > + . = ALIGN(4); > +

Re: [U-Boot] [PATCH 3/4 V2] OneNAND: Add simple OneNAND SPL

2011-11-02 Thread Scott Wood
On 11/01/2011 05:54 PM, Marek Vasut wrote: > +static void spl_onenand_get_geometry(struct spl_onenand_data *data) > +{ > + uint32_t tmp; > + uint32_t dev_id, density; > + > + /* Default geometry -- 2048b page, 128k erase block. */ > + data->pagesize = 2048; > + data->erasesize =

Re: [U-Boot] [PATCH] Reduce build times

2011-11-02 Thread Wolfgang Denk
Dear Daniel Schwierzeck, In message you wrote: > > On Wed, Nov 2, 2011 at 7:54 AM, Wolfgang Denk wrote: > > U-Boot Makefiles contain a number of tests for compiler features etc. > > which so far are executed again and again. =C2=A0On some architectures > > (especially ARM) this results in a la

Re: [U-Boot] [PATCH v6 05/11] arm, davinci: add support for new spl framework

2011-11-02 Thread Scott Wood
On 11/02/2011 01:00 AM, Heiko Schocher wrote: > +inline void hang(void) > +{ > + puts("### ERROR ### Please RESET the board ###\n"); > + for (;;) > + ; > +} Why is this inline? > diff --git a/arch/arm/cpu/arm926ejs/start.S b/arch/arm/cpu/arm926ejs/start.S > index 86a0dc2..339c

Re: [U-Boot] Booting two OS on dual core processor using U-boot.

2011-11-02 Thread Scott Wood
On 11/02/2011 06:19 AM, Sandeep Sharma wrote: > Hi, > > > > I have a query regarding U-Boot. Is it possible to boot two separate OS on > a Dual/multi core processor using U-Boot. I want to implement AMP on a dual > core processor and want to run two separate OS on a dual core arm cortex a9 > pro

Re: [U-Boot] [PATCH] mx31pdk: Enable D and I caches

2011-11-02 Thread Fabio Estevam
Hi Stefano, On Wed, Nov 2, 2011 at 6:41 AM, Stefano Babic wrote: > Good. To be sure, do you have also tested NAND in u-boot ? I do not > expect problems, but... Yes, I confirmed that NAND works with the caches enabled by doing the following tests: 1. Save environment variables in NAND 2. Repro

Re: [U-Boot] Booting two OS on dual core processor using U-boot.

2011-11-02 Thread Peter
> > I have a query regarding U-Boot. Is it possible to boot two separate OS on > > a Dual/multi core processor using U-Boot. I want to implement AMP on a dual > > core processor and want to run two separate OS on a dual core arm cortex a9 > > processor. Did anybody tried the same thing earlier usin

Re: [U-Boot] [PATCH 2/2 V2] SPL: Allow ARM926EJS to avoid compiling in the CPU support code

2011-11-02 Thread Marek Vasut
> This allows the SPL to avoid compiling in the CPU support code. > > Signed-off-by: Marek Vasut > Cc: Stefano Babic > Cc: Wolfgang Denk > Cc: Detlev Zundel > Cc: Scott Wood > --- > arch/arm/cpu/arm926ejs/Makefile |6 ++ > 1 files changed, 6 insertions(+), 0 deletions(-) > > V2: Don

Re: [U-Boot] [PATCH 3/4 V2] OneNAND: Add simple OneNAND SPL

2011-11-02 Thread Marek Vasut
> On 11/01/2011 05:54 PM, Marek Vasut wrote: > > +static void spl_onenand_get_geometry(struct spl_onenand_data *data) > > +{ [...] > > + /* The page can be either 2k or 4k, avoid using DIV_ROUND_UP. */ > > + if (data.pagesize == 2048) { > > + total_pages = len / 2048; > > +

Re: [U-Boot] [PATCH v2 3/4] tegra2: Enable second SD port (J5) on Harmony

2011-11-02 Thread Andy Fleming
I'm currently assuming this patch has been superseded by the patches you submitted on the 31st? Andy On Tue, Oct 4, 2011 at 12:32 PM, Stephen Warren wrote: > Seaboard uses SDMMC4, SDMMC3. Harmony uses SDMMC4, SDMMC2. Move > board_init_mmc and gpio_config_mmc into board-specific files, so boards

Re: [U-Boot] [PATCH 00/14] Support for HTKW mcx board

2011-11-02 Thread Tom Rini
On Tue, Nov 1, 2011 at 4:15 PM, Ilya Yanok wrote: > Hello All, > > these patches introduce support for HTKW mcx board (AM3517-based). > > Previously posted DaVinci EMAC patches > ( http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/112309 ) > and NAND SPL patches > ( http://thread.gmane.org/gm

Re: [U-Boot] [PATCH 3/4 V2] OneNAND: Add simple OneNAND SPL

2011-11-02 Thread Kyungmin Park
Hi all, Marek, did you see the onenand_ipl/onenand_read.c at u-boot? It's already implemented and used for OneNAND boot. How do you think migrate this file into generic SPL framework? Thank you, Kyungmin Park -Original Message- From: Marek Vasut [mailto:marek.va...@gmail.com] Sent: Th

  1   2   >