public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] add image size and descriptors for Spartan 3E FPGA chips
@ 2007-08-07  6:37 Bruce Adler
  2007-08-07 14:45 ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: Bruce Adler @ 2007-08-07  6:37 UTC (permalink / raw)
  To: u-boot


Spartan 3E image sizes taken from Table 1-4 in Xilinx UG332 (v1.1)

Signed-off by: Bruce Adler <bruce.adler@ccpu.com>

diff -pur a/include/spartan3.h b/include/spartan3.h
--- a/include/spartan3.h        2007-08-06 23:24:11.000000000 -0700
+++ b/include/spartan3.h        2007-08-06 23:23:06.000000000 -0700
@@ -73,6 +73,13 @@ typedef struct {
  #define XILINX_XC3S4000_SIZE   11316864/8
  #define XILINX_XC3S5000_SIZE   13271936/8

+/* Spartan-3E (v3.4) */
+#define        XILINX_XC3S100E_SIZE    581344/8
+#define        XILINX_XC3S250E_SIZE    1353728/8
+#define        XILINX_XC3S500E_SIZE    2270208/8
+#define        XILINX_XC3S1200E_SIZE   3841184/8
+#define        XILINX_XC3S1600E_SIZE   5969696/8
+
  /* Descriptor Macros
   *********************************************************************/
  /* Spartan-II devices */
@@ -100,4 +107,21 @@ typedef struct {
  #define XILINX_XC3S5000_DESC(iface, fn_table, cookie) \
  { Xilinx_Spartan3, iface, XILINX_XC3S5000E_SIZE, fn_table, cookie }

+
+/* Spartan-3E devices */
+#define XILINX_XC3S100E_DESC(iface, fn_table, cookie) \
+{ Xilinx_Spartan3, iface, XILINX_XC3S100E_SIZE, fn_table, cookie }
+
+#define XILINX_XC3S250E_DESC(iface, fn_table, cookie) \
+{ Xilinx_Spartan3, iface, XILINX_XC3S250E_SIZE, fn_table, cookie }
+
+#define XILINX_XC3S500E_DESC(iface, fn_table, cookie) \
+{ Xilinx_Spartan3, iface, XILINX_XC3S500E_SIZE, fn_table, cookie }
+
+#define XILINX_XC3S1200E_DESC(iface, fn_table, cookie) \
+{ Xilinx_Spartan3, iface, XILINX_XC3S1200E_SIZE, fn_table, cookie }
+
+#define XILINX_XC3S1600E_DESC(iface, fn_table, cookie) \
+{ Xilinx_Spartan3, iface, XILINX_XC3S1600E_SIZE, fn_table, cookie }
+
  #endif /* _SPARTAN3_H_ */

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] [PATCH] add image size and descriptors for Spartan 3E FPGA chips
  2007-08-07  6:37 [U-Boot-Users] [PATCH] add image size and descriptors for Spartan 3E FPGA chips Bruce Adler
@ 2007-08-07 14:45 ` Wolfgang Denk
  2007-08-07 17:34   ` [U-Boot-Users] [PATCH] repost: " Bruce Adler
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Denk @ 2007-08-07 14:45 UTC (permalink / raw)
  To: u-boot

In message <f99402$c2l$1@sea.gmane.org> you wrote:
> 
> Spartan 3E image sizes taken from Table 1-4 in Xilinx UG332 (v1.1)
> 
> Signed-off by: Bruce Adler <bruce.adler@ccpu.com>

Patch does not apply to u-boot-testing:

error: patch failed: include/spartan3.h:73
error: include/spartan3.h: patch does not apply
fatal: sha1 information is lacking or useless (include/spartan3.h).
Patch does not record usable index information.
Cannot fall back to three-way merge.
Patch failed at 0001.

Trying manually:

patching file include/spartan3.h
Hunk #1 FAILED at 73.
Hunk #2 FAILED at 107.
2 out of 2 hunks FAILED -- saving rejects to file include/spartan3.h.rej


Please fix and repost.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Well, the way I see it, logic is only a way of being ignorant by num-
bers.                                 - Terry Pratchett, _Small Gods_

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] [PATCH] repost: add image size and descriptors for Spartan 3E FPGA chips
  2007-08-07 14:45 ` Wolfgang Denk
@ 2007-08-07 17:34   ` Bruce Adler
  2007-08-09 21:15     ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: Bruce Adler @ 2007-08-07 17:34 UTC (permalink / raw)
  To: u-boot


[repost, this time without expanding the tabs to whitespace]

Spartan 3E image sizes taken from Table 1-4 in Xilinx UG332 (v1.1)

Signed-off by: Bruce Adler <bruce.adler@ccpu.com>

diff -ur a/include/spartan3.h b/include/spartan3.h
--- a/include/spartan3.h	2007-08-06 23:24:11.000000000 -0700
+++ b/include/spartan3.h	2007-08-06 23:23:06.000000000 -0700
@@ -73,6 +73,13 @@
  #define XILINX_XC3S4000_SIZE 	11316864/8
  #define XILINX_XC3S5000_SIZE 	13271936/8

+/* Spartan-3E (v3.4) */
+#define	XILINX_XC3S100E_SIZE	581344/8
+#define	XILINX_XC3S250E_SIZE	1353728/8
+#define	XILINX_XC3S500E_SIZE	2270208/8
+#define	XILINX_XC3S1200E_SIZE	3841184/8
+#define	XILINX_XC3S1600E_SIZE	5969696/8
+
  /* Descriptor Macros
   *********************************************************************/
  /* Spartan-II devices */
@@ -100,4 +107,21 @@
  #define XILINX_XC3S5000_DESC(iface, fn_table, cookie) \
  { Xilinx_Spartan3, iface, XILINX_XC3S5000E_SIZE, fn_table, cookie }

+
+/* Spartan-3E devices */
+#define XILINX_XC3S100E_DESC(iface, fn_table, cookie) \
+{ Xilinx_Spartan3, iface, XILINX_XC3S100E_SIZE, fn_table, cookie }
+
+#define XILINX_XC3S250E_DESC(iface, fn_table, cookie) \
+{ Xilinx_Spartan3, iface, XILINX_XC3S250E_SIZE, fn_table, cookie }
+
+#define XILINX_XC3S500E_DESC(iface, fn_table, cookie) \
+{ Xilinx_Spartan3, iface, XILINX_XC3S500E_SIZE, fn_table, cookie }
+
+#define XILINX_XC3S1200E_DESC(iface, fn_table, cookie) \
+{ Xilinx_Spartan3, iface, XILINX_XC3S1200E_SIZE, fn_table, cookie }
+
+#define XILINX_XC3S1600E_DESC(iface, fn_table, cookie) \
+{ Xilinx_Spartan3, iface, XILINX_XC3S1600E_SIZE, fn_table, cookie }
+
  #endif /* _SPARTAN3_H_ */

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] [PATCH] repost: add image size and descriptors for Spartan 3E FPGA chips
  2007-08-07 17:34   ` [U-Boot-Users] [PATCH] repost: " Bruce Adler
@ 2007-08-09 21:15     ` Wolfgang Denk
  2007-08-10 21:54       ` Bruce Adler
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Denk @ 2007-08-09 21:15 UTC (permalink / raw)
  To: u-boot

In message <46B8AD1C.90003@ccpu.com> you wrote:
> 
> [repost, this time without expanding the tabs to whitespace]
> 
> Spartan 3E image sizes taken from Table 1-4 in Xilinx UG332 (v1.1)
> 
> Signed-off by: Bruce Adler <bruce.adler@ccpu.com>

Still doesn't work for me:

error: patch failed: include/spartan3.h:73
error: include/spartan3.h: patch does not apply
fatal: sha1 information is lacking or useless (include/spartan3.h).
Patch does not record usable index information.
Cannot fall back to three-way merge.
Patch failed at 0001.

Please make sure your patch really applies to a current tree....

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Comparing information  and  knowledge  is  like  asking  whether  the
fatness  of  a  pig  is more or less green than the designated hitter
rule."                                               - David Guaspari

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] [PATCH] repost: add image size and descriptors for Spartan 3E FPGA chips
  2007-08-09 21:15     ` Wolfgang Denk
@ 2007-08-10 21:54       ` Bruce Adler
  2007-08-10 22:37         ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: Bruce Adler @ 2007-08-10 21:54 UTC (permalink / raw)
  To: u-boot

Wolfgang Denk wrote:
> In message <46B8AD1C.90003@ccpu.com> you wrote:
>> [repost, this time without expanding the tabs to whitespace]
>>
>> Spartan 3E image sizes taken from Table 1-4 in Xilinx UG332 (v1.1)
>>
>> Signed-off by: Bruce Adler <bruce.adler@ccpu.com>
> 
> Still doesn't work for me:
> 
> error: patch failed: include/spartan3.h:73
> error: include/spartan3.h: patch does not apply
> fatal: sha1 information is lacking or useless (include/spartan3.h).
> Patch does not record usable index information.
> Cannot fall back to three-way merge.
> Patch failed at 0001.
> 
> Please make sure your patch really applies to a current tree....

it looks to me like some gateway somewhere is adding an extra blank
onto the beginning of any line that starts with a blank

here's the exact same thing as an attachment; I tried this in the junk
newsgroup and it seems to make it through without being corrupted

if this doesn't work I'm out of ideas

Signed-off by: Bruce Adler <bruce.adler@ccpu.com>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-spartan3.h
Url: http://lists.denx.de/pipermail/u-boot/attachments/20070810/c1d783d3/attachment.txt 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] [PATCH] repost: add image size and descriptors for Spartan 3E FPGA chips
  2007-08-10 21:54       ` Bruce Adler
@ 2007-08-10 22:37         ` Wolfgang Denk
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2007-08-10 22:37 UTC (permalink / raw)
  To: u-boot

In message <f9imr7$sut$1@sea.gmane.org> you wrote:
>
> it looks to me like some gateway somewhere is adding an extra blank
> onto the beginning of any line that starts with a blank
> 
> here's the exact same thing as an attachment; I tried this in the junk
> newsgroup and it seems to make it through without being corrupted
> 
> if this doesn't work I'm out of ideas

It worked fine - thanks for all the efforts with the many reties.

Applied.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"There are three principal ways to lose money: wine, women,  and  en-
gineers.  While  the first two are more pleasant, the third is by far
the more certain."                      -- Baron Rothschild, ca. 1800

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-08-10 22:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-07  6:37 [U-Boot-Users] [PATCH] add image size and descriptors for Spartan 3E FPGA chips Bruce Adler
2007-08-07 14:45 ` Wolfgang Denk
2007-08-07 17:34   ` [U-Boot-Users] [PATCH] repost: " Bruce Adler
2007-08-09 21:15     ` Wolfgang Denk
2007-08-10 21:54       ` Bruce Adler
2007-08-10 22:37         ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox