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

2010-04-01 Thread Dunda, Matthias
Good Morning Wolfgang, Dear Matthias, In message 569685f045b85741820d0265e0d2999d019cf...@tddhh01.hh.thales-na val.de you wrote: `get_partition_info' ... What's the issue here? Hm... this is U-Boot release v2009.11.1, correct? Yes correct, but it happens in 2009.08, too.

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 -- perhaps

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 tho...@wytron.com.tw --- MAINTAINERS |1 + MAKEALL |1 +

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 smcn...@psyent.com --- include/configs/EP1C20.h | 14 -- include/configs/EP1S10.h

[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

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: part_dos.o:

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 sent at

[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 CET =

[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 -

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. Is it

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 smcn...@psyent.com --- include/configs/EP1C20.h | 14 --

[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

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 boot. I

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_SATA) || \

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 not get

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

2010-04-01 Thread Wolfgang Denk
Dear Rajat Jain, In message x2sb115cb5f1004010449m78016f13vb731b2ed7043a...@mail.gmail.com 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

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 aren't

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 others.

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 d...@denx.de --- cpu/mpc8220/fec.c | 41 + drivers/net/mpc512x_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 d...@denx.de wrote: From: Detlev Zundel d...@denx.de Subject: Re: [U-Boot] Saving environment variables in MMC To: nitin...@yahoo.com Cc: U-Boot user list u-boot@lists.denx.de Date: Thursday, 1 April, 2010, 5:35 PM

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 resolved to 'ROOT1', it does

[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 s...@denx.de Cc: Heiko Schocher h...@denx.de --- cpu/ppc4xx/Makefile |1 -

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

2010-04-01 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message ofebf95ca1.44e68372-onc12576f8.0043f4f7-c12576f8.0044d...@transmode.se you wrote: linuxip=ip=$(ipaddr)::$(gatewayip):$(netmask):$(hostname):$(linuxif):off tboot=setenv bootargs $(linuxroot) $(linuxip) $(extra);tftp 10; bootm 10 it was fairly

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

2010-04-01 Thread Joakim Tjernlund
Wolfgang Denk w...@denx.de wrote on 2010-04-01 14:47:45: Dear Joakim Tjernlund, In message OFEBF95CA1.44E68372-ONC12576F8.0043F4F7-C12576F8. 0044d...@transmode.se you wrote: linuxip=ip=$(ipaddr)::$(gatewayip):$(netmask):$(hostname):$(linuxif):off tboot=setenv bootargs $(linuxroot)

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

2010-04-01 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message of6d501b3a.40f7e6a2-onc12576f8.00466be2-c12576f8.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 would have been late

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

2010-04-01 Thread Joakim Tjernlund
Wolfgang Denk w...@denx.de wrote on 2010-04-01 15:05:29: Dear Joakim Tjernlund, In message OF6D501B3A.40F7E6A2-ONC12576F8.00466BE2-C12576F8. 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

[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 d...@denx.de --- drivers/net/mpc512x_fec.c | 30 ++ 1 files changed, 10 insertions(+), 20 deletions(-) diff --git a/drivers/net/mpc512x_fec.c

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. One would probably need to

[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

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 smcn...@psyent.com --- include/configs/EP1C20.h |

[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 michael.zaid...@gmail.com --- include/common.h|3 +++ include/ubi_uboot.h |

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

2010-04-01 Thread Michael Zaidman
Signed-off-by: Michael Zaidman michael.zaid...@gmail.com --- 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 ---

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

2010-04-01 Thread Joakim Tjernlund
Detlev Zundel d...@denx.de 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() arbitrarily often?

[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 michael.zaid...@gmail.com --- 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 +++

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 richardretanu...@ruggedcom.com 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

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

2010-04-01 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message of5552925c.8f998468-onc12576f8.005e3247-c12576f8.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 thus not something

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-- 3

[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 andre.schw...@matrix-vision.de --- Wolfgang, thanks for having a look @ v2. This is v3 taking all comments into account. TIA, Andre CREDITS |2 +- MAINTAINERS

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 how I

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

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

2010-04-01 Thread Joakim Tjernlund
Wolfgang Denk w...@denx.de wrote on 2010-04-01 20:27:47: Dear Joakim Tjernlund, In message OF5552925C.8F998468-ONC12576F8.005E3247-C12576F8. 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

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 and sometimes

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 michael.zaid...@gmail.com 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

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 very

[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

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 Choutho...@wytron.com.tw Hi Ben, Please also review this patch. Best regard, Thomas --- drivers/net/Makefile |1 +