[U-Boot] [PATCH 1/1 v2][Net] Convert CS8900 Ethernet driver to CONFIG_NET_MULTI API

2009-08-12 Thread Ben Warren
All in-tree boards that use this controller have CONFIG_NET_MULTI added Also: - changed CONFIG_DRIVER_CS8900 to CONFIG_CS8900 - changed CS8900_BASE to CONFIG_CS8900_BASE - changed CS8900_BUS?? to CONFIG_CS8900_BUS?? - cleaned up line lengths - modified VCMA9 command function that accesses

Re: [U-Boot] Why u-boot & linux uses different machineid for at91rm9200dk

2009-08-12 Thread vibi sreenivasan
hello Wolfgang Denk, On Wed, 2009-08-12 at 21:44 +0200, Wolfgang Denk wrote: > Dear vibi sreenivasan, > > In message <1250062753.2419.8.ca...@hunter> you wrote: > > > > Why u-boot & linux uses different machine id for at91rm9200dk. > > do they? well, which exact versions of U-Boot and Linux a

Re: [U-Boot] Make 'nand write.yaffs' mainline?

2009-08-12 Thread Wolfgang Denk
Dear Mike Frysinger, In message <200908122253.13067.vap...@gentoo.org> you wrote: > > > Actually if should not have been added to the BF custoidian repository, > > either. > > what a custodian chooses to do in their branches is their own business Agreed - as long as it's in branches you never su

Re: [U-Boot] LIBFDT - changing command line

2009-08-12 Thread Wolfgang Denk
Dear Jerry Van Baren, In message <4a837625.6010...@gmail.com> you wrote: > > => fdt set /chosen bootargs console=ttyUL\ root=/dev/mtdblock0 Why not simply => fdt set /chosen bootargs "console=ttyUL root=/dev/mtdblock0" ? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH

Re: [U-Boot] [PATCH] V2 Add Support for the galaxy5200

2009-08-12 Thread Peter Tyser
Hi Eric, The subject of your email should be "[PATCH V2] Add support for galaxy5200". As is, the V2 would be included in the commit title. "Support" also doesn't need to be capitalized. > Add support for the DEKA Research and Development galaxy5200 board. > Amended with comments from Wolfgang. >

Re: [U-Boot] [PATCH] net: sync env ethaddr to device enetaddr in eth_init()

2009-08-12 Thread Mike Frysinger
On Wednesday 05 August 2009 17:26:50 Ben Warren wrote: > Wolfgang Denk wrote: > > Mike Frysinger wrote: > >> In the previous enetaddr refactoring, the assumption with commit > >> 56b555a644 was that the eth layer would handle the env -> device > >> enetaddr syncing. This was not the case as eth_ini

Re: [U-Boot] [PATCH] net: kirkwood: updates: used eth_setenv_enetaddr api

2009-08-12 Thread Mike Frysinger
On Friday 07 August 2009 17:37:51 Ben Warren wrote: > Jean-Christophe PLAGNIOL-VILLARD wrote: > > On 22:17 Fri 07 Aug , Prafulla Wadaskar wrote: > >> eth_setenv_enetaddr is avaible by upper layer > >> using this saves 204 bytes on total image size > >> > >> Signed-off-by: Prafulla Wadaskar > >

Re: [U-Boot] [PATCH] Add support to mkconfig for setting simple #defines in config.h

2009-08-12 Thread Mike Frysinger
On Friday 07 August 2009 15:22:15 Scott Wood wrote: > On Fri, Aug 07, 2009 at 09:03:03AM -0500, Kumar Gala wrote: > > while [ $# -gt 0 ] ; do > > case "$1" in > > --) shift ; break ;; > > -a) shift ; APPEND=yes ;; > > -n) shift ; BOARD_NAME="${1%%_config}" ; shift ;; > > + -D) sh

Re: [U-Boot] how to make debug() print information

2009-08-12 Thread Mike Frysinger
On Friday 07 August 2009 05:59:11 fluke56512 wrote: > Hi everyone~ > I am a beginner for u-boot~ > I am using 1.3.4 version time to upgrade > now I want to "debug()" print out information. so use it and add "#define DEBUG" to the top of the file before any #include > I see in /tools/Mkimage.h

Re: [U-Boot] Normal command line behavior?

2009-08-12 Thread Mike Frysinger
On Tuesday 04 August 2009 12:07:17 J.C. Wren wrote: > All fair points. please do not top post in your replies -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/ma

Re: [U-Boot] [PATCH] Add md5sum and sha1 commands...

2009-08-12 Thread Mike Frysinger
On Tuesday 11 August 2009 15:36:26 Robin Getz wrote: > On Tue 11 Aug 2009 15:21, Wolfgang Denk pondered: > > Robin Getz wrote: > > > > Now that we have sha1 and md5 in lib_generic, allow people to use > > > > them on the command line, for checking downloaded files > > > > > > > > Signed-off-by: Rob

Re: [U-Boot] [PATCH] Fix enetaddr initialization with CONFIG_NET_MULTI

2009-08-12 Thread Mike Frysinger
On Tuesday 28 July 2009 11:44:27 Albin Tonnerre wrote: > When CONFIG_NET_MULTI is defined, the NetLoop code looks in > eth_get_device()->enetaddr for the MAC address. However, this value may > not be set. In fact, it will not be if ethaddr was not present in the > environment when uboot was started

Re: [U-Boot] "raise" not defined, when compiler uses its own div0

2009-08-12 Thread Mike Frysinger
On Wednesday 12 August 2009 08:04:40 Wolfgang Denk wrote: > Ulf Samuelsson wrote: > > If I build u-boot from the u-boot dir outside the buildsystem, > > it also means a lot of typing - If I remember to do it... > > > > Why not make it a default mode? > > Because the default mode is to assume you ar

[U-Boot] [PATCH] trab: rename spi_init()

2009-08-12 Thread Mike Frysinger
The local board-specific spi_init() function conflicts with the common SPI layer, so rename it to something board-specific. Signed-off-by: Mike Frysinger --- Note: i've only semi-compile tested this because building for arm results in common math build/link failures related to libgcc math and i

Re: [U-Boot] [PATCH] Make TFTP Quiet

2009-08-12 Thread Mike Frysinger
On Monday 10 August 2009 16:26:20 Robin Getz wrote: > From bca49fb5e3045bc175e924999a4015804c39c5c6 Mon Sep 17 00:00:00 2001 > From: Robin Getz > > I was using this when I was looking at some other recent tftp performance, > and thought I would share. I really don't think it belongs, as it is > (a

Re: [U-Boot] what are RELFLAGS?

2009-08-12 Thread Mike Frysinger
On Thursday 06 August 2009 20:11:14 Kumar Gala wrote: > We seem to set CPPFLAGS to include RELFLAGS but I'm wondering how > PLATFORM_ RELFLAGS is suppose to differ from PLATFORM_CPPFLAGS. my understanding is that REL is short for release, and so you put flags in there that arent preprocessor flag

Re: [U-Boot] Make 'nand write.yaffs' mainline?

2009-08-12 Thread Mike Frysinger
On Monday 03 August 2009 10:39:10 Wolfgang Denk wrote: > In message J.C. Wren wrote: > > Scott pointed me at this patch ( > > http://git.denx.de/?p=u-boot/u-boot-blackfin.git;a=commitdiff;h=44f07de8c > >c94836cd3b0fd2fb0cf8b8651461087) that's in the Blackfin branch. > > > > Would it be possible to

Re: [U-Boot] LIBFDT - changing command line

2009-08-12 Thread Jerry Van Baren
Hi Michal, Michal Simek wrote: > Jerry Van Baren wrote: >> Hi Michal >> >> Michal Simek wrote: >>> Hi All, >>> >>> I would like to use fdt for changing command line in DTB but >>> I found there is one problem if I have longer command line which contains >>> any spaces. >>> Below is my workflow. >>

Re: [U-Boot] NAND issues

2009-08-12 Thread alfred steele
Just realised that i dis reply instead of "reply all". > We have been using 2009.1 based version.. We have been using "nand > read.e/write.e". Is that fine? After skimming through the u-boot code, > it seems though. > Please confirm. Apart from this, what does the "CONFIG_JFFS2_NAND" do? Thanks, Al

[U-Boot] [PATCH] V2 Add Support for the galaxy5200

2009-08-12 Thread Eric Millbrandt
Add support for the DEKA Research and Development galaxy5200 board. Amended with comments from Wolfgang. Make change to top level makefile per Wolfgang's suggestion. Signed-off-by: Eric Millbrandt --- MAINTAINERS |4 + MAKEALL |1 + Makefile

Re: [U-Boot] [PATCH 1/3] net/eth_device: keep index inside each device

2009-08-12 Thread Ben Warren
Jean-Christophe PLAGNIOL-VILLARD wrote: > On 14:15 Wed 12 Aug , Ben Warren wrote: > >> Jean-Christophe PLAGNIOL-VILLARD wrote: >> >>> On 20:50 Wed 12 Aug , Wolfgang Denk wrote: >>> Dear Jean-Christophe PLAGNIOL-VILLARD, In message <1250023747-20224-1-git-send-e

[U-Boot] How do you print/view avaliable devices?

2009-08-12 Thread dbrazeau
I am trying to run a standalone program from flash but I keep receiving ** Invalid boot device ** when I attempt to load it into memory. I think I'm just using the wrong device number. I was wondering if there was any way to print the devices that U-boot can see, so I can figure out dev:part num

Re: [U-Boot] Where is the GPR30 register in PowerPC arch as GOT pointer of C code documented?

2009-08-12 Thread Gao Ya'nan
Thanks for your tip and sorry for my ambiguit question. When I read the relocate_code function in cpu/mpc8xx/start.S, I found the code below: = 512 sub r15, r10, r4 513 514 /* First our own GOT */ 515

Re: [U-Boot] [PATCH 1/1][Net] Convert CS8900 Ethernet driver to CONFIG_NET_MULTI API

2009-08-12 Thread Ben Warren
Wolfgang Denk wrote: > Dear Ben Warren, > > I wrote: > > > Please ignore me: > > U-Boot 2009.08-rc2-00016-g253cb83-dirty (Aug 13 2009 - 00:42:59) > > I2C: ready > DRAM: 32 MB > Flash: 8 MB > USB: scanning bus for devices... 1 USB Device(s) found > 0 Storage Device(s) found > > Enter passw

Re: [U-Boot] [PATCH 1/1][Net] Convert CS8900 Ethernet driver to CONFIG_NET_MULTI API

2009-08-12 Thread Wolfgang Denk
Dear Ben Warren, I wrote: > Note however that your modification was probably not the (only) > culprit. With current mainline version I get this: > > TRAB # run load > TFTP from server 192.168.1.1; our IP address is 192.168.3.68 > Filename 'trab/u-boot.bin-wd'. > Load address: 0xc10 > Loading

Re: [U-Boot] [PATCH 1/1][Net] Convert CS8900 Ethernet driver to CONFIG_NET_MULTI API

2009-08-12 Thread Wolfgang Denk
Dear Ben Warren, In message <4a8342be.7050...@gmail.com> you wrote: > > It looks like the 'trab' board uses 16-bit accesses > (CONFIG_CS8900_BUS16). The function 'get_reg_init_bus()' does some > funny initialization to get the chip into 16-bit mode. I wonder if > maybe that's not working the

Re: [U-Boot] [PATCH] OMAP3 Move cache routines to cache.S

2009-08-12 Thread Tom
Jean-Christophe PLAGNIOL-VILLARD wrote: > On 10:42 Wed 12 Aug , Tom Rix wrote: > >> v7_flush_dcache_all, because it depends on omap ROM code is not >> generic. Rename the function to 'invalidate_dcache' and move it >> to the omap cpu directory. >> >> > for the l2 cache ACK > for the

[U-Boot] [PATCH] TRAB: make independent of specific libgcc helper routines

2009-08-12 Thread Wolfgang Denk
The TRAB board references local libgcc helper routines (lib_arm/div0.o and lib_arm/_umodsi3.o) which cause build problems when we try to use the normal, compiler provided libgcc instead. Removing these references allows to build both with and without the local libgcc helper routines. Signed-off-by

Re: [U-Boot] [PATCH 1/1][Net] Convert CS8900 Ethernet driver to CONFIG_NET_MULTI API

2009-08-12 Thread Ben Warren
Hi Wolfgang, Wolfgang Denk wrote: > Dear Ben Warren, > > In message <1250050332-15531-2-git-send-email-biggerbadder...@gmail.com> you > wrote: > >> All in-tree boards that use this controller have CONFIG_NET_MULTI >> added >> Also: >> - changed CONFIG_DRIVER_CS8900 to CONFIG_CS8900 >> - ch

Re: [U-Boot] [PATCH] OMAP3 Move cache routines to cache.S

2009-08-12 Thread Tom
Wolfgang Denk wrote: > Dear Tom Rix, > > In message <1250091750-1525-2-git-send-email-tom@windriver.com> you wrote: > >> v7_flush_dcache_all, because it depends on omap ROM code is not >> generic. Rename the function to 'invalidate_dcache' and move it >> to the omap cpu directory. >> >> Col

Re: [U-Boot] [PATCH 1/1][Net] Convert CS8900 Ethernet driver to CONFIG_NET_MULTI API

2009-08-12 Thread Wolfgang Denk
Dear Ben Warren, In message <1250050332-15531-2-git-send-email-biggerbadder...@gmail.com> you wrote: > All in-tree boards that use this controller have CONFIG_NET_MULTI > added > Also: > - changed CONFIG_DRIVER_CS8900 to CONFIG_CS8900 > - changed CS8900_BASE to CONFIG_CS8900_BASE > - change

Re: [U-Boot] [PATCH] OMAP3 Move cache routines to cache.S

2009-08-12 Thread Wolfgang Denk
Dear Tom Rix, In message <1250091750-1525-2-git-send-email-tom@windriver.com> you wrote: > v7_flush_dcache_all, because it depends on omap ROM code is not > generic. Rename the function to 'invalidate_dcache' and move it > to the omap cpu directory. > > Collect the other omap cache routines

Re: [U-Boot] [PATCH 1/3] net/eth_device: keep index inside each device

2009-08-12 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <20090812212651.ga11...@game.jcrosoft.org> you wrote: > > > While I'm not completely opposed to the idea of tracking indices, > > it's simply not true that you don't know the indices of the > > controllers on your board. They're all instantiated i

Re: [U-Boot] ext2fs.c/ext2fs_mount() fails when inode_size = 256

2009-08-12 Thread Wolfgang Denk
Dear Bob Furber, please keep the mailing list on cc: In message <4a832c44.3060...@steroidmicros.com> you wrote: > > > You failed to mention some really important fects, like for example > > which version of U-Boot you are using. > > ftp://ftp.denx.de/pub/u-boot/ --> u-boot-2009.08-rc2.tar.bz2,

Re: [U-Boot] [PATCH] AT91: Add support for blue_LED_* and add coloured_LED_init to at91/led.c

2009-08-12 Thread Albin Tonnerre
On Wed, Aug 12, 2009 at 11:15:26PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote : > On 18:10 Wed 12 Aug , Albin Tonnerre wrote: > > Currently, at91/led.c only provides _on and _off functions for green, > > yellow and red LEDs. This patch provides a generic coloured_LED_init > > function, whic

Re: [U-Boot] [PATCH 1/3] net/eth_device: keep index inside each device

2009-08-12 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <20090812210339.ge21...@game.jcrosoft.org> you wrote: > > > What exactly is the problem you are addressing with this patch? > > > > Please provide a commit message that explains what is going on, and > > what is being changed or fixed. > simple it

Re: [U-Boot] [PATCH 1/3] net/eth_device: keep index inside each device

2009-08-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 14:15 Wed 12 Aug , Ben Warren wrote: > Jean-Christophe PLAGNIOL-VILLARD wrote: > >On 20:50 Wed 12 Aug , Wolfgang Denk wrote: > >>Dear Jean-Christophe PLAGNIOL-VILLARD, > >> > >>In message <1250023747-20224-1-git-send-email-plagn...@jcrosoft.com> you > >>wrote: > >>>Signed-off-by: Jean-C

Re: [U-Boot] [PATCH 2/3] net: add getenv/setenv enetaddr function to use ethernet device num

2009-08-12 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <20090812205833.gd21...@game.jcrosoft.org> you wrote: > > > - There is no commit message and no description what this patch is > > supposed to do or to fix. Why should we add it? > just to stop to duplicate this in every driver I would expect th

Re: [U-Boot] [PATCH 0/4] Network defrag

2009-08-12 Thread Wolfgang Denk
Dear Ben Warren, In message <4a832bce.9060...@gmail.com> you wrote: > > Sure, if you don't mind re-compiling. I think it might be an > opt-outable message via puts_quiet() It seems we start having a mess here, with features bound to other features that have not even been agreeds about yet. I h

Re: [U-Boot] [PATCH 3/3] smc91111: switch to MULTI_NET api

2009-08-12 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <20090812203659.gb21...@game.jcrosoft.org> you wrote: > > > > +#ifdef CONFIG_SMC_USE_32_BIT > > > +#define USE_32BIT 1 > > > +#else > > > +#define USE_32BIT 0 > > > +#endif > > > > Above you get rid of the USE_32BIT stuff; here you re-introduce it

Re: [U-Boot] [PATCH] AT91: Add support for blue_LED_* and add coloured_LED_init to at91/led.c

2009-08-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 18:10 Wed 12 Aug , Albin Tonnerre wrote: > Currently, at91/led.c only provides _on and _off functions for green, > yellow and red LEDs. This patch provides a generic coloured_LED_init > function, which is a first step towards getting rid of the > board-specific (and duplicated) board/*/*/led

Re: [U-Boot] [PATCH] OMAP3 Move cache routines to cache.S

2009-08-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 10:42 Wed 12 Aug , Tom Rix wrote: > v7_flush_dcache_all, because it depends on omap ROM code is not > generic. Rename the function to 'invalidate_dcache' and move it > to the omap cpu directory. > > Collect the other omap cache routines l2_cache_enable and > l2_cache_disable with invalide_

Re: [U-Boot] [PATCH 1/3] net/eth_device: keep index inside each device

2009-08-12 Thread Ben Warren
Jean-Christophe PLAGNIOL-VILLARD wrote: > On 20:50 Wed 12 Aug , Wolfgang Denk wrote: > >> Dear Jean-Christophe PLAGNIOL-VILLARD, >> >> In message <1250023747-20224-1-git-send-email-plagn...@jcrosoft.com> you >> wrote: >> >>> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD >>> --- >>>

Re: [U-Boot] [PATCH 1/3] net/eth_device: keep index inside each device

2009-08-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 20:50 Wed 12 Aug , Wolfgang Denk wrote: > Dear Jean-Christophe PLAGNIOL-VILLARD, > > In message <1250023747-20224-1-git-send-email-plagn...@jcrosoft.com> you > wrote: > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > > --- > > include/net.h |1 + > > net/eth.c | 17 +---

Re: [U-Boot] [PATCH 2/3] net: add getenv/setenv enetaddr function to use ethernet device num

2009-08-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 20:58 Wed 12 Aug , Wolfgang Denk wrote: > Dear Jean-Christophe PLAGNIOL-VILLARD, > > In message <1250023747-20224-2-git-send-email-plagn...@jcrosoft.com> you > wrote: > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > > --- > > include/net.h |2 ++ > > net/eth.c | 28 +++

Re: [U-Boot] [PATCH 0/4] Network defrag

2009-08-12 Thread Ben Warren
Robin Getz wrote: > On Wed 12 Aug 2009 16:05, Ben Warren pondered: > >> Hi Robin, >> >> Robin Getz wrote: >> >>> On Mon 10 Aug 2009 15:57, Ben Warren pondered: >>> >>> Robin Getz wrote: > Thanks to Alessandro for putting it together. > > Fe

Re: [U-Boot] [PATCH 0/4] Network defrag

2009-08-12 Thread Robin Getz
On Wed 12 Aug 2009 16:05, Ben Warren pondered: > Hi Robin, > > Robin Getz wrote: > > On Mon 10 Aug 2009 15:57, Ben Warren pondered: > > > >> Robin Getz wrote: > >> > >>> Thanks to Alessandro for putting it together. > >>> > >>> Feel free to add my Signed-off (once the docs have been update

Re: [U-Boot] [PATCH 3/3] smc91111: switch to MULTI_NET api

2009-08-12 Thread Ben Warren
Jean-Christophe PLAGNIOL-VILLARD wrote: > On 08:54 Wed 12 Aug , Ben Warren wrote: > >> Jean-Christophe, >> Jean-Christophe PLAGNIOL-VILLARD wrote: >> >>> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD >>> >> I already posted a patch that does this and asked for help testing. >>

Re: [U-Boot] [PATCH 3/3] smc91111: switch to MULTI_NET api

2009-08-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 08:54 Wed 12 Aug , Ben Warren wrote: > Jean-Christophe, > Jean-Christophe PLAGNIOL-VILLARD wrote: > >Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > I already posted a patch that does this and asked for help testing. > It is available in the net/next repo. If you find it to be > inadequa

Re: [U-Boot] [PATCH 3/3] smc91111: switch to MULTI_NET api

2009-08-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 21:12 Wed 12 Aug , Wolfgang Denk wrote: > Dear Jean-Christophe PLAGNIOL-VILLARD, > > In message <1250023747-20224-3-git-send-email-plagn...@jcrosoft.com> you > wrote: > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > ... > > #ifdef CONFIG_SMC_USE_32_BIT > > -#define USE_32_BIT 1

Re: [U-Boot] reset environment

2009-08-12 Thread Wolfgang Denk
Dear "David Collier", In message you wrote: > > Dear "Dexdyne Postmaster", > > whoops - fixed that now!!! Thanks. > > This depends on your configuration. When using an "embedded" > > environment, this will get replaced with each install. > > " this will get replaced with each install " > >

Re: [U-Boot] [PATCH] Add support for the galaxy5200 board.

2009-08-12 Thread Wolfgang Denk
Dear "Eric Millbrandt", In message you wrote: > > Add support for the DEKA R&D galaxy5200 board. > The patch is based off of the mpc5xxx branch. Please don't. Please follow the instructions and provide patches ONLY against "master" resp "next". > This e-mail and the information, including any

Re: [U-Boot] ext2fs.c/ext2fs_mount() fails when inode_size = 256

2009-08-12 Thread Wolfgang Denk
Dear Bob Furber, In message <4a82eb38.6060...@steroidmicros.com> you wrote: > Our SBC have been happily booting uClinux from ext3 partitioned SD cards > prepared on a Fedora Linux-2.6.15 PC. ... > Any thoughts or comments would be appreciated. You failed to mention some really important fects, l

Re: [U-Boot] [PATCH 0/4] Network defrag

2009-08-12 Thread Ben Warren
Hi Robin, Robin Getz wrote: > On Mon 10 Aug 2009 15:57, Ben Warren pondered: > >> Robin Getz wrote: >> >>> Thanks to Alessandro for putting it together. >>> >>> Feel free to add my Signed-off (once the docs have been updated >>> explaining what this is all for). >>> >>> >>> >> I'

Re: [U-Boot] [PATCH 0/4] Network defrag

2009-08-12 Thread Wolfgang Denk
Dear Robin Getz, In message <200908121148.16431.rg...@blackfin.uclinux.org> you wrote: > > Some info for the docs, when I was troubleshooting a Ubuntu 9.04 install. Good info, but bad format. Can you please submit this as a patch? Thanks in advance. Best regards, Wolfgang Denk -- DENX Softwa

Re: [U-Boot] [PATCH] Make TFTP Quiet

2009-08-12 Thread Robin Getz
On Wed 12 Aug 2009 15:48, Scott Wood pondered: > On Wed, Aug 12, 2009 at 12:02:33PM +0200, Detlev Zundel wrote: > > Hi Timur, > > > > >> +#ifdef CONFIG_TFTP_QUIET > > >> +#define puts_quiet(fmt) > > >> +#else > > >> +#define puts_quiet(fmt)                puts(fmt); > > >> +#endif > > > > > > This

Re: [U-Boot] modem pass-through

2009-08-12 Thread Wolfgang Denk
Dear "David Collier", In message you wrote: > I was reading the notes about openmoko and saw that they had implemented > a serial pass-through to allow the on-board GSM modem to be driven via an > external serial port. > > Did that feature ever make it's way into the standard u-boot code??? N

Re: [U-Boot] [PATCH] Make TFTP Quiet

2009-08-12 Thread Scott Wood
On Wed, Aug 12, 2009 at 12:02:33PM +0200, Detlev Zundel wrote: > Hi Timur, > > >> +#ifdef CONFIG_TFTP_QUIET > >> +#define puts_quiet(fmt) > >> +#else > >> +#define puts_quiet(fmt)                puts(fmt); > >> +#endif > > > > This looks backwards to me. I would do this: > > > > #ifdef CONFIG_TFT

Re: [U-Boot] taking the time pressure off board init

2009-08-12 Thread Wolfgang Denk
Dear "David Collier", In message you wrote: > > I'm working on an AVR32 with a funny system of warm boots caused by > watchdog which don't fully reset the watchdog or real-time-counter > hardware. > I think the system allows RTC interrupts to be generated during or after > the warm boot which

[U-Boot] [PATCH 1/2] sbc8349: make enabling PCI more user friendly.

2009-08-12 Thread Paul Gortmaker
Prior to this commit, to enable PCI, you had to go manually edit the board config header, which isn't really user friendly. This adds the typical PCI make targets to the toplevel Makefile in accordance with what is being done with other boards. Signed-off-by: Paul Gortmaker --- Makefile

[U-Boot] [PATCH 2/2] mpc8349: delete unused SYS_MID_FLASH_JUMP

2009-08-12 Thread Paul Gortmaker
This was introduced with the MPC8349EMDS board, and then copied to a couple other boards by nature of being the reference implementation. u-boot$git grep CONFIG_SYS_MID_FLASH_JUMP include/configs/MPC8349EMDS.h:#define CONFIG_SYS_MID_FLASH_JUMP 0x7F00 include/configs/sbc8349.h:#define CON

Re: [U-Boot] Why u-boot & linux uses different machineid for at91rm9200dk

2009-08-12 Thread Wolfgang Denk
Dear vibi sreenivasan, In message <1250062753.2419.8.ca...@hunter> you wrote: > > Why u-boot & linux uses different machine id for at91rm9200dk. do they? well, which exact versions of U-Boot and Linux are you talking about? > is seems that u-boot is using 0x00FB & linux is using

Re: [U-Boot] NAND issues

2009-08-12 Thread Scott Wood
On Wed, Aug 12, 2009 at 12:30:02AM -0500, alfred steele wrote: > I have been using the "nand erase.e" command with favourable results > till now. I was enticed by the "CONFIG_JFFS2_NAND" option in the > platform config. When i turn this config option on and use the "NAND. > write.jffs2 ", and use t

Re: [U-Boot] Write back flash content to SD/MMC Card

2009-08-12 Thread Wolfgang Denk
Dear "A. Geisreiter", In message <01ca1b14$5b5e4100$121ac3...@de> you wrote: > > I will write back the complete content of my flash memory to a binary File > on SD/MMC Card. How can I do this? Is there any support to create a file on > SD/MMC card? Yes, there is such support - under Linux.

Re: [U-Boot] [PATCH 3/3] smc91111: switch to MULTI_NET api

2009-08-12 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <1250023747-20224-3-git-send-email-plagn...@jcrosoft.com> you wrote: > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD ... > #ifdef CONFIG_SMC_USE_32_BIT > -#define USE_32_BIT 1 > +#define is_use_32bit(x) (x->use_32bit) Does switching fro

Re: [U-Boot] [PATCH 2/3] net: add getenv/setenv enetaddr function to use ethernet device num

2009-08-12 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <1250023747-20224-2-git-send-email-plagn...@jcrosoft.com> you wrote: > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > --- > include/net.h |2 ++ > net/eth.c | 28 +--- > 2 files changed, 27 insertions(+), 3 de

Re: [U-Boot] [PATCH 1/3] net/eth_device: keep index inside each device

2009-08-12 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <1250023747-20224-1-git-send-email-plagn...@jcrosoft.com> you wrote: > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > --- > include/net.h |1 + > net/eth.c | 17 + > 2 files changed, 6 insertions(+), 12 deletions(-)

Re: [U-Boot] CFI Flash write speed

2009-08-12 Thread Wolfgang Denk
Dear "A. Geisreiter", In message <01ca1a94$e0216f50$a0644d...@de> you wrote: > > I have add CFI support to my project. I use Intel strata flash P30 and > PXA270 CPU. The flash is connected with 16bit to the PXA data bus. If I > write to the flash I have transfer rates of roughly 75kB/sec. I t

Re: [U-Boot] [PATCH 2/2] MTD:NAND: ADD new ECC mode NAND_ECC_HW_OOB_FIRST

2009-08-12 Thread Scott Wood
On Wed, Aug 12, 2009 at 11:48:27AM -0500, Paulraj, Sandeep wrote: > There are other issues. The NAND manufacturers have changed the format > of the 4Th ID byte and some other are supporting ONFI. Current NAND > driver has no support for these There are always other issues. :-) Unless the issues s

[U-Boot] [PATCH] Add support for the galaxy5200 board.

2009-08-12 Thread Eric Millbrandt
Add support for the DEKA R&D galaxy5200 board. The patch is based off of the mpc5xxx branch. _ This e-mail and the information, including any attachments, it contains are intended to be a confidential commun

Re: [U-Boot] [PATCH] OMAP3 Move cache routines to cache.S

2009-08-12 Thread Dirk Behme
Tom Rix wrote: > v7_flush_dcache_all, because it depends on omap ROM code is not > generic. Rename the function to 'invalidate_dcache' and move it > to the omap cpu directory. > > Collect the other omap cache routines l2_cache_enable and > l2_cache_disable with invalide_dcache into cache.S. This

[U-Boot] ext2fs.c/ext2fs_mount() fails when inode_size = 256

2009-08-12 Thread Bob Furber
Our SBC have been happily booting uClinux from ext3 partitioned SD cards prepared on a Fedora Linux-2.6.15 PC. But, when we prepared our 2GB SD cards on a brand new Ubuntu Linux-2.6.27 PC, out SBCs were no longer able to find /boot/linux.bin. Linux/dumpe2fs showed that the bootable [Fedora] 2GB

Re: [U-Boot] [PATCH 2/2] MTD:NAND: ADD new ECC mode NAND_ECC_HW_OOB_FIRST

2009-08-12 Thread Scott Wood
Paulraj, Sandeep wrote: > [Sandeep] I agree.At the beginning of the year we had a way to do it > with the existing modes. WE had are own read and write funtions in > the Davinci NAND driver to achieve what were are doing in this patch. > But the solution was not accepted by the MTD community. I hav

[U-Boot] [PATCH] AT91: Add support for blue_LED_* and add coloured_LED_init to at91/led.c

2009-08-12 Thread Albin Tonnerre
Currently, at91/led.c only provides _on and _off functions for green, yellow and red LEDs. This patch provides a generic coloured_LED_init function, which is a first step towards getting rid of the board-specific (and duplicated) board/*/*/led.c files on at91 This patch alos adds similar support fo

[U-Boot] [PATCH] flash: Fix CFI buffer size bug

2009-08-12 Thread John Schmoller
Fix bug introduced by 9c048b523413ae5f3ff34e00cf57569c3368ab51. The cfi_flash.c driver cast the flash buffer size to a uchar in flash_write_cfibuffer(). On some flash parts, (tested on Numonyx part PC32F512M29EWH), the buffer size is 1KB. Remove the cast to uchar to enable buffer sizes to be large

Re: [U-Boot] [PATCH 3/3] smc91111: switch to MULTI_NET api

2009-08-12 Thread Ben Warren
Jean-Christophe, Jean-Christophe PLAGNIOL-VILLARD wrote: > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD I already posted a patch that does this and asked for help testing. It is available in the net/next repo. If you find it to be inadequate, please provide patches to make it work. regards

Re: [U-Boot] [PATCH 0/4] Network defrag

2009-08-12 Thread Robin Getz
On Mon 10 Aug 2009 15:57, Ben Warren pondered: > Robin Getz wrote: > > Thanks to Alessandro for putting it together. > > > > Feel free to add my Signed-off (once the docs have been updated > > explaining what this is all for). > > > > > I'll do that. Thanks for all your help. Some info for the

[U-Boot] [PATCH] OMAP3 Move cache routines to cache.S

2009-08-12 Thread Tom Rix
v7_flush_dcache_all, because it depends on omap ROM code is not generic. Rename the function to 'invalidate_dcache' and move it to the omap cpu directory. Collect the other omap cache routines l2_cache_enable and l2_cache_disable with invalide_dcache into cache.S. This means removing the old cac

[U-Boot] RE ARM Cortex8 Rename and move v7_flush_dcache_all to flush_dcache

2009-08-12 Thread Tom Rix
> Dear Tom Rix, > In message <1246898879-6567-2-git-send-email-tom@windriver.com> you wrote: > > --===0808050101== > > > > Since there is only one version of flushing the dcache for > > arm_cortex8, rename v7_flush_dcache_all to the the generic > > name flush_dcache. Because th

Re: [U-Boot] Where is the GPR30 register in PowerPC arch as GOT pointer of C code documented?

2009-08-12 Thread Kumar Gala
On Aug 12, 2009, at 8:46 AM, Gao Ya'nan wrote: > I find nothing about this in (E)ABI specification(perhaps some old), > so, where is it? You want the ABI that is available here: http://refspecs.freestandards.org/elf/elfspec_ppc.pdf The EABI is just extensions on top of it. - k ___

[U-Boot] Where is the GPR30 register in PowerPC arch as GOT pointer of C code documented?

2009-08-12 Thread Gao Ya'nan
I find nothing about this in (E)ABI specification(perhaps some old), so, where is it? Thanks. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] Where is the GPR30 register in PowerPC arch as GOT pointer of C code documented?

2009-08-12 Thread Gao Ya'nan
I find nothing about this in (E)ABI specification(perhaps some old), so, where is it? Thanks. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] dtt, lm81: move unneccessary printf into a debug printf

2009-08-12 Thread Wolfgang Denk
Dear Heiko Schocher, In message <4a812de6.5040...@denx.de> you wrote: > Signed-off-by: Heiko Schocher > --- > drivers/hwmon/lm81.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang D

[U-Boot] NAND issues

2009-08-12 Thread alfred steele
Hi All, I have been using the "nand erase.e" command with favourable results till now. I was enticed by the "CONFIG_JFFS2_NAND" option in the platform config. When i turn this config option on and use the "NAND. write.jffs2 ", and use the resulting image, i get abnormal results including a kernel

Re: [U-Boot] [PATCH] eeprom_m95xxx: remove unused variable i

2009-08-12 Thread Albin Tonnerre
Hi Wolfgang, On Fri, Aug 07, 2009 at 11:56:21PM +0200, Wolfgang Denk wrote : > Dear Jean-Christophe PLAGNIOL-VILLARD, > > In message <1249681074-21164-1-git-send-email-plagn...@jcrosoft.com> you > wrote: > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > > --- > > drivers/mtd/spi/eeprom_m95

[U-Boot] modem pass-through

2009-08-12 Thread David Collier
I was reading the notes about openmoko and saw that they had implemented a serial pass-through to allow the on-board GSM modem to be driven via an external serial port. Did that feature ever make it's way into the standard u-boot code??? David Collier www.dexdyne.com ___

[U-Boot] Why u-boot & linux uses different machineid for at91rm9200dk

2009-08-12 Thread vibi sreenivasan
Hello, Why u-boot & linux uses different machine id for at91rm9200dk. is seems that u-boot is using 0x00FB & linux is using 0x0106. Can we fix this in u-boot itself ? Thanks & Regards vibi sreenivasan ___ U-Boo

Re: [U-Boot] driving a serial peripheral in u-boot

2009-08-12 Thread David Collier
> > Is there an example anywhere of u-boot talking to a device on a > > serial > > port ( which is not the console ) I can use as an example? > > See common/modem.c and search the code for mdm_init(). h Goodie - thanks. David Collier www.dexdyne.com _

[U-Boot] [PATCH 1/1][Net] Convert CS8900 Ethernet driver to CONFIG_NET_MULTI API

2009-08-12 Thread Ben Warren
All in-tree boards that use this controller have CONFIG_NET_MULTI added Also: - changed CONFIG_DRIVER_CS8900 to CONFIG_CS8900 - changed CS8900_BASE to CONFIG_CS8900_BASE - changed CS8900_BUS?? to CONFIG_CS8900_BUS?? - cleaned up line lengths - modified VCMA9 command function that accesses

Re: [U-Boot] reset environment

2009-08-12 Thread David Collier
> Dear "Dexdyne Postmaster", whoops - fixed that now!!! > This depends on your configuration. When using an "embedded" > environment, this will get replaced with each install. " this will get replaced with each install " sorry - I don't know how you mean that will happen OK - I'm working o

[U-Boot] [PATCH 0/1][Net] Convert CS8900 Ethernet driver to CONFIG_NET_MULTI API

2009-08-12 Thread Ben Warren
Hello, This driver is compile-tested only on ARM platform. I'm hoping some volunteers can test it on real hardware. thanks, Ben --- board/altera/dk1c20/dk1c20.c | 12 ++ board/altera/dk1s10/dk1s10.c | 12 ++ board/armadillo/armadillo.c | 12 ++ board/csb226/csb226.c

Re: [U-Boot] [PATCH v5] zlib: updated to v.1.2.3

2009-08-12 Thread Wolfgang Denk
Dear rhabarber1848, In message you wrote: > Giuseppe CONDORELLI wrote: > > > This patch updates zlib to the latest stable version. > > Hi, > > this patch finally works for me, thank you. > > Reviewed-by: rhabarber1848 Thanks, but this is unusable. Sorry, please always use your real name (no

[U-Boot] [PATCH 2/3] net: add getenv/setenv enetaddr function to use ethernet device num

2009-08-12 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- include/net.h |2 ++ net/eth.c | 28 +--- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/include/net.h b/include/net.h index 2a8a12d..dc4ae41 100644 --- a/include/net.h +++ b/include/net.h @@ -1

[U-Boot] LIBFDT - changing command line

2009-08-12 Thread Michal Simek
Hi All, I would like to use fdt for changing command line in DTB but I found there is one problem if I have longer command line which contains any spaces. Below is my workflow. If I understand correctly the problem is in cmd_fdt.c:fdt_parse_prop:593-603. It will be worth to add case for supporting

Re: [U-Boot] [PATCH v4 2/2] zlib: add watchdog reset call

2009-08-12 Thread Wolfgang Denk
Dear Giuseppe CONDORELLI, In message <1248861920-12280-1-git-send-email-giuseppe.condore...@st.com> you wrote: > This patch adds watchdog reset call to allow its invokation during > decompression > phase. This control was present on old zlib version and here it is > backported for those relevant

[U-Boot] Where is the GPR30 register in PowerPC arch as GOT pointer documented?

2009-08-12 Thread Gao Ya'nan
I find nothing about this in (E)ABI specification(perhaps some old), so, where is it? Thanks. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] tools: mkimage: Fixed build warnings

2009-08-12 Thread Wolfgang Denk
Dear Prafulla Wadaskar, In message <1249983988-3370-1-git-send-email-prafu...@marvell.com> you wrote: > uninitialized retval variable warning fixed > crc32 api moved to crc.h(new) and build warnings fixed Hm... why are you changing the casts to new variable types? > +/* lib_generic/crc32.c */ >

Re: [U-Boot] [PATCH 2/2] MTD:NAND: ADD new ECC mode NAND_ECC_HW_OOB_FIRST

2009-08-12 Thread Scott Wood
On Mon, Aug 10, 2009 at 01:27:56PM -0400, s-paul...@dal.design.ti.com wrote: > /** > + * nand_read_page_hwecc_oob_first - [REPLACABLE] hw ecc, read oob first > + * @mtd: mtd info structure > + * @chip:nand chip info structure > + * @buf: buffer to store read data > + * > + * Hardware E

Re: [U-Boot] "raise" not defined, when compiler uses its own div0

2009-08-12 Thread Ulf Samuelsson
Wolfgang Denk skrev: > Dear Ulf Samuelsson, > > In message <4a810dbc.50...@atmel.com> you wrote: >> When trying to build U-Boot under Buildroot and OpenEmbedded, > > These probably count to the tool chains with "broken" ARM cross > compilers. Maybe, Buildroot is even more broken, if you try to u

Re: [U-Boot] [PATCH] imx27lite: add support for imx27lite board from LogicPD

2009-08-12 Thread Ilya Yanok
Hi Fabio, Fabio Estevam wrote: >> cpu/arm926ejs/mx27/generic.c | 65 >> include/asm-arm/arch-mx27/imx-regs.h >> > > Shouldn't these two files be part of a separate patch as they are not > specific to the iMX27 Lite board support? > Well, I thought about this... Let's wai

  1   2   >