Skip to contentSkip to conversation

U-Boot Digest, Vol 35, Issue 28

U-Boot ByteLee 1 participant 1 message Apr 19, 2011 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

ByteLee

author
#1 lore raw

? 4/19/11 4:25 PM, u-boot-request at lists.denx.de ??:

Quoted 437 lines

Send U-Boot mailing list submissions to
u-boot at lists.denx.de

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.denx.de/mailman/listinfo/u-boot
or, via email, send a message with subject or body 'help' to
u-boot-request at lists.denx.de

You can reach the person managing the list at
u-boot-owner at lists.denx.de

When replying, please edit your Subject line so it is more specific than "Re: Contents of U-Boot digest..."

Today's Topics:

1. [PATCH v2] S5P: GPIO Macro Values Corrected. (Chander Kashyap)
2. Ticket number: YG764T 854R (COCA-COLA at une-pmta04.une.net.co)
3. Re: [PATCH 1/2] Fix timer usage of the Atmel SPI dataflash driver (Reinhard Meyer)
4. Re: [PATCH 1/4] atmel_dataflash: remove use of get_timer_masked (Reinhard Meyer)
5. Re: [PATCH 2/3] avr32: fix linking (Reinhard Meyer)
6. Beagle mux config: nCS5 vs. DMAREQ2? (Orjan Friberg)
7. Re: [PATCH 1/3] ARM: don't panic if no flash is there (Albert ARIBAUD)
8. subscribe me to this list (Ratheendran R)
9. Re: subscribe me to this list (Anatolij Gustschin)
10. Re: [PATCH 00/15] [REWORK AVR32/AT91] additional changes for
avr32 (Reinhard Meyer)
11. Re: [PATCH 00/15] [REWORK AVR32/AT91] additional changes for
avr32 (Andreas Bie?mann)
12. [PATCH V2 01/15] avr32/config.mk: simplify PLATFORM_RELFLAGS
(Andreas Bie?mann)
13. [PATCH V2 11/15] atngw100: move CONFIG_SYS_TEXT_BASE to header (Andreas Bie?mann)
14. [PATCH V2 13/15] favr-32-ezkit: move CONFIG_SYS_TEXT_BASE to
header (Andreas Bie?mann)
15. [PATCH V2 08/15] favr-32-ezkit: fix "#define XXXX 1" (Andreas Bie?mann)
16. [PATCH V2 15/15] hammerhead: move CONFIG_SYS_TEXT_BASE to header (Andreas Bie?mann)
17. [PATCH V2 07/15] atstk1006: fix "#define XXXX 1" (Andreas Bie?mann)
18. [PATCH-V2 1/2] at91: reworked support for meesc board (Daniel Gorsulowski)
19. [PATCH V2 09/15] hammerhead: fix "#define XXXX 1" (Andreas Bie?mann)
20. [PATCH V2 03/15] atngw100: fix "#define XXXX 1" (Andreas Bie?mann)
21. [PATCH V2 00/15] *** SUBJECT HERE *** (Andreas Bie?mann)
22. [PATCH V2 04/15] atstk1002: fix "#define XXXX 1" (Andreas Bie?mann)
23. [PATCH V2 10/15] mimc200: fix "#define XXXX 1" (Andreas Bie?mann)
24. [PATCH V2 12/15] atstk100x: move CONFIG_SYS_TEXT_BASE to header (Andreas Bie?mann)
25. [PATCH V2 05/15] atstk1003: fix "#define XXXX 1" (Andreas Bie?mann)
26. [PATCH V2 06/15] atstk1004: fix "#define XXXX 1" (Andreas Bie?mann)
27. [PATCH V2 14/15] mimc200: move CONFIG_SYS_TEXT_BASE to header
(Andreas Bie?mann)
28. [PATCH V2 02/15] avr32: use single linker script (Andreas Bie?mann)
29. [PATCH-V2 2/2] at91: reworked support for otc570 board (Daniel Gorsulowski)
30. Re: [Patch v1] ARMV7: AM3517/05: Add support for CraneBoard.
(Srinath R)
31. [PATCHv2 1/2] MMC: make b_max unconditional (John Rigby)
32. [PATCHv2 2/2] mmc: omap_hsmmc.c: disable multiblock rw on old
rev omap34xx silicon (John Rigby)
33. [PATCH v2 0/6] TFTP server (Luca Ceresoli)
34. [PATCH v2 1/6] README: remove spurious line (Luca Ceresoli)
35. [PATCH v2 2/6] NET: pass source IP address to packet handlers
(Luca Ceresoli)
36. [PATCH v2 3/6] TFTP: rename "server" to "remote" (Luca Ceresoli)
37. [PATCH v2 4/6] TFTP: rename STATE_RRQ to STATE_SEND_RRQ (Luca Ceresoli)
38. [PATCH v2 6/6] TFTP: add tftpsrv command (Luca Ceresoli)
39. [PATCH v2 5/6] TFTP: net/tftp.c: add server mode receive (Luca Ceresoli)
40. [PATCH] MX31: mx31pdk: Make the board name simpler. (Fabio Estevam)
41. [PATCH v5] MX31: Introduce get_reset_cause() (Fabio Estevam)
42. Re: [PATCH v4 2/5] Add Ethernet hardware MAC address framework to usbnet (Remy Bohmer)
43. Loan Offer... (Norton Finance Loan)
44. Re: [PATCH v4 1/5] Add support for SMSC95XX USB 2.0 10/100MBit Ethernet Adapter (Wolfgang Denk)
45. Re: [PATCH v4 2/5] Add Ethernet hardware MAC address framework to usbnet (Wolfgang Denk)
46. Re: [PATCH v4 2/5] Add Ethernet hardware MAC address framework to usbnet (Wolfgang Denk)
47. [PATCH] GPIO: Tegra2: add GPIO driver for Seaboard and Harmony (Tom Warren)
48. Re: [PATCH] BeagleBoard: Added LED driver (Paulraj, Sandeep)
49. Re: [PATCH v3] omap3_beagle: enable the use of a plain text file named uEnv.txt instead of boot.scr (Paulraj, Sandeep)
50. Re: [PATCH v3] OMAP3: BeagleBoard: Enable pullups on i2c2. (Paulraj, Sandeep)
51. Re: [PATCH v2] OMAP3: BeagleBoard: add xM rev B to ID table (Paulraj, Sandeep)
52. Re: [PATCH v2] OMAP3: BeagleBoard: add more expansionboard IDs (Paulraj, Sandeep)
53. Re: [PATCH] BeagleBoard: add xM rev C to ID table (Paulraj, Sandeep)
54. Re: [Patch v1] ARMV7: AM3517/05: Add support for CraneBoard.
(Paulraj, Sandeep)
55. Re: [PATCH 0/9] Update support for CM-T35 (Paulraj, Sandeep)
56. ATM pin is 822 (ATM CARD DEPARTMENT)
57. Re: [PATCH v3] omap3_beagle: enable the use of a plain text
file named uEnv.txt instead of boot.scr (Wolfgang Denk)
58. Please pull u-boot-ti/master (s-paulraj at ti.com)
59. Re: [PATCH v3] omap3_beagle: enable the use of a plain text file named uEnv.txt instead of boot.scr (Paulraj, Sandeep)
60. Please pull u-boot-ti/master (s-paulraj at ti.com)
61. Fix for overlapping sections? (Ciummo, Larry (DS-1))
62. Re: [V1 0/3] OpenRD-Client and OpenRD-Ultimate support (Clint Adams)
63. [PATCH v2 0/4] support for OpenRD-Client and OpenRD-Ultimate
(Clint Adams)
64. [PATCH v2 2/4] Add definitions for OpenRD-Client and OpenRD-Ultimate (Clint Adams)
65. [PATCH v2 3/4] Initialize second PHY on OpenRD-Client and OpenRD-Ultimate (Clint Adams)
66. [PATCH v2 1/4] Rename openrd_base files to openrd (Clint Adams)
67. [PATCH v2 4/4] Enable multiple fs options for Marvell SoC family on OpenRD boards (Clint Adams)
68. [PATCH] ehci-pci: Fix PCI EHCI driver for 36-bit (Zhao Chenhui)
69. Re: [PATCH v2 3/4] Initialize second PHY on OpenRD-Client and OpenRD-Ultimate (Prafulla Wadaskar)
70. Issue with ehci-pci on MPC8548 (Sandeep Kumar Gopalpet)
71. Re: Please pull u-boot-ti/master (Albert ARIBAUD)
72. help for porting u-boot (Ratheendran R)
73. PLEASE ACCEPT MY REGUEST (PLEASE ACCEPT MY REGUEST)
74. [PATCH 0/9] Patch set for some Freescale ColdFire boards (Jason Jin)
75. [PATCH 1/9] Fix the configuration broken for ColdFire boards.
(Jason Jin)
76. [PATCH V2 2/9] ColdFire: Change the way to set platform CPP
flags (Jason Jin)
77. [PATCH V2 3/9] Env and lds file clean up for ColdFire M5445x
and M547x/8x boards. (Jason Jin)
78. [PATCH 6/9] Disable the NFS define for 52277 board. (Jason Jin)
79. [PATCH 4/9] Clean up lds files for some ColdFire nommu chips
(Jason Jin)
80. [PATCH V2 5/9] Enable the dm9000 on ColdFire 5253DEMO board.
(Jason Jin)
81. [PATCH 7/9] ColdFire:Add mb for 5253 dram initialization (Jason Jin)
82. [PATCH 8/9] Change the env settings for u-boot update (Jason Jin)
83. [PATCH 9/9] sync the buffer descriptor IO for coldfire FEC (Jason Jin)
84. Status of ethernet support for Beagleboard xM ? (Bids O'Bids)
85. Status of ethernet support for Beagleboard xM ? (Bids O'Bids)
86. UEC phy not working on first try (DUNDA Matthias)
87. [PATCH] Remove remnants of obsolete CONFIG_SYS_GBL_DATA_SIZE
comments (Michael Jones)
88. Re: [PATCH] S5P:SROM config code moved to s5p-common directory (Minkyu Kang)
89. Re: [PATCH v2] S5P: GPIO Macro Values Corrected. (Minkyu Kang)

----------------------------------------------------------------------

Message: 1
Date: Mon, 18 Apr 2011 15:38:43 +0530
From: Chander Kashyap<[email protected]>
Subject: [U-Boot] [PATCH v2] S5P: GPIO Macro Values Corrected.
To: u-boot at lists.denx.de
Cc: linaro-dev at lists.linaro.org, bjlee at samsung.com,
patches at linaro.org, mk7.kang at samsung.com, Chander Kashyap
<[email protected]>, samsung at lists.linaro.org
Message-ID:

	<[email protected]>

S5PC2XX: Macro values for Pull Up and Driver Strength were wrong.
S5PC1XX: Macro values for Driver Strength were wrong.

---

Changes for V2:
- Macro value order fixed.
- Added Changes for S5PC1XX.

  arch/arm/include/asm/arch-s5pc1xx/gpio.h |    4 ++--
  arch/arm/include/asm/arch-s5pc2xx/gpio.h |    7 +++----
  2 files changed, 5 insertions(+), 6 deletions(-)
arch/arm/include/asm/arch-s5pc1xx/gpio.h +2 -2
index 2df33a6..485b9bf 100644
@@ -149,8 +149,8 @@ void gpio_set_rate(struct s5p_gpio_bank *bank, int gpio, int mode);
 
  /* Drive Strength level */
  #define GPIO_DRV_1X	0x0
-#define GPIO_DRV_2X	0x1
-#define GPIO_DRV_3X	0x2
+#define GPIO_DRV_3X	0x1
+#define GPIO_DRV_2X	0x2
  #define GPIO_DRV_4X	0x3
  #define GPIO_DRV_FAST	0x0
  #define GPIO_DRV_SLOW	0x1
arch/arm/include/asm/arch-s5pc2xx/gpio.h +3 -5
index 05e5b3e..38303e4 100644
@@ -99,14 +99,13 @@ void gpio_set_rate(struct s5p_gpio_bank *bank, int gpio, int mode);
  /* Pull mode */
  #define GPIO_PULL_NONE	0x0
  #define GPIO_PULL_DOWN	0x1
-#define GPIO_PULL_UP	0x2
+#define GPIO_PULL_UP	0x3
 
  /* Drive Strength level */
  #define GPIO_DRV_1X	0x0
-#define GPIO_DRV_2X	0x1
-#define GPIO_DRV_3X	0x2
+#define GPIO_DRV_3X	0x1
+#define GPIO_DRV_2X	0x2
  #define GPIO_DRV_4X	0x3
  #define GPIO_DRV_FAST	0x0
  #define GPIO_DRV_SLOW	0x1
-
  #endif
--

1.7.1

------------------------------

Message: 2
Date: Mon, 18 Apr 2011 03:18:19 -0700
From: COCA-COLA at une-pmta04.une.net.co, "INC."@une-pmta04.une.net.co
Subject: [U-Boot] Ticket number: YG764T 854R
To: Recipients<[email protected]> Message-ID:<[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

COCA-COLA INC.
PO Box 1010,Great Britain.
L70 1NL,United Kingdom

Seria No: 110922
Ticket number: YG764T 854R

Congratulations!!!

Your email address has just won you the sum of ?200, 000. 00 (Great British Pounds Sterlings) In the on going Coca-Cola Inc. Season's Promotion UK 2011.In line with The commemorating event marking our 25th anniversary, We rolled out over 75,000.000.00 (Seventy Five Million Great Britain Pounds) for our 25TH Anniversary Draws you are among the 7 lucky winners.

To claim your prize contact our Claims Department via email with Personal details. E-mail: clearingpaymenthouse at gmail.com

1. Scan copy of your identity Proof.
2. Complete Names:
3. Address:
4. Age:
5. Occupation:
6. Telephone:
7. Sex: Male
8. Marital Status:
9. Country:
10: State:

IMPORTANT:Please fill the below verification form required for authentication and verification by the India High Commission in London:

ANNOUNCER.
Sir Edward C. N. Branson
+44-704-579-2572
Copyright ? Coca-Cola Inc 2011 Times Internet Limited. All rights reserved

------------------------------

Message: 3
Date: Mon, 18 Apr 2011 12:36:23 +0200
From: Reinhard Meyer<[email protected]>
Subject: Re: [U-Boot] [PATCH 1/2] Fix timer usage of the Atmel SPI
dataflash driver
To: Remy Bohmer<[email protected]>
Cc: u-boot at lists.denx.de Message-ID:<[email protected]>
Content-Type: text/plain; charset=ISO-8859-15

Dear Remy Bohmer,

Quoted 23 lines
---
  drivers/spi/atmel_dataflash_spi.c |    8 ++++----
  1 files changed, 4 insertions(+), 4 deletions(-)
drivers/spi/atmel_dataflash_spi.c +1 -2
index 4a5c4aa..2f23f54 100644
@@ -133,7 +133,7 @@ unsigned int AT91F_SpiWrite1(AT91PS_DataflashDesc pDesc);
 
  unsigned int AT91F_SpiWrite(AT91PS_DataflashDesc pDesc)
  {
-	unsigned int timeout;
+	u32 time_start, timeout;
 
  	pDesc->state = BUSY;
 
@@ -158,12 +158,12 @@ unsigned int AT91F_SpiWrite(AT91PS_DataflashDesc pDesc)
  	}
 
  	/* arm simple, non interrupt dependent timer */
-	reset_timer_masked();

drivers/spi/atmel_dataflash_spi.c unsigned int AT91F_SpiWrite(AT91PS_DataflashDesc pDesc) · line 168

Quoted 10 lines
drivers/spi/atmel_dataflash_spi.c +3 -2
-	timeout = 0;
+	time_start = get_timer(0);
 
  	writel(AT91_SPI_TXTEN + AT91_SPI_RXTEN, AT91_BASE_SPI + AT91_SPI_PTCR);
  	while (!(readl(AT91_BASE_SPI + AT91_SPI_SR)&  AT91_SPI_RXBUFF)&&
-		((timeout = get_timer_masked())<  CONFIG_SYS_SPI_WRITE_TOUT));
+		((timeout = get_timer(time_start))<  CONFIG_SYS_SPI_WRITE_TOUT));
+
  	writel(AT91_SPI_TXTDIS + AT91_SPI_RXTDIS, AT91_BASE_SPI + AT91_SPI_PTCR);
  	pDesc->state = IDLE;

This issue had already been fixed by the ATMEL rework.

But you are welcome to further "fix" this driver to use structure SoC access ;)

Best Regards, Reinhard

------------------------------

Message: 4
Date: Mon, 18 Apr 2011 12:41:14 +0200
From: Reinhard Meyer<[email protected]>
Subject: Re: [U-Boot] [PATCH 1/4] atmel_dataflash: remove use of
get_timer_masked
To: Alessandro Rubini<[email protected]>
Cc: u-boot at lists.denx.de Message-ID:<[email protected]>
Content-Type: text/plain; charset=ISO-8859-1

Dear Alessandro Rubini:

Quoted 19 lines

Commit 5dca710a3d7703e41da0e9894f2d71f9e25bea6b removed get_timer_masked for at91. The dataflash driver was still using it and so stopped compiling. This blindly fixes the compilation problem (I am not currently using dataflash).

---
  drivers/spi/atmel_dataflash_spi.c |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)
drivers/spi/atmel_dataflash_spi.c +0 -1
index 4a5c4aa..d5215c0 100644
@@ -158,12 +158,12 @@ unsigned int AT91F_SpiWrite(AT91PS_DataflashDesc pDesc)
  	}
 
  	/* arm simple, non interrupt dependent timer */
-	reset_timer_masked();

drivers/spi/atmel_dataflash_spi.c unsigned int AT91F_SpiWrite(AT91PS_DataflashDesc pDesc) · line 169

Quoted 10 lines
drivers/spi/atmel_dataflash_spi.c +2 -1
+	reset_timer();
  	timeout = 0;
 
  	writel(AT91_SPI_TXTEN + AT91_SPI_RXTEN, AT91_BASE_SPI + AT91_SPI_PTCR);
  	while (!(readl(AT91_BASE_SPI + AT91_SPI_SR)&  AT91_SPI_RXBUFF)&&
-		((timeout = get_timer_masked())<  CONFIG_SYS_SPI_WRITE_TOUT));
+		((timeout = get_timer(0))<  CONFIG_SYS_SPI_WRITE_TOUT));
  	writel(AT91_SPI_TXTDIS + AT91_SPI_RXTDIS, AT91_BASE_SPI + AT91_SPI_PTCR);
  	pDesc->state = IDLE;
 

a) reset_timer(), and all *_masked() timer functions are depreciated and have been removed from AT91 timer code
b) the problem has already been fixed in current u-boot-atmel/next

Best Regards,
Reinhard

------------------------------

Message: 5
Date: Mon, 18 Apr 2011 12:53:12 +0200
From: Reinhard Meyer<[email protected]>
Subject: Re: [U-Boot] [PATCH 2/3] avr32: fix linking
To: Andreas Bie?mann<[email protected]>
Cc: u-boot at lists.denx.de Message-ID:<[email protected]>
Content-Type: text/plain; charset=UTF-8

Dear Andreas Bie?mann:

Quoted 10 lines

This patch fixes following error:

---8<---
avr32-linux-ld: --gc-sections and -r may not be used together --->8---

Since 8aba9dceebb14144e07d19593111ee3a999c37fc all avr32 boards are broken due to linking error as seen above.

Quoted 8 lines
---
  arch/avr32/config.mk                   |    2 +-
  board/atmel/atngw100/config.mk         |    1 -
  board/atmel/atstk1000/config.mk        |    1 -
  board/earthlcd/favr-32-ezkit/config.mk |    1 -
  board/mimc/mimc200/config.mk           |    1 -
  board/miromico/hammerhead/config.mk    |    1 -
  6 files changed, 1 insertions(+), 6 deletions(-)

Applied to u-boot-atmel/next, thanks.

Reinhard

------------------------------

Message: 6
Date: Mon, 18 Apr 2011 12:53:53 +0200
From: Orjan Friberg<[email protected]>
Subject: [U-Boot] Beagle mux config: nCS5 vs. DMAREQ2?
To: "u-boot at lists.denx.de"<[email protected]> Message-ID:<[email protected]>
Content-Type: text/plain; charset="ISO-8859-1"; format=flowed

Hi,

The mux configuration in board/ti/beagle/beagle.h says

    MUX_VAL(CP(GPMC_NCS5),   (IDIS | PTD | DIS | M0)) /*GPMC_nCS5*/
    MUX_VAL(CP(GPMC_NCS6),   (IEN  | PTD | DIS | M1)) /*SYS_nDMA_REQ2*/

The TRM (spruf98p) says sys_ndmareq2 is mux mode 1 for ncs5, not ncs6.

(Possibly not a concern for the BeagleBoard; I'm trying to get dmareq2 working on a custom 3730 board.)

Thanks,
Orjan