**** BEGIN LOGGING AT Sat Apr 02 02:59:58 2016 Apr 02 03:32:52 I've decided to just downgrade to kernel 3.8 which has the drivers in that framework. Apr 02 11:10:39 I'm building a BeagleBone Green Debian testing image using vmdebootstrap Apr 02 11:11:06 unfortunately the ethernet driver does not seem to work Apr 02 11:12:24 [ 17.707285] net eth0: initializing cpsw version 1.12 (0) Apr 02 11:12:24 [ 17.714732] libphy: PHY 4a101000.mdio:00 not found Apr 02 11:12:24 [ 17.719855] net eth0: phy 4a101000.mdio:00 not found on slave 0 Apr 02 11:12:48 the interface works fine with the firmware on flash Apr 02 11:21:06 http://codepad.org/uUOBA6Oi Apr 02 11:21:08 full kernel log Apr 02 11:22:11 I don't suppose there would happen to be something simple I could poke to make it work? :-) Apr 02 11:43:32 which kernel does it use? Apr 02 11:43:58 4.4.0-1-armmp apparently Apr 02 11:44:53 ISTR there being a problem that sometimes the PHY would come up with the wrong ID or such Apr 02 11:45:00 but I thought that was fixed Apr 02 11:57:02 tbr: what do you mean by "ID" here? Apr 02 11:57:35 mdio:00 mdio:01 mdio:02 Apr 02 11:57:37 do you mean on whatever bus it's on? Apr 02 11:58:25 it tries 00 and 01 Apr 02 11:58:48 and it always works fine on the stock firmware Apr 02 11:59:09 yes and there used to be some problem with a software workaround Apr 02 12:01:53 "It is not the MAC address. PHY NOT FOUND means that at the one address of 00 the PHY did not respond because the PHY has a different address. " Apr 02 12:04:23 hmm Apr 02 12:04:42 now suddenly the stock firmware isn't working  Apr 02 12:05:21 [ 23.199205] net eth0: phy found : id is : 0x7c0f1 Apr 02 12:05:21 [ 23.204351] net eth0: phy 4a101000.mdio:03 not found on slave 1 Apr 02 12:05:23 odd Apr 02 12:05:30 notice your paste line 162 Apr 02 12:05:37 it finds a PHY at address 02 Apr 02 12:09:41 and yet Apr 02 12:09:42 [ 0.904409] libphy: 4a101000.mdio: probed Apr 02 12:09:42 [ 0.904438] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720 Apr 02 12:09:49 with the stock firmware Apr 02 12:10:02 is this a hardware issue? Apr 02 12:12:36 why would the ID change randomly from 0 to 2? Apr 02 12:17:05 there is probably a software workaround Apr 02 12:17:12 maybe it didn't make it upstream? Apr 02 12:20:09 * tbr finds https://github.com/beagleboard/linux/commit/fe55377bbbce7cd769be2c77c66e289312f57382 in the beaglebone tree maintained by RCN Apr 02 12:40:41 urgh :-/ Apr 02 12:41:02 I'm going to have to create and cross-compile a custom kernel package :-/ Apr 02 12:41:16 tbr: thanks for the help Apr 02 12:42:52 rah: rcn has tools for compiling deb packages of the beaglebone kernel Apr 02 12:43:34 also you might want to talk to vagrant about the stock debian kernel having problems on BBG Apr 02 12:51:36 tbr: where are these tools? Apr 02 12:51:48 I'll patch the debian kernel and if it works, I'll file a bug with the patch Apr 02 12:52:10 I've messaged someone named "vagrant" on freenode Apr 02 12:52:22 but they haven't responded Apr 02 12:52:43 hmm vagrantc is usually here .. Apr 02 12:53:29 but clearly not today :/ Apr 02 12:57:38 rah: https://github.com/RobertCNelson/bb-kernel/ Apr 02 12:57:53 you'll need to check out the relevant branch Apr 02 12:58:00 if you want 4.4, then there should be one Apr 02 12:58:20 although he's usually tracking upstream quite closely, so might as well go for something latest Apr 02 12:59:06 might be worth reviewing https://eewiki.net/display/linuxonarm/BeagleBone+Black Apr 02 12:59:09 e.g. https://github.com/RobertCNelson/bb-kernel/tree/am33x-v4.6 Apr 02 13:00:37 tbr: thanks Apr 02 13:00:54 although I'll need to use the Debian kernel sources if I'm going to file a bug with the patch Apr 02 13:01:53 rah: I'm not even sure if it's /just/ that patch Apr 02 13:02:29 I simply looked at latest commits in the beagle tree, as those are usually the patches carried over Apr 02 13:04:33 ok Apr 02 13:05:21 the email thread starts with the exact same error messages I get though so I suspect it'll fix it Apr 02 13:15:47 he says.. Apr 02 13:39:02 First photo of my USB 4 port hub SPECIFICALLY designed for the BBB, working -> http://imgur.com/gF6ZV62 Apr 02 13:45:10 Strontium: cool ! Does it play nice?! Apr 02 13:48:35 veremit: Yes its playing very very nice Apr 02 13:48:44 No BBB power issues on the USB at all. Apr 02 13:48:55 http://paste.ubuntu.com/15587807/ Apr 02 13:49:01 Logs from my testing Apr 02 13:49:32 Im still playing with this board, taking it through its paces, but its got no hardware faults that i am aware of. Apr 02 13:50:09 Strontium: excellent .. did you put some extra capacitance on it? Apr 02 13:50:33 veremit: Yep, 100uF on the 5V input from the BBB and 100uF on each port. Apr 02 13:50:35 iirc the spec for hub chips does recommend ~100uF per port Apr 02 13:50:49 yup yup cool :] Apr 02 13:51:00 I added 100uF to the BBB 5V because the BBB lacks it. Apr 02 13:51:13 yea I bet .. as long as it doesn't pull down .. but it should be ok Apr 02 13:51:23 This board is specifically designed for the BBB so i tried to accomodate its "deficiencies"... Apr 02 13:51:36 indeed! Apr 02 13:51:46 veremit: It seems rock solid so far. I hot plug many times and get no issues. Apr 02 13:52:01 ideal! Apr 02 13:52:04 Hot plug devices into my ports. My board is not designed to hot plug, Apr 02 13:52:18 Its designed to attach to the BBB and be left in place. Apr 02 13:52:25 oh I'm sure you're hub will be compliant ;) Apr 02 13:52:32 its that evil musb Apr 02 13:52:52 is it one of the microchip/ex-umsc ones? Apr 02 13:52:54 At the moment i am running it "out of spec" I have the BBB providing the 5V but i tell it that my hub is self powered. Apr 02 13:52:59 Yes it is. Apr 02 13:53:10 yeah worked with them a fair bit. Good chips. Apr 02 13:53:18 Seems good so far. Apr 02 13:53:58 ah you're using usb power but .. cheating :p Apr 02 13:54:20 In this mode. But i can derive "external" power too. Apr 02 13:54:36 yes. It would give you more flexibility Apr 02 13:54:52 although the usb power is .. uhm .. flexible. Apr 02 13:54:53 I do it so it doesn't complain about all my testing devices needing more power than 500mA, Apr 02 13:55:14 yea... Apr 02 13:55:19 Well the BBB does have 500mA over current protection, but that rubbery as well, they are always "over time" Apr 02 13:55:40 as long as it doesn't later bite you :) Apr 02 13:55:47 But its an easy mod if one wants more power, a single wire from my board the the 5V input on the barrelt jack. Apr 02 13:56:22 veremit: It will go "overcurrent" kill the 5V to the board and wait until the power switch cools down before turning back on again. Apr 02 13:56:31 Part of testing is to actually make that happen. Apr 02 13:56:44 ah fair enogh Apr 02 13:57:37 I am thinking i will ship these as BBB powered, and reporting that they are BUS powered. AND if soemone wants to use external power, they can do the appropriate things (which are easy). Apr 02 13:57:57 cut teo default tracks, install a jumper and run 1 wire. Apr 02 13:58:04 two default tracks. Apr 02 13:58:42 yea I've seen a neat trick involving two SMD pads with a track between them so you can 'rejoin' if later necessary Apr 02 13:59:21 veremit: thats the idea. It will be a track between two holes on my board, so that you can cut it, but later just put a wire jumper between them. Apr 02 13:59:41 The track just means it has a nice "default" mode. Thats easy for a novice to use. Apr 02 13:59:49 yup Apr 02 14:00:30 These boards dont have that. They require the jumper, but im thinking the default is a better way to go so that novices dont have to use a soldering iron. Apr 02 14:01:14 quite reasonable Apr 02 14:06:02 veremit: Where would be the best place to let people know these things exist? Apr 02 14:06:34 try elinux .. then probably ping jkdridner here I would guess.. Apr 02 14:16:21 veremit: ok thanks. Apr 02 14:23:16 best I can think of .. there is a lack of general wisdom/documentation about beagle stuffs sadly Apr 02 14:28:13 that's fer sure, I got a pru cape and have no idea what it does Apr 02 14:29:10 I wish there was someone to look after documentation .. the board would be even more popular than it is without .. Apr 02 14:29:26 it -is- a good board.. given its few caveats lol Apr 02 16:37:52 Hi ! Apr 02 16:38:18 I want to know how to connect an active IR sensor to the BBB Apr 02 16:39:54 I want to connect a IR beam barrier to my BBB Apr 02 16:40:10 any Idea which pins to use for it Apr 02 17:25:30 vagrantc: you work with debian kernels? Apr 02 17:25:59 yeah Apr 02 17:27:04 in general, i try to get the kernel in debian to support whatever board i'm working on, at least partially ... which typically means tracking down what modules need to be enabled, reporting bugs upstream, etc. Apr 02 17:27:22 or nudging the right people at the right time Apr 02 17:30:45 rah was having some issues with ethernet .. tbr was givin a hand earlier .. Apr 02 17:31:28 tbr said you were the person to heads-up :) Apr 02 17:31:36 I want to know how to connect an active IR sensor to the BBB [12:39] I want to connect a IR beam barrier to my BBB [12:40] any Idea which pins to use for it Apr 02 17:33:59 anprasad: any pins you want, this page http://kilobaser.com/blog/2014-07-28-beaglebone-black-devicetreeoverlay-generator Apr 02 17:34:16 will help you make a device tree overlay Apr 02 17:34:29 rah: got a brief recap of your ethernet issues? what kernel version? what board? Apr 02 17:34:37 and this page http://eskimon.fr/beaglebone-black-gpio-interactive-map Apr 02 17:34:50 will help you find any potentioal conflicts Apr 02 17:35:03 vagrantc: the network interface doesn't come up cleanly. the old mdio problem Apr 02 17:36:33 vagrantc: looks like the beaglebone kernels are carrying some workaround patches Apr 02 17:37:34 tbr: this rings some old bells, but i've been running debian's linux 3.16 on BBB for quite some time without issue Apr 02 17:38:02 haven't tested linux 4.x recently Apr 02 17:38:13 vagrantc: he tried 4.4.0 by the looks of it Apr 02 17:40:36 * vagrantc will give it a whirl Apr 02 17:41:06 he was using a BBG, he said Apr 02 17:42:47 oh, all i've got is a BBB Apr 02 17:55:05 vagrantc: might be the same on that Apr 02 17:55:20 or something makes it "worse" and more reproducible on a BBG Apr 02 17:55:25 right Apr 02 17:55:47 i seem to recall issues where swapping out the sd card multiple times somehow triggered something related Apr 02 17:56:01 or maybe it was reflashing the eMMC ... Apr 02 17:56:38 was from around two years ago, so the details are a bit fuzzy Apr 02 17:57:13 on 3.16.x i'm getting: Apr 02 17:57:24 [ 6.530921] libphy: PHY 4a101000.mdio:01 not found Apr 02 17:57:25 [ 6.536062] net eth0: phy 4a101000.mdio:01 not found on slave 1 Apr 02 17:57:29 but ethernet works fine Apr 02 17:57:49 * vagrantc is installing 4.4.x now to test Apr 02 17:59:37 also, #debian-arm on irc.oftc.net would also be a good place to ask Apr 02 18:07:26 tbr, rah: well, trying the 4.4.x kernel from jessie-backports worked fine for me ... if you continue to have issues, you might try reporting a bug to the debian bug tracker: https://www.debian.org/Bugs/Reporting Apr 02 18:12:34 vagrantc: mdio:01 is the inexistant second ethernet interface. Depending on hw revision there seems to be a trigger that makes mdio:00 corrupt to mdio:02 Apr 02 18:15:39 the second interface on the SoC, but not wired to anything? Apr 02 18:15:59 a dual ethernet BBB would be a slick little device. Apr 02 18:16:36 yes, not wired Apr 02 18:16:51 there is at least one TI EVM that has both Apr 02 18:28:16 someone did an am335x with gig-e too Apr 02 18:28:37 dual gig-e would be exceptional. Apr 02 18:29:00 that is pushing it with the board footprint .. but doable otherwise :p Apr 02 18:29:08 now I gotta look it up .. grr lol Apr 02 18:30:06 gig-e is the recent bbb pro or whatever that's being crowd funded by that british engineering company Apr 02 18:30:06 really, just anything that can run mainline with two ethernet (ideally gigabit) ports at a reasonably price point Apr 02 18:30:16 well oops vagrantc .. http://www.moreneo.com/images/upload/files/pdf/MYD-AM335X_neomore.pdf Apr 02 18:30:26 tbr: ah that was it Apr 02 18:32:20 ... https://www.indiegogo.com/projects/sancloud-beaglebone-enhanced#/ sancloud Apr 02 18:32:26 two port switch ... that might not work so well as a firewall Apr 02 18:32:57 vagrantc: otherwise your best bet is a cheap dual-eth mini-itx board I'd say Apr 02 18:33:33 yeah. might be simpler. Apr 02 18:33:37 I could use an fm2 one if I can find it .. Apr 02 18:35:42 vagrantc: I've seen intel celerons with them Apr 02 21:50:47 hey everybody Apr 02 21:52:09 hey ayjay Apr 02 21:52:23 how are you epipe Apr 02 21:52:53 I am very well thank you. And you? Apr 02 21:53:42 doing great! just studying another engineering subject ill probably NEVER USE haha Apr 02 21:54:46 okey, what is that? Apr 02 21:55:15 digital integrated circuits, time response and iv characteristics of logic circuits on the wafer Apr 02 21:55:27 it's a good course, but i feel like it's a really specific application Apr 02 21:56:23 ok Apr 02 21:56:44 so that brought you here or? Apr 02 21:57:38 no i'm just here to hang out because the beagle is far and away my favorite thing Apr 02 21:57:48 ah :) Apr 02 21:57:55 I am new to beaglebone Apr 02 21:58:05 i hope you fall in love like i did Apr 02 21:58:19 but have used raspberry pi, arduiono stuff like that Apr 02 21:58:24 arietta g25 Apr 02 21:58:39 Yea I probably will Apr 02 21:59:03 I went for it because I needed multiple uart Apr 02 21:59:17 and PRU seemded interesting Apr 02 21:59:25 so for me, the beagle was my first introduction to embedded linux, so my love for embedded linux and beagle are meshed into one Apr 02 21:59:35 and yea :) I fall in love with any board Apr 02 21:59:36 and yeah, the PRU is AMAZING Apr 02 21:59:39 addicted Apr 02 22:00:14 that arietta form factor is very nice too Apr 02 22:01:14 yea it is Apr 02 22:01:52 do you work professionally with these systems? Apr 02 22:02:05 I went from buying bigger and better gaming pc's to buying smaller and smaller devices, that can run linux Apr 02 22:02:11 Yea some of them Apr 02 22:02:19 some allready paid off Apr 02 22:02:34 And BB I will use in my work Apr 02 22:02:37 on a boau Apr 02 22:02:40 boat Apr 02 22:02:57 thats why I need the multiple UART's Apr 02 22:03:13 wow that's pretty cool Apr 02 22:03:21 NMEA signals from gps and sattelite devices Apr 02 22:03:48 yea :) it started as a hobby tou. In Marine engineering school Apr 02 22:04:33 I actually had the beaglebone for two years before I opened up the TRM and really figured it out Apr 02 22:04:35 some guys got the Raspberry pi, that they used for media center. But I was more facinated of the GPIO Apr 02 22:04:45 ok :) Apr 02 22:04:47 BB is the best Apr 02 22:05:20 Yea, I have not really put it in use yet. But I will order anothe soon Apr 02 22:05:23 a black Apr 02 22:05:28 or green Apr 02 22:05:46 since I will use it in industry, maybe green is suitable Apr 02 22:06:22 But black is probably as good. Its a dry and warm place Apr 02 22:07:26 Currently got a white one. I bought it used on ebay Apr 02 22:07:45 I have not tested if it is all good yet Apr 02 22:08:00 I only have the black. I want to master it but I have to focus on my courses at the moment. I want to get a job related to these devices Apr 02 22:08:26 It's really cool that you can find use for these things at work, though Apr 02 22:09:00 yea, I cann allways find a project to use something like this in :) Apr 02 22:10:48 Sometime, in my freetime, I will make me a 3d printer, or CNC machine Apr 02 22:11:01 with BB as controller maybe Apr 02 22:13:14 I think the BB is perfect for real time tasks and easy of designing user interfaces Apr 02 22:13:26 yes Apr 02 22:13:32 agree **** ENDING LOGGING AT Sun Apr 03 02:59:58 2016