[U-Boot] Where can i get this patch ??

2011-04-05 Thread ravi . rao
Hi All,
   Can any of you please let me know where can I get this patch.
[U-Boot] [PATCH] Marvell 88E Switch/PHY init support
Also why is this not yet part of main release ??
Thanks,
Ravi___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [U-Boot-Users] U-boot for PPC405GP based custom Board

2010-06-24 Thread ravi . rao
Hi Feng,
Below is the screen dump after enabling Debug. ..
===
Booting RFL GARD 8000 Controller using u-boot based bootloader
===

U-Boot 1.3.0-rc4 (Jun 24 2010 - 16:47:32)

CPU:   AMCC PowerPC 405GP Rev. E at 200 MHz (PLB=100, OPB=50, EBC=50 MHz)
, PCI sync clock at 50 MHz   16 kB I-Cache 8 kB D-Cache
Board: RFL-GARD8000 with AMCC PPC405GP processor
I2C:   ready
DRAM:  64 MB
SDRAM test passes
FLASH: FLASH ADDR: fc00
FLASH MANUFACT: 10001

FLASH DEVICEID: 227e227e

C2:  LS: 22012201

info->flash_id: f2

Size of Flash0 at addr 0xfc00 is 0x200
FLASH ADDR: 
FLASH MANUFACT: 
## Unknown FLASH on Bank 1 - Size = 0x = 0 MB

Size of Flash1 at addr 0x0 is 0x0
32 MB
*** Warning - bad CRC, using default environment

In:serial
Out:   serial
Err:   serial
Error: start and/or end address not on sector boundary
Error: start and/or end address not on sector boundary
Error: start and/or end address not on sector boundary
Hit any key to stop autoboot:  0

=> flinfo

Bank # 1: AMD S29GL256N (256 Mbit, uniform sector size)
  Size: 32768 KB in 256 Sectors
  Sector Start Addresses:
FC00  FC02  FC04  FC06  FC08
FC0A  FC0C  FC0E  FC10  FC12
FC14  FC16  FC18  FC1A  FC1C
FC1E  FC20  FC22  FC24  FC26
FC28  FC2A  FC2C  FC2E  FC30
FC32  FC34  FC36  FC38  FC3A
FC3C  FC3E  FC40  FC42  FC44
FC46  FC48  FC4A  FC4C  FC4E
FC50  FC52  FC54  FC56  FC58
FC5A  FC5C  FC5E  FC60  FC62
FC64  FC66  FC68  FC6A  FC6C
FC6E  FC70  FC72  FC74  FC76
FC78  FC7A  FC7C  FC7E  FC80
FC82  FC84  FC86  FC88  FC8A
FC8C  FC8E  FC90  FC92  FC94
FC96  FC98  FC9A  FC9C  FC9E
FCA0  FCA2  FCA4  FCA6  FCA8
FCAA EFCAC  FCAE EFCB0  FCB2 E
FCB4  FCB6 EFCB8  FCBA EFCBC
FCBE EFCC0  FCC2 EFCC4  FCC6 E
FCC8  FCCA EFCCC  FCCE EFCD0
FCD2 EFCD4  FCD6 EFCD8  FCDA
FCDC  FCDE EFCE0  FCE2 EFCE4
FCE6 EFCE8  FCEA EFCEC  FCEE E
FCF0  FCF2 EFCF4  FCF6 EFCF8
FCFA EFCFC  FCFE EFD00  FD02 E
FD04  FD06  FD08  FD0A EFD0C
FD0E EFD10  FD12 EFD14  FD16 E
FD18  FD1A EFD1C  FD1E EFD20
FD22 EFD24  FD26 EFD28  FD2A E
FD2C  FD2E EFD30  FD32 EFD34
FD36 EFD38  FD3A  FD3C  FD3E E
FD40  FD42 EFD44  FD46 EFD48
FD4A EFD4C  FD4E EFD50  FD52 E
FD54  FD56 EFD58  FD5A EFD5C
FD5E EFD60  FD62 EFD64  FD66
FD68  FD6A EFD6C  FD6E EFD70
FD72 EFD74  FD76 EFD78  FD7A E
FD7C  FD7E  FD80  FD82 EFD84
FD86 EFD88  FD8A EFD8C  FD8E E
FD90  FD92 EFD94  FD96 EFD98
FD9A EFD9C  FD9E EFDA0  FDA2 E
FDA4  FDA6 EFDA8  FDAA  FDAC
FDAE EFDB0  FDB2 EFDB4  FDB6 E
FDB8  FDBA EFDBC  FDBE EFDC0
FDC2 EFDC4  FDC6 EFDC8  FDCA
FDCC  FDCE  FDD0  FDD2 EFDD4
FDD6 EFDD8  FDDA EFDDC  FDDE E
FDE0  FDE2 EFDE4  FDE6 EFDE8
FDEA EFDEC  FDEE  FDF0  FDF2 E
FDF4  FDF6 EFDF8  FDFA EFDFC
FDFE E
=>


Thanks,
Ravishankar Govindarao
RFL Electronics Inc.
E-mail : ravi@rflelect.com
Voice: 973.334.3100 Ext. 233
Fax: 973.334.3863
 
CONFIDENTIALITY NOTE
This e-mail, including any

Re: [U-Boot] [U-Boot-Users] U-boot for PPC405GP based custom Board

2010-06-24 Thread ravi . rao
Hi Feng,
We do not have two banks. Our design has only one Bank but two chips 
in the single Bank. Any idea how to get this working in u-boot..
Thanks
Ravishankar Govindarao
RFL Electronics Inc.
E-mail : ravi@rflelect.com
Voice: 973.334.3100 Ext. 233
Fax: 973.334.3863
 
CONFIDENTIALITY NOTE
This e-mail, including any attachments, may contain confidential and/or 
legally privileged information.  The Information is intended only for the 
use of the individual or entity named on this e-mail .  If you are not the 
intended recipient, you are hereby notified that any disclosure, copying, 
distribution, or the taking of any action in reliance on the contents of 
this transmitted Information is strictly prohibited.  Further, if you are 
not the intended recipient, please notify us by return e-mail and delete 
the Information promptly.
 
 
 



Feng Kan  
06/24/2010 05:45 PM

To
ravi@rflelect.com
cc
u-boot@lists.denx.de
Subject
Re: [U-Boot-Users] U-boot for PPC405GP based custom Board






I dont know how the hardware is tied down. But at it seems to be getting 
bank 0 correctly.
However, you second bank base address should be bank0_base + size instead 
of 0.
You may have a hardware problem.

Feng Kan

On Thu, Jun 24, 2010 at 2:14 PM,  wrote:

Hi Feng, 
Below is the screen dump after enabling Debug. .. 
=== 
Booting RFL GARD 8000 Controller using u-boot based bootloader 
=== 

U-Boot 1.3.0-rc4 (Jun 24 2010 - 16:47:32) 

CPU:   AMCC PowerPC 405GP Rev. E at 200 MHz (PLB=100, OPB=50, EBC=50 MHz) 
, PCI sync clock at 50 MHz   16 kB I-Cache 8 kB D-Cache 
Board: RFL-GARD8000 with AMCC PPC405GP processor 
I2C:   ready 
DRAM:  64 MB 
SDRAM test passes 
FLASH: FLASH ADDR: fc00 
FLASH MANUFACT: 10001 

FLASH DEVICEID: 227e227e 

C2:  LS: 22012201 

info->flash_id: f2 

Size of Flash0 at addr 0xfc00 is 0x200 
FLASH ADDR:  
FLASH MANUFACT:  
## Unknown FLASH on Bank 1 - Size = 0x = 0 MB 

Size of Flash1 at addr 0x0 is 0x0 
32 MB 
*** Warning - bad CRC, using default environment 

In:serial 
Out:   serial 
Err:   serial 
Error: start and/or end address not on sector boundary 
Error: start and/or end address not on sector boundary 
Error: start and/or end address not on sector boundary 
Hit any key to stop autoboot:  0 

=> flinfo 

Bank # 1: AMD S29GL256N (256 Mbit, uniform sector size) 
  Size: 32768 KB in 256 Sectors 
  Sector Start Addresses: 
FC00  FC02  FC04  FC06  FC08 
FC0A  FC0C  FC0E  FC10  FC12 
FC14  FC16  FC18  FC1A  FC1C 
FC1E  FC20  FC22  FC24  FC26 
FC28  FC2A  FC2C  FC2E  FC30 
FC32  FC34  FC36  FC38  FC3A 
FC3C  FC3E  FC40  FC42  FC44 
FC46  FC48  FC4A  FC4C  FC4E 
FC50  FC52  FC54  FC56  FC58 
FC5A  FC5C  FC5E  FC60  FC62 
FC64  FC66  FC68  FC6A  FC6C 
FC6E  FC70  FC72  FC74  FC76 
FC78  FC7A  FC7C  FC7E  FC80 
FC82  FC84  FC86  FC88  FC8A 
FC8C  FC8E  FC90  FC92  FC94 
FC96  FC98  FC9A  FC9C  FC9E 
FCA0  FCA2  FCA4  FCA6  FCA8 
FCAA EFCAC  FCAE EFCB0  FCB2 E 
FCB4  FCB6 EFCB8  FCBA EFCBC 
FCBE EFCC0  FCC2 EFCC4  FCC6 E 
FCC8  FCCA EFCCC  FCCE EFCD0 
FCD2 EFCD4  FCD6 EFCD8  FCDA 
FCDC  FCDE EFCE0  FCE2 EFCE4 
FCE6 EFCE8  FCEA EFCEC  FCEE E 
FCF0  FCF2 EFCF4  FCF6 EFCF8 
FCFA EFCFC  FCFE EFD00  FD02 E 
FD04  FD06  FD08  FD0A EFD0C 
FD0E EFD10  FD12 EFD14  FD16 E 
FD18  FD1A EFD1C  FD1E EFD20 
FD22 EFD24  FD26 EFD28  FD2A E 
FD2C  FD2E EFD30  FD32 EFD34 
FD36 EFD38  FD3A  FD3C  FD3E E 
FD40  FD42 EFD44  FD46 EFD48 
FD4A EFD4C  FD4E EFD50  FD52 E 
FD54  FD56 EFD58  

[U-Boot] U-boot for PPC405GP based custom Board

2010-06-25 Thread ravi . rao
Hi All,
   I am reposting without any confidentiality crap. Appreciate any help to 
resolve this.
Thanks,
Ravi
 



ravi rao/RFL/SLI
06/24/2010 05:14 PM

To
Feng Kan 
cc
u-boot@lists.denx.de
Subject
Re: [U-Boot-Users] U-boot for PPC405GP based custom Board





Hi Feng,
Below is the screen dump after enabling Debug. ..
===
Booting RFL GARD 8000 Controller using u-boot based bootloader
===

U-Boot 1.3.0-rc4 (Jun 24 2010 - 16:47:32)

CPU:   AMCC PowerPC 405GP Rev. E at 200 MHz (PLB=100, OPB=50, EBC=50 MHz)
, PCI sync clock at 50 MHz   16 kB I-Cache 8 kB D-Cache
Board: RFL-GARD8000 with AMCC PPC405GP processor
I2C:   ready
DRAM:  64 MB
SDRAM test passes
FLASH: FLASH ADDR: fc00
FLASH MANUFACT: 10001

FLASH DEVICEID: 227e227e

C2:  LS: 22012201

info->flash_id: f2

Size of Flash0 at addr 0xfc00 is 0x200
FLASH ADDR: 
FLASH MANUFACT: 
## Unknown FLASH on Bank 1 - Size = 0x = 0 MB

Size of Flash1 at addr 0x0 is 0x0
32 MB
*** Warning - bad CRC, using default environment

In:serial
Out:   serial
Err:   serial
Error: start and/or end address not on sector boundary
Error: start and/or end address not on sector boundary
Error: start and/or end address not on sector boundary
Hit any key to stop autoboot:  0

=> flinfo

Bank # 1: AMD S29GL256N (256 Mbit, uniform sector size)
  Size: 32768 KB in 256 Sectors
  Sector Start Addresses:
FC00  FC02  FC04  FC06  FC08
FC0A  FC0C  FC0E  FC10  FC12
FC14  FC16  FC18  FC1A  FC1C
FC1E  FC20  FC22  FC24  FC26
FC28  FC2A  FC2C  FC2E  FC30
FC32  FC34  FC36  FC38  FC3A
FC3C  FC3E  FC40  FC42  FC44
FC46  FC48  FC4A  FC4C  FC4E
FC50  FC52  FC54  FC56  FC58
FC5A  FC5C  FC5E  FC60  FC62
FC64  FC66  FC68  FC6A  FC6C
FC6E  FC70  FC72  FC74  FC76
FC78  FC7A  FC7C  FC7E  FC80
FC82  FC84  FC86  FC88  FC8A
FC8C  FC8E  FC90  FC92  FC94
FC96  FC98  FC9A  FC9C  FC9E
FCA0  FCA2  FCA4  FCA6  FCA8
FCAA EFCAC  FCAE EFCB0  FCB2 E
FCB4  FCB6 EFCB8  FCBA EFCBC
FCBE EFCC0  FCC2 EFCC4  FCC6 E
FCC8  FCCA EFCCC  FCCE EFCD0
FCD2 EFCD4  FCD6 EFCD8  FCDA
FCDC  FCDE EFCE0  FCE2 EFCE4
FCE6 EFCE8  FCEA EFCEC  FCEE E
FCF0  FCF2 EFCF4  FCF6 EFCF8
FCFA EFCFC  FCFE EFD00  FD02 E
FD04  FD06  FD08  FD0A EFD0C
FD0E EFD10  FD12 EFD14  FD16 E
FD18  FD1A EFD1C  FD1E EFD20
FD22 EFD24  FD26 EFD28  FD2A E
FD2C  FD2E EFD30  FD32 EFD34
FD36 EFD38  FD3A  FD3C  FD3E E
FD40  FD42 EFD44  FD46 EFD48
FD4A EFD4C  FD4E EFD50  FD52 E
FD54  FD56 EFD58  FD5A EFD5C
FD5E EFD60  FD62 EFD64  FD66
FD68  FD6A EFD6C  FD6E EFD70
FD72 EFD74  FD76 EFD78  FD7A E
FD7C  FD7E  FD80  FD82 EFD84
FD86 EFD88  FD8A EFD8C  FD8E E
FD90  FD92 EFD94  FD96 EFD98
FD9A EFD9C  FD9E EFDA0  FDA2 E
FDA4  FDA6 EFDA8  FDAA  FDAC
FDAE EFDB0  FDB2 EFDB4  FDB6 E
FDB8  FDBA EFDBC  FDBE EFDC0
FDC2 EFDC4  FDC6 EFDC8  FDCA
FDCC  FDCE  FDD0  FDD2 EFDD4
FDD6 EFDD8  FDDA EFDDC  FDDE E
FDE0  FDE2 EFDE4  FDE6 EFDE8
FDEA EFDEC  FDEE  FDF0  FDF2

Re: [U-Boot] U-boot for PPC405GP based custom Board

2010-06-28 Thread ravi . rao
Hi,
Looks like the syntax for .lds file has changed. It does not like any 
defines. I was trying to get the new syntax in .lds files to include file 
or define a constan but could not get a definitive answere. Any help is 
appreciated.
By the way I have my own file for the custom board. Since the standard one 
also exhibited the problem I choose to send the error from taihu board.
Thanks in advance,
Ravishankar Govindarao
RFL Electronics Inc.
E-mail : ravi@rflelect.com
Voice: 973.334.3100 Ext. 233
Fax: 973.334.3863
 
CONFIDENTIALITY NOTE
This e-mail, including any attachments, may contain confidential and/or 
legally privileged information.  The Information is intended only for the 
use of the individual or entity named on this e-mail .  If you are not the 
intended recipient, you are hereby notified that any disclosure, copying, 
distribution, or the taking of any action in reliance on the contents of 
this transmitted Information is strictly prohibited.  Further, if you are 
not the intended recipient, please notify us by return e-mail and delete 
the Information promptly.
 
 
 



Wolfgang Denk  
06/27/2010 05:18 PM

To
ravi@rflelect.com
cc
u-boot@lists.denx.de
Subject
Re: [U-Boot] U-boot for PPC405GP based custom Board






Dear ravi@rflelect.com,

please post U-Boot related questions always on the U-Boot mailing list.

In message 
 
you wrote:
>
>Thanks for the help. I deleted the flash.c and enabled the standard 
CFI 
> and it seems to have fixed my problem. As per your suggestion I 
downloaded 
> the latest current version of U-boot  (
> u-boot-2010.06-rc3) and Iam getting the following error during 
> compilation.
> 
> /opt/timesys/toolchains/ppc4xx-linux/bin/ppc4xx-linux-gcc -E -g  -Os 
> -mrelocatable -fPIC -meabi -D__KERNEL__ -DTEXT_BASE=0xFFFC 
> -I/mnt/homesA/ravi/g8k_26kernel/u-boot-2010.06-rc3/include -fno-builtin 
> -ffreestanding -nostdinc -isystem 
> /opt/timesys/toolchains/lib/gcc/powerpc-timesys-linux-gnu/4.2.1/include 
> -pipe  -DCONFIG_PPC -D__powerpc__ -DCONFIG_4xx -ffixed-r2 -mstring 
> -msoft-float -Wa,-m405 -mcpu=405 -include 
> 
/mnt/homesA/ravi/g8k_26kernel/u-boot-2010.06-rc3/include/u-boot/u-boot.lds.h 

>  -ansi -D__ASSEMBLY__ -P - 
> 
 >u-boot.lds
> UNDEF_SYM=`/opt/timesys/toolchains/ppc4xx-linux/bin/ppc4xx-linux-objdump 

> -x board/amcc/taihu/libtaihu.a lib/libgeneric.a lib/lzma/liblzma.a 

You should not use the Taihu board consifuration, but instead create
your own.

...
> 
/opt/timesys/toolchains/bin/powerpc-timesys-linux-gnu-ld:/mnt/homesA/ravi/g8k_26kernel/u-boot-2010.06-rc3/arch/powerpc/cpu/ppc4xx/u-boot.lds:23:
 

> ignoring invalid character `#' in expression
> 
/opt/timesys/toolchains/bin/powerpc-timesys-linux-gnu-ld:/mnt/homesA/ravi/g8k_26kernel/u-boot-2010.06-rc3/arch/powerpc/cpu/ppc4xx/u-boot.lds:23:
 

> syntax error
> Can you please tell me what I am missing ??

This should not happen. Either your tool chain is broken, or there was
some problem with your download. Is there any chance that a Windows
system was involved, so you have corrupted line endings (\r\n instead
of plain \n) ?

Best regards,

Wolfgang Denk

-- 

Humans do claim a great deal for that particular emotion (love).
 -- Spock, "The Lights of Zetar", stardate 5725.6

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] U-boot for PPC405GP based custom Board

2010-06-28 Thread ravi . rao
Sending the same message without confidentiality crap...



ravi rao/RFL/SLI
06/28/2010 09:48 AM

To
Wolfgang Denk 
cc
u-boot@lists.denx.de
Subject
Re: [U-Boot] U-boot for PPC405GP based custom Board





Hi,
Looks like the syntax for .lds file has changed. It does not like any 
defines. I was trying to get the new syntax in .lds files to include file 
or define a constan but could not get a definitive answere. Any help is 
appreciated.
By the way I have my own file for the custom board. Since the standard one 
also exhibited the problem I choose to send the error from taihu board.
Thanks in advance,
Ravishankar Govindarao
RFL Electronics Inc.
E-mail : ravi@rflelect.com
Voice: 973.334.3100 Ext. 233
Fax: 973.334.3863
 

 



Wolfgang Denk  
06/27/2010 05:18 PM

To
ravi@rflelect.com
cc
u-boot@lists.denx.de
Subject
Re: [U-Boot] U-boot for PPC405GP based custom Board






Dear ravi@rflelect.com,

please post U-Boot related questions always on the U-Boot mailing list.

In message 
 
you wrote:
>
>Thanks for the help. I deleted the flash.c and enabled the standard 
CFI 
> and it seems to have fixed my problem. As per your suggestion I 
downloaded 
> the latest current version of U-boot  (
> u-boot-2010.06-rc3) and Iam getting the following error during 
> compilation.
> 
> /opt/timesys/toolchains/ppc4xx-linux/bin/ppc4xx-linux-gcc -E -g  -Os 
> -mrelocatable -fPIC -meabi -D__KERNEL__ -DTEXT_BASE=0xFFFC 
> -I/mnt/homesA/ravi/g8k_26kernel/u-boot-2010.06-rc3/include -fno-builtin 
> -ffreestanding -nostdinc -isystem 
> /opt/timesys/toolchains/lib/gcc/powerpc-timesys-linux-gnu/4.2.1/include 
> -pipe  -DCONFIG_PPC -D__powerpc__ -DCONFIG_4xx -ffixed-r2 -mstring 
> -msoft-float -Wa,-m405 -mcpu=405 -include 
> 
/mnt/homesA/ravi/g8k_26kernel/u-boot-2010.06-rc3/include/u-boot/u-boot.lds.h 

>  -ansi -D__ASSEMBLY__ -P - 
> 
 >u-boot.lds
> UNDEF_SYM=`/opt/timesys/toolchains/ppc4xx-linux/bin/ppc4xx-linux-objdump 

> -x board/amcc/taihu/libtaihu.a lib/libgeneric.a lib/lzma/liblzma.a 

You should not use the Taihu board consifuration, but instead create
your own.

...
> 
/opt/timesys/toolchains/bin/powerpc-timesys-linux-gnu-ld:/mnt/homesA/ravi/g8k_26kernel/u-boot-2010.06-rc3/arch/powerpc/cpu/ppc4xx/u-boot.lds:23:
 

> ignoring invalid character `#' in expression
> 
/opt/timesys/toolchains/bin/powerpc-timesys-linux-gnu-ld:/mnt/homesA/ravi/g8k_26kernel/u-boot-2010.06-rc3/arch/powerpc/cpu/ppc4xx/u-boot.lds:23:
 

> syntax error
> Can you please tell me what I am missing ??

This should not happen. Either your tool chain is broken, or there was
some problem with your download. Is there any chance that a Windows
system was involved, so you have corrupted line endings (\r\n instead
of plain \n) ?

Best regards,

Wolfgang Denk

-- 

Humans do claim a great deal for that particular emotion (love).
 -- Spock, "The Lights of Zetar", stardate 5725.6


___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot