**** BEGIN LOGGING AT Wed Jun 17 02:59:59 2015 Jun 17 03:21:11 I have many suggestions, but not for those who stick around that short. Jun 17 07:02:46 does BBB supports kernel version 4.1 Jun 17 07:03:21 hekko Jun 17 07:03:26 hello Jun 17 07:03:28 need help Jun 17 07:03:34 twid: yes, of course Jun 17 07:04:04 tbr: thanks Jun 17 07:04:18 I want to connect my BBB to the internet directly through the Internet port ( via DHCP ) and then look into it via USB from a linux machine through putty Jun 17 07:04:25 how do it do it ?. Jun 17 07:05:00 araru: that will depend on which linux distribution you are running on the device Jun 17 07:05:14 it is a out of box one Jun 17 07:05:25 so the flash has factory image Jun 17 07:05:30 by BBB is a REvB Jun 17 07:05:52 then the first order of business is to reflash it with an up to date debian image Jun 17 07:05:56 I want to do this so that I can get updates directly onto the board Jun 17 07:06:08 as it's a rev B you'll need to make sure to get a 2GB image Jun 17 07:07:38 uname -a gets me Linux beaglebone 3.8.13, armv71 GNU/Linux Jun 17 07:07:47 ok this @GB one is a new one ?. Jun 17 07:07:54 2GB one is a new one ?. Jun 17 07:07:55 http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#BBB_.28All_Revs.29_eMMC_Flashers Jun 17 07:08:25 board revision B has only 2GB eMMC, so you can't flash a 4GB rev C image to it, obviously. Jun 17 07:09:23 Ok Ok Jun 17 07:09:43 and then ? after I boot it up with the new image what do it do ?. Jun 17 07:09:58 I think the inbuild IP address would stay the same Jun 17 07:10:05 it will just work Jun 17 07:10:34 ho the dhcp would be enabled and it can fetch its adress over the IP cable directly?. Jun 17 07:11:22 if you edit the right files Jun 17 07:12:22 right files ?. the netwrok ones ?. Jun 17 07:12:25 woglinde: AFAIU it will do DHCP by default on eth0 while also the usb0 will be active, no editing necessary. Jun 17 07:12:58 ok let me try Jun 17 13:34:08 What would mouser call this: http://www.reichelt.de/Female-Connectors/BL-2X25G-2-54/3/index.html?&ACTION=3&LA=5&ARTICLE=6080&GROUPID=3221&artnr=BL+2X25G+2%2C54 Jun 17 13:34:23 female pin header Jun 17 13:34:39 female pin header, 2x25 Jun 17 13:34:50 Not breakaway style. Jun 17 13:34:55 yea Id call it that too Jun 17 13:34:58 what would MOUSER CALL IT? Jun 17 13:35:05 female pin header, 2x25 Jun 17 13:35:19 With 0.1" pitch. Jun 17 13:35:22 they dont stock it then... Jun 17 13:35:28 .1" is same as 2.54 correct? Jun 17 13:35:29 Not surprising. Jun 17 13:35:36 2x25 is pretty uncommon. Jun 17 13:35:40 azv4: Yes. Jun 17 13:35:46 http://www.ebay.com/itm/3pcs-2x40-Pin-2-54-mm-Dual-Row-Female-Pin-Header-/221377669864?pt=LH_DefaultDomain_0&hash=item338b232ae8 Jun 17 13:36:04 av500, that isnt right size Jun 17 13:36:08 so? Jun 17 13:36:12 they can be cut Jun 17 13:36:16 easily Jun 17 13:36:17 So picky. ;-P Jun 17 13:36:20 I do that all the time Jun 17 13:36:28 not sure I have anything around to cut that Jun 17 13:36:34 nothing? Jun 17 13:36:40 you live in the US? Jun 17 13:36:45 hmm, lighter and a knife! Jun 17 13:36:54 and a credit card Jun 17 13:37:12 since you can order from mouser Jun 17 13:37:13 yes I live in USA, else I would completed my http://www.reichelt.de/ order in the 3 minutes it took to make it Jun 17 13:37:33 instead I am 4 hours into trying to find same parts from this part list in America and its making me crazy Jun 17 13:38:38 azv4: http://www.mouser.com/Connectors/Headers-Wire-Housings/_/N-ay0lo?P=1ytkn06Z1z0z63xZ1z0wxp6Z1yzv7x1Z1z0wv1v Jun 17 13:38:51 Seriously, took me all of like a minute to drill down to them. ;-P Jun 17 13:39:13 seriously I failed for 10 minutes on this item alone Jun 17 13:39:26 I do appreciate your effort Jun 17 13:39:31 YOu might need some practice using part filters then. Jun 17 13:39:35 No problem./ Jun 17 13:39:36 $5.31 each.,.. I hope they are good in bed Jun 17 13:39:45 azv4: hence my ebay link Jun 17 13:39:49 Hey, you are the one looking for super-rare parts. Jun 17 13:40:04 rare? Jun 17 13:40:15 yea Im trying to figure out why this is considered rare Jun 17 13:40:20 its not Jun 17 13:40:59 anyway, get 2x24 and cut Jun 17 13:41:04 er 2x40 Jun 17 13:41:08 how about this one? SL 1X40G 2,54 Jun 17 13:41:19 1x? Jun 17 13:41:22 almost Jun 17 13:41:30 I need one of those too Jun 17 13:41:30 SL 1X40G 2,54 Jun 17 13:41:37 1x40 Jun 17 13:42:06 This is what the part list calls for: 1-row SIL Headers (9 pins required) reichelt.de park# SL 1X40G 2,54 Jun 17 13:42:59 ahh nevermind, I can get those anywhere Jun 17 13:43:06 in fact I have some already Jun 17 13:43:26 dont we all? :) Jun 17 13:43:40 you can always steal them from your arduino Jun 17 13:43:51 some of these Mouser prices seem crazy high Jun 17 13:44:09 they want 2.18 each for 40 pin SIL each? Jun 17 13:44:09 yes Jun 17 13:44:31 I paid $8.50 for 20 of them I think Jun 17 13:45:02 I paid $2.40 for 10 Jun 17 13:45:31 Mouser is not the cheapest source of parts. Jun 17 13:45:32 nice, mouser markup? 10000%! Jun 17 13:45:46 hmm, maybe I should take 4 hours to do this cart on another site Jun 17 13:45:54 correction, I paid $1.55 Jun 17 13:46:04 for 10 Jun 17 13:46:22 http://www.ebay.com/itm/251463905682 Jun 17 13:46:51 hmm, not sure I need male or female Jun 17 13:46:52 azv4: You use Mouser or Digikey or the like because they have nice interfaces, sell good products, and sell the same product every time you order the same part number. *Not* for cost. Jun 17 13:46:56 better take a closer look Jun 17 13:47:07 If you want to save money, use eBay. Jun 17 13:47:12 agmlego: and have one of each Jun 17 13:47:16 But caveat emptor. Jun 17 13:47:59 the risk of losing $1.55 is small Jun 17 13:48:26 http://www.ebay.com/itm/12PCS-New-Multicolor-2-54mm-1-40Pin-Male-Single-Row-Pin-Header-for-Arduino-DIY/261828426180 Jun 17 13:48:49 oooo, multi colored! I like! Jun 17 13:48:55 :) Jun 17 13:49:54 estimated delivery: sometime in 2015, maybe 2016! Oh well, they usually pretty fast shipping from CHina these days it seems Jun 17 13:50:06 I get ~2-3week these days Jun 17 13:55:42 now I just need to find a resistor network, 1kohm, 4+1common Jun 17 13:56:22 what are you building? Jun 17 13:56:32 azv4: smd? Jun 17 13:56:42 is SIL the same as DIP, Radial SIP? Jun 17 13:56:56 Single In Line, through hole Jun 17 13:57:00 I think that is what I need Jun 17 13:57:10 Yeah,. SIL != DIP Jun 17 13:57:10 so use 4 normals resistors Jun 17 13:57:22 and solder a wire across and into pin 5 Jun 17 13:57:22 http://www.reichelt.de/4-Resistors-5-Pins/SIL-5-4-1-0K/3/index.html?&ACTION=3&LA=5&ARTICLE=17670&GROUPID=4496&artnr=SIL+5-4+1%2C0K Jun 17 13:57:39 Im such a noob, Id probably screw it up Jun 17 13:57:48 wire across the grounds? Jun 17 13:57:52 err the -? Jun 17 13:58:00 azv4: YOu know what the polite thing to do is, now that you have done all this work? Jun 17 13:58:09 http://www.cpcwiki.eu/imgs/thumb/b/bd/DIYNR101.jpg/300px-DIYNR101.jpg Jun 17 13:58:15 azv4: ^^^ Jun 17 13:58:23 azv4: Send an email to the project maintainer with the Mouser part numbers, as a crossreference. Jun 17 13:58:35 agmlego, I am compiling that list Jun 17 13:58:45 agmlego, and it will be added to the project detail website Jun 17 13:58:47 what are you building? Jun 17 13:58:49 Great. Jun 17 13:58:55 assuming I can find all of the right parts! Jun 17 13:58:58 MidiBox Jun 17 13:59:05 MidiBoxNG Jun 17 13:59:15 http://ucapps.de/ Jun 17 13:59:28 ah Jun 17 14:02:46 so what does a resistor network do? provide variable resistance depending on which - pin is addressed? Jun 17 14:03:04 It can. Jun 17 14:03:06 is there a + and - on resistors? Jun 17 14:03:13 can they go either way? Jun 17 14:03:18 Or it can literally be just a package with a bunch of individual resistors. Jun 17 14:03:26 azv4: Resistors are not polarized. Jun 17 14:03:32 ok thanks Jun 17 14:06:40 Does this: http://www.ebay.com/itm/50-PCS-A05-102G-SIP-5-A-102G-1K-ohm-1KR-4-Commoned-Resistor-Network-Array-5-PIN-/291175323318?pt=LH_DefaultDomain_0&hash=item43cb66d6b6 Jun 17 14:06:51 look the same as: http://www.reichelt.de/4-Resistors-5-Pins/SIL-5-4-1-0K/3/index.html?&ACTION=3&LA=5&ARTICLE=17670&GROUPID=4496&artnr=SIL+5-4+1%2C0K Jun 17 14:07:46 SIL resistor networks do have a specific orientation Jun 17 14:07:51 True. Jun 17 14:09:07 Any thoughts on above links? Jun 17 14:11:21 azv4: Not at this time, no. Work, you know. Jun 17 14:11:31 azv4: same Jun 17 14:11:44 I think I found the right thing Jun 17 14:11:49 but as said, you can just solder 4 1k resistors Jun 17 14:11:58 av500, not sure I trust myself yet on that one Jun 17 14:12:03 if you just need a few... Jun 17 14:12:28 I can probably do it right, but just not confident enough yet because I don't understand the exact signal path and whatnot, I know its simple, but Im soooo new Jun 17 14:13:27 well, you can practice Jun 17 14:13:34 you need to buy a multimeter anyway Jun 17 14:13:39 to check what you are doing Jun 17 14:13:44 I have one Jun 17 14:13:51 so you can easily measure what you did Jun 17 14:13:52 but I dont know how the array should behave Jun 17 14:13:56 well Jun 17 14:14:07 its 1k from the common point Jun 17 14:14:11 this project tells me what to do, but not what Im doing Jun 17 14:14:20 then an additional 1k for each pin I move over? Jun 17 14:14:36 http://www.talkingelectronics.com/projects/Testing%20Electronic%20Components/images/ResistorNetwork.gif Jun 17 14:14:41 not additional Jun 17 14:14:47 see the upper image Jun 17 14:14:59 http://www.cpcwiki.eu/imgs/thumb/b/bd/DIYNR101.jpg/300px-DIYNR101.jpg Jun 17 14:15:01 or this Jun 17 14:15:45 so its just another way to wire up multiple resistors to save space? Jun 17 14:16:03 Yes. Jun 17 14:16:23 yes Jun 17 14:17:07 azv4: where are the schematics to what you are building? Jun 17 14:17:37 http://ucapps.de/ Jun 17 14:17:54 there are many schematics there Jun 17 14:18:11 well it wont let me link to the direct image, not sure why not Jun 17 14:18:25 bad web design Jun 17 14:18:29 somebody was too clever Jun 17 14:18:33 frames I think Jun 17 14:18:37 MBHP_CORE_STM32F4_V1 Jun 17 14:18:41 I guess Jun 17 14:18:57 http://ucapps.de/mbhp/mbhp_core_stm32f4_fheaders.jpg Jun 17 14:19:24 there is no reason to use that array there Jun 17 14:19:30 on such a huge board Jun 17 14:19:40 or to buy 50 to get one Jun 17 14:20:40 somebody was too clever again Jun 17 14:32:09 I found someone selling 15 of them for $2 Jun 17 14:32:28 I'm making 30 of these boards, so I want them to be as neat and clean as possible Jun 17 14:32:57 well the initial batch is only 5 Jun 17 14:33:26 but I want to do 30 next round Jun 17 14:45:46 ah Jun 17 15:05:53 looks like total cost per unit is going to be around $50 Jun 17 15:05:56 not to bad Jun 17 17:43:34 rcn-ee: I noticed that connman doesn't play well with the micro usb g_ether Jun 17 17:44:10 I see your boot script uses ifconfig to set the IP adrress and run a dhcp server Jun 17 17:45:11 connman offer both of these, so I tried to set it up. my problem it that the USB0 device keeps getting different MAC addresses Jun 17 17:45:15 cityLights, it's changed a lot this last week.. Jun 17 17:45:34 https://github.com/RobertCNelson/boot-scripts/blob/master/boot/autoconfigure_usb0.sh Jun 17 17:46:14 usb0 should get the mac from the spare mac address in eeprom: Jun 17 17:46:41 host_addr=${cpsw_1_mac} | Jun 17 17:47:15 yet I tested and it keeps getting different address Jun 17 17:47:20 there's a backup value now too: https://github.com/RobertCNelson/boot-scripts/blob/master/boot/am335x_evm.sh#L93 (the tre was having issues) Jun 17 17:49:07 can you please check that the mac changes every boot? Jun 17 17:49:38 cityLights, wait.. https://gist.github.com/RobertCNelson/28571b0f8efebe8882f2 Jun 17 17:49:54 this is what your running into.. usb0 on the "bbb" is random... Jun 17 17:52:26 cityLights, how should we calculate "dev_addr" ? Jun 17 17:52:35 was this fixed? is it a known issue? Jun 17 17:53:16 cityLights, issue, you should turned the flash light on.. ;) Jun 17 17:53:42 updated: https://gist.github.com/RobertCNelson/28571b0f8efebe8882f2 ... so... should we just +1 host_addr for dev_addr??? Jun 17 17:54:57 maybe just invert the last nibble? Jun 17 17:55:10 ok, please tell if I can be of any help Jun 17 17:56:01 also, I am working with the connman maintainer to allow a better solution to the access point configuration I wrote Jun 17 17:56:09 cool! Jun 17 17:57:11 he already introduced a fix to spin-up the access point on a second device , while wlan0 is connected to the home network Jun 17 17:57:58 I hope we can solve the g_multi issue with udev and connman as dhcp server Jun 17 18:01:02 cityLights, quick hack: https://github.com/RobertCNelson/boot-scripts/commit/f9d312a7c51eb8ea25fc67304cfd47b208ee4afd Jun 17 18:02:18 wow rcn-ee you wrote a lot of lines with the new autoconfig usb0 Jun 17 18:03:04 lets test it Jun 17 18:03:21 nope, that's all Per Dalgas Jakobsen's work... now you can change the usb0 default addres from /etc/network/interfaces ... Jun 17 18:11:04 what is Dalgas Jakobsen role? what is he building? Jun 17 18:12:57 SOLVED Jun 17 18:13:00 thanks Jun 17 18:13:12 I ment the mac is constant Jun 17 18:13:24 so connamn can handle it now Jun 17 18:14:39 he just didn't like the hardcoded usb0 ip address.. ;) Jun 17 18:14:58 ok, I will send a file we need to add to have connman deal with it, then we wont need dnsmasq and we wont have subnet collisions Jun 17 18:15:10 is he here? Jun 17 18:15:17 this all so fresh to me Jun 17 18:16:38 i don't think he's been on irc before... he just sent me a patch last week to dynamcily update usb0's configuration.. over a few emails it ended up with that massive patch. ;) Jun 17 18:19:07 well, how should I say this... connman does all of it.... Jun 17 18:19:12 and udev Jun 17 18:37:25 rcn-ee, that hard-coded address is *** if you should want more than one beagle plugged in at once .. and why not?! Jun 17 18:43:42 stt_michael, agree 100%... Jun 17 18:44:45 i started looking into xor'ing the last 2 digits, turns out that's a pain and cycle wastish.. so i'm just going to check the last digit and have 3 options, 0, 1, 2 on has to not match.. Jun 17 18:49:45 stt_michael, little nasty: https://gist.github.com/RobertCNelson/28571b0f8efebe8882f2#file-solution but it should work. ;) Jun 17 18:50:08 remember only the bbb, see's dev_mac... Jun 17 18:50:51 and that sorts out getting dhcp right too .. or is cityLights on that too :D Jun 17 18:51:24 yeap, it still helps cityLights as it's static... Jun 17 18:52:06 (the mac address's are hardlocked at ti's factory, so it would take a lot of work to have them change randomly..) Jun 17 18:52:51 yeahno Jun 17 18:53:10 OMFG .. I just 'saved' a 16Mb PDF to /dev/null from thunderbird .. Awesome lol :D (intentionally!) Jun 17 18:53:46 I shall remember that to keep my 'sent items' under control :) Jun 17 18:54:19 ok time to gtfo ;) Jun 17 18:54:26 bbiab Jun 17 18:55:32 stt_michael, cityLights one more mac change.. https://github.com/RobertCNelson/boot-scripts/commit/38c0372a567cf0d4a3c3cee0770b360e4358ea19 Jun 17 18:55:37 i think we are golden now.. Jun 17 19:36:26 rcn-ee : looks promising :) Jun 17 19:43:59 veremit, rcn-ee: where are you using the cpsw macs now? Jun 17 19:44:08 USB? Jun 17 19:44:29 is this somehow fixing the IP address conflict too? Jun 17 19:44:49 (from the fixed DHCP host contents) Jun 17 19:44:56 jkridner, we actually need 3 mac's.. with this change, dmesg | grep -i mac Jun 17 19:45:01 will be constant between reboots.. Jun 17 19:45:15 that's good. Jun 17 19:45:18 the third mac is the usb0 from the bbb (we pass cpsw1 to the host on the usb end..) Jun 17 19:45:24 oh, right. Jun 17 19:45:51 where is the 3rd one coming from? Jun 17 19:45:52 it had always been random, but cityLights work with connman needs it constant.. Jun 17 19:46:20 xoring? Jun 17 19:46:21 i'm just checking the last character of the efuse values, and setting it 0, 1, or 2.. Jun 17 19:46:30 xorging was lookign to be too slow... Jun 17 19:47:06 just appending? Jun 17 19:47:18 last byte? Jun 17 19:47:27 yeap, cutting the last digit off and appending a value not used.. Jun 17 19:48:27 ok, so leaving the ones there and with 3 options, one of them will be unique. Jun 17 19:48:46 and predictable. Jun 17 19:48:47 correct.. (i assume the mac-prefix will be the same of course. ;)) Jun 17 19:49:25 even if not, the other ids can only consume 2 of 0, 1 and 2. Jun 17 19:49:50 nice. Jun 17 19:50:22 Tre should be able to use this too, no? Jun 17 19:50:31 it does. ;) Jun 17 19:51:17 the tre posted here: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#2015-06-15 is mapped to the same boot script as the bbb.. Jun 17 19:51:32 brb, home -> work... Jun 17 19:51:47 btw, why is the script using 3.14 if we are jumping from 3.8.x to 4.1? Jun 17 19:52:39 seems like we still have to support new boards, etc. with 3.8 until the jump to 4.1 is complete. thought we were jumping over 3.14 for now unless a real need arose (like USB fixes). Jun 17 20:01:33 jkridner, just moved it to 4.1 this morning.. fixed the eMMC flashing bug... Jun 17 20:01:50 cool! Jun 17 20:01:57 are you ready for the overlay img tester image? Jun 17 20:02:01 I will make sure the default is 4.1 as well Jun 17 20:02:18 "overlay img tester image"? Jun 17 20:02:43 for the build boot, img -> bank of bb's with capes attached. ;) Jun 17 20:03:03 rcn-ee: switched default to 4.1. :-) Jun 17 20:03:32 I started gathering the boards today, but haven't quite figured out how I want to network or flash them. Jun 17 20:03:56 Seems it needs to scale... Jun 17 20:04:14 I need to pay attention to a call right now, but will get back on that. Jun 17 20:04:23 well, the bbb+ 4 port relay would give you 4. ;) Jun 17 20:15:11 heh Jun 17 20:38:17 rcn-ee: remind me what the bbb+ 4 port relay is. Jun 17 20:38:59 it's the relay cape. ;) 4 relay's... Jun 17 20:40:12 with a 4 port hub, you could have one bbb, flashing up to 4 bb's over usb... Jun 17 21:47:32 rcn-ee .. so 4 relays to control power, and 4 usb's to program? Jun 17 21:48:01 once you've done 4.. you can then program 16 by the same method :D Jun 17 21:48:29 and 4 poor, ftdi's for serial logging, so we'd need an 8 port hub... and this all over musb... what could go wrong? ;) Jun 17 21:49:04 hahaha Jun 17 21:53:31 rcn-ee: ok, now to spend 10 minutes looking at how to wire up all these Bones. Jun 17 21:53:50 oh, the relay cape. Jun 17 21:54:21 I do have a handful of those.... don't really want to buy a bunch of hubs... Jun 17 21:55:02 we might be able to redirect the kernel log over usb... Jun 17 21:55:20 I wonder if I can power every so many boards and just go from USB to USB and "trust" them to boot. (using dmesg to catch the output) Jun 17 21:55:20 err wait, usb would provide power... Jun 17 21:55:36 yeah, we'd only get a boot log on success... Jun 17 21:55:50 but, I could likely put the boards with the simplest capes up front.... Jun 17 21:55:54 and just go down the line. Jun 17 21:56:06 but, I'd need a way to power cycle the USB on the BeagleBone.... Jun 17 21:56:18 I thought that might have been possible. Jun 17 21:56:33 * jkridner takes a quick look at the schematic. Jun 17 21:56:35 err wait, let's cut a usb cable, run the 5volt thru the relay cape. ;) Jun 17 21:57:01 usb-flashing and usb-console (we coudl append console=/dev/ttyUSB0 and get the serial boot) Jun 17 21:58:22 well, that still won't have the log unless it is successful in booting the kernel, so why not use 'dmesg'? Jun 17 21:59:08 because there are so many capes, the daisy-chain solution really appeals to me vs. needing N relay capes. Jun 17 21:59:17 I do have 8 of those capes though. Jun 17 21:59:30 wouldn't look forward to modding the cables. Jun 17 21:59:54 it would be the simplist, as only one cape per test device... Jun 17 22:00:03 one 'cable'.. Jun 17 22:00:35 USB1_DRVVBUS controls power to the USB device. Jun 17 22:01:33 * jkridner looks up "TPS2051" Jun 17 22:02:15 GPIO3_13 drives USB1_DRVVBUS Jun 17 22:04:41 o,o Jun 17 22:09:00 jkridner: heh, on the BBB, how many endpoints are supported by the musb OTG controllers? Jun 17 22:56:29 what shift are you on now, rcn-ee ?! Jun 18 02:45:48 whew, ok, crash course in USB booting complete. Jun 18 02:46:17 had no SD card handy so I had to write a debian 8.1 image to USB stick, boot, then try to copy it all over. was successful after the 3rd attempt or so :) Jun 18 02:46:59 sometimes that's the best kind of course ;) Jun 18 02:48:04 yep yep you never learn things by doing it the easy way :) **** ENDING LOGGING AT Thu Jun 18 02:59:59 2015