Re: [U-Boot] [PATCH/RFC] fix several printf() modifiers

2011-12-15 Thread Andreas Bießmann
Dear Mike Frysinger, On 15.12.2011 06:35, Mike Frysinger wrote: > On Wednesday 14 December 2011 05:04:07 Andreas Bießmann wrote: >> --- a/arch/avr32/cpu/at32ap700x/mmu.c >> +++ b/arch/avr32/cpu/at32ap700x/mmu.c >> >> -printf("VMR table @ 0x%08x\n", vmr_table_addr); >> +printf("VMR table @

Re: [U-Boot] [PATCH 1/1] ARMV7: Add support For Logic OMAP35x/DM37x modules

2011-12-15 Thread Igor Grinberg
Hi Peter, In addition to Tom's comments, several comments below: On 12/15/11 00:47, Peter Barada wrote: > From: Peter Barada > > This patch adds basic support for OMAP35x/DM37x SOM LV/Torpedo > reference boards. It assumes U-boot is loaded to SDRAM with the > help of another small bootloader (x

[U-Boot] [PATCH v2 0/3] fix several printf() length modifers

2011-12-15 Thread Andreas Bießmann
From: Andreas Bießmann Andreas Bießmann (3): cmd_sf.c: fix printf() length modifier fat.c: fix printf() length modifier avr32:mmu.c: fix printf() length modifier arch/avr32/cpu/at32ap700x/mmu.c |2 +- common/cmd_sf.c |4 ++-- fs/fat/fat.c|2

[U-Boot] [PATCH v2 1/3] cmd_sf.c: fix printf() length modifier

2011-12-15 Thread Andreas Bießmann
From: Andreas Bießmann size_t is not always 'unsigned int', use corret length modifer. This patch fixes following warning: ---8<--- cmd_sf.c: In function 'spi_flash_update_block': cmd_sf.c:130: warning: format '%#x' expects type 'unsigend int', but argument 4 has type 'size_t' cmd_sf.c:135: wa

[U-Boot] [PATCH v2 2/3] fat.c: fix printf() length modifier

2011-12-15 Thread Andreas Bießmann
From: Andreas Bießmann The DIRENTSPERBLOCK utilizes sizeof() which will return a size_t which has no fixed size. Therefor use correct length modifer for printf() statement to prevent compiler warnings. This patch fixes following warning: ---8<--- fat.c: In function 'do_fat_read': fat.c:879: war

[U-Boot] [PATCH v2 3/3] avr32:mmu.c: fix printf() length modifier

2011-12-15 Thread Andreas Bießmann
From: Andreas Bießmann avr32 uses unsigned long addresses, fix the printf() length modifier for that fact. Before this patch following warning occours: ---8<--- mmu.c: In function 'mmu_init_r': mmu.c:25: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'uintptr_t' --

Re: [U-Boot] [PATCH 4/4] README: add documentation for CONFIG_USB_ULPI*

2011-12-15 Thread Igor Grinberg
On 12/14/11 21:26, Simon Glass wrote: > Hi Igor, > > On Tue, Dec 13, 2011 at 9:51 PM, Igor Grinberg > wrote: >> Hi Simon, >> >> On 12/14/11 02:28, Simon Glass wrote: >>> Hi Igor, >>> >>> On Mon, Dec 12, 2011 at 2:08 AM, Igor Grinberg >>> wrote: Add documentation for CONFIG_USB_ULPI and CO

[U-Boot] [PATCH v3 3/3] usb:gadget:s5p Enable the USB Gadget framework at Exynos4210 (C210 Universal)

2011-12-15 Thread Lukasz Majewski
This commit enables support for USB Gadgets on the Exynos4210 (C210 Universal) reference target. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Minkyu Kang CC: Remy Bohmer --- Changes for v2: - Rename the S5PC210_Universal to Exynos4210 Changes for v3: - status

Re: [U-Boot] [PATCH V4] nand_spl_simple: store ecc data on the stack

2011-12-15 Thread Stefano Babic
On 15/12/2011 10:03, Simon Schwarz wrote: > Hi Stefano, > > On 12/14/2011 09:49 AM, Stefano Babic wrote: > [SNIP] >> Because I thought that the patch will be merged by Tom, I rebased the >> patch on u-boot-ti. This is also because there is Ilya's patch: >> >> nand_spl_simple: add support for s

[U-Boot] [PATCH V5] nand_spl_simple: store ecc data on the stack

2011-12-15 Thread Stefano Babic
Currently nand_spl_simple puts it's temp data at 0x1 offset in SDRAM which is likely to contain already loaded data. The patch saves the oob data and the ecc on the stack replacing the fixed address in RAM. Signed-off-by: Stefano Babic CC: Ilya Yanok CC: Scott Wood CC: Tom Rini CC: Simon S

[U-Boot] question regarding generic board.c

2011-12-15 Thread Andreas Bießmann
Hi all, I encountered a compile warning in avr32 which lead me to the fact that every board.c utilizes these three lines: ---8<--- #if defined(CONFIG_CMD_NET) s = getenv("bootfile"); if (s) copy_filename(BootFile, s, sizeof(BootFile)); #endif --->8--- I know there

[U-Boot] [PATCH] OMAP3: Add Corscience Tricorder board

2011-12-15 Thread Thomas Weber
Tricorder is a board which is very similar to the Devkit8000. It is designed as a base platform for further medical devices. www.corscience.de/en/medical-engineering/products/multiparameter/mp10-board.html Signed-off-by: Thomas Weber --- MAINTAINERS|1 + board/co

[U-Boot] [PATCH] da850evm: Remove CONFIG_SYS_xxCACHE_OFF defines

2011-12-15 Thread Christian Riesch
This patch removes the defines CONFIG_SYS_ICACHE_OFF, CONFIG_SYS_DCACHE_OFF, and CONFIG_SYS_L2CACHE_OFF from the board configuration. These defines are useless since cache is anyway disabled for the entire architecture since commit cba4b1809f043bf85c806e5a4e342f62bd5ded45. Signed-off-by: Christian

Re: [U-Boot] AES128 in U-Boot

2011-12-15 Thread Matthias Weißer
Am 15.12.2011 08:30, schrieb Simon Glass: Hi, I am wanting to add an AES encryption library to U-Boot. I suppose it should be written in C, with small compiled code/data size (rather than high performance), GPL and fairly easy to read. Does anyone have any suggestions? Take a look at libtomcr

Re: [U-Boot] [PATCH 1/6] omap4: usb: Add omap-ehci support

2011-12-15 Thread Govindraj
Hi Tom, On Wed, Dec 14, 2011 at 9:30 PM, Tom Rini wrote: > On Wed, Dec 14, 2011 at 5:09 AM, Govindraj.R wrote: >> From: "Govindraj.R" > [snip] >> +/* TLL Register Set */ >> +#define        OMAP_USBTLL_SYSCONFIG_SIDLEMODE                 (1 << 3) > > Globally, please fix all #define to #define.

Re: [U-Boot] [PATCH 6/6] OMAP4: config: Add usb support for panda config.

2011-12-15 Thread Govindraj
On Wed, Dec 14, 2011 at 9:54 PM, Tom Rini wrote: > On Wed, Dec 14, 2011 at 5:21 AM, Govindraj.R wrote: >> From: "Govindraj.R" >> >> Enable usb ehci support and Ethernet support for panda board. >> Disable dcache as usb uses dma operations and to avoid any >> resulting cache coherency issue. >> >

Re: [U-Boot] [PATCH 6/6] OMAP4: config: Add usb support for panda config.

2011-12-15 Thread Govindraj
On Wed, Dec 14, 2011 at 9:57 PM, Tom Rini wrote: > On Wed, Dec 14, 2011 at 9:24 AM, Tom Rini wrote: >> On Wed, Dec 14, 2011 at 5:21 AM, Govindraj.R wrote: >>> From: "Govindraj.R" >>> >>> Enable usb ehci support and Ethernet support for panda board. >>> Disable dcache as usb uses dma operations

Re: [U-Boot] [PATCH 6/6] OMAP4: config: Add usb support for panda config.

2011-12-15 Thread Govindraj
On Wed, Dec 14, 2011 at 9:54 PM, Tom Rini wrote: > On Wed, Dec 14, 2011 at 5:21 AM, Govindraj.R wrote: >> From: "Govindraj.R" >> >> Enable usb ehci support and Ethernet support for panda board. >> Disable dcache as usb uses dma operations and to avoid any >> resulting cache coherency issue. >>

Re: [U-Boot] [PATCH v2 1/3] cmd_sf.c: fix printf() length modifier

2011-12-15 Thread Mike Frysinger
Acked-by: Mike Frysinger if it doesn't get picked up by someone else, i'll push via my sf branch -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/listin

Re: [U-Boot] [PATCH v2 2/3] fat.c: fix printf() length modifier

2011-12-15 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 v2 3/3] avr32:mmu.c: fix printf() length modifier

2011-12-15 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

[U-Boot] [PATCH] FAT: fix some issues in FAT write support code

2011-12-15 Thread Anatolij Gustschin
Writing a file to the FAT partition didn't work while a test using a CF card. The test was done on mpc5200 based board (powerpc). There is a number of problems in FAT write code: Compiler warning: fat_write.c: In function 'file_fat_write': fat_write.c:326: warning: 'counter' may be used uninitiali

Re: [U-Boot] [PATCH V10 5/7] omap-common/spl: Add linux boot to SPL

2011-12-15 Thread Stefano Babic
On 13/12/2011 11:20, Simon Schwarz wrote: > From: Simon Schwarz > > This adds Linux booting to the SPL > > This depends on CONFIG_MACH_TYPE patch by Igor Grinberg > (http://article.gmane.org/gmane.comp.boot-loaders.u-boot/105809) > > Related CONFIGs: > CONFIG_SPL_OS_BOOT > Activates/Deact

[U-Boot] [PATCH 00/18 V2] CHECKPATCH: fpgadata.c cleanup

2011-12-15 Thread Marek Vasut
First of the CHECKPATCH series of patches with per-file checkpatch fixes. This series fixes all files fpgadata.c, which contains PPC FPGA firmwares. There are no functional changes, only CHECKPATCH fixes. Marek Vasut (18): CHECKPATCH: ./board/dave/PPChameleonEVB/fpgadata.c CHECKPATCH: ./board

Re: [U-Boot] [PATCH 00/18 V2] CHECKPATCH: fpgadata.c cleanup

2011-12-15 Thread Marek Vasut
> First of the CHECKPATCH series of patches with per-file checkpatch fixes. > > This series fixes all files fpgadata.c, which contains PPC FPGA firmwares. > There are no functional changes, only CHECKPATCH fixes. > > Marek Vasut (18): > CHECKPATCH: ./board/dave/PPChameleonEVB/fpgadata.c > CHE

Re: [U-Boot] [PATCH 00/18 V2] CHECKPATCH: fpgadata.c cleanup

2011-12-15 Thread Stefan Roese
Hi Marek, On Thursday 15 December 2011 14:34:08 Marek Vasut wrote: > > board/dave/PPChameleonEVB/fpgadata.c | 3416 +--- > > board/esd/apc405/fpgadata.c| 6012 > > board/esd/ar405/fpgadata.c | 8250 +++-- > > board/esd/ar405/fpgadata_xl30.c

[U-Boot] [PATCH 0/7] CHECKPATCH: Cleanup LCD logo files

2011-12-15 Thread Marek Vasut
This series fixes the logo files by aligning them to 8 bytes per line and fixing subsequent CHECKPATCH issues. Marek Vasut (7): CHECKPATCH: ./board/esd/voh405/logo_640_480_24bpp.c CHECKPATCH: ./board/esd/voh405/logo_320_240_4bpp.c CHECKPATCH: ./board/esd/apc405/logo_640_480_24bpp.c CHECKPA

[U-Boot] [PATCH 2/7] CHECKPATCH: ./board/esd/voh405/logo_320_240_4bpp.c

2011-12-15 Thread Marek Vasut
Signed-off-by: Marek Vasut Cc: Stefan Roese --- board/esd/voh405/logo_320_240_4bpp.c | 230 ++--- 1 files changed, 153 insertions(+), 77 deletions(-) diff --git a/board/esd/voh405/logo_320_240_4bpp.c b/board/esd/voh405/logo_320_240_4bpp.c index e9f8cb4..5dfc1f7 100

[U-Boot] [PATCH 5/7] CHECKPATCH: ./board/esd/hh405/logo_320_240_4bpp.c

2011-12-15 Thread Marek Vasut
Signed-off-by: Marek Vasut Cc: Stefan Roese --- board/esd/hh405/logo_320_240_4bpp.c | 681 +++ 1 files changed, 454 insertions(+), 227 deletions(-) diff --git a/board/esd/hh405/logo_320_240_4bpp.c b/board/esd/hh405/logo_320_240_4bpp.c index ddf0d0b..52989de 100

Re: [U-Boot] [PATCH 00/18 V2] CHECKPATCH: fpgadata.c cleanup

2011-12-15 Thread Marek Vasut
> Hi Marek, > > On Thursday 15 December 2011 14:34:08 Marek Vasut wrote: > > > board/dave/PPChameleonEVB/fpgadata.c | 3416 +--- > > > board/esd/apc405/fpgadata.c| 6012 > > > board/esd/ar405/fpgadata.c | 8250 +++-- > > > board/esd/ar405/fpg

Re: [U-Boot] [PATCH 00/18 V2] CHECKPATCH: fpgadata.c cleanup

2011-12-15 Thread Anatolij Gustschin
Hi Marek, On Thu, 15 Dec 2011 14:26:41 +0100 Marek Vasut wrote: ... > 18 files changed, 63874 insertions(+), 31942 deletions(-) > > V2: Align to 8 bytes per line. > Cc: Anatolij Gustschin > Cc: Stefano Babic > > Anatolij, Stefano, can you skim through these and give me your ACK so I can > p

Re: [U-Boot] [PATCH 00/18 V2] CHECKPATCH: fpgadata.c cleanup

2011-12-15 Thread Stefan Roese
On Thursday 15 December 2011 14:50:16 Marek Vasut wrote: > > Matthias from esd is responsible for this code now (added to Cc). IIRC, > > then this code was automatically generated by some tool (FPGA binary data > > -> C code). > > > > But still: > > > > Acked-by: Stefan Roese > > Thanks for add

Re: [U-Boot] [PATCH 00/18 V2] CHECKPATCH: fpgadata.c cleanup

2011-12-15 Thread Marek Vasut
> Hi Marek, > > On Thu, 15 Dec 2011 14:26:41 +0100 > Marek Vasut wrote: > ... > > > 18 files changed, 63874 insertions(+), 31942 deletions(-) > > > > V2: Align to 8 bytes per line. > > Cc: Anatolij Gustschin > > Cc: Stefano Babic > > > > Anatolij, Stefano, can you skim through these and giv

Re: [U-Boot] [PATCH 00/18 V2] CHECKPATCH: fpgadata.c cleanup

2011-12-15 Thread Wolfgang Denk
Dear Stefan Roese, In message <201112151502.30771...@denx.de> you wrote: > > > Who will merge this, shall I do and push or will you do it ? > > Please go ahead and merge yourself. No. I want to maintain a 4 eye principle for all patches. Custodians can push any patches _but_their_own_ to u-boo

Re: [U-Boot] [PATCH 0/2] *** Add ext4 filesystem support in uboot ***

2011-12-15 Thread Wolfgang Denk
Dear uma.shan...@samsung.com, In message <1323970732-23803-2-git-send-email-uma.shan...@samsung.com> you wrote: > From: Uma Shankar > > *** > This patch series adds support for ext4 ls,load and write features in uboot > Journaling is supported for write feature. > > To Enable EXT4 commands, mo

Re: [U-Boot] [PATCH] arm, davinci: Fix build warnings for cam_enc_4xx

2011-12-15 Thread Tom Rini
On Wed, Dec 14, 2011 at 11:22 PM, Heiko Schocher wrote: > Hello Christian, > > Christian Riesch wrote: >> This patch fixes a build warning for the cam_enc_4xx board introduced by >> commit d6ec0c0dfc70447cf615ae80a952da81f73f16b4: >> >> spl.c:35:13: warning: 'gdata' defined but not used >> spl.c:3

Re: [U-Boot] [PATCH] overo: add SPL support

2011-12-15 Thread Andreas Müller
On Wednesday, December 14, 2011 06:24:13 PM Steve Sakoman wrote: > > I think you will also need to update the get_board_revision function > to ensure that SPL works with very early Overo revisions. > > Note this excerpt from the X-loader get_board_revision funtion: > > /* board revisions <

Re: [U-Boot] [PATCH v2] omap4_panda: Initialize the USB phy

2011-12-15 Thread Chris Lalancette
ping? Tom, Aneesh, what do you think of this version? Chris Lalancette On Tue, Dec 13, 2011 at 2:41 PM, wrote: > From: Chris Lalancette > > During misc_init_r, make sure to setup the clocks > properly for the USB hub on the pandaboard.  With > this in place, the USB hub and the ethernet works

Re: [U-Boot] [PATCH v2] omap4_panda: Initialize the USB phy

2011-12-15 Thread Tom Rini
On Thu, Dec 15, 2011 at 7:37 AM, Chris Lalancette wrote: > ping?  Tom, Aneesh, what do you think of this version? Just trying to make sure folks have a chance to review and comment, sorry, looks good from my PoV. > > Chris Lalancette > > On Tue, Dec 13, 2011 at 2:41 PM,   wrote: >> From: Chris L

Re: [U-Boot] [PATCH] da850_am18xxevm: Add CONFIG_SPI_FLASH_STMICRO to the board config

2011-12-15 Thread Tom Rini
On 12/15/2011 12:31 AM, Christian Riesch wrote: > The board config for the da850_am18xxevm board is missing > the CONFIG_SPI_FLASH_STMICRO option and therefore the SPI flash > on the AM1808 experimenter's kit could not be detected. > > Signed-off-by: Christian Riesch > Cc: Tom Rini > --- > incl

Re: [U-Boot] [PATCH v2] omap4_panda: Initialize the USB phy

2011-12-15 Thread Aneesh V
On Wednesday 14 December 2011 01:11 AM, clalance...@gmail.com wrote: From: Chris Lalancette During misc_init_r, make sure to setup the clocks properly for the USB hub on the pandaboard. With this in place, the USB hub and the ethernet works on the pandaboard. Signed-off-by: Chris Lalancette --

Re: [U-Boot] [PATCH 00/18 V2] CHECKPATCH: fpgadata.c cleanup

2011-12-15 Thread Marek Vasut
> > Hi Marek, > > > > On Thu, 15 Dec 2011 14:26:41 +0100 > > Marek Vasut wrote: > > ... > > > > > 18 files changed, 63874 insertions(+), 31942 deletions(-) > > > > > > V2: Align to 8 bytes per line. > > > Cc: Anatolij Gustschin > > > Cc: Stefano Babic > > > > > > Anatolij, Stefano, can you

Re: [U-Boot] Transferring images quickly with no Ethernet

2011-12-15 Thread Marek Vasut
> I have an embedded system with an OMAP3 that does not have an Ethernet > support. The only means of I/O to the process it is serial and USB > slave. Loading binary data over the serial line is just too slow; is > there any way to the USB slave to perform bulk transfers to speed my > development

Re: [U-Boot] Transferring images quickly with no Ethernet

2011-12-15 Thread John Rigby
On Wed, Dec 14, 2011 at 4:15 PM, Rishi Dhupar wrote: > I have an embedded system with an OMAP3 that does not have an Ethernet > support.  The only means of I/O to the process it is serial and USB > slave.  Loading binary data over the serial line is just too slow; is > there any way to the USB sla

[U-Boot] [PATCH v2 0/1]: USB: Fix ARM CONFIG_USB_TTY boards

2011-12-15 Thread Tom Rini
Hey all, As has been reported in a few threads now, and thanks to Aneesh V's analysis we know why Pandaboard/Beagleboard (and probably a number of other ARM boards) currently hang on boot. The following patch is based on Stefan's list of possible solutions to the problem he first encountered on O

[U-Boot] [PATCH v2 1/1] USB: Use (get|put)_unaligned for accessing wMaxPacketSize

2011-12-15 Thread Tom Rini
In 9792987721c7980453fe6447c3fa6593b44f8458 Stefan describes a usecase where the previous behavior of leaving wMaxPacketSize be unaligned caused fatal problems. The initial fix for this problem was incomplete however as it showed another cases of non-aligned access that previously worked implicitl

Re: [U-Boot] [PATCH 00/18 V2] CHECKPATCH: fpgadata.c cleanup

2011-12-15 Thread Matthias Fuchs
Hi Marek, thanks for that work. The patches against the esd files are Acked-by: Matthias Fuchs Matthias On 15.12.2011 14:26, Marek Vasut wrote: > First of the CHECKPATCH series of patches with per-file checkpatch fixes. > > This series fixes all files fpgadata.c, which contains PPC FPGA firmw

Re: [U-Boot] [PATCH] sandbox: Add tap based networking

2011-12-15 Thread Simon Glass
Hi Mike, On Tue, Dec 13, 2011 at 7:35 PM, Mike Frysinger wrote: > On Tuesday 13 December 2011 18:54:59 Simon Glass wrote: >> On Sun, Dec 4, 2011 at 9:57 AM, Matthias Weisser wrote: >> > --- a/arch/sandbox/cpu/os.c >> > +++ b/arch/sandbox/cpu/os.c >> > @@ -19,6 +19,7 @@ >> >  * MA 02111-1307 USA >

Re: [U-Boot] [PATCH 00/18 V2] CHECKPATCH: fpgadata.c cleanup

2011-12-15 Thread Matthias Fuchs
Hi Marek, On 15.12.2011 16:17, Marek Vasut wrote: >>> Hi Marek, >>> >>> On Thu, 15 Dec 2011 14:26:41 +0100 >>> Marek Vasut wrote: >>> ... >>> 18 files changed, 63874 insertions(+), 31942 deletions(-) V2: Align to 8 bytes per line. Cc: Anatolij Gustschin Cc: Stefano Babi

Re: [U-Boot] [PATCH 00/18 V2] CHECKPATCH: fpgadata.c cleanup

2011-12-15 Thread Stefan Roese
On Thursday 15 December 2011 16:17:06 Marek Vasut wrote: > > Well I can share the complete list of files that fail checkpatch. I ran > > checkpatch -f on the whole tree (.c and .h files) a few days ago :-) It > > ran for 5+ hours ;-) > > http://marex.hackndev.com/fail-list.txt > > This is after a

Re: [U-Boot] [PATCH v2] omap4_panda: Initialize the USB phy

2011-12-15 Thread Chris Lalancette
On Thu, Dec 15, 2011 at 10:08 AM, Aneesh V wrote: > On Wednesday 14 December 2011 01:11 AM, clalance...@gmail.com wrote: >> >> From: Chris Lalancette >> >> During misc_init_r, make sure to setup the clocks >> properly for the USB hub on the pandaboard.  With >> this in place, the USB hub and the e

Re: [U-Boot] [PATCH] da850_am18xxevm: Add CONFIG_SPI_FLASH_STMICRO to the board config

2011-12-15 Thread Christian Riesch
Hi Tom, On Thu, Dec 15, 2011 at 3:45 PM, Tom Rini wrote: > On 12/15/2011 12:31 AM, Christian Riesch wrote: >> The board config for the da850_am18xxevm board is missing >> the CONFIG_SPI_FLASH_STMICRO option and therefore the SPI flash >> on the AM1808 experimenter's kit could not be detected. [..

[U-Boot] [PATCH] arm, davinci: Use a common configuration file for da850evm and da850_am18xxevm

2011-12-15 Thread Christian Riesch
In commit 06194b6b65f701a9d6ef2d9b4123c4afe57d8783 a separate header file was introduced for the AM1808 EVM, include/configs/da850_am18xxevm.h. Before this commit, the da850evm.h configuration file was used for both the AM1808 and the OMAP-L138 EVMs. The only substantial difference between the da8

Re: [U-Boot] [PATCH] OMAP3: Add Corscience Tricorder board

2011-12-15 Thread Tom Rini
On Thu, Dec 15, 2011 at 3:16 AM, Thomas Weber wrote: > Tricorder is a board which is very similar to the Devkit8000. It > is designed as a base platform for further medical devices. > > www.corscience.de/en/medical-engineering/products/multiparameter/mp10-board.html [snip] > +#if defined(CONFIG_GE

Re: [U-Boot] [PATCH v2 3/3] mx28evk: Add initial support for MX28EVK board

2011-12-15 Thread Stefano Babic
On 15/12/2011 17:21, Fabio Estevam wrote: > Add initial support for Freescale MX28EVK board. > > Tested boot via SD card and by loading a kernel via TFTP through > the FEC interface. > > Signed-off-by: Fabio Estevam > --- > - For correct operation of saving environment variables into the SD card

Re: [U-Boot] [PATCH v2 3/3] mx28evk: Add initial support for MX28EVK board

2011-12-15 Thread Fabio Estevam
On Thu, Dec 15, 2011 at 2:42 PM, Stefano Babic wrote: > Wait...this patch conflict with your first patch of your patchset, where > you have already move this code in a common place. Anything wrong with > your patchset ? Sorry about that. I sent a fixed v3 version. Thanks, Fabio Estevam ___

[U-Boot] [PATCH v2 2/3] mx28: Let dram_init be common for mx28

2011-12-15 Thread Fabio Estevam
Let dram_init function be a common function, so that other mx28 boards can reuse it. Signed-off-by: Fabio Estevam --- arch/arm/cpu/arm926ejs/mx28/mx28.c | 21 + arch/arm/include/asm/arch-mx28/sys_proto.h |1 + board/denx/m28evk/m28evk.c | 21 -

[U-Boot] [PATCH v2 1/3] mx28: Let imx_get_mac_from_fuse be common for mx28

2011-12-15 Thread Fabio Estevam
Let imx_get_mac_from_fuse function be a common function, so that other mx28 boards can reuse it. Signed-off-by: Fabio Estevam --- arch/arm/cpu/arm926ejs/mx28/mx28.c | 35 arch/arm/include/asm/arch-mx28/sys_proto.h |2 + board/denx/m28evk/m28evk.c

[U-Boot] [PATCH v2 3/3] mx28evk: Add initial support for MX28EVK board

2011-12-15 Thread Fabio Estevam
Add initial support for Freescale MX28EVK board. Tested boot via SD card and by loading a kernel via TFTP through the FEC interface. Signed-off-by: Fabio Estevam --- - For correct operation of saving environment variables into the SD card, the following patch is needed: http://lists.denx.de/pipe

[U-Boot] [PATCH v3 2/3] mx28: Let dram_init be common for mx28

2011-12-15 Thread Fabio Estevam
Let dram_init function be a common function, so that other mx28 boards can reuse it. Signed-off-by: Fabio Estevam --- arch/arm/cpu/arm926ejs/mx28/mx28.c | 21 + arch/arm/include/asm/arch-mx28/sys_proto.h |1 + board/denx/m28evk/m28evk.c | 21 -

[U-Boot] [PATCH v3 3/3] mx28evk: Add initial support for MX28EVK board

2011-12-15 Thread Fabio Estevam
Add initial support for Freescale MX28EVK board. Tested boot via SD card and by loading a kernel via TFTP through the FEC interface. Signed-off-by: Fabio Estevam --- - For correct operation of saving environment variables into the SD card, the following patch is needed: http://lists.denx.de/pipe

[U-Boot] [PATCH] fsl_lbc: add printout of LCRR and LBCR to local bus regs

2011-12-15 Thread Paul Gortmaker
It can be handy to have these in the output when trying to debug odd behaviour. Signed-off-by: Paul Gortmaker diff --git a/arch/powerpc/cpu/mpc8xxx/fsl_lbc.c b/arch/powerpc/cpu/mpc8xxx/fsl_lbc.c index 587576b..023ac9a 100644 --- a/arch/powerpc/cpu/mpc8xxx/fsl_lbc.c +++ b/arch/powerpc/cpu/mpc8xx

Re: [U-Boot] [PATCH v2] omap4_panda: Initialize the USB phy

2011-12-15 Thread Tom Rini
On Thu, Dec 15, 2011 at 9:16 AM, Chris Lalancette wrote: > On Thu, Dec 15, 2011 at 10:08 AM, Aneesh V wrote: >> On Wednesday 14 December 2011 01:11 AM, clalance...@gmail.com wrote: >>> >>> From: Chris Lalancette >>> >>> During misc_init_r, make sure to setup the clocks >>> properly for the USB hu

[U-Boot] [PATCH v3 1/3] mx28: Let imx_get_mac_from_fuse be common for mx28

2011-12-15 Thread Fabio Estevam
Let imx_get_mac_from_fuse function be a common function, so that other mx28 boards can reuse it. Signed-off-by: Fabio Estevam --- arch/arm/cpu/arm926ejs/mx28/mx28.c | 35 arch/arm/include/asm/arch-mx28/sys_proto.h |2 + board/denx/m28evk/m28evk.c

Re: [U-Boot] [PATCH 00/18 V2] CHECKPATCH: fpgadata.c cleanup

2011-12-15 Thread Anatolij Gustschin
On Thu, 15 Dec 2011 14:26:41 +0100 Marek Vasut wrote: > First of the CHECKPATCH series of patches with per-file checkpatch fixes. > > This series fixes all files fpgadata.c, which contains PPC FPGA firmwares. > There > are no functional changes, only CHECKPATCH fixes. > > Marek Vasut (18): >

[U-Boot] [PATCH v2] ARMV7: Add support For Logic OMAP35x/DM37x modules

2011-12-15 Thread Peter Barada
This patch adds basic support for OMAP35x/DM37x SOM LV/Torpedo reference boards. It assumes U-boot is loaded to SDRAM with the help of another small bootloader (x-load) running from SRAM. Signed-off-by: Peter Barada Cc: Tom Rini Cc: Igor Grinberg --- Changes for V2: Rework logic_identify()

Re: [U-Boot] [PATCH v2 1/3] mx28: Let imx_get_mac_from_fuse be common for mx28

2011-12-15 Thread Marek Vasut
> Let imx_get_mac_from_fuse function be a common function, so that other > mx28 boards can reuse it. > > Signed-off-by: Fabio Estevam > --- > arch/arm/cpu/arm926ejs/mx28/mx28.c | 35 > arch/arm/include/asm/arch-mx28/sys_proto.h | > 2 + > board/denx/m28ev

Re: [U-Boot] [PATCH v2 2/3] mx28: Let dram_init be common for mx28

2011-12-15 Thread Marek Vasut
> Let dram_init function be a common function, so that other mx28 boards > can reuse it. > > Signed-off-by: Fabio Estevam > --- > arch/arm/cpu/arm926ejs/mx28/mx28.c | 21 + > arch/arm/include/asm/arch-mx28/sys_proto.h |1 + > board/denx/m28evk/m28evk.c

Re: [U-Boot] [PATCH v3 1/3] mx28: Let imx_get_mac_from_fuse be common for mx28

2011-12-15 Thread Marek Vasut
> Let imx_get_mac_from_fuse function be a common function, so that other > mx28 boards can reuse it. > Please add summaries (what does "v2" "v3" etc. change ...) so we don't have to review this again and again. M ___ U-Boot mailing list U-Boot@lists.

Re: [U-Boot] [PATCH v3 3/3] mx28evk: Add initial support for MX28EVK board

2011-12-15 Thread Marek Vasut
> Add initial support for Freescale MX28EVK board. > > Tested boot via SD card and by loading a kernel via TFTP through > the FEC interface. > > Signed-off-by: Fabio Estevam > --- 1) Do you use the DRAM init data used by DENX boards ? > diff --git > a/include/configs/mx28evk.h b/include/config

Re: [U-Boot] [PATCH 5/5 v2] mtd/nand: workaround for Freescale FCM to support 4k pagesize Nand chip

2011-12-15 Thread Scott Wood
On 12/15/2011 04:53 AM, Liu Shengzhou-B36685 wrote: -Original Message- From: Wood Scott-B07421 Sent: Tuesday, December 13, 2011 4:14 AM To: Liu Shengzhou-B36685 Cc: u-boot@lists.denx.de; Gala Kumar-B11780; Liu Shuo-B35362 Subject: Re: [PATCH 5/5 v2] mtd/nand: w

Re: [U-Boot] [PATCH v3 1/3] mx28: Let imx_get_mac_from_fuse be common for mx28

2011-12-15 Thread Stefano Babic
On 15/12/2011 17:34, Fabio Estevam wrote: > Let imx_get_mac_from_fuse function be a common function, so that other > mx28 boards can reuse it. > > Signed-off-by: Fabio Estevam > --- Hi Fabio, > + if (mx28_wait_mask_clr(&ocotp_regs->hw_ocotp_ctrl_reg, OCOTP_CTRL_BUSY, > +

Re: [U-Boot] [PATCH 00/18 V2] CHECKPATCH: fpgadata.c cleanup

2011-12-15 Thread Marek Vasut
> Hi Marek, > > On 15.12.2011 16:17, Marek Vasut wrote: > >>> Hi Marek, > >>> > >>> On Thu, 15 Dec 2011 14:26:41 +0100 > >>> Marek Vasut wrote: > >>> ... > >>> > 18 files changed, 63874 insertions(+), 31942 deletions(-) > > V2: Align to 8 bytes per line. > Cc: Anatolij Gus

Re: [U-Boot] [PATCH 00/18 V2] CHECKPATCH: fpgadata.c cleanup

2011-12-15 Thread Marek Vasut
> On Thursday 15 December 2011 16:17:06 Marek Vasut wrote: > > > Well I can share the complete list of files that fail checkpatch. I ran > > > checkpatch -f on the whole tree (.c and .h files) a few days ago :-) It > > > ran for 5+ hours ;-) > > > > http://marex.hackndev.com/fail-list.txt > > > >

Re: [U-Boot] [RFC] Add 'led' command

2011-12-15 Thread Jason Kridner
I hope I'm not too far off from understanding the comments made at the end of this thread... On Wed, Dec 14, 2011 at 4:31 PM, Simon Glass wrote: > Hi, > > On Wed, Dec 14, 2011 at 11:38 AM, Ulf Samuelsson > wrote: >> On 2011-12-14 20:11, Simon Glass wrote: >>> >>> Hi, >>> >>> On Tue, Dec 13, 2011

Re: [U-Boot] [PATCH v2] ARMV7: Add support For Logic OMAP35x/DM37x modules

2011-12-15 Thread Tom Rini
On Thu, Dec 15, 2011 at 10:15 AM, Peter Barada wrote: > This patch adds basic support for OMAP35x/DM37x SOM LV/Torpedo > reference boards. It assumes U-boot is loaded to SDRAM with the > help of another small bootloader (x-load) running from SRAM. #if 0'd code isn't allowed for merging so I assum

Re: [U-Boot] [PATCH] overo: add SPL support

2011-12-15 Thread Tom Rini
On Thu, Dec 15, 2011 at 7:34 AM, Andreas Müller wrote: > On Wednesday, December 14, 2011 06:24:13 PM Steve Sakoman wrote: >> >> I think you will also need to update the get_board_revision function >> to ensure that SPL works with very early Overo revisions. >> >> Note this excerpt from the X-loade

Re: [U-Boot] [PATCH/RFC] fix several printf() modifiers

2011-12-15 Thread Mike Frysinger
On Thursday 15 December 2011 03:30:37 Andreas Bießmann wrote: > On 15.12.2011 06:35, Mike Frysinger wrote: > > On Wednesday 14 December 2011 05:04:07 Andreas Bießmann wrote: > >> --- a/arch/avr32/cpu/at32ap700x/mmu.c > >> +++ b/arch/avr32/cpu/at32ap700x/mmu.c > >> > >> - printf("VMR table @ 0x%08

Re: [U-Boot] [PATCH 00/18 V2] CHECKPATCH: fpgadata.c cleanup

2011-12-15 Thread Mike Frysinger
On Thursday 15 December 2011 08:26:41 Marek Vasut wrote: > First of the CHECKPATCH series of patches with per-file checkpatch fixes. > > This series fixes all files fpgadata.c, which contains PPC FPGA firmwares. > There are no functional changes, only CHECKPATCH fixes. i don't really see any poin

Re: [U-Boot] [PATCH 0/7] CHECKPATCH: Cleanup LCD logo files

2011-12-15 Thread Mike Frysinger
On Thursday 15 December 2011 08:45:48 Marek Vasut wrote: > This series fixes the logo files by aligning them to 8 bytes per line and > fixing subsequent CHECKPATCH issues. same comment as fpgadata.c ... would make more sense to find/update the tool creating these files rather than hand modifying

Re: [U-Boot] AES128 in U-Boot

2011-12-15 Thread Mike Frysinger
On Thursday 15 December 2011 02:30:40 Simon Glass wrote: > I am wanting to add an AES encryption library to U-Boot. I suppose it > should be written in C, with small compiled code/data size (rather > than high performance), GPL and fairly easy to read. just has to be GPL compatible as Matthias al

Re: [U-Boot] about flashing the u-boot

2011-12-15 Thread Scott Wood
On 12/14/2011 09:01 PM, Aggrwal Poonam-B10812 wrote: > > >> -Original Message- >> From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] >> On Behalf Of Érico Porto >> Sent: Thursday, December 15, 2011 8:14 AM >> To: u-boot@lists.denx.de >> Subject: Re: [U-Boot] about fl

Re: [U-Boot] [PATCH 1/2] net/fm: check the old and new Fman microcode locations in NOR flash

2011-12-15 Thread Kumar Gala
On Dec 14, 2011, at 4:34 PM, Timur Tabi wrote: > On some Freescale reference boards for SOCs with Fman devices, the Fman > microcode is located at address 0xEF00 in NOR flash. Unfortunately, > this address is in the "middle of nowhere" and makes it difficult to > partition flash space for ot

Re: [U-Boot] [PATCH 1/2] net/fm: check the old and new Fman microcode locations in NOR flash

2011-12-15 Thread Timur Tabi
Kumar Gala wrote: > I see no reason for this patch, if you're flashing a new u-boot flash > the microcode to the new address as well. This is useful for people who have not moved the microcode. Are we going to ensure that everyone who updates U-Boot will also move their microcode to the new

Re: [U-Boot] [PATCH 1/2] net/fm: check the old and new Fman microcode locations in NOR flash

2011-12-15 Thread Kumar Gala
On Dec 15, 2011, at 2:09 PM, Timur Tabi wrote: > Kumar Gala wrote: > >> I see no reason for this patch, if you're flashing a new u-boot flash >> the microcode to the new address as well. > > This is useful for people who have not moved the microcode. Are we going to > ensure that everyone w

Re: [U-Boot] [PATCH v3] AT91: pio: Add PIO3 features

2011-12-15 Thread Remy Bohmer
Hi, 2011/11/16 Hong Xu : > This patch adds the support for new PIO controller introduced by some > AT91 SoCs. > > New features include > * More peripheral multiplexing > * Pull-down, Schmitt trigger, Debouncer > * More irq trigger mode (may be not interesting in U-Boot) > > Signed-off-by: Hong Xu

[U-Boot] [PATCH v4 1/3] mx28: Let imx_get_mac_from_fuse be common for mx28

2011-12-15 Thread Fabio Estevam
Let imx_get_mac_from_fuse function be a common function, so that other mx28 boards can reuse it. Signed-off-by: Fabio Estevam --- Change since v3: - Add a note about the first two MAC addresses being from Freescale vendor. arch/arm/cpu/arm926ejs/mx28/mx28.c | 41 ++

[U-Boot] [PATCH v4 2/3] mx28: Let dram_init be common for mx28

2011-12-15 Thread Fabio Estevam
Let dram_init function be a common function, so that other mx28 boards can reuse it. Signed-off-by: Fabio Estevam --- Changes since v3: - Rename dram_init to mx28_dram_init arch/arm/cpu/arm926ejs/mx28/mx28.c | 21 + arch/arm/include/asm/arch-mx28/sys_proto.h |

[U-Boot] [PATCH v4 3/3] mx28evk: Add initial support for MX28EVK board

2011-12-15 Thread Fabio Estevam
Add initial support for Freescale MX28EVK board. Tested boot via SD card and by loading a kernel via TFTP through the FEC interface. Signed-off-by: Fabio Estevam --- - For correct operation of saving environment variables into the SD card, the following patch is needed: http://lists.denx.de/pipe

Re: [U-Boot] [PATCH v3 3/3] mx28evk: Add initial support for MX28EVK board

2011-12-15 Thread Fabio Estevam
On Thu, Dec 15, 2011 at 3:25 PM, Marek Vasut wrote: > 1) Do you use the DRAM init data used by DENX boards ? Yes, same DDR settings. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v3 1/2] net: add Calxeda xgmac driver

2011-12-15 Thread Rob Herring
From: Rob Herring This adds ethernet driver for Calxeda xgmac found on Highbank SOC. Signed-off-by: Rob Herring --- v3: - whitespace fixes - move reset to .init function - fix calxedaxgmac_initialize return values - fix 2 build warnings v2: -Convert register base plus offset to struct -drop et

[U-Boot] [PATCH v3 2/2] ARM: highbank: enable networking and pxe

2011-12-15 Thread Rob Herring
From: Rob Herring This enables the XGMAC ethernet driver and networking related config options. Signed-off-by: Jason Hobbs Signed-off-by: Rob Herring --- v3: - make board_eth_init return number of devices initialized v2: -drop CONFIG_NET_MULTI -drop leftover 'verify' env setting board/high

[U-Boot] [PATCH] USB: move keyboard polling from EHCI driver into kbd driver

2011-12-15 Thread amartin
From: Allen Martin This removes dependency on global variable "new" from EHCI driver with CONFIG_SYS_USB_EVENT_POLL turned on and gets USB keyboard working with EHCI driver again. Signed-off-by: Allen Martin --- common/usb_kbd.c| 18 +- drivers/usb/host/ehci-hcd.c

[U-Boot] [PATCH v5 1/3] mx28: Let imx_get_mac_from_fuse be common for mx28

2011-12-15 Thread Fabio Estevam
Let imx_get_mac_from_fuse function be a common function, so that other mx28 boards can reuse it. Signed-off-by: Fabio Estevam --- Changes since v4: - No changes Change since v3: - Add a note about the first two MAC addresses being from Freescale vendor. arch/arm/cpu/arm926ejs/mx28/mx28.c

[U-Boot] [PATCH v5 2/3] mx28: Let dram_init be common for mx28

2011-12-15 Thread Fabio Estevam
Let dram_init function be a common function, so that other mx28 boards can reuse it. Signed-off-by: Fabio Estevam --- Changes since v4: - Call mx28_dram_init from m28evk.c Changes since v3: - Rename dram_init to mx28_dram_init arch/arm/cpu/arm926ejs/mx28/mx28.c | 21 ++

[U-Boot] [PATCH v5 3/3] mx28evk: Add initial support for MX28EVK board

2011-12-15 Thread Fabio Estevam
Add initial support for Freescale MX28EVK board. Tested boot via SD card and by loading a kernel via TFTP through the FEC interface. Signed-off-by: Fabio Estevam --- - For correct operation of saving environment variables into the SD card, the following patch is needed: http://lists.denx.de/pipe

Re: [U-Boot] [PATCH V5] nand_spl_simple: store ecc data on the stack

2011-12-15 Thread Scott Wood
On 12/15/2011 03:55 AM, Stefano Babic wrote: > Currently nand_spl_simple puts it's temp data at 0x1 offset in SDRAM > which is likely to contain already loaded data. > The patch saves the oob data and the ecc on the stack replacing > the fixed address in RAM. > > Signed-off-by: Stefano Babic

Re: [U-Boot] [PATCH 2/2] ext4fs write support

2011-12-15 Thread Kim Phillips
On Thu, 15 Dec 2011 23:09:53 +0530 wrote: > fs/ext4/crc16.c| 62 +++ > fs/ext4/crc16.h| 16 + there are already three crc16 implementations in u-boot according to my count. Please let's not add a fourth - hopefully the only thing wrong with using lib/crc16.c was that you wer

Re: [U-Boot] about flashing the u-boot

2011-12-15 Thread Érico Porto
I use a board created by some guys in the company where I`m a internet. It uses the u-boot-1.1.6-mpc832x_rdb.spec file on ltib to build it. And I do have the memory map for it - where in flash goes what.. I thought some memory manipulation commands on boot could help me to do a write over, but was

Re: [U-Boot] about flashing the u-boot

2011-12-15 Thread Scott Wood
On 12/15/2011 04:29 PM, Érico Porto wrote: > I use a board created by some guys in the company where I`m a > internet. It uses the u-boot-1.1.6-mpc832x_rdb.spec file on ltib to > build it. And I do have the memory map for it - where in flash goes > what.. I recommend just using the current mainlin

  1   2   >