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

2011-09-05 Thread Anatolij Gustschin
Hello Wolfgang, The following changes since commit 99ffccbd3e5b7bc715e2eed6ea6d36f4020b56d8: Flush cache after the OS image is loaded into the memory. (2011-09-05 16:07:44 +0200) are available in the git repository at: git://git.denx.de/u-boot-video.git master Wolfgang Denk (1): VIDE

Re: [U-Boot] [PATCH] VIDEO: mb86r0xgdc.c: fix warning: unused variable 'i'

2011-09-05 Thread Anatolij Gustschin
Hello Wolfgang, On Mon, 5 Sep 2011 21:51:33 +0200 Wolfgang Denk wrote: > Fix build warning: > > Configuring for jadecpu board... > mb86r0xgdc.c: In function 'dsp_init': > mb86r0xgdc.c:60: warning: unused variable 'i' > > Signed-off-by: Wolfgang Denk > Cc: Anatolij Gustschin > --- > drivers

Re: [U-Boot] [PATCH v11 5/9] nds32/lib: add generic funcs in NDS32 lib

2011-09-05 Thread 馬克泡
Hi, Mike and Wolfgang, 2011/9/1 Mike Frysinger : > On Thursday, September 01, 2011 01:52:46 Macpaul Lin wrote: [... skipped and will discuss these later] >> +void board_init_f(ulong bootflag) >> +{ >> ... >> +     /* Pointer is writable since we allocated a register for it */ >> +     gd = (gd_t

Re: [U-Boot] [PATCH 3/3 v3] ARM: ARM926EJS - Add cache operations

2011-09-05 Thread Marek Vasut
On Tuesday, September 06, 2011 08:19:26 AM Albert ARIBAUD wrote: > Le 05/09/2011 21:50, Marek Vasut a écrit : > >> Le 02/09/2011 13:57, Marek Vasut a écrit : > >>> On Friday, September 02, 2011 01:43:39 PM Simon Guinot wrote: > On Fri, Sep 02, 2011 at 12:23:54PM +0200, Marek Vasut wrote: > >>>

Re: [U-Boot] [PATCH 3/3 v3] ARM: ARM926EJS - Add cache operations

2011-09-05 Thread Albert ARIBAUD
Le 05/09/2011 21:50, Marek Vasut a écrit : >> Le 02/09/2011 13:57, Marek Vasut a écrit : >>> On Friday, September 02, 2011 01:43:39 PM Simon Guinot wrote: On Fri, Sep 02, 2011 at 12:23:54PM +0200, Marek Vasut wrote: > On Friday, September 02, 2011 12:22:05 PM Simon Guinot wrote: >> Hi

Re: [U-Boot] mx35pdk vs. mx35_3stack

2011-09-05 Thread Teemu Keskinarkaus
Hi, -Original Message- From: Stefano Babic [mailto:sba...@denx.de] Take into account that the u-boot.bin in the last release must be stored on the NOR flash of your board - the board has both NAND and NOR flash. The DIP switch on the main board and on the Debug extension must be set to

Re: [U-Boot] [PATCH v11 3/9] nds32/core N1213: NDS32 N12 core family N1213

2011-09-05 Thread 馬克泡
Hi Mike and Albert, 2011/9/1 Mike Frysinger : > On Thursday, September 01, 2011 01:52:44 Macpaul Lin wrote: >> --- /dev/null >> +++ b/arch/nds32/cpu/n1213/u-boot.lds >> >> +SECTIONS >> +{ >> +     . = 0x; > > shouldnt this be CONFIG_SYS_TEXT_BASE or CONFIG_SYS_MONITOR_BASE or something > o

[U-Boot] Good news?! China Daily Europe advertising - Two-for-One expiring 15th Sept

2011-09-05 Thread China Daily Europe (European Edition - Weekly)
Hi there! We thought you might be interested to know that the TWO-FOR-ONE advertising offer for China Daily Europe Edition (weekly) has been reinstated briefly and is finishing on 15th Sept 2011 (original details below). This £2500.00 offer gives you exposure to the entire AB1 distribution in t

[U-Boot] [PATCH v2] fix compile warning for env tools

2011-09-05 Thread Luka Perkov
Patch fixes this issue: fw_env.c: In function ‘fw_setenv’: fw_env.c:492:5: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘size_t’ [-Wformat] fw_env.c: In function ‘flash_write_buf’: fw_env.c:806:6: warning: format ‘%u’ expects argument of type ‘unsigned int

Re: [U-Boot] Patches to fix more ARM boards

2011-09-05 Thread stefano babic
Am 05/09/2011 21:26, schrieb Wolfgang Denk: > Dear Albert & Stefano, > > earlier today I posted a number of patches to remove some more dead > ARM boards: > > [PATCH 00/10] ARM board removal, next round > http://article.gmane.org/gmane.comp.boot-loaders.u-boot/107465 > http://article.gm

Re: [U-Boot] [PATCH] minor improvements for env tools

2011-09-05 Thread Wolfgang Denk
Dear Luka Perkov, In message <20110905203848.ga12...@w500.gigaset.lan> you wrote: > Patch from openwrt commit r20062 regarding erase_len. > > Correct types inside two fprintf functions. > > Signed-off-by: Luka Perkov < lists ->-to->- lukaperkov.net > Also, please fix you SoB line. "lists ->-to-

Re: [U-Boot] [PATCH] minor improvements for env tools

2011-09-05 Thread Wolfgang Denk
Dear Luka Perkov, In message <20110905203848.ga12...@w500.gigaset.lan> you wrote: > Patch from openwrt commit r20062 regarding erase_len. > > Correct types inside two fprintf functions. > > Signed-off-by: Luka Perkov < lists ->-to->- lukaperkov.net > > --- > > diff --git a/tools/env/fw_env.c b/

Re: [U-Boot] [PATCH 0/3] omap: gpio: Use generic API (instead of custom)

2011-09-05 Thread Paulraj, Sandeep
> > Sanjeev Premi (3): > omap: gpio: Use generic API > omap: gpio: generic changes after changing API > omap: gpio: Adapt board files to use generic API > > arch/arm/cpu/armv7/omap-common/gpio.c | 113 > - > arch/arm/cpu/armv7/omap4/clocks.c |5 +

[U-Boot] [PATCH] minor improvements for env tools

2011-09-05 Thread Luka Perkov
Patch from openwrt commit r20062 regarding erase_len. Correct types inside two fprintf functions. Signed-off-by: Luka Perkov < lists ->-to->- lukaperkov.net > --- diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c index ed6b53f..4e4f6aa 100644 --- a/tools/env/fw_env.c +++ b/tools/env/fw_env.c

[U-Boot] [PATCH 3/3] omap: gpio: Adapt board files to use generic API

2011-09-05 Thread Sanjeev Premi
This patch contains updates the sources in the board files to use the generic API. Signed-off-by: Sanjeev Premi --- While most changes were done via script mentioned in the patch 0/3, some of the changes were manual - as the script failed to match few instances. board/cm_t35/leds.c

[U-Boot] [PATCH 2/3] omap: gpio: generic changes after changing API

2011-09-05 Thread Sanjeev Premi
This patch contains the generic changes required after change to generic API in the previous patch. Signed-off-by: Sanjeev Premi --- This patch could have been merged with previous one, but has been kept separate to illustrate (and review) the changes to generic code. arch/arm/cpu/armv7/oma

[U-Boot] [PATCH 1/3] omap: gpio: Use generic API

2011-09-05 Thread Sanjeev Premi
Convert all OMAP specific functions to use the common API definitions in include/asm/gpio.h. In the process, made few additional changes: - Use -EINVAL consistently. -1 was used in many places. - Removed one-liner static functions that were used only once. Replaced the content as necessary. -

[U-Boot] [PATCH 0/3] omap: gpio: Use generic API (instead of custom)

2011-09-05 Thread Sanjeev Premi
The OMAP boards use a custom api for GPIO operations. While it works, it doesn't help when when we don't know existence of the customization. I earlier encountered the problem when looking for GPIO related changes when submitting prev set of patches. Since the search for gpio_request() in omap sou

Re: [U-Boot] [PATCH] ARM: PXA: remove broken "zylonite" board.

2011-09-05 Thread Marek Vasut
On Monday, September 05, 2011 10:00:30 PM Wolfgang Denk wrote: > Signed-off-by: Wolfgang Denk > Cc: Albert ARIBAUD > Cc: Marek Vasut > --- Acked-by: Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2] OMAP: Remove omapfb.debug=y from Beagle and Overo env settings

2011-09-05 Thread Paulraj, Sandeep
> > Le 11/08/2011 21:28, Joel A Fernandes a écrit : > > From: Steve Sakoman > > > > The kernel DSS2 code is mature now, and keeping this setting hurts > performance > > > > Signed-off-by: Steve Sakoman > > Signed-off-by: Joel A Fernandes > > --- > > Changes since v1: > > Added myself to SOB > >

[U-Boot] [PATCH] ARM: PXA: remove broken "zylonite" board.

2011-09-05 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk Cc: Albert ARIBAUD Cc: Marek Vasut --- I discussed this on IRC with Marek; he says the Zylonite board is broken beyond repair and should be removed. So be it, then. -- wd board/zylonite/Makefile| 51 board/zylonite/config.mk |4 - board/zy

[U-Boot] [PATCH] VIDEO: mb86r0xgdc.c: fix warning: unused variable 'i'

2011-09-05 Thread Wolfgang Denk
Fix build warning: Configuring for jadecpu board... mb86r0xgdc.c: In function 'dsp_init': mb86r0xgdc.c:60: warning: unused variable 'i' Signed-off-by: Wolfgang Denk Cc: Anatolij Gustschin --- drivers/video/mb86r0xgdc.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/dr

Re: [U-Boot] [PATCH 3/3 v3] ARM: ARM926EJS - Add cache operations

2011-09-05 Thread Marek Vasut
> Le 02/09/2011 13:57, Marek Vasut a écrit : > > On Friday, September 02, 2011 01:43:39 PM Simon Guinot wrote: > > > On Fri, Sep 02, 2011 at 12:23:54PM +0200, Marek Vasut wrote: > > > > On Friday, September 02, 2011 12:22:05 PM Simon Guinot wrote: > > > > > Hi Hong, > > > > > > > > > > On Mon, Aug

Re: [U-Boot] [PATCH 3/3 v3] ARM: ARM926EJS - Add cache operations

2011-09-05 Thread Albert ARIBAUD
Le 02/09/2011 13:57, Marek Vasut a écrit : > On Friday, September 02, 2011 01:43:39 PM Simon Guinot wrote: >> On Fri, Sep 02, 2011 at 12:23:54PM +0200, Marek Vasut wrote: >>> On Friday, September 02, 2011 12:22:05 PM Simon Guinot wrote: Hi Hong, On Mon, Aug 15, 2011 at 03:08:51PM +08

[U-Boot] [PATCH] harmony / seaboard: fix out of tree building

2011-09-05 Thread Wolfgang Denk
Out of tree building of the "harmony" and "seaboard" boards failed like this: Configuring for harmony board... Assembler messages: Fatal error: can't create /work/wd/tmp-arm/board/nvidia/harmony/../common/board.o: No such file or directory make[1]: *** [/work/wd/tmp-arm/board/nvidia/harmony/../c

Re: [U-Boot] Patches to fix more ARM boards

2011-09-05 Thread Albert ARIBAUD
Hi Wolfgang, Le 05/09/2011 21:26, Wolfgang Denk a écrit : > Dear Albert& Stefano, > > earlier today I posted a number of patches to remove some more dead > ARM boards: > > [PATCH 00/10] ARM board removal, next round > http://article.gmane.org/gmane.comp.boot-loaders.u-boot/107465 > ht

[U-Boot] Patches to fix more ARM boards

2011-09-05 Thread Wolfgang Denk
Dear Albert & Stefano, earlier today I posted a number of patches to remove some more dead ARM boards: [PATCH 00/10] ARM board removal, next round http://article.gmane.org/gmane.comp.boot-loaders.u-boot/107465 http://article.gmane.org/gmane.comp.boot-loaders.u-boot/107469

Re: [U-Boot] [PATCH v2] OMAP: Remove omapfb.debug=y from Beagle and Overo env settings

2011-09-05 Thread Albert ARIBAUD
Le 11/08/2011 21:28, Joel A Fernandes a écrit : > From: Steve Sakoman > > The kernel DSS2 code is mature now, and keeping this setting hurts performance > > Signed-off-by: Steve Sakoman > Signed-off-by: Joel A Fernandes > --- > Changes since v1: > Added myself to SOB I see no indication of this an

[U-Boot] De administrador de sistemas

2011-09-05 Thread junaida
Un virus DGTFX se ha detectado en sus carpetas. Su cuenta de correo tiene que ser actualizado a la nueva garantizados DGTFX anti-virus versión 2011 para evitar daños a nuestro registro de correo web y sus archivos importantes. De revalidar su buzón de correo por favor clickhere administrador de

[U-Boot] Setting CONFIG_SYS_TEXT_BASE when CONFIG_NAND_SPL is selected

2011-09-05 Thread Fabio Estevam
Hi, On a MX31PDK the only boot media is NAND flash, so I was trying to get rid of the conditional setting of CONFIG_SYS_TEXT_BASE. CONFIG_NAND_SPL is set in nand_spl/board/freescale/mx31pdk/Makefile. ,so I tried the following: diff --git a/board/freescale/mx31pdk/config.mk b/board/freescale/mx3

[U-Boot] [PATCH] MX31: mx31pdk: Remove nand_spl config.mk file

2011-09-05 Thread Fabio Estevam
No need to have a config.mk to only store a single line. Signed-off-by: Fabio Estevam --- nand_spl/board/freescale/mx31pdk/Makefile |2 +- nand_spl/board/freescale/mx31pdk/config.mk |1 - 2 files changed, 1 insertions(+), 2 deletions(-) delete mode 100644 nand_spl/board/freescale/mx31p

[U-Boot] [PATCH v5 1/3] mx25: Introduce sys_proto.h

2011-09-05 Thread Fabio Estevam
Create a sys_proto.h for MX25 as done on other MX25 processors. Signed-off-by: Fabio Estevam --- Changes since v4: - Omit "extern" annotation in function prototype Changes since v3: - No changes. This patch was introduced in v4 arch/arm/cpu/arm926ejs/mx25/generic.c |1 + arch/arm/includ

[U-Boot] [PATCH v5 3/3] MX25: Add initial support for MX25PDK

2011-09-05 Thread Fabio Estevam
Add the initial support for MX25PDK booting from SD card via internal boot. Signed-off-by: Fabio Estevam --- Chanegs since v4: - No changes Changes since v3: - No changes Changes since v2: - No changes Changes since v1: - Keep mx25pdk entry to boards.cfg sorted - Removed unused defines in mx25pdk

[U-Boot] [PATCH v5 2/3] MX25: tx25: Avoid the usage of extern in C file

2011-09-05 Thread Fabio Estevam
Avoid the usage of extern in C file as pointed out by checkpatch. Signed-off-by: Fabio Estevam --- Chanegs since v4: - No changes Changes since v3: - Place mx25_uart1_init_pins inside sys_proto.h Changes since v2: - Place the extern in the MX25 imx-regs.h instead of inside the MX27 imx-regs.h Cha

[U-Boot] [PATCH 2/2] phylib: remove a couple of redundant code lines

2011-09-05 Thread Vladimir Zapolskiy
This change slightly improves readability of the phydev speed/duplex assignment logic. Signed-off-by: Vladimir Zapolskiy --- drivers/net/phy/phy.c |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index 8da7688..833a051 1

[U-Boot] [PATCH 1/2] phylib: reset mii bus only if reset handler is registered

2011-09-05 Thread Vladimir Zapolskiy
This change allows to cope with a mii bus device registered using miiphy_register(), which doesn't assign a default reset handler. Signed-off-by: Vladimir Zapolskiy --- drivers/net/phy/phy.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/net/phy/phy.c b/driver

[U-Boot] [PATCH 0/2] phylib: a couple of minor fixes in generic phy library

2011-09-05 Thread Vladimir Zapolskiy
Hello, recently I decided to port one (not integrated to U-boot yet) MAC to use phylib, and found that it serves quite good. I managed to find only one bug related to miiphy_register() and phylib cooperative usage, the small fix is provided. Additionally let me send a tiny readability improvement

[U-Boot] [PATCH] doc: provide a correct board_init_r definition path

2011-09-05 Thread Vladimir Zapolskiy
This is a trivial fix in the documentation, which corrects board_init_r() source reference. Signed-off-by: Vladimir Zapolskiy --- doc/README.console |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/doc/README.console b/doc/README.console index 25c4f1d..b353f9f 100644 ---

[U-Boot] [PATCH] harmony: fix out of tree building

2011-09-05 Thread Wolfgang Denk
Out of tree building of the "harmony" board failed like this: Configuring for harmony board... Assembler messages: Fatal error: can't create /work/wd/tmp-arm/board/nvidia/harmony/../common/board.o: No such file or directory make[1]: *** [/work/wd/tmp-arm/board/nvidia/harmony/../common/board.o] E

Re: [U-Boot] [PATCH v3 1/2] MX25: tx25: Avoid the usage of extern in C file

2011-09-05 Thread Stefano Babic
On 09/05/2011 05:48 PM, Fabio Estevam wrote: > On Mon, Sep 5, 2011 at 12:40 PM, Marek Vasut wrote: > ... > Hi Fabio, >>> ./scripts/checkpatch.pl -F u-boot/board/karo/tx25/tx25.c >>> >>> WARNING: externs should be avoided in .c files >>> #144: FILE: home/fabio/denx/u-boot/board/karo/tx25/tx2

Re: [U-Boot] [PATCH v3 1/2] MX25: tx25: Avoid the usage of extern in C file

2011-09-05 Thread Marek Vasut
On Monday, September 05, 2011 06:02:21 PM Wolfgang Denk wrote: > Dear Fabio Estevam, > > In message you wrote: > > > But you're using extern in _header_ (.h) file ... so ... why ? > > > > My patch removes the extern from the C file and put it on a header > > file with other extern's. > > What

Re: [U-Boot] [PATCH v3 1/2] MX25: tx25: Avoid the usage of extern in C file

2011-09-05 Thread Wolfgang Denk
Dear Fabio Estevam, In message you wrote: > > > But you're using extern in _header_ (.h) file ... so ... why ? > > > > My patch removes the extern from the C file and put it on a header > file with other extern's. What Marek probably wants to tell yet (in a bit a complicated way) is that you s

Re: [U-Boot] UBI problems on current u-boot

2011-09-05 Thread Holger Brunck
Hi Stefan, sorry for the previous mail, but I hit the send button too fast ;-) On 09/05/2011 04:37 PM, Stefan Roese wrote: > > On Friday 02 September 2011 15:32:40 Holger Brunck wrote: >> I address this question to you because one of your commits is connected to >> this problem, but other hints f

[U-Boot] [PATCH] omap24xx: fix 'reset_timer_masked' declaration error

2011-09-05 Thread Wolfgang Denk
Commit 17659d7 "Timer: Remove reset_timer_masked()" introduced a static declaration for reset_timer_masked() which causes build errors: timer.c:45: error: static declaration of 'reset_timer_masked' follows non-static declaration include/asm/u-boot-arm.h:70: error: previous declaration of 'reset_

Re: [U-Boot] [PATCH v3 1/2] MX25: tx25: Avoid the usage of extern in C file

2011-09-05 Thread Fabio Estevam
On Mon, Sep 5, 2011 at 12:40 PM, Marek Vasut wrote: ... >> ./scripts/checkpatch.pl -F u-boot/board/karo/tx25/tx25.c >> >> WARNING: externs should be avoided in .c files >> #144: FILE: home/fabio/denx/u-boot/board/karo/tx25/tx25.c:144: >> +     extern void mx25_uart1_init_pins(void); > > But

Re: [U-Boot] UBI problems on current u-bo

2011-09-05 Thread Holger Brunck
Hi Stefan, On 09/05/2011 04:37 PM, Stefan Roese wrote: >> I address this question to you because one of your commits is connected to >> this problem, but other hints from other readers are also welcome ;-) . > > I'll try to look into this later this week. > > BTW: Is this problem reproducible on

Re: [U-Boot] [PATCH v3 1/2] MX25: tx25: Avoid the usage of extern in C file

2011-09-05 Thread Marek Vasut
On Monday, September 05, 2011 05:38:26 PM Fabio Estevam wrote: > On Mon, Sep 5, 2011 at 12:05 PM, Marek Vasut wrote: > > On Monday, September 05, 2011 03:15:44 PM Fabio Estevam wrote: > >> On Mon, Sep 5, 2011 at 10:05 AM, Marek Vasut > >> wrote: ... > >> > >> >> extern void mx25_fec_init_pins(vo

Re: [U-Boot] [PATCH v3 1/2] MX25: tx25: Avoid the usage of extern in C file

2011-09-05 Thread Fabio Estevam
On Mon, Sep 5, 2011 at 12:05 PM, Marek Vasut wrote: > On Monday, September 05, 2011 03:15:44 PM Fabio Estevam wrote: >> On Mon, Sep 5, 2011 at 10:05 AM, Marek Vasut wrote: >> ... >> >> >> extern void mx25_fec_init_pins(void); >> >> extern void imx_get_mac_from_fuse(unsigned char *mac); >> >> exte

Re: [U-Boot] omap3: gpio: build warnings and errors

2011-09-05 Thread Paulraj, Sandeep
> > However, I couldn't find the definition of omap_get_gpio_dataout() > used in board/ti/beagle/led.c. > > The change was introduced in: > b8bc8973: led: Remove state-saving of led for... > > After much search, I did find a patch that contains the defintion > of omap_get_gpio_dataout() subm

[U-Boot] [PATCH] da8xxevm: Fix warning: unused variable 'val'

2011-09-05 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk Cc: Albert ARIBAUD Cc: Sandeep Paulraj Cc: Sudhakar Rajashekhara --- board/davinci/da8xxevm/da850evm.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/board/davinci/da8xxevm/da850evm.c b/board/davinci/da8xxevm/da850evm.c index 2f950e7..

[U-Boot] [PATCH] OMAP3 Beagle: Minor config cleanup

2011-09-05 Thread s-paulraj
From: Sandeep Paulraj This patch removes a hardcoded MAC address Signed-off-by: Sandeep Paulraj --- include/configs/omap3_beagle.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h index 18c6deb..57d4bb3 10

Re: [U-Boot] [PATCH] arm: Add Prep subcommand support to bootm

2011-09-05 Thread Andreas Bießmann
Dear Simon, Am 05.09.2011 16:06, schrieb Simon Schwarz: > Dear Andreas, > > On 09/05/2011 12:58 PM, Andreas Bießmann wrote: >> Dear Simon, >> >> Am Mo 29 Aug 2011 18:08:13 CEST, Simon Schwarz schrieb: >> >>> +} >>> + >>> +/* Main Entry point for arm bootm implementation >>> + * >>> + * Modeled

Re: [U-Boot] [PATCH v3 1/2] MX25: tx25: Avoid the usage of extern in C file

2011-09-05 Thread Marek Vasut
On Monday, September 05, 2011 03:15:44 PM Fabio Estevam wrote: > On Mon, Sep 5, 2011 at 10:05 AM, Marek Vasut wrote: > ... > > >> extern void mx25_fec_init_pins(void); > >> extern void imx_get_mac_from_fuse(unsigned char *mac); > >> extern void mx25_uart1_init_pins(void); > > > > Ok, this might

Re: [U-Boot] [PATCH] UBIFS: Change ubifsload to set the filesize variable

2011-09-05 Thread Marek Vasut
On Monday, September 05, 2011 04:27:28 PM Wolfgang Denk wrote: > Dear Marek Vasut, > > In message <201109051512.48148.marek.va...@gmail.com> you wrote: > > > + setenv("filesize", buf); > > > > maybe you want to check set_local_var() too ? > > Yes, we should clean up all these auto-generated envi

Re: [U-Boot] [PATCH] i2c_no_probes: Fix initialization warnings

2011-09-05 Thread Premi, Sanjeev
> -Original Message- > From: Heiko Schocher [mailto:h...@denx.de] > Sent: Monday, September 05, 2011 7:13 PM > To: Premi, Sanjeev > Cc: u-boot@lists.denx.de; Albert ARIBAUD > Subject: Re: [U-Boot] [PATCH] i2c_no_probes: Fix > initialization warnings > > Hello Sanjeev, [snip]...[snip] >

[U-Boot] [PATCH V2] arm: Add Prep subcommand support to bootm

2011-09-05 Thread Simon Schwarz
Adds prep subcommand to bootm implementation of ARM. When bootm is called with the subcommand prep the function stops right after ATAGS creation and before announce_and_cleanup. This is used in command "cmd_spl export" Signed-off-by: Simon Schwarz --- V2 changes: nothing V3 changes: nothing c

Re: [U-Boot] [PATCH] omap3: beagle: Fix build warning

2011-09-05 Thread Premi, Sanjeev
> -Original Message- > From: Heiko Schocher [mailto:h...@denx.de] > Sent: Monday, September 05, 2011 7:01 PM > To: Premi, Sanjeev > Cc: Albert ARIBAUD; u-boot@lists.denx.de; Wolfgang Denk > Subject: Re: [U-Boot] [PATCH] omap3: beagle: Fix build warning > > Hello Sanjeev, > > Premi, Sanje

Re: [U-Boot] UBI problems on current u-bo

2011-09-05 Thread Stefan Roese
Hi Holger, On Friday 02 September 2011 15:32:40 Holger Brunck wrote: > I address this question to you because one of your commits is connected to > this problem, but other hints from other readers are also welcome ;-) . I'll try to look into this later this week. BTW: Is this problem reproducibl

Re: [U-Boot] NULL base_name for hwaddr env lookup

2011-09-05 Thread Heiko Schocher
Hello MARCEL, stany MARCEL wrote: > in net/eth.c there is this function call with test: > > if (eth_write_hwaddr(dev, NULL, eth_number)) > > If I understand correctly this test will always be true as NULL is used. > > I think it should be "eth" instead of NULL. > > Am I wrong ? No. > If not

[U-Boot] [PATCH V4] Makefile : fix generation of cpu related asm-offsets.h

2011-09-05 Thread Stefano Babic
commit 0edf8b5b2fa0d210ebc4d6da0fd1aceeb7e44e47 breaks building on a different directory with the O= parameter. The patch wil fix this issue, generating always asm-offsets.h before the other targets. Signed-off-by: Stefano Babic CC: Matthias Weisser CC: Wolfgang Denk --- Note: V2 breaks *all*

Re: [U-Boot] [PATCH V3] Makefile : fix generation of cpu related asm-offsets.h

2011-09-05 Thread Stefano Babic
On 09/05/2011 03:52 PM, Wolfgang Denk wrote: > Dear Stefano, > Hi Wolfgang, > In message <20110905134419.d820f158d...@gemini.denx.de> I wrote: >> >> This one is not that much better: > > Maybe it helps debugging - here is an observation: > >> sed: can't read >> /work/wd/tmp-arm/arch/arm/cpu/ar

Re: [U-Boot] [PATCH] UBIFS: Change ubifsload to set the filesize variable

2011-09-05 Thread Wolfgang Denk
Dear Marek Vasut, In message <201109051512.48148.marek.va...@gmail.com> you wrote: > > > + setenv("filesize", buf); > > maybe you want to check set_local_var() too ? Yes, we should clean up all these auto-generated environment variables one day. But what you propose here is not a good approac

Re: [U-Boot] NULL base_name for hwaddr env lookup

2011-09-05 Thread Stany MARCEL
On Mon, Sep 5, 2011 at 3:53 PM, stany MARCEL wrote: > in net/eth.c there is this function call with test: > >  if (eth_write_hwaddr(dev, NULL, eth_number)) > > If I understand correctly this test will always be true as NULL is used. > > I think it should be "eth" instead of NULL. > > Am I wrong ?

Re: [U-Boot] [PATCH 2/2] powerpc/85xx: standardize display of address map size (32-bit vs. 36-bit)

2011-09-05 Thread Wolfgang Denk
Dear Timur Tabi, In message <4e60dcec.9090...@freescale.com> you wrote: > Kumar Gala wrote: > > Both. I'm think for your patch we'd add some general config option for > > extra print info. > > So you want to see this instead: > > /* > * Display whether this is a 32-bit build or a 36-bit build

Re: [U-Boot] [PATCH 2/2] powerpc/85xx: standardize display of address map size (32-bit vs. 36-bit)

2011-09-05 Thread Wolfgang Denk
Dear Kumar Gala, In message <6a841e78-5d44-4190-9899-1976234ef...@freescale.com> you wrote: > > The FSL PPC board ports are not the typical use case. I view our board > ports having a few different purposes: > * Examples for people building their own boards Especially of this you have addition

Re: [U-Boot] [PATCH 2/2] powerpc/85xx: standardize display of address map size (32-bit vs. 36-bit)

2011-09-05 Thread Wolfgang Denk
Dear Timur Tabi, In message <4e6002b4.90...@freescale.com> you wrote: > > > What sort of "confusion" do you have? I see two situations: in > > 99.99% of all cases U-Boot is just a means to boot an OS, and nobody > > cares a bit about the actual U-Boot output, as long as the OS is > > runnign aft

Re: [U-Boot] [PATCH] Flush cache after the OS image is loaded into the memory.

2011-09-05 Thread Wolfgang Denk
Dear Kumar Gala, In message <1314794723-25547-1-git-send-email-ga...@kernel.crashing.org> you wrote: > From: Diana CRACIUN > > Since we are loading an executable image into memory we need flush it > out of the cache to possible maintain coherence on CPUs with split > instruction and data caches

Re: [U-Boot] [PATCH] arm: Add Prep subcommand support to bootm

2011-09-05 Thread Simon Schwarz
Dear Andreas, On 09/05/2011 12:58 PM, Andreas Bießmann wrote: > Dear Simon, > > Am Mo 29 Aug 2011 18:08:13 CEST, Simon Schwarz schrieb: >> Adds prep subcommand to bootm implementation of ARM. When bootm is called >> with >> the subcommand prep the function stops right after ATAGS creation and bef

Re: [U-Boot] [PATCH] Correct call to eth_write_hwaddr()

2011-09-05 Thread Wolfgang Denk
Dear Simon Glass, In message <1314719460-27858-1-git-send-email-...@chromium.org> you wrote: > This fixes "Warning: failed to set MAC address" on platforms which rely on > an 'ethaddr' environment variable to set the MAC address. > > This bug was introduced by this commit: > > 7616e785 Add Ether

Re: [U-Boot] [PATCH] sf: winbond: Add support for the Winbond W25X40

2011-09-05 Thread Wolfgang Denk
Dear James Le Cuirot, In message <1311014692-1420-1-git-send-email-ch...@aura-online.co.uk> you wrote: > The Winbond W25X40 is now being used in the IP02 (and possibly IP04). > Tested and working on the actual device. > > Signed-off-by: James Le Cuirot > --- > drivers/mtd/spi/winbond.c |8 +

[U-Boot] [PATCH v4 3/3] MX25: Add initial support for MX25PDK

2011-09-05 Thread Fabio Estevam
Add the initial support for MX25PDK booting from SD card via internal boot. Signed-off-by: Fabio Estevam --- Changes since v3: - No changes Changes since v2: - No changes Changes since v1: - Keep mx25pdk entry to boards.cfg sorted - Removed unused defines in mx25pdk.h - Do not use the whole RAM s

[U-Boot] [PATCH v4 1/3] mx25: Introduce sys_proto.h

2011-09-05 Thread Fabio Estevam
Create a sys_proto.h for MX25 as done on other MX25 processors. Signed-off-by: Fabio Estevam --- Changes since v3: - No changes. This patch was introduced in v4 arch/arm/cpu/arm926ejs/mx25/generic.c |1 + arch/arm/include/asm/arch-mx25/imx-regs.h |4 arch/arm/include/asm/arch

[U-Boot] [PATCH v4 2/3] MX25: tx25: Avoid the usage of extern in C file

2011-09-05 Thread Fabio Estevam
Avoid the usage of extern in C file as pointed out by checkpatch. Signed-off-by: Fabio Estevam --- Changes since v3: - Place mx25_uart1_init_pins inside sys_proto.h Changes since v2: - Place the extern in the MX25 imx-regs.h instead of inside the MX27 imx-regs.h Changes since v1: - No changes ar

[U-Boot] NULL base_name for hwaddr env lookup

2011-09-05 Thread stany MARCEL
in net/eth.c there is this function call with test: if (eth_write_hwaddr(dev, NULL, eth_number)) If I understand correctly this test will always be true as NULL is used. I think it should be "eth" instead of NULL. Am I wrong ? If not I can submit a patch. Regards, Stany

Re: [U-Boot] [PATCH V3] Makefile : fix generation of cpu related asm-offsets.h

2011-09-05 Thread Wolfgang Denk
Dear Stefano, In message <20110905134419.d820f158d...@gemini.denx.de> I wrote: > > This one is not that much better: Maybe it helps debugging - here is an observation: > sed: can't read /work/wd/tmp-arm/arch/arm/cpu/arm1136/omap24xx/asm-offsets.s: > No such file or directory > sed: can't read

Re: [U-Boot] [PATCH v2] [COSMETIC] board/prodrive/alpr/fpga.c: Coding style cleanup

2011-09-05 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1315222479-23960-1-git-send-email...@denx.de> you wrote: > Signed-off-by: Wolfgang Denk > Cc: Stefan Roese > --- > v2: fix compile issues; must use "do {} while (0)" in macros > definitions if we want to omit the braces in if...else statements. > Should ha

Re: [U-Boot] [PATCH V3] Makefile : fix generation of cpu related asm-offsets.h

2011-09-05 Thread Wolfgang Denk
Dear Stefano Babic, In message <1314726584-17203-1-git-send-email-sba...@denx.de> you wrote: > commit 0edf8b5b2fa0d210ebc4d6da0fd1aceeb7e44e47 breaks > building on a different directory with the O= parameter. > The patch wil fix this issue, generating always asm-offsets.h before > the other target

Re: [U-Boot] [PATCH] i2c_no_probes: Fix initialization warnings

2011-09-05 Thread Heiko Schocher
Hello Sanjeev, Sanjeev Premi wrote: > This patch fixes the initialization warnings similar to > the one below: > cmd_i2c.o cmd_i2c.c -c > cmd_i2c.c:109:1: warning: missing braces around initializer > cmd_i2c.c:109:1: warning: (near initialization for 'i2c_no_probes[0]') > > Signed-off-by: Sanjeev

Re: [U-Boot] [PATCH 2/2] MX27: Update to autogenerated asm-offsets.h

2011-09-05 Thread Wolfgang Denk
Dear Stefano Babic, In message <4e64cee5.8050...@denx.de> you wrote: > > > This commit breaks out-of-tree building of all i.MX27 boards: > > It was not exactly this one, but yes, out-of-tree building was broken > adding the asm-offsets.h. Well, that's what git bisect says... > I sent a patch to

Re: [U-Boot] [PATCH] omap3: beagle: Fix build warning

2011-09-05 Thread Heiko Schocher
Hello Sanjeev, Premi, Sanjeev wrote: >> -Original Message- >> From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net] >> Sent: Monday, September 05, 2011 5:06 PM >> To: Premi, Sanjeev >> Cc: u-boot@lists.denx.de; Heiko Schocher; Wolfgang Denk >> Subject: Re: [U-Boot] [PATCH] omap3: beagle

Re: [U-Boot] [PATCH 2/2] MX27: Update to autogenerated asm-offsets.h

2011-09-05 Thread Stefano Babic
On 09/05/2011 03:13 PM, Wolfgang Denk wrote: > Dear Stefano Babic, > > In message <1310045827-14561-2-git-send-email-sba...@denx.de> you wrote: >> On i.MX27, the asm-offsets.h file is not yet generated as it should be. >> >> Signed-off-by: Stefano Babic >> CC: Matthias Weisser > > This commit b

[U-Boot] [PATCH 2/2] coldfire: Fix compilation with CONFIG_SYS_DRAMSZ1 defined

2011-09-05 Thread Stany MARCEL
A temp variable was used but not declared, with CONFIG_SYS_DRAMSZ1 defined. This variable is now declared in the functione when needed. Signed-off-by: Stany MARCEL --- board/freescale/m548xevb/m548xevb.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/board/freescale/m

[U-Boot] [PATCH 1/2] coldfire: Fix compilation for most coldfire boards

2011-09-05 Thread Stany MARCEL
Many different patches to fix compilation of coldfire boards. Compilation could now be done in a different directory from the sources one. Simple board config switched from Makefile to boards.cfg EP2500 broken board removed from boards.cfg. Link files corrected to remove zlib.o and multiple defined

Re: [U-Boot] [PATCH v3 1/2] MX25: tx25: Avoid the usage of extern in C file

2011-09-05 Thread Fabio Estevam
On Mon, Sep 5, 2011 at 10:05 AM, Marek Vasut wrote: ... >> extern void mx25_fec_init_pins(void); >> extern void imx_get_mac_from_fuse(unsigned char *mac); >> extern void mx25_uart1_init_pins(void); > > Ok, this might be a stupid one, but ... > > why use externs in header files ? This will make ch

Re: [U-Boot] [PATCH 2/2] MX27: Update to autogenerated asm-offsets.h

2011-09-05 Thread Wolfgang Denk
Dear Stefano Babic, In message <1310045827-14561-2-git-send-email-sba...@denx.de> you wrote: > On i.MX27, the asm-offsets.h file is not yet generated as it should be. > > Signed-off-by: Stefano Babic > CC: Matthias Weisser This commit breaks out-of-tree building of all i.MX27 boards: MAKEALL_

Re: [U-Boot] [PATCH] UBIFS: Change ubifsload to set the filesize variable

2011-09-05 Thread Marek Vasut
On Monday, September 05, 2011 01:03:49 PM Bastian Ruppert wrote: > This is the same behaviour like tftp or fatload command. > > Signed-off-by: Bastian Ruppert > CC: kmp...@infradead.org > --- > fs/ubifs/ubifs.c |4 > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/fs/

Re: [U-Boot] [PATCH 1/2] mx31: make HSP clock for mx3fb driver available

2011-09-05 Thread Marek Vasut
On Monday, September 05, 2011 01:47:06 PM Helmut Raiger wrote: > This additionally updates mx31/generic.c by > - replacing __REG() macro accesses with readl() and writel() > - providing macros for PDR0 and PLL bit accesses > It also fixes a warning about the prototype of imx_get_uartclk(void) > >

Re: [U-Boot] [PATCH v3 1/2] MX25: tx25: Avoid the usage of extern in C file

2011-09-05 Thread Marek Vasut
On Monday, September 05, 2011 01:37:17 PM Fabio Estevam wrote: > On Mon, Sep 5, 2011 at 7:43 AM, Stefano Babic wrote: > ... > > > What about to move the prototype ? For MX5/MX35 there is a sys_proto.h > > (as it is done for other SOCs), in this case, well, it seems too much to > > add a file for

[U-Boot] [PATCH v2] UBIFS: Change ubifsload to set the filesize variable

2011-09-05 Thread Bastian Ruppert
This is the same behaviour like tftp or fatload command. Signed-off-by: Bastian Ruppert CC: kmp...@infradead.org --- fs/ubifs/ubifs.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/fs/ubifs/ubifs.c b/fs/ubifs/ubifs.c index 5a5c739..75a2edc 100644 --- a/fs/ubifs/ubi

[U-Boot] Aviso Urgente!

2011-09-05 Thread Security Alert
Estimado usuario de la cuenta de correo Web, Aviso Urgente! Este mensaje es el mensaje de correo web del centro a todos los propietarios de las cuentas de correo web. Debido a la constante de velocidad de spam actualmente estamos realizando tareas de mantenimiento

[U-Boot] [PATCH 10/10] ARM: remove broken "shannon" board.

2011-09-05 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk Cc: Albert ARIBAUD Cc: Rolf Offermanns --- MAINTAINERS |4 - board/shannon/Makefile| 51 - board/shannon/config.mk | 23 -- board/shannon/flash.c | 475 - board/shannon/infe

[U-Boot] [PATCH 06/10] ARM: remove broken "impa7" board.

2011-09-05 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk Cc: Albert ARIBAUD Cc: Marius Gröger --- MAINTAINERS |4 - MAKEALL |1 - arch/arm/cpu/arm720t/cpu.c | 29 +-- arch/arm/cpu/arm720t/interrupts.c| 14 +- ar

[U-Boot] [PATCH 07/10] ARM: remove broken "lart" board.

2011-09-05 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk Cc: Albert ARIBAUD Cc: Alex Züpke --- MAINTAINERS|4 - board/lart/Makefile| 51 - board/lart/config.mk | 23 -- board/lart/flash.c | 476 board/lart/flashasm.S | 17

[U-Boot] [PATCH 04/10] ARM: remove broken "evb4510" board.

2011-09-05 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk Cc: Albert ARIBAUD Cc: Curt Brune --- CREDITS |1 - MAKEALL |1 - board/evb4510/Makefile| 51 board/evb4510/config.mk | 27 -- board/evb4510/evb4510.c | 64 - board/evb4510/flash.

[U-Boot] [PATCH 08/10] ARM: remove broken "lpc2292sodimm" board.

2011-09-05 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk Cc: Albert ARIBAUD --- MAKEALL |1 - board/lpc2292sodimm/Makefile| 51 --- board/lpc2292sodimm/config.mk | 30 board/lpc2292sodimm/flash.c | 252 --- board/lpc2292sodi

[U-Boot] [PATCH 02/10] ARM: remove broken "dnp1110" board.

2011-09-05 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk Cc: Albert ARIBAUD Cc: Alex Züpke --- MAINTAINERS |1 - board/dnp1110/Makefile| 51 - board/dnp1110/config.mk | 17 -- board/dnp1110/dnp1110.c | 67 --- board/dnp1110/flash.c | 422

[U-Boot] [PATCH 00/10] ARM board removal, next round

2011-09-05 Thread Wolfgang Denk
So here we go - current master still (or again) has a number of broken, non-compiling ARM boards. Scrap them. Signed-off-by: Wolfgang Denk Cc: Albert ARIBAUD Cc: Alex Züpke Cc: Curt Brune Cc: George G. Davis Cc: Marius Gröger Cc: Rolf Offermanns Cc: Thomas Elste Wolfgang Denk (10): ARM

[U-Boot] [PATCH 03/10] ARM: remove broken "ep7312" board.

2011-09-05 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk Cc: Albert ARIBAUD Cc: Marius Gröger --- MAINTAINERS |1 - MAKEALL |1 - arch/arm/cpu/arm720t/cpu.c |6 +- arch/arm/cpu/arm720t/interrupts.c|4 +- arc

[U-Boot] [PATCH 09/10] ARM: remove broken "modnet50" board.

2011-09-05 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk Cc: Albert ARIBAUD Cc: Thomas Elste --- CREDITS|5 - MAINTAINERS|4 - MAKEALL|9 - board/modnet50/Makefile| 51 board/modnet50/config.mk | 29 --- board/modnet50/f

[U-Boot] [PATCH 01/10] ARM: remove broken "SMN42" board.

2011-09-05 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk Cc: Albert ARIBAUD --- MAKEALL |1 - board/siemens/SMN42/Makefile| 51 board/siemens/SMN42/config.mk | 30 --- board/siemens/SMN42/flash.c | 475 --- board/siemens/SMN42/l

  1   2   >