Skip to contentSkip to conversation

Automatically bring up usb0 on BeagleBoard xM

PATCH In review Paul Eggleton 4 participants 8 messages Apr 20, 2011

lore
Share & tools
lore
#0 lore raw

cover Automatically bring up usb0 on BeagleBoard xM

From: Paul Eggleton <[email protected]>

Automatically bring up main ethernet port (usb0) on BeagleBoard xM.

Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: paule/bbxm-netauto
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=paule/bbxm-netauto

Thanks,
Paul Eggleton <[email protected]>
---

Paul Eggleton (1):
netbase: automatically bring up usb0 on BeagleBoard xM

 .../netbase/netbase-4.45/beagleboard/interfaces    |   27 ++++++++++++++++++++
 .../recipes-core/netbase/netbase_4.45.bbappend     |    3 ++
 2 files changed, 30 insertions(+), 0 deletions(-)
 create mode 100644 meta-yocto/recipes-core/netbase/netbase-4.45/beagleboard/interfaces
 create mode 100644 meta-yocto/recipes-core/netbase/netbase_4.45.bbappend
#1 lore raw

PATCH 1/1 netbase: automatically bring up usb0 on BeagleBoard xM

From: Paul Eggleton <[email protected]>

Avoids manual configuration of the BeagleBoard xM's ethernet port (which shows up as usb0).

Fixes [YOCTO #930]

---
 .../netbase/netbase-4.45/beagleboard/interfaces    |   27 ++++++++++++++++++++
 .../recipes-core/netbase/netbase_4.45.bbappend     |    3 ++
 2 files changed, 30 insertions(+), 0 deletions(-)
 create mode 100644 meta-yocto/recipes-core/netbase/netbase-4.45/beagleboard/interfaces
 create mode 100644 meta-yocto/recipes-core/netbase/netbase_4.45.bbappend
meta-yocto/recipes-core/netbase/netbase-4.45/beagleboard/interfaces new file +27 -0
new file mode 100644
index 0000000..b6935c1
@@ -0,0 +1,27 @@
+# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
+ 
+# The loopback interface
+auto lo
+iface lo inet loopback
+
+# Wireless interfaces
+iface wlan0 inet dhcp
+	wireless_mode managed
+	wireless_essid any
+	wpa-driver wext
+	wpa-conf /etc/wpa_supplicant.conf
+
+iface atml0 inet dhcp
+
+# Wired or wireless interfaces
+auto eth0
+iface eth0 inet dhcp
+iface eth1 inet dhcp
+
+# Ethernet/RNDIS gadget (g_ether) or LAN9514 on BeagleBoard xM
+auto usb0
+iface usb0 inet dhcp
+
+# Bluetooth networking
+iface bnep0 inet dhcp
+
meta-yocto/recipes-core/netbase/netbase_4.45.bbappend new file +3 -0
new file mode 100644
index 0000000..4b8d0e6
@@ -0,0 +1,3 @@
+THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
+FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
+
Signature · 1 line
1.7.1
#2 lore raw

Re: [PATCH 1/1] netbase: automatically bring up usb0 on BeagleBoard xM

Op 20 apr 2011, om 12:52 heeft Paul Eggleton het volgende geschreven:

Quoted 7 lines

From: Paul Eggleton <[email protected]>

Avoids manual configuration of the BeagleBoard xM's ethernet port (which shows up as usb0).

Fixes [YOCTO #930]

Quoted 7 lines

---
.../netbase/netbase-4.45/beagleboard/interfaces | 27 ++++++++++++++++++++
.../recipes-core/netbase/netbase_4.45.bbappend | 3 ++

2 files changed, 30 insertions(+), 0 deletions(-)

create mode 100644 meta-yocto/recipes-core/netbase/netbase-4.45/beagleboard/interfaces create mode 100644 meta-yocto/recipes-core/netbase/netbase_4.45.bbappend

You mean meta-texasinstruments, right? Or do you yocto people really want to take over beagleboard?

#3 lore raw

Re: [PATCH 1/1] netbase: automatically bring up usb0 on BeagleBoard xM

Quoted 18 lines · Koen Kooi

Op 20 apr 2011, om 12:52 heeft Paul Eggleton het volgende geschreven:

Quoted 7 lines

From: Paul Eggleton<[email protected]>

Avoids manual configuration of the BeagleBoard xM's ethernet port (which shows up as usb0).

Fixes [YOCTO #930]

Quoted 7 lines

---
.../netbase/netbase-4.45/beagleboard/interfaces | 27 ++++++++++++++++++++
.../recipes-core/netbase/netbase_4.45.bbappend | 3 ++

2 files changed, 30 insertions(+), 0 deletions(-)

create mode 100644 meta-yocto/recipes-core/netbase/netbase-4.45/beagleboard/interfaces create mode 100644 meta-yocto/recipes-core/netbase/netbase_4.45.bbappend

Quoted 1 line

You mean meta-texasinstruments, right? Or do you yocto people really want to take over beagleboard?

These are in the Poky tree, not the oe-core+

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#4 lore raw

Re: [PATCH 1/1] netbase: automatically bring up usb0 on BeagleBoard xM

Op 20 apr 2011, om 13:40 heeft Gary Thomas het volgende geschreven:

Quoted 19 lines · Koen Kooi
Quoted 18 lines

Op 20 apr 2011, om 12:52 heeft Paul Eggleton het volgende geschreven:

Quoted 14 lines

From: Paul Eggleton<[email protected]>

Avoids manual configuration of the BeagleBoard xM's ethernet port (which shows up as usb0).

Fixes [YOCTO #930]

---
.../netbase/netbase-4.45/beagleboard/interfaces | 27 ++++++++++++++++++++
.../recipes-core/netbase/netbase_4.45.bbappend | 3 ++

2 files changed, 30 insertions(+), 0 deletions(-)

create mode 100644 meta-yocto/recipes-core/netbase/netbase-4.45/beagleboard/interfaces create mode 100644 meta-yocto/recipes-core/netbase/netbase_4.45.bbappend

Quoted 3 lines
Quoted 1 line

You mean meta-texasinstruments, right? Or do you yocto people really want to take over beagleboard?

These are in the Poky tree, not the oe-core+

I don't understand what you are saying. Are you saying poky is not based on oe-core?

#5 lore raw

Re: [PATCH 1/1] netbase: automatically bring up usb0 on BeagleBoard xM

Quoted 22 lines · Koen Kooi

Op 20 apr 2011, om 13:40 heeft Gary Thomas het volgende geschreven:

Quoted 19 lines · Koen Kooi
Quoted 18 lines

Op 20 apr 2011, om 12:52 heeft Paul Eggleton het volgende geschreven:

Quoted 14 lines

From: Paul Eggleton<[email protected]>

Avoids manual configuration of the BeagleBoard xM's ethernet port (which shows up as usb0).

Fixes [YOCTO #930]

---
.../netbase/netbase-4.45/beagleboard/interfaces | 27 ++++++++++++++++++++
.../recipes-core/netbase/netbase_4.45.bbappend | 3 ++

2 files changed, 30 insertions(+), 0 deletions(-)

create mode 100644 meta-yocto/recipes-core/netbase/netbase-4.45/beagleboard/interfaces create mode 100644 meta-yocto/recipes-core/netbase/netbase_4.45.bbappend

Quoted 5 lines
Quoted 3 lines
Quoted 1 line

You mean meta-texasinstruments, right? Or do you yocto people really want to take over beagleboard?

These are in the Poky tree, not the oe-core+

I don't understand what you are saying. Are you saying poky is not based on oe-core?

Correct. Poky came first and has its own tree. OE-core is derived from the Poky/Yocto tree.

For now, my understanding is that Poky gets its own patches which are filtered into oe-core and meta-yocto

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#6 lore raw

Re: [PATCH 1/1] netbase: automatically bring up usb0 on BeagleBoard xM

In reply to Koen Kooi
Quoted 2 lines · On Wednesday 20 April 2011 12:31:27 Koen Kooi wrote:

You mean meta-texasinstruments, right? Or do you yocto people really want to take over beagleboard?

Firstly, I thought Richard addressed this the other day.

Secondly, I'm more than happy to contribute this and fixes like it to meta- texasinstruments, however right now I'm not even able to determine where the current repository for that layer actually is, so it's a bit hard for me to do so. Perhaps you could tell me where it is?

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre (UK)
#7 lore raw

Re: [PATCH 1/1] netbase: automatically bring up usb0 on BeagleBoard xM

Quoted 10 lines · Paul Eggleton
Quoted 2 lines · On Wednesday 20 April 2011 12:31:27 Koen Kooi wrote:

You mean meta-texasinstruments, right? Or do you yocto people really want to take over beagleboard?

Firstly, I thought Richard addressed this the other day.

Secondly, I'm more than happy to contribute this and fixes like it to meta- texasinstruments, however right now I'm not even able to determine where the current repository for that layer actually is, so it's a bit hard for me to do so. Perhaps you could tell me where it is?

Paul is addressing an existing issue in the existing repository, not something in response to our discussions on supporting the BBxM going forward.

Signature · 2 lines
Darren Hart
Yocto Linux Kernel