Re: [U-Boot] [PATCH] Devkit8000: Switch over to enable_gpmc_cs_config

2011-12-12 Thread Thomas Weber
Hello Tom, On 07.12.2011 18:14, Tom Rini wrote: > On Wed, Dec 7, 2011 at 2:38 AM, Thomas Weber wrote: >> Use enable_gpmc_cs_config instead of local writing >> timing configuration for GPMC. >> >> Signed-off-by: Thomas Weber >> --- >> board/timll/devkit8000/devkit8000.c | 19 --

[U-Boot] [PATCH] common/cmd_pxe.c: Fix GCC 4.6 build warnings

2011-12-12 Thread Heiko Schocher
Fix: cmd_pxe.c: In function 'parse_pxefile_top': cmd_pxe.c:941:5: warning: 'err' may be used uninitialized in this function [-Wuninitialized] cmd_pxe.c:921:6: note: 'err' was declared here Signed-off-by: Heiko Schocher Cc: Jason Hobbs --- common/cmd_pxe.c |2 +- 1 files changed, 1 inserti

Re: [U-Boot] [PATCH] fs/fat/fat.c: fix warning: 'part_size' defined but not used

2011-12-12 Thread Aaron Williams
On Thursday, October 27, 2011 02:10:58 PM Wolfgang Denk wrote: > Commit c30a15e "FAT: Add FAT write feature" introduced a compiler > warning. Fix this. > > Signed-off-by: Wolfgang Denk > Cc: Donggeun Kim > Cc: Kyungmin Park > --- > > fs/fat/fat.c |2 -- > 1 files changed, 0 insertions(+)

[U-Boot] Request for Help: How to save data to an SD/MMC card

2011-12-12 Thread Graeme Russ
Hi All, I have a need to dump memory contents to a filesystem on an SD/MMC card so I can transfer it to my dev PC. I don't have a working network driver, so TFTP is out Now I notice that U-Boot has code to support writing to FAT filesystems, but it does not appear to be plumbed in Alternatively,

Re: [U-Boot] [PATCH v9 1/4] gpio: Modify common gpio.h to more closely match Linux

2011-12-12 Thread Kim Phillips
On Fri, 11 Nov 2011 15:55:35 -0600 Joe Hershberger wrote: > Change "int gp" to "unsigned gpio" > Add request and free entry-points > > Signed-off-by: Joe Hershberger > Cc: Joe Hershberger > Cc: Kim Phillips > --- I've fixed a merge conflict in #2 for da8xx_gpio.c, tegra2_gpio.c, and extended

[U-Boot] [GIT PULL] Please pull powerpc/mpc83xx: set TXEQA/TXEQE value for mpc837XE sata

2011-12-12 Thread Kim Phillips
Wolfgang Denk, Please pull, for u-boot v2011.12: The following changes since commit 06e42c6e2ce269667daecd6229d0b7c813838203: Merge branch 'ag...@denx.de' of git://git.denx.de/u-boot-staging (2011-12-12 14:51:16 +0100) are available in the git repository at: git://git.denx.de/u-boot-mpc83

Re: [U-Boot] [PATCH v2] powerpc/mpc83xx: set TXEQA/TXEQE value for mpc837XE sata

2011-12-12 Thread Kim Phillips
On Sun, 11 Dec 2011 21:26:34 -0600 Huang Changming-R66093 wrote: > > From: Huang Changming-R66093 > > Sent: Thursday, November 17, 2011 10:16 AM > > > > In the current u-boot code, the value of these fields are the reserved > > value (0b100), through the signal integrity measurement on freescale

[U-Boot] [PATCH V4 2/2] mcx: support for HTKW mcx board

2011-12-12 Thread Ilya Yanok
This patch adds support for the HTKW mcx AM3517-based board. Serial, Ethernet, NAND, MMC, RTC, EHCI USB host and both NAND and MMC SPLs are supported. Requires updated mach-types file. Signed-off-by: Ilya Yanok --- I'm sorry for non-consistent version history, I will give links to my previous p

[U-Boot] [PATCH V4 1/2] ehci-omap: driver for EHCI host on OMAP3

2011-12-12 Thread Ilya Yanok
Taken from Beagle code. Tested on mcx board (AM3517-based). Signed-off-by: Ilya Yanok --- Changes from V3: - None Changes from V2: - None Changes from V1: - CONFIG_OMAP_EHCI_PHYx_RESET changed to CONFIG_OMAP_EHCI_PHYx_RESET_GPIO - phy reset moved to separate function - Calls to gpio_set_valu

[U-Boot] [PATCH V4 0/2] Support for HTKW mcx board

2011-12-12 Thread Ilya Yanok
Hi All, these patches introduce support for HTKW mcx board (AM3517-based) including OMAP3 EHCI support. Regards, Ilya. Ilya Yanok (2): ehci-omap: driver for EHCI host on OMAP3 mcx: support for HTKW mcx board MAINTAINERS|4 + board/htkw/mcx/Makefile| 38 +++

Re: [U-Boot] u-boot v2011.12-rc1 hang on pandaboard

2011-12-12 Thread Robert Nelson
On Mon, Dec 12, 2011 at 11:27 AM, Chris Lalancette wrote: > Hello, >     I'm trying to boot the current version of u-boot (both the MLO > and u-boot.img) on the pandaboard 4430.  However, it always hangs up > right after "Using default environment", and before "Hit any key to > stop autoboot".  I

Re: [U-Boot] printf in uboot

2011-12-12 Thread Graeme Russ
Hi Siddharth, On Tue, Dec 13, 2011 at 6:51 AM, Simon Glass wrote: > Hi, > > On Sun, Dec 11, 2011 at 11:51 PM, siddharth baisane > wrote: >> hi, >> >> I am trying to print statement in uboot. >> but whenever I add *printf *statement board hangs. >> For example in *u-boot/lib_arm/board.c* i added

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

2011-12-12 Thread Scott Wood
On 12/12/2011 03:49 AM, Shengzhou Liu wrote: > Freescale FCM controller has a 2K size limitation of buffer RAM. In order > to support the Nand flash chip with pagesize larger than 2K bytes, > we read/write 2k data repeatedly by issuing FIR_OP_RB/FIR_OP_WB and save > them to a large buffer. > > Sig

Re: [U-Boot] [PATCH 4/6] tegra: Add tegra keyboard support

2011-12-12 Thread Simon Glass
Hi Stephen, On Mon, Dec 12, 2011 at 10:31 AM, Stephen Warren wrote: > On 12/12/2011 11:10 AM, Simon Glass wrote: >> On Mon, Dec 12, 2011 at 10:00 AM, Stephen Warren wrote: >>> On 12/08/2011 02:56 PM, Simon Glass wrote: > ... >>> I'd like to ask for comments in linux-input in case they have any o

[U-Boot] [PATCH] tools/setlocalversion: Update from the Linux Kernel

2011-12-12 Thread Kyle Moffett
Several bugfixes have occurred upstream since this script was imported into U-Boot. In particular, the script currently in U-Boot does not correctly decode the localversion for commit f8bbb4dad0e9d91b7a51d6cc54dcf66d142f50fe, because "git name-rev --tags HEAD" gives this: HEAD tags/v2011.12-rc1~

Re: [U-Boot] printf in uboot

2011-12-12 Thread Simon Glass
Hi, On Sun, Dec 11, 2011 at 11:51 PM, siddharth baisane wrote: > hi, > > I am trying to print statement in uboot. > but whenever I add *printf *statement board hangs. > For example in *u-boot/lib_arm/board.c* i added prinf statement and board > hags. > > > > > void start_armboot (void) > { >    i

Re: [U-Boot] [PATCH v2 2/3] env: check and apply changes on delete/destroy

2011-12-12 Thread Wolfgang Denk
Dear Gerlando Falauto, In message <4ee60729.4020...@keymile.com> you wrote: > > > Run checkpatch, and mind the CodingStyle section about typedefs! > > I did run checkpatch, it didn't say a word about this. If you add new tyedef's, it will complain. > What is your recommendation about typedef'in

Re: [U-Boot] [PATCH v2 09/17] tegra: usb: fdt: Add additional device tree definitions for USB ports

2011-12-12 Thread Simon Glass
Hi Stephen, On Mon, Dec 12, 2011 at 10:13 AM, Stephen Warren wrote: > On 12/08/2011 02:10 PM, Simon Glass wrote: >> Hi Stephen, >> >> On Wed, Dec 7, 2011 at 3:36 PM, Stephen Warren wrote: >>> On 12/06/2011 02:09 PM, Simon Glass wrote: On Tue, Dec 6, 2011 at 12:28 PM, Stephen Warren wrote:

Re: [U-Boot] [PATCH 10/14] tegra: usb: Add support for USB peripheral

2011-12-12 Thread Simon Glass
Hi Stephen, On Mon, Dec 12, 2011 at 10:18 AM, Stephen Warren wrote: > On 12/08/2011 02:24 PM, Simon Glass wrote: >> On Wed, Dec 7, 2011 at 3:46 PM, Stephen Warren wrote: >>> On 12/06/2011 02:23 PM, Simon Glass wrote: > ... >>> I think the best implementation would be to enumerate everything sole

Re: [U-Boot] [PATCH 3/5 v2] mtd/nand: remove CONFIG_SYS_NAND_ONFI_DETECTION to enable ONFI detection

2011-12-12 Thread Scott Wood
On 12/12/2011 03:49 AM, Shengzhou Liu wrote: > remove CONFIG_SYS_NAND_ONFI_DETECTION to enable ONFI detection. > > Signed-off-by: Shengzhou Liu Why? -Scott ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] u-boot v2011.12-rc1 hang on pandaboard

2011-12-12 Thread Chris Lalancette
Hello, I'm trying to boot the current version of u-boot (both the MLO and u-boot.img) on the pandaboard 4430. However, it always hangs up right after "Using default environment", and before "Hit any key to stop autoboot". I bisected the problem down to commit 9792987721c7980453fe6447c3fa6593

Re: [U-Boot] [PATCH] Fix compilation warnings when building eNET

2011-12-12 Thread Vadim Bendebury
On Sat, Dec 10, 2011 at 2:42 AM, Graeme Russ wrote: > Hi Vadim, > > Oops, dropped the ML... > > On Dec 10, 2011 9:20 PM, "Graeme Russ" wrote: >> >> Hi Vadim, >> >> On Dec 10, 2011 12:14 PM, "Graeme Russ" wrote: >> > >> > Hi Vadim, >> > >> > On Dec 10, 2011 12:08 PM, "Vadim Bendebury" >> > wrote

Re: [U-Boot] [PATCH 4/6] tegra: Add tegra keyboard support

2011-12-12 Thread Stephen Warren
On 12/12/2011 11:10 AM, Simon Glass wrote: > On Mon, Dec 12, 2011 at 10:00 AM, Stephen Warren wrote: >> On 12/08/2011 02:56 PM, Simon Glass wrote: ... >> I'd like to ask for comments in linux-input in case they have any other >> ideas, e.g. whether a set of separately documented modifier mapping >

Re: [U-Boot] [PATCH 10/14] tegra: usb: Add support for USB peripheral

2011-12-12 Thread Stephen Warren
On 12/08/2011 02:24 PM, Simon Glass wrote: > On Wed, Dec 7, 2011 at 3:46 PM, Stephen Warren wrote: >> On 12/06/2011 02:23 PM, Simon Glass wrote: ... >> I think the best implementation would be to enumerate everything solely >> based on compatible flags, and allowing "usb start" to accept either an

Re: [U-Boot] [PATCH v2 09/17] tegra: usb: fdt: Add additional device tree definitions for USB ports

2011-12-12 Thread Stephen Warren
On 12/08/2011 02:10 PM, Simon Glass wrote: > Hi Stephen, > > On Wed, Dec 7, 2011 at 3:36 PM, Stephen Warren wrote: >> On 12/06/2011 02:09 PM, Simon Glass wrote: >>> On Tue, Dec 6, 2011 at 12:28 PM, Stephen Warren wrote: On 12/05/2011 05:55 PM, Simon Glass wrote: > On Mon, Dec 5, 2011 at

Re: [U-Boot] [PATCH 4/6] tegra: Add tegra keyboard support

2011-12-12 Thread Simon Glass
Hi Stephen, On Mon, Dec 12, 2011 at 10:00 AM, Stephen Warren wrote: > On 12/08/2011 02:56 PM, Simon Glass wrote: >> Hi Stephen, >> >> On Wed, Dec 7, 2011 at 2:02 PM, Stephen Warren wrote: >>> On 12/02/2011 07:57 PM, Simon Glass wrote: Add support for internal matrix keyboard controller for

Re: [U-Boot] [PATCH 4/6] tegra: Add tegra keyboard support

2011-12-12 Thread Stephen Warren
On 12/08/2011 02:56 PM, Simon Glass wrote: > Hi Stephen, > > On Wed, Dec 7, 2011 at 2:02 PM, Stephen Warren wrote: >> On 12/02/2011 07:57 PM, Simon Glass wrote: >>> Add support for internal matrix keyboard controller for Nvidia Tegra >>> platforms. >>> This driver uses the fdt decode function to

Re: [U-Boot] [PATCH V9 1/4] Add cmd_spl command

2011-12-12 Thread Simon Schwarz
Hi Mike, 2011/12/8 Mike Frysinger : > On Tuesday 06 December 2011 13:34:35 Simon Schwarz wrote: >> --- /dev/null >> +++ b/common/cmd_spl.c >> >> +int call_bootm(int argc, char * const argv[], char *subcommand[]) > > static done. > >> +int spl_export_fdt(int argc, char * const argv[]) > > static >

Re: [U-Boot] [PATCH v2 3/3] image: Allow images to indicate they're loadable at any address

2011-12-12 Thread Stephen Warren
On 12/10/2011 03:42 PM, Linus Walleij wrote: ... > Since this was so convenient I made a patch to attach a DTB > the same way which was floated on devicetree-discuss: > http://www.mail-archive.com/devicetree-discuss@lists.ozlabs.org/msg07256.html > > Nico didn't like that: > http://www.mail-archiv

Re: [U-Boot] [PATCH v2 1/3] env: unify logic to check and apply changes

2011-12-12 Thread Simon Glass
Hi Gerlando, On Mon, Dec 12, 2011 at 1:32 AM, Gerlando Falauto wrote: > On 12/07/2011 11:02 PM, Simon Glass wrote: > > [...] >>> >>>  /* >>> - * Set a new environment variable, >>> - * or replace or delete an existing one. >>> + * Performs consistency checking before setting, replacing, >>> + * o

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

2011-12-12 Thread Tom Rini
On Mon, Dec 12, 2011 at 8:39 AM, Ilya Yanok wrote: > Hi Igor, > > thanks for your comments. > > On 30.11.2011 12:21, Igor Grinberg wrote: >>> +#if defined(CONFIG_GENERIC_MMC) && defined(CONFIG_OMAP_HSMMC) && \ >>> +    !defined(CONFIG_SPL_BUILD) >>> +int board_mmc_init(bd_t *bis) >>> +{ >>> +    o

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

2011-12-12 Thread Ilya Yanok
Hi Igor, thanks for your comments. On 30.11.2011 12:21, Igor Grinberg wrote: >> +#if defined(CONFIG_GENERIC_MMC) && defined(CONFIG_OMAP_HSMMC) && \ >> +!defined(CONFIG_SPL_BUILD) >> +int board_mmc_init(bd_t *bis) >> +{ >> +omap_mmc_init(0); >> +return 0; > > return omap_mmc_init(0);

[U-Boot] [PATCH] PXA: Kill last remnants of set_GPIO_mode function

2011-12-12 Thread Marek Vasut
GPIO configuration shall never be done inside a driver, never. Signed-off-by: Marek Vasut Cc: Anatolij Gustschin Cc: Albert ARIBAUD --- board/lubbock/lubbock.c |6 ++ drivers/mmc/pxa_mmc.c |5 - 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/board/lubbock/lubb

Re: [U-Boot] [PATCH] PXA: Fix building for lubbock board

2011-12-12 Thread Marek Vasut
> Fix: > drivers/mmc/libmmc.o: In function `mmc_legacy_init': > drivers/mmc/pxa_mmc.c:565: undefined reference to `set_GPIO_mode' > drivers/mmc/pxa_mmc.c:566: undefined reference to `set_GPIO_mode' > > Re-add set_GPIO_mode() which has been removed by commit > d10237d275300562bbfecbbe2f59a97cfb9dc1

Re: [U-Boot] [STATUS] v2011.12-rc1 is out - release date Dec 23

2011-12-12 Thread Wolfgang Denk
Hi everybody, in message <20111212134828.bbcd4183a...@gemini.denx.de> I wrote: > > after long struggeling we finally have a -rc1. Note that this also means that I will accept pull requests for the "next" branch. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang

[U-Boot] [PATCH] PXA: Fix building for lubbock board

2011-12-12 Thread Anatolij Gustschin
Fix: drivers/mmc/libmmc.o: In function `mmc_legacy_init': drivers/mmc/pxa_mmc.c:565: undefined reference to `set_GPIO_mode' drivers/mmc/pxa_mmc.c:566: undefined reference to `set_GPIO_mode' Re-add set_GPIO_mode() which has been removed by commit d10237d275300562bbfecbbe2f59a97cfb9dc180 (PXA: Separ

Re: [U-Boot] [STATUS] v2011.12-rc1 is out - release date Dec 23

2011-12-12 Thread Andreas Bießmann
Dear Reinhard Meyer, On 12.12.2011 14:48, Wolfgang Denk wrote: > Hi everybody, > > after long struggeling we finally have a -rc1. > > Please help testing, so we can fix the remaining issues before the > release, which I decided to shift to December 23. AVR32 arch is still broken due to missing h

Re: [U-Boot] [PATCH] drivers/mmc/mv_sdhci.c: Fix build warning

2011-12-12 Thread Lei Wen
Hi Anatolij, On Thu, Dec 8, 2011 at 5:47 AM, Anatolij Gustschin wrote: > Fix: > mv_sdhci.c: In function 'mv_sdh_init': > mv_sdhci.c:47:22: warning: the comparison will always > evaluate as 'true' for the address of 'mv_sdhci_writeb' > will never be NULL [-Waddress] > > Signed-off-by: Anatolij Gus

Re: [U-Boot] [PATCH v2 2/3] env: check and apply changes on delete/destroy

2011-12-12 Thread Gerlando Falauto
On 12/12/2011 02:08 PM, Wolfgang Denk wrote: Dear Gerlando Falauto, In message<4ee5ca4a.8050...@keymile.com> you wrote: You could just use 'apply_cb apply' for that param I think. Absolutely. I introduced the typedef at a later stage and forgot to update it there too. Good catch, thanks!

Re: [U-Boot] Pull request: u-boot-staging

2011-12-12 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message <20111212144152.771419ff@wker> you wrote: > Hello Wolfgang, > > please pull some patches which initially have been submitted > before last merge window opened and re-based quite recently. > I hope it is not too late. Thanks! > > The following changes since com

Re: [U-Boot] [PATCH v2 1/3] env: unify logic to check and apply changes

2011-12-12 Thread Wolfgang Denk
Dear Gerlando Falauto, In message <4ee603d0.5010...@keymile.com> you wrote: > > I don't understand: why are you quoting this here and now? The chunk we > are referring to doesn't change a bit about the printable string. Please use proper indentation for it, even if it exceeds the line length the

[U-Boot] [STATUS] v2011.12-rc1 is out - release date Dec 23

2011-12-12 Thread Wolfgang Denk
Hi everybody, after long struggeling we finally have a -rc1. Please help testing, so we can fix the remaining issues before the release, which I decided to shift to December 23. Thanks to all who helped. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & D

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

2011-12-12 Thread Anatolij Gustschin
Hello Wolfgang, please pull some patches which initially have been submitted before last merge window opened and re-based quite recently. I hope it is not too late. Thanks! The following changes since commit d798a9b5d50527713adc6309206a8d9f287593fb: common/cmd_nvedit.c: Add missing 'env save'

Re: [U-Boot] [PATCH v2 1/3] env: unify logic to check and apply changes

2011-12-12 Thread Gerlando Falauto
On 12/12/2011 01:18 PM, Wolfgang Denk wrote: Dear Gerlando Falauto, I think it's easier to read it the original way, and it should not make any difference as far as code size is concerned. The Coding Style makes an explicit exception regarding the line length for user visible strings: 83 S

Re: [U-Boot] [PATCH] MIPS: remove broken "tb0229" board

2011-12-12 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1323676699-31614-1-git-send-email...@denx.de> you wrote: > The "tb0229" board has long been unmaintained, and is broken. > Remove it. > > Signed-off-by: Wolfgang Denk > --- > board/tb0229/Makefile| 47 -- > board/tb0229/config.mk | 30 - > board

Re: [U-Boot] [PATCH] board/ti/omap2420h4/omap2420h4.c: Fix GC 4.6 build warning

2011-12-12 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1323674180-30359-1-git-send-email...@denx.de> you wrote: > Fix: > omap2420h4.c: In function 'dram_init': > omap2420h4.c:196:25: warning: variable 'cpu' set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Wolfgang Denk > Cc: Richard Woodruff > Cc: To

Re: [U-Boot] [PATCH] fs/reiserfs/reiserfs.c: Fix compiler warning

2011-12-12 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message <1323695777-4107-1-git-send-email-ag...@denx.de> you wrote: > Fix: > reiserfs.c: In function 'reiserfs_mount': > reiserfs.c:360:22: warning: dereferencing type-punned pointer > will break strict-aliasing rules [-Wstrict-aliasing] > > Signed-off-by: Anatolij Gus

Re: [U-Boot] [PATCH] board/mpl/common/isa.c: Fix GCC 4.6 build warnings

2011-12-12 Thread Wolfgang Denk
Dear =?UTF-8?q?David=20M=C3=BCller?=, In message <1323689813-21224-1-git-send-email-d.muel...@elsoft.ch> you wrote: > Fix: > ../common/isa.c: In function 'handle_isa_int': > ../common/isa.c:385:21: warning: variable 'isr2' set but not used > [-Wunused-but-set-variable] > ../common/isa.c:385:16: w

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

2011-12-12 Thread Wolfgang Denk
Dear Uma Shankar, In message <54ed165ef2fa426a95951c4785717...@sisodomain.com> you wrote: > > We at Samsung have implemented ext4 file system support in uboot. Please > review the subsequent patches. Please see http://www.denx.de/wiki/U-Boot/CodingStyle and http://www.denx.de/wiki/U-Boot/Patch

[U-Boot] [PATCH] fs/reiserfs/reiserfs.c: Fix compiler warning

2011-12-12 Thread Anatolij Gustschin
Fix: reiserfs.c: In function 'reiserfs_mount': reiserfs.c:360:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Signed-off-by: Anatolij Gustschin --- Note: - checkpatch warnings intentionally not fixed to preserve coding style used in the file

Re: [U-Boot] [PATCH v2 3/3] env: make "env default" selective, check and apply

2011-12-12 Thread Wolfgang Denk
Dear Gerlando Falauto, In message <4ee5ca57.6070...@keymile.com> you wrote: > > >> /* [re]set to the default environment */ > >> void set_default_env(const char *s); > >> > >> +#ifdef CONFIG_CMD_DEFAULTENV_VARS > >> +/* [re]set individual variables to their value in the default environment >

Re: [U-Boot] [PATCH v2 2/3] env: check and apply changes on delete/destroy

2011-12-12 Thread Wolfgang Denk
Dear Gerlando Falauto, In message <4ee5ca4a.8050...@keymile.com> you wrote: > > > You could just use 'apply_cb apply' for that param I think. > > Absolutely. I introduced the typedef at a later stage and forgot to > update it there too. Good catch, thanks! Run checkpatch, and mind the CodingSty

Re: [U-Boot] [PATCH v2 1/3] env: unify logic to check and apply changes

2011-12-12 Thread Wolfgang Denk
Dear Gerlando Falauto, In message <4ee5ca38.6090...@keymile.com> you wrote: > > > if (process_var(name, nvars, vars)&& > > hdelete_r(name, htab) == 0) > > debug("DELETE ERROR ##\n"); This is incorrect indentation. > I think it's easier to read it the

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

2011-12-12 Thread Graeme Russ
Hi Uma, On 12/12/11 22:27, uma.shan...@samsung.com wrote: > Hi Graeme, > Thanks for your inputs. > > Actually, the first patch [PATCH 0/2] is the cover patch containing only > the description about the changes in the subsequent patches. (This patch > contains information on how to test ext4 imple

[U-Boot] [PATCH] board/mpl/common/isa.c: Fix GCC 4.6 build warnings

2011-12-12 Thread David Müller
Fix: ../common/isa.c: In function 'handle_isa_int': ../common/isa.c:385:21: warning: variable 'isr2' set but not used [-Wunused-but-set-variable] ../common/isa.c:385:16: warning: variable 'isr1' set but not used [-Wunused-but-set-variable] Signed-off-by: David Mueller --- board/mpl/common/isa

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

2011-12-12 Thread uma . shankar
Hi Graeme, Thanks for your inputs. Actually, the first patch [PATCH 0/2] is the cover patch containing only the description about the changes in the subsequent patches. (This patch contains information on how to test ext4 implementation) The other two patches [PATCH 1/2] and [PATCH 2/2] conta

[U-Boot] [PATCH] Fix building for mx51evk board

2011-12-12 Thread Anatolij Gustschin
Fix: mx51evk.c:206:6: error: conflicting types for 'board_ehci_hcd_init' /u-boot/include/usb/ehci-fsl.h:254:5: note: previous declaration of 'board_ehci_hcd_init' was here We also fix board_ehci_hcd_init() for mx53loco board. Building for mx53loco worked since is not included here. Signed-off-by

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

2011-12-12 Thread Graeme Russ
Hi Uma, On 12/12/11 21:37, uma.shan...@samsung.com wrote: > Hi All, > We at Samsung have implemented ext4 file system support in uboot. Please > review the subsequent patches. > > Thanks & Regards, > Uma Shankar > Manjunatha C Achar > > > From: Uma Shankar > Date: Mon, 12 Dec 2011 12:01:23 +05

[U-Boot] Subject: [PATCH 1/2] ext4fs ls load support

2011-12-12 Thread uma . shankar
From: Uma Shankar Date: Mon, 12 Dec 2011 12:01:22 +0530 Subject: [PATCH 1/2] ext4fs ls load support Signed-off-by: Uma Shankar , Manjunatha C Achar Signed-off-by: Iqbal Shareef Signed-off-by: Hakgoo Lee --- Makefile |2 +- common/Makefile |1 + common/cmd_ext4.c

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

2011-12-12 Thread uma . shankar
Hi All, We at Samsung have implemented ext4 file system support in uboot. Please review the subsequent patches. Thanks & Regards, Uma Shankar Manjunatha C Achar From: Uma Shankar Date: Mon, 12 Dec 2011 12:01:23 +0530 Subject: [PATCH 0/2] *** Add ext4 filesystem support in uboot *** *** This

[U-Boot] test mail

2011-12-12 Thread uma . shankar
Test mail to mailing list. Please ignore. Sorry for the spam. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

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

2011-12-12 Thread Shengzhou Liu
Freescale FCM controller has a 2K size limitation of buffer RAM. In order to support the Nand flash chip with pagesize larger than 2K bytes, we read/write 2k data repeatedly by issuing FIR_OP_RB/FIR_OP_WB and save them to a large buffer. Signed-off-by: Shengzhou Liu Signed-off-by: Liu Shuo ---

[U-Boot] [PATCH 1/5 v2] mtd/nand: Add function board_nand_init_tail() for some special NAND controllers

2011-12-12 Thread Shengzhou Liu
In some NAND controllers there is a size limitation of RAM buffer(2K bytes). To support large-page NAND chips with greater than 2K pagesize, we need a large buffer, but we don't know pagesize before calling nand_scan_ident(), for more flexible and to identify different cases of large-page greater t

[U-Boot] [PATCH 4/5 v2] mtd/nand: Add ONFI support for FSL NAND controller

2011-12-12 Thread Shengzhou Liu
- fix NAND_CMD_READID command for ONFI detect. - add NAND_CMD_PARAM command to read the ONFI parameter page. Signed-off-by: Shengzhou Liu --- drivers/mtd/nand/fsl_elbc_nand.c | 17 ++--- 1 files changed, 10 insertions(+), 7 deletions(-) diff --git a/drivers/mtd/nand/fsl_elbc_nand.

[U-Boot] [PATCH 3/5 v2] mtd/nand: remove CONFIG_SYS_NAND_ONFI_DETECTION to enable ONFI detection

2011-12-12 Thread Shengzhou Liu
remove CONFIG_SYS_NAND_ONFI_DETECTION to enable ONFI detection. Signed-off-by: Shengzhou Liu --- drivers/mtd/nand/nand_base.c |9 - include/linux/mtd/nand.h |2 -- 2 files changed, 0 insertions(+), 11 deletions(-) diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/

[U-Boot] [PATCH 2/5 v2] mtd/nand: Fixup for support ONFI detect

2011-12-12 Thread Shengzhou Liu
In the past the ONFI never worked dut to u-boot aborted when nand device id not found in ids table. Now if not found in ids table, u-boot still continues to detect by ONFI way. Signed-off-by: Shengzhou Liu --- drivers/mtd/nand/nand_base.c | 26 -- 1 files changed, 16 in

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

2011-12-12 Thread Marek Vasut
> On Sunday 11 December 2011 08:42:07 Marek Vasut wrote: > > > On Saturday 10 December 2011 20:09:30 Marek Vasut wrote: > > > > Introduce ne2k_register_io(in, out), which allows user to supply two > > > > functions. One for reading data from the card, the other for writing > > > > data to the card.

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

2011-12-12 Thread Igor Grinberg
Add documentation for CONFIG_USB_ULPI and CONFIG_USB_ULPI_VIEWPORT configuration options. Signed-off-by: Igor Grinberg --- README |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/README b/README index ff72e47..6fe1e0f 100644 --- a/README +++ b/README @@ -1185,6 +11

[U-Boot] [PATCH 3/4] USB: ULPI: increase error case verbosity

2011-12-12 Thread Igor Grinberg
Add the argument value to the error message. Signed-off-by: Igor Grinberg --- drivers/usb/ulpi/ulpi.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/usb/ulpi/ulpi.c b/drivers/usb/ulpi/ulpi.c index f3f293f..6202227 100644 --- a/drivers/usb/ulpi/ulpi.c

[U-Boot] [PATCH 1/4] USB: ULPI: switch argument type from u8 to unsigned

2011-12-12 Thread Igor Grinberg
There is no benefit in usign u8, so switch to unsinged to reduce the binary image size (by 20 bytes). Signed-off-by: Igor Grinberg --- drivers/usb/ulpi/ulpi.c | 10 +- include/usb/ulpi.h |6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/usb/ulpi

[U-Boot] [PATCH 2/4] USB: ULPI: clean a mixup of return types

2011-12-12 Thread Igor Grinberg
Clean a mixup between u32 and int as a return type for functions returning error values. Use int as it is native (and widely used) return type. Signed-off-by: Igor Grinberg --- drivers/usb/ulpi/ulpi-viewport.c |4 ++-- drivers/usb/ulpi/ulpi.c |8 include/usb/ulpi.h

[U-Boot] [PATCH 0/4] Cleanups and updates for ULPI

2011-12-12 Thread Igor Grinberg
This series encorporates comments from Simon Glass [1] regarding the arguments types and return error types used in generic ULPI code. Adds a documentation for the new CONFIG_* options. In addition it improves the verbosity of the error path. [1] http://www.mail-archive.com/u-boot@lists.denx.d

Re: [U-Boot] [PATCH v2] pm9g45: init serial console before relocation

2011-12-12 Thread Anatolij Gustschin
On Fri, 9 Dec 2011 23:00:07 +0200 Asen Chavdarov Dimov wrote: > The early messages can be seen on the debug console. > > Signed-off-by: Asen Chavdarov Dimov > --- > Change since v1 > - rebased over master > > board/ronetix/pm9g45/pm9g45.c | 16 +++- > include/configs/pm9g

Re: [U-Boot] [PATCH v2] pm9261: init serial console before relocation

2011-12-12 Thread Anatolij Gustschin
On Fri, 9 Dec 2011 22:59:07 +0200 Asen Chavdarov Dimov wrote: > The early messages can be seen on the debug console. > > Signed-off-by: Asen Chavdarov Dimov > --- > Change since v1 > - rebased over master > > board/ronetix/pm9261/pm9261.c | 17 - > include/configs/pm9

Re: [U-Boot] [PATCH v2] pm9263: init serial console before relocation

2011-12-12 Thread Anatolij Gustschin
On Fri, 9 Dec 2011 22:56:55 +0200 Asen Chavdarov Dimov wrote: > The early messages can be seen on the debug console. > > Signed-off-by: Asen Chavdarov Dimov > --- > Change since v1 > - rebased over master > > board/ronetix/pm9263/pm9263.c | 22 ++ > include/config

Re: [U-Boot] [PATCH v2 3/3] env: make "env default" selective, check and apply

2011-12-12 Thread Gerlando Falauto
On 12/07/2011 11:02 PM, Simon Glass wrote: Hi Gerlando, [...] diff --git a/include/environment.h b/include/environment.h index 3a3e6b8..8f0d4db 100644 --- a/include/environment.h +++ b/include/environment.h @@ -190,6 +190,11 @@ void env_crc_update(void); /* [re]set to the default environmen

Re: [U-Boot] [PATCH v2 2/3] env: check and apply changes on delete/destroy

2011-12-12 Thread Gerlando Falauto
On 12/07/2011 11:02 PM, Simon Glass wrote: diff --git a/include/search.h b/include/search.h index 2a59e03..7ad4261 100644 --- a/include/search.h +++ b/include/search.h @@ -142,7 +142,8 @@ int hcreate_r(size_t nel, struct hsearch_data *htab) * be freed and the local static variable can be marked

Re: [U-Boot] [PATCH v2 1/3] env: unify logic to check and apply changes

2011-12-12 Thread Gerlando Falauto
On 12/07/2011 11:02 PM, Simon Glass wrote: [...] /* - * Set a new environment variable, - * or replace or delete an existing one. + * Performs consistency checking before setting, replacing, + * or deleting an environment variable, then (if successful) + * apply the changes to internals so to

Re: [U-Boot] [PATCH] arm926ejs: remove noop flush_dcache_all function

2011-12-12 Thread Matthias Weißer
Am 12.12.2011 00:09, schrieb Ilya Yanok: > Commit 2f3427c added noop cache functions implementation for arm926ejs > to fix compilation of drivers depending on these functions (DaVinci > EMAC in particular). > > Unfortunately, the bug was introduced: noop implementation calls > dcache_disable which

Re: [U-Boot] [PATCH] x86: Add a pointer to the global data structure to point to the device tree

2011-12-12 Thread Graeme Russ
Hi Gabe, On 06/12/11 13:04, Gabe Black wrote: > > > On Mon, Dec 5, 2011 at 5:49 PM, Graeme Russ > wrote: > > Hi Gabe, > > On Tue, Dec 6, 2011 at 12:43 PM, Gabe Black > wrote: > > This change adds a pointer to the gl

[U-Boot] printf in uboot

2011-12-12 Thread siddharth baisane
hi, I am trying to print statement in uboot. but whenever I add *printf *statement board hangs. For example in *u-boot/lib_arm/board.c* i added prinf statement and board hags. void start_armboot (void) { init_fnc_t **init_fnc_ptr; char *s; #if defined(CONFIG_VFD) || defined(CONFIG_LCD)

Re: [U-Boot] printf in uboot

2011-12-12 Thread Hebbar, Gururaja
Hi, On Mon, Dec 12, 2011 at 12:59:43, Sidharth Baisane wrote: > hi, > > How can i use print statement in uboot ??? > I tried printf in following program but its not executing it and my > program hangs afterwards. > > > void start_armboot (void) > { > init_fnc_t **init_fnc_ptr; > char