Re: [U-Boot] [PATCH] arm, usb, davinci: make USBPHY_CTL register configurable

2011-08-08 Thread Heiko Schocher
Hello Remy, Remy Bohmer wrote: > Hi, > > 2011/8/2 Heiko Schocher : >> Define CONFIG_DV_USBPHY_CTL for setting the USB PHY control >> register. >> Signed-off-by: Heiko Schocher >> cc: Sandeep Paulraj >> cc: Remy Bohmer >> --- >> drivers/usb/musb/davinci.c |6 +- >> 1 files changed, 5 i

Re: [U-Boot] [PATCH v2] i2c:gpio:s5p: I2C GPIO Software implementation (via soft_i2c)

2011-08-08 Thread Minkyu Kang
Dear Lukasz Majewski, On 20 July 2011 17:35, Lukasz Majewski wrote: > This patch adds support for software I2C for GONI reference target. > It adds support for access to GPIOs by number, not as it is present, > by bank and offset. > > Signed-off-by: Lukasz Majewski > Signed-off-by: Kyungmin Park

Re: [U-Boot] [PATCH] ARM926ejs: Add routines to invalidate D-Cache

2011-08-08 Thread Hong Xu
Hi Marek Vasut, On 08/09/2011 01:34 AM, Marek Vasut wrote: > On Monday, August 08, 2011 10:01:19 AM Albert ARIBAUD wrote: >> Hi Hong Xu, >> >> Le 08/08/2011 05:20, Hong Xu a écrit : >>> After DMA operation, we need to maintain D-Cache coherency. >>> So that the DCache must be invalidated (hence CP

Re: [U-Boot] [PATCH V9 4/9] spl: add NAND Library to new SPL

2011-08-08 Thread Scott Wood
On 08/08/2011 08:11 AM, Simon Schwarz wrote: > Adds NAND library to SPL. > > Signed-off-by: Simon Schwarz > --- Acked-by: Scott Wood -Scott ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] Aspire Collection Magazine London Autumn 2011 edition - advertising open

2011-08-08 Thread Aspire Collection Magazine London
Hi there We're delighted to inform you that your organisation has been invited to participate in the Aspire Collection Magazine London, for the Autumn 2011 edition. As the brainchild of Aspire Estate Agents, SW London, this quarterly magazine features some of the most appealing properties fo

Re: [U-Boot] [PATCH v3 0/4] Add basic clock and pinmux functions to the Tegra2

2011-08-08 Thread Simon Glass
Hi Albert, Are we getting closer with this patch series? Does anyone have any more comments at this stage? Regards, Simon On Thu, Jul 28, 2011 at 9:11 PM, Simon Glass wrote: > This patch series adds basic clock and pinmux functions to the Tegra2, and > modifies the ap20 and board code to use th

Re: [U-Boot] [PATCH 1/2] powerpc/85xx: Add ULPI and UTMI USB Phy support for P1010/P1014

2011-08-08 Thread Remy Bohmer
Hi, >> The ifdef-ery makes the code somewhat messy as well. Can it be written >> somewhat else? >> Apart from that and the style issues, no remarks or concerns. > > Not really sure how to do that.  The patch is a bit more messy than the > actual code. I was talking about the actual code, not the

Re: [U-Boot] [PATCH 1/2] powerpc/85xx: Add ULPI and UTMI USB Phy support for P1010/P1014

2011-08-08 Thread Kumar Gala
On Aug 8, 2011, at 3:15 PM, Remy Bohmer wrote: > Hi, > > 2011/7/1 Kumar Gala : >> From: Ramneek Mehresh >> >> Add UTMI and ULPI PHY support for USB controller on qoriq series of >> processors with internal UTMI PHY implemented, for example P1010/P1014 >> - Use both getenv() and hwconfig to ge

[U-Boot] [PATCH 1/2][v2] powerpc/85xx: Add ULPI and UTMI USB Phy support for P1010/P1014

2011-08-08 Thread Kumar Gala
From: Ramneek Mehresh Add UTMI and ULPI PHY support for USB controller on qoriq series of processors with internal UTMI PHY implemented, for example P1010/P1014 - Use both getenv() and hwconfig to get USB phy type till getenv() is depricated - Introduce CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY t

Re: [U-Boot] problem with mpc837x start.S

2011-08-08 Thread Scott Wood
On 08/04/2011 06:37 AM, shawn Bai wrote: > When enlarging Nor Flash to 4GiB, the AM in OR0 is 0x_0, where the number > of zero is 17. > > According to what is said in datasheet, if the bit value of some bit in > address mask is 0, > then the corresponding bit in address will be masked. >

Re: [U-Boot] [PATCH v2] usb: increase non-bulk timeout for slow chipsets.

2011-08-08 Thread Remy Bohmer
Hi, 2011/7/31 Jason Cooper : > If you take a look at 96820a35, you'll see the original timeout was > CONFIG_SYS_HZ.  Which is 1000.  After the mentioned change, non-bulk timeout > was changed to 100.  This causes timeout failures on the dreamplug platform > when trying to initialize the usb micros

[U-Boot] Pull request: u-boot-usb

2011-08-08 Thread Remy Bohmer
The following changes since commit fa82f871c8dbc9a15e8dc274b3f99dd5fa0da458: Convert ISO-8859 files to UTF-8 (2011-08-04 23:34:02 +0200) are available in the git repository at: git://git.denx.de/u-boot-usb.git master Jason Cooper (1): usb: increase non-bulk timeout for slow chipsets.

Re: [U-Boot] [PATCH] arm, usb, davinci: make USBPHY_CTL register configurable

2011-08-08 Thread Remy Bohmer
Hi, 2011/8/2 Heiko Schocher : > Define CONFIG_DV_USBPHY_CTL for setting the USB PHY control > register. > Signed-off-by: Heiko Schocher > cc: Sandeep Paulraj > cc: Remy Bohmer > --- >  drivers/usb/musb/davinci.c |    6 +- >  1 files changed, 5 insertions(+), 1 deletions(-) > > diff --git a/

Re: [U-Boot] [PATCH v2] usb: increase non-bulk timeout for slow chipsets.

2011-08-08 Thread Remy Bohmer
Hi, 2011/8/4 Jason : > Remy, > > I neglected to include you in my original submission, could you please > take a look at this for u-boot-usb?  Original email is here [1].  And > the commit I'm referring to is here [2]. No problem... I am subscribed to the list, and I have seen it already. (I am a

Re: [U-Boot] [PATCH 1/2] powerpc/85xx: Add ULPI and UTMI USB Phy support for P1010/P1014

2011-08-08 Thread Remy Bohmer
Hi, 2011/7/1 Kumar Gala : > From: Ramneek Mehresh > > Add UTMI and ULPI PHY support for USB controller on qoriq series of > processors with internal UTMI PHY implemented, for example P1010/P1014 >  - Use both getenv() and hwconfig to get USB phy type till getenv() >   is depricated >  - Introduce

Re: [U-Boot] [PATCH] Fix wrong loop bound in flush_cache() when "size" is zero.

2011-08-08 Thread Scott Wood
On 08/08/2011 07:23 AM, Sergei Shtylyov wrote: > Please indent with tabs, not spaces. Also, doesn't this code generate > warning (code before declarations)? Only with -Wdeclaration-after-statement, which U-boot doesn't set. -Scott ___ U-Boot maili

Re: [U-Boot] [PATCH 4/5] USB: Move USB_PRINTF() out of ifdef in usb_scan_devices()

2011-08-08 Thread Remy Bohmer
Hi, >> Yea of course ... I sent this to Remy some time ago already, got no response >> so >> far ... > > Hey.. It is a holiday season... ;-) > > Acked-by: Remy Bohmer > (It can go with the rest of the series) Seems that it time to go again on a next vacation... I just pulled in 5/5 of this seri

Re: [U-Boot] [PATCH 4/5] USB: Move USB_PRINTF() out of ifdef in usb_scan_devices()

2011-08-08 Thread Remy Bohmer
Hi, 2011/7/13 Marek Vasut : > On Wednesday, July 13, 2011 03:49:00 PM Stefano Babic wrote: >> On 07/12/2011 02:16 AM, Marek Vasut wrote: >> > Signed-off-by: Marek Vasut >> > --- >> > >> >  common/usb.c |    2 +- >> >  1 files changed, 1 insertions(+), 1 deletions(-) >> > >> > diff --git a/common/

[U-Boot] [PATCH 2/2] fat: cannot compare bytes and sectors

2011-08-08 Thread Sergei Shtylyov
The code multiples the FAT size in sectors by the sector size and then tries to compare that to the number of sectors in the 'getsize' variable. While fixing this, also change the initial value of 'getsize' as the division of FATBUFSIZE by the sector size gets us FATBUFBLOCKS. Signed-off-by: Serg

[U-Boot] [PATCH 1/2] fat: fix crash with big sector size

2011-08-08 Thread Sergei Shtylyov
Apple iPod nanos have sector sizes of 2 or 4 KiB, which crashes U-Boot when it tries to read the boot sector into 512-byte buffer situated on stack. Make the FAT code indifferent to the sector size. Signed-off-by: Sergei Shtylyov --- fs/fat/fat.c | 97 +++-

Re: [U-Boot] [PATCH 5/5] USB: Set portnr so USB1.1 and 1.0 devices work on EHCI controllers

2011-08-08 Thread Remy Bohmer
Hi, 2011/7/12 Marek Vasut : > Signed-off-by: Marek Vasut > --- >  common/usb.c |    1 + >  1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/common/usb.c b/common/usb.c > index 8e84266..a401c09 100644 > --- a/common/usb.c > +++ b/common/usb.c > @@ -1166,6 +1166,7 @@ void usb_hub_p

Re: [U-Boot] [PATCH] usb: r8a66597: Fix argument mistake of inl

2011-08-08 Thread Remy Bohmer
Hi, 2011/7/11 Nobuhiro Iwamatsu : > Fail in build, because argument of inl used in r8a66597_read_fifo is wrong. > > r8a66597.h:441:35: error: macro "inl" passed 2 arguments, but takes just 1 > In file included from r8a66597-hcd.c:25: > r8a66597.h: In function ‘r8a66597_read_fifo’: > r8a66597.h:441

Re: [U-Boot] [PATCH v2] MUSB timeout broken

2011-08-08 Thread Remy Bohmer
Hi, > 2011/7/4 Orjan Friberg : >> Use pre-decrement to leave timeout at 0 when the timeout happens (which is >> what >> the timeout detecting code expects). >> >> Signed-off-by: Orjan Friberg >> --- >>  drivers/usb/musb/musb_hcd.c |    2 +- >>  1 files changed, 1 insertions(+), 1 deletions(-) >>

Re: [U-Boot] [PATCH v2] MUSB timeout broken

2011-08-08 Thread Remy Bohmer
Hi, 2011/7/4 Orjan Friberg : > Use pre-decrement to leave timeout at 0 when the timeout happens (which is > what > the timeout detecting code expects). > > Signed-off-by: Orjan Friberg > --- >  drivers/usb/musb/musb_hcd.c |    2 +- >  1 files changed, 1 insertions(+), 1 deletions(-) > > diff --g

Re: [U-Boot] [PATCH] mkimage: Fix 'Unknown OMAP image type - 5'

2011-08-08 Thread Albert ARIBAUD
Hi Dirk, Le 05/08/2011 20:42, Dirk Behme a écrit : > From: Dirk Behme > > Using mkimage with e.g. > > tools/mkimage -A arm -T firmware -O u-boot -d u-boot.bin foo.img > > gives a warning > > "Unknown OMAP image type - 5" > > while it seems that the image itself is created successfully. > > This do

Re: [U-Boot] [PATCHv2] new tool mkenvimage: generates an env image from an arbitrary config file

2011-08-08 Thread Mike Frysinger
On Mon, Aug 8, 2011 at 04:16, David Wagner wrote: > On 08/06/2011 01:18 PM, Mike Frysinger wrote: >> seems like this should also take a padding byte so people can use a >> more sensible 0xff rather than 0x00 > > Thomas told me that when padding with 0xff, his environment image > wouldn't be taken i

Re: [U-Boot] [PATCH v2] Fix wrong loop bound in flush_cache() when "size" is zero

2011-08-08 Thread Mike Frysinger
in the future, please prefix your patches. since this is mips-specific, your summary would read: mips: fix wrong loop bound in flush_cache() when "size" is zero or perhaps: mips32: fix wrong loop bound in flush_cache() when "size" is zero -mike ___ U-Bo

Re: [U-Boot] [PATCH] ARM926ejs: Add routines to invalidate D-Cache

2011-08-08 Thread Albert ARIBAUD
Le 08/08/2011 19:34, Marek Vasut a écrit : >> Thinking more about the degenerate case -- why not round *up* the start >> address, and round *down* the stop address, that is, *reduce* the area >> to the aligned portion rather than *expand* it into the unknown? That >> would make data in "partially

Re: [U-Boot] [PATCH] ARM926ejs: Add routines to invalidate D-Cache

2011-08-08 Thread Marek Vasut
On Monday, August 08, 2011 10:01:19 AM Albert ARIBAUD wrote: > Hi Hong Xu, > > Le 08/08/2011 05:20, Hong Xu a écrit : > > After DMA operation, we need to maintain D-Cache coherency. > > So that the DCache must be invalidated (hence CPU will fetch > > data written by DMA controller from RAM). > >

Re: [U-Boot] [PATCH] OMAP3: Fix gpio.h usage

2011-08-08 Thread Dirk Behme
On 05.08.2011 20:31, Dirk Behme wrote: > From: Dirk Behme > > The patch "omap: reuse omap3 gpio support in omap4" moves > arch/arm/include/asm/arch-omap3/gpio.h to > arch/arm/include/asm/omap_gpio.h but misses to touch all > users of arch-omap3/gpio.h. This results in various build > failures like

Re: [U-Boot] [PATCH] omap: fix gpio related build breaks

2011-08-08 Thread Dirk Behme
On 01.08.2011 08:30, Aneesh V wrote: > Signed-off-by: Aneesh V Acked-by: Dirk Behme > --- > Hi Sandeep, > This is an incremental patch to fix the build issues created > by "[PATCH 3/5] omap: reuse omap3 gpio support in omap4" > in the omap4460 series. > --- > arch/arm/cpu/armv7/omap-common/gpi

Re: [U-Boot] [PATCH] omap4: increase SRAM budget to fix build error

2011-08-08 Thread Dirk Behme
On 08.08.2011 08:05, Aneesh V wrote: > Signed-off-by: Aneesh V > Cc: Dirk Behme > Cc: Sandeep Paulraj Acked-by: Dirk Behme > --- > include/configs/omap4_panda.h |2 +- > include/configs/omap4_sdp4430.h |2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/includ

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

2011-08-08 Thread Matthias Weißer
Dear Albert Am 04.08.2011 19:04, schrieb Albert ARIBAUD: > Hi Wolfgang, > > Here is my pull request for u-boot-arm/master, from which I did remove > the wrongly applied commits that you indicated and in which all patches > submitted before the merge window closure are taken into account. > > Devel

[U-Boot] [PATCH v2] Fix wrong loop bound in flush_cache() when "size" is zero

2011-08-08 Thread Yao Cheng
The issue is found when calling flush_cache() with zero "size" argument. The bound of loop is miscalculated in this case and flush_cache() enters a wrong flushing loop. To fix this issue I skipped the operations when "size" is found to be zero. Signed-off-by: Yao Cheng Cc: Shinya Kuribayashi ---

Re: [U-Boot] [PATCH] Fix wrong loop bound in flush_cache() when "size" is zero.

2011-08-08 Thread Saturday Coder
Hi Sergei, thanks for your comments. I will submit the patch v2. 2011/8/8 Sergei Shtylyov > Hello. > > > On 08-08-2011 12:07, Yao Cheng wrote: > > The issue is found when calling flush_cache() with zero "size" argument. >> The bound of loop is miscalculated in this case and flush_cache() enters

[U-Boot] [PATCH V9 9/9] omap-common: reorganize spl.c

2011-08-08 Thread Simon Schwarz
split-up spl.c into spl.c, spl_mmc.c and spl_nand.c. This avoids problems with missing defines if a board does not use mmc or nand. This includes adding spl_ prefix to some functions which are now public. spl_image_t is now a public type. Added some of the common functions to omap-common.h Signed-

[U-Boot] [PATCH V9 7/9] devkit8000: Add nand-spl support for new SPL

2011-08-08 Thread Simon Schwarz
Add NAND SPL support to the devkit8000 config Signed-off-by: Simon Schwarz --- V1 changes: ADD devkit8000_nand to board.cfg ADD nand_spl Makefile, llinker script, spl-devkit8000.c ADD config ecc, SRAM, SPL to board config ADD CONFIG_SYS_SRAM_START and _SIZE to board config ADD CONFIG_SYS_SPL_TEXT

[U-Boot] [PATCH V9 8/9] omap3: implement boot parameter saving

2011-08-08 Thread Simon Schwarz
Implements the saving of boot params passed by OMAP3 ROM code. Signed-off-by: Simon Schwarz --- Didn't exist before V8 V9 changes: nothing --- arch/arm/cpu/armv7/omap-common/spl.c |6 +- arch/arm/cpu/armv7/omap3/lowlevel_init.S |9 +++-- 2 files changed, 12 insertions(+), 3

[U-Boot] [PATCH V9 4/9] spl: add NAND Library to new SPL

2011-08-08 Thread Simon Schwarz
Adds NAND library to SPL. Signed-off-by: Simon Schwarz --- V1 changes: CHG Default to HW ecc in SPL build ADD nand_read_buf16 function, read buffer ADD omap_dev_ready function, indicte if chip is ready V2 changes: DEL GPMC_WAIT0_PIN_ACTIVE define CHG omap_dev_ready() renamed to omap_spl_dev_rea

[U-Boot] [PATCH V9 6/9] omap3: new SPL structure support

2011-08-08 Thread Simon Schwarz
Support for the new spl structure. Using the interface defined by Aneesh V for OMAP4 Signed-off-by: Simon Schwarz --- V1 changes: ADD support for early console output in SPL V2 changes: ADD include omap_common.h in board.c ADD implement new omap common interface omap_boot_device, omap_boot_mode

[U-Boot] [PATCH V9 5/9] spl: Add POWER library to new spl

2011-08-08 Thread Simon Schwarz
Adds power library to the new spl Signed-off-by: Simon Schwarz --- Didn't exist before V7 V8 changes: nothing V9 changes: nothing --- doc/README.SPL |1 + spl/Makefile |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/doc/README.SPL b/doc/README.SPL index ef946ce..

[U-Boot] [PATCH V9 3/9] omap-common: add nand spl support

2011-08-08 Thread Simon Schwarz
Add NAND support for the new SPL structure. Signed-off-by: Simon Schwarz --- This patch didn't exist before V2! V2 changes: ADD Some define-barriers for OMAP3 to only use NAND ADD nand_load_image() - inits the OMAP gpmc, loads the images - parses the header CHG cosmetic ADD do_reset() im

[U-Boot] [PATCH V9 2/9] omap3: Configure RAM bank 0 if in SPL

2011-08-08 Thread Simon Schwarz
OMAP3 relied on the memory config done by X-loader or Configuration Header. This has to be reworked for the implementation of a SPL. This patch configures RAM bank 0 if CONFIG_SPL_BUILD is set. Settings for Micron-RAM used by devkit8000 are added to mem.h Signed-off-by: Simon Schwarz --- V1 chang

[U-Boot] [PATCH V9 1/9] omap-common/omap4: relocate early UART clock setup

2011-08-08 Thread Simon Schwarz
Moves the early UART clock setup setup_clocks_for_console() from preloader_console_init() to s_init() of OMAP4. This is done to prepare for OMAP3 integration. This patch was posted seperatly to the mailinglist but I decidet - since it is a prereqesit for this patch to add it. Former port to ML: h

[U-Boot] [PATCH V9 0/9] OMAP3 and devkit8000 SPL support

2011-08-08 Thread Simon Schwarz
V1 Initial SPL support for OMAP3 was based on the old SPL V2 Introduced major changes. It is based on the OMAP4-SPL patch by Aneesh V and the new SPL Framework by Daniel Schwierzeck and Aneesh V V3 Some small bug fixes and correct placed SOB. V4 Corrected one bugfix and some style proble

Re: [U-Boot] [PATCH] Fix wrong loop bound in flush_cache() when "size" is zero.

2011-08-08 Thread Sergei Shtylyov
Hello. On 08-08-2011 12:07, Yao Cheng wrote: > The issue is found when calling flush_cache() with zero "size" argument. > The bound of loop is miscalculated in this case and flush_cache() enters a > wrong flushing loop. > To fix this issue I skipped the operations when "size" is found to be zero

Re: [U-Boot] [PATCH] mkimage: Fix 'Unknown OMAP image type - 5'

2011-08-08 Thread Aneesh V
Hi Dirk, On Saturday 06 August 2011 12:12 AM, Dirk Behme wrote: > From: Dirk Behme > > Using mkimage with e.g. > > tools/mkimage -A arm -T firmware -O u-boot -d u-boot.bin foo.img > > gives a warning > > "Unknown OMAP image type - 5" > > while it seems that the image itself is created successfully

Re: [U-Boot] [PATCH v2] ARM926ejs: Add routines to invalidate D-Cache

2011-08-08 Thread Albert ARIBAUD
Hi Aneesh, On 08/08/2011 12:27, Aneesh V wrote: > Hi Reinhard, > > On Monday 08 August 2011 03:55 PM, Reinhard Meyer wrote: >> Hi Aneesh, >>> On Monday 08 August 2011 03:29 PM, Reinhard Meyer wrote: Dear Albert, Aneesh, Hong, There seem to be functions of type xxx(start, e

Re: [U-Boot] [PATCH V8 8/9] omap3: implement boot parameter saving

2011-08-08 Thread Simon Schwarz
On 08/08/2011 10:44 AM, Aneesh V wrote: > Hi Simon, > > On Monday 08 August 2011 01:33 PM, Simon Schwarz wrote: >> Hi Aneesh, >> >> On 08/05/2011 09:41 AM, Aneesh V wrote: >>> Hi Simon, >>> >>> On Tuesday 02 August 2011 09:29 PM, Simon Schwarz wrote: Implements the saving of boot params passed

Re: [U-Boot] [PATCH v2] ARM926ejs: Add routines to invalidate D-Cache

2011-08-08 Thread Aneesh V
Hi Reinhard, On Monday 08 August 2011 03:55 PM, Reinhard Meyer wrote: > Hi Aneesh, >> On Monday 08 August 2011 03:29 PM, Reinhard Meyer wrote: >>> Dear Albert, Aneesh, Hong, >>> >>> There seem to be functions of type >>> >>> xxx(start, end) and xxx(start, size). >>> >>> Can't it be somehow decided

Re: [U-Boot] [PATCH v2] ARM926ejs: Add routines to invalidate D-Cache

2011-08-08 Thread Reinhard Meyer
Hi Aneesh, > On Monday 08 August 2011 03:29 PM, Reinhard Meyer wrote: >> Dear Albert, Aneesh, Hong, >> >> There seem to be functions of type >> >> xxx(start, end) and xxx(start, size). >> >> Can't it be somehow decided to use only one variant >> in all cases (flush, invalidate)? > > The u-boot sta

Re: [U-Boot] [PATCH v2] ARM926ejs: Add routines to invalidate D-Cache

2011-08-08 Thread Aneesh V
Hi Reinhard, On Monday 08 August 2011 03:29 PM, Reinhard Meyer wrote: > Dear Albert, Aneesh, Hong, > > There seem to be functions of type > > xxx(start, end) and xxx(start, size). > > Can't it be somehow decided to use only one variant > in all cases (flush, invalidate)? The u-boot standard seems

Re: [U-Boot] [PATCH 1/2] SMDKV310: MMC SPL: Remove unwanted dummy functions

2011-08-08 Thread Minkyu Kang
Dear Chander Kashyap, On 28 July 2011 15:36, Chander Kashyap wrote: > Removed dummy functions in "mmc_spl/board/samsung/smdkv310/mmc_boot.c", > @mmc_boot.c > void do_undefined_instruction(struct pt_regs *pt_regs); > void do_software_interrupt(struct pt_regs *pt_regs); > void do_prefetch_abort(str

Re: [U-Boot] [PATCH v2] ARM926ejs: Add routines to invalidate D-Cache

2011-08-08 Thread Reinhard Meyer
Dear Albert, Aneesh, Hong, There seem to be functions of type xxx(start, end) and xxx(start, size). Can't it be somehow decided to use only one variant in all cases (flush, invalidate)? On a personal taste, I'd prefer (start, size) :) Best Regards, Reinhard

[U-Boot] Assalamualaikum

2011-08-08 Thread Rosenani rahman
Dear I'm Rosenani binti abd rahman,i work as Marketing Officer with a Gemstones Processing Company in London. i will like to introduce you to this business opportunity. i need your urgent assistance, which will be a benefit to both of us financially. i am contacting you because i don't want t

Re: [U-Boot] [PATCH v2] ARM926ejs: Add routines to invalidate D-Cache

2011-08-08 Thread Aneesh V
Hi Albert, On Monday 08 August 2011 03:09 PM, Albert ARIBAUD wrote: > Le 08/08/2011 10:24, Aneesh V a écrit : >> Hi Albert, >> >> On Sunday 07 August 2011 12:25 PM, Albert ARIBAUD wrote: >>> Hi Aneesh, >>> >>> (cutting quotation for readability) >>> >>> Le 05/08/2011 16:59, Aneesh V a écrit :

Re: [U-Boot] [PATCH v2] ARM926ejs: Add routines to invalidate D-Cache

2011-08-08 Thread Albert ARIBAUD
Le 08/08/2011 10:24, Aneesh V a écrit : > Hi Albert, > > On Sunday 07 August 2011 12:25 PM, Albert ARIBAUD wrote: >> Hi Aneesh, >> >> (cutting quotation for readability) >> >> Le 05/08/2011 16:59, Aneesh V a écrit : >>> Hi Albert, >> >>> I don't dispute that having buffers aligned is the ideal scen

Re: [U-Boot] [PATCH V8 3/9] omap-common: add nand spl support

2011-08-08 Thread Aneesh V
Hi Simon, On Monday 08 August 2011 01:20 PM, Simon Schwarz wrote: > Hi Aneesh, > > On 08/05/2011 09:30 AM, Aneesh V wrote: >> Hi Simon, >> >> Sorry if my response is late. I was not in office for couple of days. > > First day in office since vacation - so no you are not late ;) > >> >> On Tuesday

Re: [U-Boot] [PATCH] ARM926ejs: Add routines to invalidate D-Cache

2011-08-08 Thread Hong Xu
Hi Albert, On 08/08/2011 04:01 PM, Albert ARIBAUD wrote: > Hi Hong Xu, > > Le 08/08/2011 05:20, Hong Xu a écrit : >> After DMA operation, we need to maintain D-Cache coherency. >> So that the DCache must be invalidated (hence CPU will fetch [...] >> unaligned buffer and only round up/down the bu

Re: [U-Boot] [PATCHv2] new tool mkenvimage: generates an env image from an arbitrary config file

2011-08-08 Thread David Wagner
On 08/08/2011 10:46 AM, Albert ARIBAUD wrote: > Hi David, > > Le 08/08/2011 10:16, David Wagner a écrit : > +static void usage(void) +{ + printf("envcrc [-h] [-r] [-b] -s> size> -o " >>> >>> funny, "envcrc" isnt what the filename actually is ... >> >> ah, yes, it began as a

Re: [U-Boot] [PATCH V8 8/9] omap3: implement boot parameter saving

2011-08-08 Thread Aneesh V
Hi Simon, On Monday 08 August 2011 01:33 PM, Simon Schwarz wrote: > Hi Aneesh, > > On 08/05/2011 09:41 AM, Aneesh V wrote: >> Hi Simon, >> >> On Tuesday 02 August 2011 09:29 PM, Simon Schwarz wrote: >>> Implements the saving of boot params passed by OMAP3 ROM code. >>> >>> Signed-off-by: Simon Sch

Re: [U-Boot] [PATCHv2] new tool mkenvimage: generates an env image from an arbitrary config file

2011-08-08 Thread Albert ARIBAUD
Hi David, Le 08/08/2011 10:16, David Wagner a écrit : >>> +static void usage(void) >>> +{ >>> + printf("envcrc [-h] [-r] [-b] -s size> -o " >> >> funny, "envcrc" isnt what the filename actually is ... > > ah, yes, it began as an attempt to extend envcrc but ended up fairly > different. M

Re: [U-Boot] problem with mpc837x start.S

2011-08-08 Thread shawn Bai
> From: programas...@hotmail.com > To: scottw...@freescale.com > CC: u-boot@lists.denx.de > Subject: RE: [U-Boot] problem with mpc837x start.S > Date: Thu, 4 Aug 2011 11:37:02 + > > > > > > > Date: Wed, 3 Aug 2011 10:48:39 -0500 > > From: scottw...@fr

Re: [U-Boot] [PATCH v2] ARM926ejs: Add routines to invalidate D-Cache

2011-08-08 Thread Aneesh V
Hi Albert, On Sunday 07 August 2011 12:25 PM, Albert ARIBAUD wrote: > Hi Aneesh, > > (cutting quotation for readability) > > Le 05/08/2011 16:59, Aneesh V a écrit : >> Hi Albert, > >> I don't dispute that having buffers aligned is the ideal scenario. The >> question is about error-handling the sit

Re: [U-Boot] [PATCHv2] new tool mkenvimage: generates an env image from an arbitrary config file

2011-08-08 Thread David Wagner
Hi, On 08/06/2011 01:18 PM, Mike Frysinger wrote: > On Fri, Aug 5, 2011 at 09:23, David Wagner wrote: >> +#include > > this is not portable. include compiler.h and use the already existing > uswap/cpu_to/to_cpu/etc... helpers. > >> +static void usage(void) >> +{ >> + printf("envcrc

[U-Boot] [PATCH] Fix wrong loop bound in flush_cache() when "size" is zero.

2011-08-08 Thread Yao Cheng
The issue is found when calling flush_cache() with zero "size" argument. The bound of loop is miscalculated in this case and flush_cache() enters a wrong flushing loop. To fix this issue I skipped the operations when "size" is found to be zero. Signed-off-by: Yao Cheng Cc: Shinya Kuribayashi --

Re: [U-Boot] [PATCH V8 8/9] omap3: implement boot parameter saving

2011-08-08 Thread Simon Schwarz
Hi Aneesh, On 08/05/2011 09:41 AM, Aneesh V wrote: > Hi Simon, > > On Tuesday 02 August 2011 09:29 PM, Simon Schwarz wrote: >> Implements the saving of boot params passed by OMAP3 ROM code. >> >> Signed-off-by: Simon Schwarz >> --- >> Didn't exist before V8 >> --- >> arch/arm/cpu/armv7/omap-common

Re: [U-Boot] [PATCH] ARM926ejs: Add routines to invalidate D-Cache

2011-08-08 Thread Albert ARIBAUD
Hi Hong Xu, Le 08/08/2011 05:20, Hong Xu a écrit : > After DMA operation, we need to maintain D-Cache coherency. > So that the DCache must be invalidated (hence CPU will fetch > data written by DMA controller from RAM). > > Tested on AT91SAM9261EK with Peripheral DMA controller. > > Signed-off-by:

Re: [U-Boot] [PATCH V8 3/9] omap-common: add nand spl support

2011-08-08 Thread Simon Schwarz
Hi Aneesh, On 08/05/2011 09:30 AM, Aneesh V wrote: > Hi Simon, > > Sorry if my response is late. I was not in office for couple of days. First day in office since vacation - so no you are not late ;) > > On Tuesday 02 August 2011 09:29 PM, Simon Schwarz wrote: >> Add NAND support for the new SPL