usb0 Link encap:Ethernet HWaddr a2:29:c5:ee:bf:e6
inet addr:192.168.7.2 Bcast:192.168.7.3 Mask:255.255.255.252
inet6 addr: fe80::a029:c5ff:feee:bfe6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:76 (76.0 B) TX bytes:9408 (9.1 KiB)
eth1 Link encap:Ethernet HWaddr 84:eb:18:ae:cb:aa
inet6 addr: fe80::86eb:18ff:feae:cbaa/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:37 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7262 (7.2 KB) TX bytes:268 (268.0 B)
fdalbert@edge ~ $ sudo tcpdump -i eth1
tcpdump: WARNING: eth1: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 65535 bytes
15:01:10.597986 ARP, Request who-has 192.168.7.1 tell 192.168.7.2, length 28
15:01:11.588800 ARP, Request who-has 192.168.7.1 tell 192.168.7.2, length 28
15:01:12.588895 ARP, Request who-has 192.168.7.1 tell 192.168.7.2, length 28
15:01:13.597976 ARP, Request who-has 192.168.7.1 tell 192.168.7.2, length 28
15:01:14.588800 ARP, Request who-has 192.168.7.1 tell 192.168.7.2, length 28
15:01:15.588772 ARP, Request who-has 192.168.7.1 tell 192.168.7.2, length 28
15:01:16.597983 ARP, Request who-has 192.168.7.1 tell 192.168.7.2, length 28
15:01:17.588936 ARP, Request who-has 192.168.7.1 tell 192.168.7.2, length 28
15:01:18.588919 ARP, Request who-has 192.168.7.1 tell 192.168.7.2, length 28
^C
9 packets captured
9 packets received by filter
0 packets dropped by kernel
root@beaglebone:~# ping 192.168.7.1
PING 192.168.7.1 (192.168.7.1) 56(84) bytes of data.
From 192.168.7.2 icmp_seq=1 Destination Host Unreachable
From 192.168.7.2 icmp_seq=2 Destination Host Unreachable
From 192.168.7.2 icmp_seq=3 Destination Host Unreachable
From 192.168.7.2 icmp_seq=4 Destination Host Unreachable
From 192.168.7.2 icmp_seq=5 Destination Host Unreachable
From 192.168.7.2 icmp_seq=6 Destination Host Unreachable
From 192.168.7.2 icmp_seq=7 Destination Host Unreachable
From 192.168.7.2 icmp_seq=8 Destination Host Unreachable
From 192.168.7.2 icmp_seq=9 Destination Host Unreachable
From 192.168.7.2 icmp_seq=10 Destination Host Unreachable
From 192.168.7.2 icmp_seq=11 Destination Host Unreachable
From 192.168.7.2 icmp_seq=12 Destination Host Unreachable
^C
--- 192.168.7.1 ping statistics ---
14 packets transmitted, 0 received, +12 errors, 100% packet loss, time 13001ms
pipe 3
root@beaglebone:~# tcpdump -i usb0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on usb0, link-type EN10MB (Ethernet), capture size 65535 bytes
^C
0 packets captured
0 packets received by filter
0 packets dropped by kernel
Hi
I'm trying to write a module for a real-time kernel. Following the instructions on https://eewiki.net/display/linuxonarm/BeagleBone+Black, I compiled and deployed a 4.1.13-bone-rt-r17 kernel to an sd card with a Debian GNU/Linux 7 BeagleBoard.org Debian Image 2015-03-01.
Before, with kernel 3.8.13-bone70, everything was working perfectly fine. However after upgrading the kernel, my desktop (running Linux Mint) no longer receives an ip address.
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[ 2.976012] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftCo)
[ 2.976031] musb-hdrc: MHDRC RTL version 2.0
[ 2.976039] musb-hdrc: setup fifo_mode 4
[ 2.976056] musb-hdrc: 28/31 max ep, 16384/16384 memory
[ 2.977348] 47401b00.usb-phy supply vcc not found, using dummy regulator
[ 3.005848] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftCo)
[ 3.005863] musb-hdrc: MHDRC RTL version 2.0
[ 3.005871] musb-hdrc: setup fifo_mode 4
[ 3.005885] musb-hdrc: 28/31 max ep, 16384/16384 memory
[ 3.006170] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 3.006461] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[ 3.006690] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.006703] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.006712] usb usb1: Product: MUSB HDRC host driver
[ 3.006721] usb usb1: Manufacturer: Linux 4.1.13-bone-rt-r17 musb-hcd
[ 3.006730] usb usb1: SerialNumber: musb-hdrc.1.auto
[ 3.007420] hub 1-0:1.0: USB hub found
[ 3.007470] hub 1-0:1.0: 1 port detected
[ 21.101221] using random self ethernet address
[ 21.101247] using random host ethernet address
[ 21.101265] using host ethernet address: 84:EB:18:AE:CB:AA
[ 21.160643] Mass Storage Function, version: 2009/09/11
[ 21.160672] LUN: removable file: (no medium)
[ 21.160867] LUN: removable file: /dev/mmcblk0p1
[ 21.160878] Number of LUNs=1
[ 21.162626] usb0: HOST MAC 84:eb:18:ae:cb:aa
[ 21.162973] usb0: MAC a2:29:c5:ee:bf:e6
[ 21.163029] Number of LUNs=1
[ 21.166695] g_multi gadget: Multifunction Composite Gadget
[ 21.166721] g_multi gadget: g_multi ready
[ 21.767642] g_multi gadget: high-speed config #1: Multifunction with RNDIS
[ 33.184926] net eth0: initializing cpsw version 1.12 (0)
[ 33.187423] net eth0: phy found : id is : 0x7c0f1
[ 33.187492] libphy: PHY 4a101000.mdio:01 not found
[ 33.192436] net eth0: phy 4a101000.mdio:01 not found on slave 1
[ 33.218457] net eth0: BQL enabled
[ 33.228304] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 132.378851] device usb0 entered promiscuous mode
[ 153.177973] device usb0 left promiscuous mode
[ 1555.067418] device usb0 entered promiscuous mode
[ 1570.862790] device usb0 left promiscuous mode
journal as in journalctl? doesn't seem to be included. but here's what I found in dmesg that seemed relevant:
--
any ideas?
en5: flags=8923<UP,BROADCAST,SMART,PROMISC,SIMPLEX,MULTICAST> mtu 1486
ether 6c:ec:eb:b0:96:bd
inet6 fe80::6eec:ebff:feb0:96bd%en5 prefixlen 64 scopeid 0xa
nd6 options=1<PERFORMNUD>
media: autoselect (<unknown type>)
ping 192.168.7.2
PING 192.168.7.2 (192.168.7.2): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
^C
2) Activate our own cape-universal file from bb.org-overlays with
https://github.com/RobertCNelson/bb.org-overlays
Inside is a file src/arm/cape-universal-00A0.dts and I've been tinkering with that. I do make && make install and it
copies cape-universal-00A0.dtbo to /lib/firmware (in addition to overwriting whatever else might be there -- CAUTION!!!)
So things can be made to work this way, making changes to /boot/uEnv.txt:
1) Turn off cmd line switch "cape_universal=enable"
cmdline=coherent_pool=1M quiet
config-pin p9_24 uart config-pin p9_26 uart
The USB problem I was experiencing went away with this cape-universal overlay, so I assume it's another pinmux flaw,
and it wasn't an interrupt problem like I thought. NOTE that this is sort of a hack. I think the preferred way of doing
this thing is to explicitly load the overlays of the hardware one wants to use. So if I wanted to use uart1 I'd do
echo BB_UART1 > /sys/devices/platform/bone_capemgr/slots
but that conflicts with the cape-universal I'm loading at bootup, so it doesn't work for me...
Basically the underlying issue is the linux / bone_capemgr philosophy is to have all pins default to GPIO and you're
supposed to use overlays to activate the hardware you want to use, and the overlays configure the pins the way
they're supposed to be. I think understanding the bone_capemgr is a requirement. I found these links informative:
http://www.thing-printer.com/cape-manager-is-back-baby/
https://learn.adafruit.com/introduction-to-the-beaglebone-black-device-tree/exporting-and-unexporting-an-overlay
http://derekmolloy.ie/gpios-on-the-beaglebone-black-using-device-tree-overlays/
https://github.com/beagleboard/linux/blob/4.1/Documentation/ABI/testing/sysfs-devices-platform-bone_capemgr
-Dave