Re: [U-Boot] [PATCH v2] net: add opencore 10/100 ethernet mac driver

2010-04-01 Thread Michal Simek
Scott McNutt wrote: > Hi Wolfgang, > > Do we have a network drivers custodian? ... or should I just handle > this patch through the nios repository? I'm guessing that this will > only be used with nios2 in the near term. I'm not sure if any Microblaze > (Xilinx) folks have worked with this -- perh

Re: [U-Boot] [PATCH 2/5] nios2: add Altera EP2C35 board

2010-04-01 Thread Michal Simek
Thomas Chou wrote: > This patch supports the Altera CycloneII Nios dev board using > the example FPGA design at http://nioswiki.com/Linux. > > Signed-off-by: Thomas Chou > --- > MAINTAINERS |1 + > MAKEALL |1 + > Makefile

Re: [U-Boot] [PATCH] nios2: Set CONFIG_SYS_HZ to 1000 all nios2 boards.

2010-04-01 Thread Michal Simek
Scott McNutt wrote: >CONFIG_SYS_HZ was being calculated (incorrectly) in nios2 configuration >headers. Updated comments to accurately describe timebase macros. > > Signed-off-by: Scott McNutt > --- > include/configs/EP1C20.h | 14 -- > include/configs/EP1S10.h | 14

[U-Boot] Patch submission process

2010-04-01 Thread Vipin KUMAR
Dear Wolfgang, Tom Although I have managed to submit my patches in the u-boot mainline in the recent past, I am still a newbie to u-boot community. I have a few doubts regarding the patch submission process followed in u-boot. I hope the answers would be beneficial not just for me but for everyon

Re: [U-Boot] Booting from ext2/ext3

2010-04-01 Thread Wolfgang Denk
Dear Matthias, In message <569685f045b85741820d0265e0d2999d019cf...@tddhh01.hh.thales-naval.de> you wrote: > > > Hm... this is U-Boot release v2009.11.1, correct? > > Yes correct, but it happens in 2009.08, too. Strange... > The output of ppc_85xx-nm *.o in disk/ looks a little "weak": > > p

Re: [U-Boot] Patch submission process

2010-04-01 Thread Wolfgang Denk
Dear Vipin KUMAR, In message <4bb45f3d.8040...@st.com> you wrote: > > After reading about the patch submission process, I felt that patches > can only be sent when the merging window is open but patches are being > continuously sent and reviewed. > > Is it correct to assume that a patch can be s

[U-Boot] [STATUS] U-Boot v2010.03 released - Merge Window OPEN

2010-04-01 Thread Wolfgang Denk
Hello all, U-Boot v2010.03 has been released and is available from the git repository and the FTP server. The "next" branch has been pulled into mainline ("master" branch) and has been removed afterward. The Merge Window for the next release (v2010.06) is open until Fri Apr 23, 2010, 23:59:59 CE

[U-Boot] Winner

2010-04-01 Thread UK LOTTERY
Congratulations you won £1,000,000.00 Pounds in the uk online lottery promo,Confirm this receipt by replying the due process unit officer:Fill the details: FullName,Address,Tel,Occupation,etc,Reply to mrsruthd...@btinternet.com Servicio brindado por Velocom - http://www.velocom.com.ar/

Re: [U-Boot] Patch submission process

2010-04-01 Thread Vipin KUMAR
On 4/1/2010 2:45 PM, Wolfgang Denk wrote: > Dear Vipin KUMAR, > > In message <4bb45f3d.8040...@st.com> you wrote: >> >> After reading about the patch submission process, I felt that patches >> can only be sent when the merging window is open but patches are being >> continuously sent and reviewed.

Re: [U-Boot] [PATCH] nios2: Set CONFIG_SYS_HZ to 1000 all nios2 boards.

2010-04-01 Thread Scott McNutt
Michal Simek wrote: > Scott McNutt wrote: >>CONFIG_SYS_HZ was being calculated (incorrectly) in nios2 >> configuration >>headers. Updated comments to accurately describe timebase macros. >> >> Signed-off-by: Scott McNutt >> --- >> include/configs/EP1C20.h | 14 -- >> inc

[U-Boot] Writing into filesystems, using uboot

2010-04-01 Thread Rajat Jain
Hi, I'm a newbie, and was wondering if some one could help me with my queries, without getting into likes of "Why would you want to do that?" :-) I stumbled upon this patch I found for uboot UFS support: http://blog.springdaemons.com/2008/10/31/u-boot-ffs-ufs-support http://www.springdaemons.com

Re: [U-Boot] Saving environment variables in MMC

2010-04-01 Thread Detlev Zundel
Hi Nitin, >> It is rather common to write to the U-Boot environment in projects >> for example to switch to a new set of kernel+file system after an >> update from within linux for the next boot. >> > My use case is exactly same, to switch to a new set of kernel+fs after > an update for the next

Re: [U-Boot] Booting from ext2/ext3

2010-04-01 Thread Dunda, Matthias
Dear Wolfgang, > > > > to include/configs/MPC8568MDS.h > > It seems you are missing the device driver support. If you > check the code in "disk/part.c" you will see this: > > ... > 218 #if (defined(CONFIG_CMD_IDE) || \ > 219 defined(CONFIG_CMD_MG_DISK) || \ > 220 defined(CONFIG_CMD_S

Re: [U-Boot] U-boot env variables parsing

2010-04-01 Thread Detlev Zundel
Hi Nitin, > Hi! > > I am doing env settings some thing like this, > > ROOT1=/dev/mmcblk0p1 > ROOT2=/dev/mmcblk0p2 > ROOT=${ROOT1} > bootargs1=console=ttyS0,115200n8 mem=256M noinitrd rw rootdelay=1 ${ROOT} > > when I say 'setenv bootargs ${bootargs1}', ${ROOT} gets resolved to 'ROOT1', > it does

Re: [U-Boot] Writing into filesystems, using uboot

2010-04-01 Thread Wolfgang Denk
Dear Rajat Jain, In message you wrote: > > I stumbled upon this patch I found for uboot UFS support: > > http://blog.springdaemons.com/2008/10/31/u-boot-ffs-ufs-support > http://www.springdaemons.com/stas/u-boot-ffs.patch > > Has some one tried this? Does it give you the capability to WRITE t

Re: [U-Boot] Booting from ext2/ext3

2010-04-01 Thread Wolfgang Denk
Dear Matthias, In message <569685f045b85741820d0265e0d2999d019cf...@tddhh01.hh.thales-naval.de> you wrote: > > Indeed, there was something missing! I added the configurations like > described in doc/README.usb: > > CONFIG_CMD_USB > CONFIG_USB_UHCI > CONFIG_USB_STORAGE > > It seems, like these

Re: [U-Boot] [PATCH 2/5] nios2: add Altera EP2C35 board

2010-04-01 Thread Thomas Chou
On 04/01/2010 03:17 PM, Michal Simek wrote: > > I am strongly against this style of adding any specific nios board to > U-BOOT. > > 1. I am not convinced that all information from 2c35_cf.h are > important for U-BOOT. > What connection has for example "#define KERNEL_REGION_BASE 0xc000"? > or

Re: [U-Boot] [PATCH 2/5 v2] nios2: add Altera EP2C35 board

2010-04-01 Thread Thomas Chou
On 03/31/2010 12:03 PM, Thomas Chou wrote: > This patch supports the Altera CycloneII Nios dev board using > Please drop this patch. - Thomas ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] Remove unused "local_crc32" function.

2010-04-01 Thread Detlev Zundel
For code archeologists, this is a nice example of copy and paste history. Signed-off-by: Detlev Zundel --- cpu/mpc8220/fec.c | 41 + drivers/net/mpc512x_fec.c | 41 + drivers/net/mpc5xxx_fec.c | 41 +---

Re: [U-Boot] [PATCH 4/5 v2] nios2: add Altera NEEK board

2010-04-01 Thread Thomas Chou
On 03/31/2010 12:03 PM, Thomas Chou wrote: > This patch supports the Altera Nios2 Embedded Evaluation Kit using > Please drop this patch. - Thomas ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Saving environment variables in MMC

2010-04-01 Thread Nitin Mahajan
Hello, thanks for your valuable inputs. --- On Thu, 1/4/10, Detlev Zundel wrote: > From: Detlev Zundel > Subject: Re: [U-Boot] Saving environment variables in MMC > To: nitin...@yahoo.com > Cc: "U-Boot user list" > Date: Thursday, 1 April, 2010, 5:35 PM > Hi Nitin, > > >> It is rather common

Re: [U-Boot] U-boot env variables parsing

2010-04-01 Thread Joakim Tjernlund
> > Hi Nitin, > > > Hi! > > > > I am doing env settings some thing like this, > > > > ROOT1=/dev/mmcblk0p1 > > ROOT2=/dev/mmcblk0p2 > > ROOT=${ROOT1} > > bootargs1=console=ttyS0,115200n8 mem=256M noinitrd rw rootdelay=1 ${ROOT} > > > > when I say 'setenv bootargs ${bootargs1}', ${ROOT} gets resolve

[U-Boot] [PATCH] i2c: Move PPC4xx I2C driver into drivers/i2c directory

2010-04-01 Thread Stefan Roese
This patch moves the PPC4xx specific I2C device driver into the I2C drivers directory. All 4xx config headers are updated to include this driver. Signed-off-by: Stefan Roese Cc: Heiko Schocher --- cpu/ppc4xx/Makefile |1 - drivers/i2c/Makefile

Re: [U-Boot] U-boot env variables parsing

2010-04-01 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message you wrote: > > linuxip=ip=$(ipaddr)::$(gatewayip):$(netmask):$(hostname):$(linuxif):off > tboot=setenv bootargs $(linuxroot) $(linuxip) $(extra);tftp 10; bootm > 10 > > it was fairly simple to do but I don't think WD applied it since the old > shel

Re: [U-Boot] U-boot env variables parsing

2010-04-01 Thread Joakim Tjernlund
Wolfgang Denk wrote on 2010-04-01 14:47:45: > > Dear Joakim Tjernlund, > > In message 0044d...@transmode.se> you wrote: > > > > linuxip=ip=$(ipaddr)::$(gatewayip):$(netmask):$(hostname):$(linuxif):off > > tboot=setenv bootargs $(linuxroot) $(linuxip) $(extra);tftp 10; bootm > > 10 > >

Re: [U-Boot] U-boot env variables parsing

2010-04-01 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message you wrote: > > > I don't think you ever posted this before. I cannot find any trace of > > such a patch - not in the public archives nor locally. > > I think I did, but this would have been late 2001 or 2002 I think :) > Not 100% sure about the date since the

Re: [U-Boot] U-boot env variables parsing

2010-04-01 Thread Joakim Tjernlund
Wolfgang Denk wrote on 2010-04-01 15:05:29: > > Dear Joakim Tjernlund, > > In message 00471...@transmode.se> you wrote: > > > > > I don't think you ever posted this before. I cannot find any trace of > > > such a patch - not in the public archives nor locally. > > > > I think I did, but this woul

[U-Boot] [PATCH] mpc512x_fec: Move PHY initialization from probe into init routine.

2010-04-01 Thread Detlev Zundel
This saves the autonegotation delay when not using ethernet in U-Boot Signed-off-by: Detlev Zundel --- drivers/net/mpc512x_fec.c | 30 ++ 1 files changed, 10 insertions(+), 20 deletions(-) diff --git a/drivers/net/mpc512x_fec.c b/drivers/net/mpc512x_fec.c index 1bb

Re: [U-Boot] U-boot env variables parsing

2010-04-01 Thread Detlev Zundel
Hi Jocke, >> > > Hm... will this not make escaping impossible? Assume you want to pass >> > > >> > >arg=${name} >> > > >> > > to Linux. How would you escape this so it does NOT get expanded if >> > > you run process_macros() arbitrarily often? >> > >> > Possibly, I never needed that though. >>

[U-Boot] [PATCH] [v2] p2020ds: add alternate boot bank support using the ngPIXIS FPGA

2010-04-01 Thread Timur Tabi
The Freescale P2020DS board uses a new type of PIXIS FPGA, called the ngPIXIS. The ngPIXIS has one distinct new feature: the values of the on-board switches can be selectively overridden with shadow registers. This feature is used to boot from a different NOR flash bank, instead of having a regist

Re: [U-Boot] [PATCH] nios2: Set CONFIG_SYS_HZ to 1000 all nios2 boards.

2010-04-01 Thread Michal Simek
Scott McNutt wrote: > > > Michal Simek wrote: >> Scott McNutt wrote: >>>CONFIG_SYS_HZ was being calculated (incorrectly) in nios2 >>> configuration >>>headers. Updated comments to accurately describe timebase macros. >>> >>> Signed-off-by: Scott McNutt >>> --- >>> include/configs/EP1C2

[U-Boot] [PATCH 1/3] The BUILD_BUG_ON macros moved from ubi_uboot.h to common.h

2010-04-01 Thread Michael Zaidman
The BUILD_BUG_ON macros made availible for rest of the u-boot code by moving it from ubi_uboot.h to common.h. In Linux kernel this widely used macros is defined in kernel.h file. Signed-off-by: Michael Zaidman --- include/common.h|3 +++ include/ubi_uboot.h |3 --- 2 files changed, 3

[U-Boot] [PATCH 2/3] drivers/serial/serial.c: code maintainability improvments.

2010-04-01 Thread Michael Zaidman
Signed-off-by: Michael Zaidman --- drivers/serial/serial.c | 31 +-- 1 files changed, 21 insertions(+), 10 deletions(-) diff --git a/drivers/serial/serial.c b/drivers/serial/serial.c index dd5f332..8d78983 100644 --- a/drivers/serial/serial.c +++ b/drivers/serial/se

Re: [U-Boot] U-boot env variables parsing

2010-04-01 Thread Joakim Tjernlund
Detlev Zundel wrote on 2010-04-01 16:56:40: > > Hi Jocke, > > >> > > Hm... will this not make escaping impossible? Assume you want to pass > >> > > > >> > >arg=${name} > >> > > > >> > > to Linux. How would you escape this so it does NOT get expanded if > >> > > you run process_macros() arbitra

[U-Boot] [PATCH 3/3] serial.c: get_serial_port and get_number_of_serial_ports API added.

2010-04-01 Thread Michael Zaidman
Signed-off-by: Michael Zaidman --- drivers/serial/serial.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/drivers/serial/serial.c b/drivers/serial/serial.c index 8d78983..c123803 100644 --- a/drivers/serial/serial.c +++ b/drivers/serial/serial.c @@ -340,3 +340,

Re: [U-Boot] [RFC] 83xx: uec: miiphybb: Added support for bitBang SMI and uec SMI enabled at the same time.

2010-04-01 Thread richardretanubun
>From 1f50506ad9a305c1c9dfc68aa70551166b44d3a0 Mon Sep 17 00:00:00 2001 From: Richard Retanubun Date: Wed, 17 Jun 2009 16:00:41 -0400 Subject: [PATCH] 83xx: UEC: Added support for bitBang MII driver access to PHYs This patch enabled support for having PHYs on bitBang MII and uec MII operating at

Re: [U-Boot] U-boot env variables parsing

2010-04-01 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message you wrote: > > > To me it looks like the new code would indeed do a "greedy" substitution > > only stopping when no more substitutions can be done. This is very > > un-unixy and thus not something I'd like to see as a default behaviour. > > Why not? What is g

Re: [U-Boot] Adding new partition in uboot

2010-04-01 Thread David Gibson
On Sun, Mar 21, 2010 at 06:13:44PM -0400, Sagar Heroorkar wrote: > Hi David, > > I was exploring the ways to add partition into the blob dynamically. > > I followd the following steps. > > 1) say we have 5 partitions. Flash size is 128mb > > norfl...@0,0{ > 1-- > 2-- >

[U-Boot] [PATCH v3] Add initial support for Matrix Vision mvSMR board based on MPC5200B.

2010-04-01 Thread Andre Schwarz
Add initial support for Matrix Vision mvSMR board based on MPC5200B. Signed-off-by: Andre Schwarz --- Wolfgang, thanks for having a look @ v2. This is v3 taking all comments into account. TIA, Andre CREDITS |2 +- MAINTAINERS |1 +

Re: [U-Boot] 30-Second TFTP Timeout at Start-Up

2010-04-01 Thread Ira W. Snyder
On Wed, Mar 31, 2010 at 05:29:09PM -0400, Jason Hanna wrote: > > Are you connected directly to the tftp server or is there switches in > > between? > > I'm running a Cisco/Linksys SLM2024 24-port switch. The embedded board > and TFTP server are on the same subnet and VLAN, however. > > That's ho

Re: [U-Boot] 30-Second TFTP Timeout at Start-Up

2010-04-01 Thread Jason Hanna
Thanks everyone for the tips... Ira, I was just running another Wireshark capture and looking at the ARP messages and I saw your message. I looked at the switch briefly, but didn't think to check the STP settings. That's exactly what was happening. Turned on "Port Fast" for this particular port i

Re: [U-Boot] U-boot env variables parsing

2010-04-01 Thread Joakim Tjernlund
Wolfgang Denk wrote on 2010-04-01 20:27:47: > > Dear Joakim Tjernlund, > > In message 005e9...@transmode.se> you wrote: > > > > > To me it looks like the new code would indeed do a "greedy" substitution > > > only stopping when no more substitutions can be done. This is very > > > un-unixy and t

Re: [U-Boot] Adding new partition in uboot

2010-04-01 Thread Wolfgang Denk
Dear David Gibson, In message <20100401185147.ga17...@yookeroo> you wrote: > > > Let me know if we need to increase size of the blob or something which i m > > missing. > > This is going to help a lot if you can reply. > > For this case where there's a flash partition that's sometimes there > an

Re: [U-Boot] [PATCH 2/3] drivers/serial/serial.c: code maintainability improvments.

2010-04-01 Thread Kim Phillips
On Thu, 1 Apr 2010 20:19:45 +0300 Michael Zaidman wrote: > +#define MAX_SER_PORTS ((sizeof(serial_ports)/sizeof(NS16550_t))) one level of parens not needed, no space around operator '/'. > +static inline void sanity_check(void) we can avoid this non-function by placing the check in serial_init

Re: [U-Boot] [PATCH] nios2: Set CONFIG_SYS_HZ to 1000 all nios2 boards.

2010-04-01 Thread Scott McNutt
Michal, >> It would indeed be more efficient -- perhaps a common header for >> the Altera boards when time permits. > > :-) It is not just to be more efficient. > 1. Save u-boot size > 2. If is only one place where it is defined than you don't need to spend > time to fix all boards which are ver

[U-Boot] [PATCH 3/5 v3] nios2: add Altera EP3C120 board

2010-04-01 Thread Thomas Chou
This patch supports the Altera CycloneIII Nios dev board using the example FPGA design at http://nioswiki.com/Linux. This board servers as a configuration template for nios2-generic approach. Since each fpga board can have different designs, we will refer them as designs rather than boards. All de

Re: [U-Boot] [PATCH v4 tabify] net: add altera triple speeds ethernet mac driver

2010-04-01 Thread Thomas Chou
On 03/28/2010 04:32 PM, Thomas Chou wrote: > This driver supports the Altera triple speeds 10/100/1000 ethernet > mac. > > Signed-off-by: Thomas Chou > Hi Ben, Please also review this patch. Best regard, Thomas > --- > drivers/net/Makefile |1 + > drivers/net/altera_tse.c | 978

Re: [U-Boot] [PATCH 3/5 v3] nios2: add Altera EP3C120 board

2010-04-01 Thread Michal Simek
Thomas Chou wrote: > This patch supports the Altera CycloneIII Nios dev board using > the example FPGA design at http://nioswiki.com/Linux. > > This board servers as a configuration template for nios2-generic > approach. Since each fpga board can have different designs, we > will refer them as des