Skip to contentSkip to conversation

eb_cpux9k2: add USB host support to board

PATCH Superseded Jens Scharsig 5 participants 14 messages Apr 22, 2011 – Jul 26, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 eb_cpux9k2: add USB host support to board

* add USB host support to eb_cpux9k2 board

---
  include/configs/eb_cpux9k2.h |   16 +++++++++++++++-
  1 files changed, 15 insertions(+), 1 deletions(-)
include/configs/eb_cpux9k2.h +15 -1
index 754fc8b..9d99f65 100644
@@ -49,7 +49,6 @@
  #define CONFIG_SYS_U_BOOT_BASE		PHYS_FLASH_1
  #define CONFIG_SYS_U_BOOT_SIZE		0x60000 /* 384 KBytes */
  
-
  #define CONFIG_BOOT_RETRY_TIME		30
  #define CONFIG_CMDLINE_EDITING
  
@@ -137,6 +136,8 @@
  #define CONFIG_CMD_PING
  #define CONFIG_I2C_CMD_NO_FLAT
  #define CONFIG_I2C_CMD_TREE
+#define CONFIG_CMD_USB
+#define CONFIG_CMD_FAT
  
  #define CONFIG_SYS_LONGHELP
  
@@ -168,6 +169,19 @@
   * Hardware drivers
   */
  
+#define CONFIG_USB_ATMEL
+#define CONFIG_USB_OHCI_NEW
+#define CONFIG_USB_STORAGE
+#define CONFIG_DOS_PARTITION
+#define CONFIG_ISO_PARTITION
+#define CONFIG_EFI_PARTITION
+
+#define CONFIG_AT91C_PQFP_UHPBUG
+#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS	1
+#define CONFIG_SYS_USB_OHCI_CPU_INIT
+#define CONFIG_SYS_USB_OHCI_REGS_BASE		0x00300000
+#define CONFIG_SYS_USB_OHCI_SLOT_NAME		"at91rm9200"
+
  /*
   * UART/CONSOLE
   */
Signature · 1 line
1.7.3.4
#1 lore raw

PATCH 1/1 eb_cpux9k2: add USB host support to board

Hi Jens,

Le 22/04/2011 15:24, Jens Scharsig a ?crit :

Quoted 7 lines

* add USB host support to eb_cpux9k2 board

---
   include/configs/eb_cpux9k2.h |   16 +++++++++++++++-
   1 files changed, 15 insertions(+), 1 deletions(-)

This patch was left unanswered, and does not apply properly any more. At your convenience, please either drop it or post a rebased V2.

Amicalement,

Signature · 1 line
Albert.
#2 lore raw

PATCH v2 1/1 eb_cpux9k2: add USB host support to board

* add USB host support to eb_cpux9k2 board

---
  include/configs/eb_cpux9k2.h |   14 ++++++++++++++
  1 files changed, 14 insertions(+), 0 deletions(-)
include/configs/eb_cpux9k2.h +14 -0
index c4b1e65..b1fcec7 100644
@@ -137,6 +137,8 @@
  #define CONFIG_CMD_PING
  #define CONFIG_I2C_CMD_NO_FLAT
  #define CONFIG_I2C_CMD_TREE
+#define CONFIG_CMD_USB
+#define CONFIG_CMD_FAT
  
  #define CONFIG_SYS_LONGHELP
  
@@ -167,6 +169,18 @@
  /*
   * Hardware drivers
   */
+#define CONFIG_USB_ATMEL
+#define CONFIG_USB_OHCI_NEW
+#define CONFIG_AT91C_PQFP_UHPBUG
+#define CONFIG_USB_STORAGE
+#define CONFIG_DOS_PARTITION
+#define CONFIG_ISO_PARTITION
+#define CONFIG_EFI_PARTITION
+
+#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS	1
+#define CONFIG_SYS_USB_OHCI_CPU_INIT
+#define CONFIG_SYS_USB_OHCI_REGS_BASE		0x00300000
+#define CONFIG_SYS_USB_OHCI_SLOT_NAME		"at91rm9200"
  
  /*
   * UART/CONSOLE
Signature · 1 line
1.7.3.4
#3 lore raw

PATCH v2 1/1 eb_cpux9k2: add USB host support to board

Hi Jens,

Le 10/07/2011 11:14, Jens Scharsig a ?crit :

Quoted 6 lines

* add USB host support to eb_cpux9k2 board

---
include/configs/eb_cpux9k2.h | 14 ++++++++++++++

1 files changed, 14 insertions(+), 0 deletions(-)

This fails to apply properly on current u-boot/master or u-boot-arm/master or u-boot-atmel/master. Which repository/branch is it supposed to be applied to?

Amicalement,

Signature · 1 line
Albert.
#4 lore raw

PATCH v2 1/1 eb_cpux9k2: add USB host support to board

Am 2011-07-10 14:37, schrieb Albert ARIBAUD:

Quoted 5 lines

Hi Jens,

Le 10/07/2011 11:14, Jens Scharsig a ?crit :

Quoted 2 lines

* add USB host support to eb_cpux9k2 board

Quoted 8 lines
Quoted 4 lines

---
include/configs/eb_cpux9k2.h | 14 ++++++++++++++

1 files changed, 14 insertions(+), 0 deletions(-)

This fails to apply properly on current u-boot/master or u-boot-arm/master or u-boot-atmel/master. Which repository/branch is it supposed to be applied to?

I used u-boot-atmel/master as base to create this V2

Quoted 2 lines

Amicalement,

Regards

Jens

#5 lore raw

PATCH v2 1/1 eb_cpux9k2: add USB host support to board

In reply to Albert ARIBAUD

Am 10.07.2011 14:37, schrieb Albert ARIBAUD:

Quoted 5 lines

Hi Jens,

Le 10/07/2011 11:14, Jens Scharsig a ?crit :

Quoted 2 lines

* add USB host support to eb_cpux9k2 board

Quoted 8 lines
Quoted 4 lines

---
include/configs/eb_cpux9k2.h | 14 ++++++++++++++

1 files changed, 14 insertions(+), 0 deletions(-)

This fails to apply properly on current u-boot/master or u-boot-arm/master or u-boot-atmel/master. Which repository/branch is it supposed to be applied to?

The patch is correct but anything between me an you/list modifies the mails. There are additional spaces in my file.

Until I found why the mta's adds. I have attache the patch as file.

Best regards

Jens Scharsig

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-add-USB-host-support-to-eb_cpux9k2-board.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20110710/2d5f2c68/attachment.bin

#6 lore raw

PATCH v2 1/1 eb_cpux9k2: add USB host support to board

Dear Jens Scharsig,

Quoted 11 lines

Am 10.07.2011 14:37, schrieb Albert ARIBAUD:

Quoted 10 lines

Hi Jens,

Le 10/07/2011 11:14, Jens Scharsig a ?crit :

Quoted 6 lines

* add USB host support to eb_cpux9k2 board

---
include/configs/eb_cpux9k2.h | 14 ++++++++++++++

1 files changed, 14 insertions(+), 0 deletions(-)
Quoted 8 lines
Quoted 3 lines

This fails to apply properly on current u-boot/master or u-boot-arm/master or u-boot-atmel/master. Which repository/branch is it supposed to be applied to?

The patch is correct but anything between me an you/list modifies the mails. There are additional spaces in my file.

Until I found why the mta's adds. I have attache the patch as file.

Let me guess... using Thunderbird or alikes? They have issues with spaces.
Please simply and just use git send-email instead!

The patch you sent as an attachment does indeed apply, but I remember its against the rules to use it; however patchworks does correctly handle it and I could get it with "pwclient get 104091"; so IMHO it should be fine to use it - Wolfgang?

Best Regards,
Reinhard

#7 lore raw

PATCH v2 1/1 eb_cpux9k2: add USB host support to board

Dear "u-boot at emk-elektronik.de",

Quoted 3 lines · In message <1310382637.7288.7.camel@ubuntu> you wrote:

The patch you sent as an attachment does indeed apply, but I remember its against the rules to use it; however patchworks does correctly

Indeed patches shpuld be sent inline which makes reviewing and commenting much easier.

Quoted 2 lines

handle it and I could get it with "pwclient get 104091"; so IMHO it should be fine to use it - Wolfgang?

If it's OK with you, just go on and apply it.

Best regards,

Wolfgang Denk

Signature · 4 lines
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
panic: can't find /
#8 lore raw

PATCH v2 1/1 eb_cpux9k2: add USB host support to board

Dear Jens Scharsig, Wolfgang Denk,

Quoted 7 lines

Dear "u-boot at emk-elektronik.de",

Quoted 3 lines · In message <1310382637.7288.7.camel@ubuntu> you wrote:

The patch you sent as an attachment does indeed apply, but I remember its against the rules to use it; however patchworks does correctly

Quoted 7 lines

Indeed patches shpuld be sent inline which makes reviewing and commenting much easier.

Quoted 2 lines

handle it and I could get it with "pwclient get 104091"; so IMHO it should be fine to use it - Wolfgang?

If it's OK with you, just go on and apply it.

Applied to u-boot-atmel/next
Thanks, Reinhard

#9 lore raw

PATCH v2 1/1 eb_cpux9k2: add USB host support to board

In reply to u-boot at emk-elektronik.de

Am 2011-07-11 13:10, schrieb u-boot at emk-elektronik.de:

Quoted 1 line

Dear Jens Scharsig,

<snip>

Quoted 7 lines
Quoted 4 lines

The patch is correct but anything between me an you/list modifies the mails. There are additional spaces in my file.

Until I found why the mta's adds. I have attache the patch as file.

Let me guess... using Thunderbird or alikes? They have issues with spaces.

You are right. Since thunderbird was updated to 3.1.xx mails bad.

Quoted 1 line

Please simply and just use git send-email instead!

Thanks for suggestion,

Jens

#10 lore raw

PATCH v2 1/1 eb_cpux9k2: add USB host support to board

In reply to Jens Scharsig
---
 include/configs/eb_cpux9k2.h |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
include/configs/eb_cpux9k2.h +14 -0
index c4b1e65..b1fcec7 100644
@@ -137,6 +137,8 @@
 #define CONFIG_CMD_PING
 #define CONFIG_I2C_CMD_NO_FLAT
 #define CONFIG_I2C_CMD_TREE
+#define CONFIG_CMD_USB
+#define CONFIG_CMD_FAT
 
 #define CONFIG_SYS_LONGHELP
 
@@ -167,6 +169,18 @@
 /*
  * Hardware drivers
  */
+#define CONFIG_USB_ATMEL
+#define CONFIG_USB_OHCI_NEW
+#define CONFIG_AT91C_PQFP_UHPBUG
+#define CONFIG_USB_STORAGE
+#define CONFIG_DOS_PARTITION
+#define CONFIG_ISO_PARTITION
+#define CONFIG_EFI_PARTITION
+
+#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS	1
+#define CONFIG_SYS_USB_OHCI_CPU_INIT
+#define CONFIG_SYS_USB_OHCI_REGS_BASE		0x00300000
+#define CONFIG_SYS_USB_OHCI_SLOT_NAME		"at91rm9200"
 
 /*
  * UART/CONSOLE
Signature · 1 line
1.7.3.4
#11 lore raw

PATCH v2 1/1 eb_cpux9k2: add USB host support to board

This is a resend without modifications by mail client

Regards

Jens

#12 lore raw

PATCH v2 1/1 eb_cpux9k2: add USB host support to board

Dear Jens Scharsig,

Quoted 1 line

This is a resend without modifications by mail client

Really? It seems the patch was completely omitted.. :)

Reinhard

#13 lore raw

PATCH v2 1/1 eb_cpux9k2: add USB host support to board

Am 2011-07-12 18:00, schrieb Reinhard Meyer:

Quoted 2 lines

Dear Jens Scharsig,

Quoted 1 line

This is a resend without modifications by mail client

Should it be better to say: The referenced email is ... ;-)

Quoted 4 lines

Really? It seems the patch was completely omitted.. :)

Reinhard

Jens