**** BEGIN LOGGING AT Fri Apr 08 02:59:58 2016 Apr 08 03:01:40 np Apr 08 06:47:58 ahh 4.1.18-ti-r55 and 4.1.18-ti-rt-r55 would have the same source code .. isnt it ? Just the compilation configuration is different . Am I right ? Apr 08 06:48:06 Though that depends on how 'rt' version in obtained ... using a PREEMPT_RT patch or the other approaches. Not aware of what is used for BB tree at github. Apr 08 06:48:30 also, I don't know how other approaches work .. Apr 08 06:56:01 should be possible to do a diff with the .configs .. Apr 08 06:56:20 although .. if the sources are different .. :/ Apr 08 07:21:37 Ohk .. Apr 08 07:22:33 veremit: where can i find the source of 4.1.18-ti-r56 kernel available as pre-compiled image here- http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Debian_Image_Testing_Snapshots ? Apr 08 07:23:09 ZeekHuge: allegedly they're on RN's github .. or the beagleboard.org/linux one .. sec .. Apr 08 07:27:40 ohk it seems like to get the source for 4.1.18-ti-r56 kernel, we'll have to take the kernels from RobertCNelson/ti-linux-kernel and apply this script https://github.com/RobertCNelson/ti-linux-kernel-dev/tree/4.1.18-ti-r56 Apr 08 07:27:44 is it so ? Apr 08 07:29:21 but the script clones from : https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git Apr 08 07:29:46 ahhh... all this is very confusing. Apr 08 07:30:08 one quick question, is the 3.8.13-bone79 kernel patched with the RT PREMPT patch ? Apr 08 07:31:07 elhe: nope. clue is in the name ;) Apr 08 07:32:26 so there is no 3.8 kernel with a rt preempt patch ? Apr 08 07:38:23 elhe: I am not able to find one. See this : https://github.com/RobertCNelson/bb-kernel/releases?after=3.13.5-bone5 , the kernel name with 'rt' in it are the one with the RT_PREEMPT patched. Apr 08 07:39:03 ZeekHuge: thank you, i will trry to compile this one Apr 08 09:54:12 looking at git@github.com:beagleboard/linux.git, I see plenty of tags which contain "ti" in their names, but no -bone tags for the 4.4.x kernel -- is the -ti suffix used these days? Apr 08 09:55:15 the 'ti' tag means that the main kernel used is the TI's kernel and, then some patches are applied to it. Apr 08 09:56:20 jkt: 'bone' tag means that linus's tree I used as the main kernel source and is then patched to get the required kernel. Apr 08 09:57:07 ZeekHuge: and -rt is the usual realtime patchset, I guess, right? Apr 08 09:57:58 yes .. the realtime kernels, obtained after RT_PREEMPT patch. Apr 08 09:58:32 ah, and rcn-ee's stuff apparently lives at RobertCNelson/linux-stable-rcn-ee Apr 08 09:58:33 * jkt pulls Apr 08 09:59:10 hello all. I've a customized system that boots from microSD. I flashed it to the eMMC but it does not boot: from serial console i can see this message: "Waiting for root device /dev/mmcblk1p2...". Can you help me to understand which is the problem? I tried many methods to solve as suggested in forums, but none worked. Apr 08 10:51:18 alfatau, could be your partitioning on the sdcard .. pastebin your boot msg Apr 08 12:15:59 Hi all, I am new to the Beaglebone. Very impressive hardware but the initial setup is not working as documented. I have an Ubuntu 16.04 laptop connected to USB3. I see the beaglebone mount point but I cannot login to http://192.168.7.2 or via ssh. I have tried both ways by unmount storage first and also without unmount. This is a BBB PcB Rev B6 from Element 14. How can I "login"? Apr 08 12:16:45 server_, did you open the webpage on the device and run the shell script to make the device symlinks? Apr 08 12:17:16 double click start.htm on the beaglebone 'drive' that's mounted, and there should be a shell script for linux to make the device entries. Apr 08 12:17:56 woo dodgy usb-gadget ftw lol Apr 08 12:18:04 * veremit facepalm Apr 08 12:20:24 crond, you mean mkudevrule.sh? Yes, I can see the file /etc/udev/rules.d/73-beaglebone.rules on my laptop correctly. I have also restarted the laptop. Apr 08 12:21:21 veremit, how to check usb-gadget? Apr 08 12:21:31 dmesg/lsmod good start Apr 08 12:22:04 The laptop is Ubuntu 16.04 beta 2 (need to use beta due to skylake support). Apr 08 12:22:25 os -shouldn't- matter .. Apr 08 12:22:47 but *everything* seems to be dodgy Apr 08 12:22:56 I never use usb .. always ethernet Apr 08 12:23:00 and dc power Apr 08 12:23:03 IPv6: ADDRCONF(NETDEV_UP): enxa0f6fd3cde7d: link is not ready Apr 08 12:23:20 brb Apr 08 12:23:41 I see the new interfaces cdc_ether, rndis_host, rndis_wlan. Apr 08 12:25:20 veremit, odd, usb works 100% for me, I've even flashed my emmc with only usb power Apr 08 12:25:48 I don't even have a 5v adapter for the barrel plug Apr 08 12:26:14 If I use the barrel plug, should I disconnect from usb? Apr 08 12:26:49 server_, shouldn't matter, but have you tried plugging in to ethernet and seeing what ip your router gives, and ssh to debian@your.bb.ip ? Apr 08 12:29:07 crond, let me find a router and test it... Apr 08 12:31:59 crond: I have flashed a bbb with usb-only .. but I don't hold my breath :) Apr 08 12:41:00 veremit, well, I used a 5v 1.5a phone power brick for the USB while flashing Apr 08 12:41:09 not a PC usb port Apr 08 12:41:20 fair enough :) Apr 08 12:43:17 I plugged BBB into a router and setup a 2nd laptop on the router. There is no external DHCP, does the BBB have it's own? Apr 08 12:44:01 How to find out the IP? Is it IP4 or IP6? Apr 08 12:44:10 :( Apr 08 12:47:05 Okay. I've got a Serial cape for the BBB. And it _receives_ data on RS485, and transmits on RS232 .. ( UART4 ) Apr 08 12:47:22 What the _fuck_ has gone wrong to cause something like that? Apr 08 12:47:28 lol classic. Apr 08 12:47:33 major configuration error :D Apr 08 12:47:59 Yeah Apr 08 12:48:16 I should probably rephrase the question: "where the fuck did something go wrong and how do I fix it" Apr 08 12:48:59 The RS485 toggles the RTS for sending properly, but the data seems to come on the RS232 ports ( by means of oscilloscope) Apr 08 12:49:20 I'm not really a hardware guy, so I haven't got _that_ much of a clue on what the fuck is going wrong here ;P Apr 08 12:49:28 server_, it should get an ipv4 ip from your router, I found my ip by logging into my router admin page and looking at the devices connected to it Apr 08 12:50:25 crond, damn... I got a switch.. not a router. Apr 08 12:51:01 server_, ahh. Apr 08 12:52:04 crond, I am connected via the switch and also via the usb port.\ Apr 08 12:52:25 any last thing to try out? Apr 08 12:53:41 well, I don't know if the rev c is on angstrom or debian, I only have a rev c, plugged it in, ran the .sh, had a connection and usb ethernet to the device. So i'm out of suggestions if you don't have a router to plug into sadly Apr 08 13:01:43 crond. I will try to make a usb0 interface... Apr 08 13:02:10 if not I need to buy a router and try again later. Apr 08 13:10:06 if the modules are loaded for gadget, what does lusb and ifconfig -a say?! Apr 08 13:11:50 hi there channel :-) nice to be back, cheeerss all :-) Apr 08 13:11:59 perhaps you need to manually force a dhcp on the usb0 interface .. seems odd though. Apr 08 13:13:01 soon it'll become time to break out the serial debug cable .. lol ... Apr 08 13:13:07 which is better for make a drone BBB, rapsberry pi 3 or odroid xu4? Apr 08 13:13:22 arduino or bb-blue :D Apr 08 13:13:53 any linux system is gonna be far too slow to respond Apr 08 13:19:43 terrasic deNano0 would be even better Apr 08 13:20:23 The laptop doesn't have g_ether module Apr 08 13:20:43 veremit, I'm trying to find it. Apr 08 13:40:33 think there might be a g_composite or something Apr 08 13:54:43 let me see if I can find a spare miniB usb lead and fire my 'spare' up ... Apr 08 13:54:51 elhe, terrasic deNano0... what's that? Apr 08 13:54:57 but first .. coffee. and food. Apr 08 14:12:27 elhe, you mean this => http://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&CategoryNo=165&No=941&PartNo=3#section Apr 08 14:26:27 * Spidler beats his head on the wall Apr 08 14:26:41 Why can't I get my fucking serial signals on the correct bloody PINS! Apr 08 14:31:47 Spidler, I wish I could solve that for you, believe me buddy!!!, relax.... and think about it steady steady Apr 08 14:32:05 no kidding Apr 08 14:32:08 It's just a bit frustration here. Apr 08 14:32:32 relax, buddy Apr 08 14:32:34 UART4 in RS485 mode.. RTS triggers as it should. Apr 08 14:32:45 Data _recieved_ comes in, and is understood (all clear) Apr 08 14:32:52 data _sent_ goes out on RS232 pins. Apr 08 14:32:59 I just can't make sense of it. Apr 08 14:33:57 is it BBB, Spidler? Apr 08 14:34:03 Mmmm. Apr 08 14:46:13 Spidler: what code are you using? can you post it anywhere? are you using a cape/overlay .. which version .. do you have a photo of your setup .. it could be something (1) totally unexpected (2) quite silly .. (3) both ;D Apr 08 14:47:53 veremit: Okay. Sure! Apr 08 14:48:30 currently it's a 8520 driver, I still have to get a build environment installed to try the omap-serial driver. That's my first one here. Apr 08 14:49:17 It's the cape-CBB-Serial-r01 cape, UART4, and the code is just a simple python hello world Apr 08 14:49:29 hmm .. don't hedge your bets too much on the 8250 with rs485 .. the timing of RTS doesn't quite match a proper TXEN signal (we use RS485 a *lot* at work) Apr 08 14:49:41 I don't care much about timing Apr 08 14:49:45 I don't even see _data_ Apr 08 14:50:00 As in, oscilloscope sees the RTS go high/low, but no traffic Apr 08 14:50:20 flow control? Apr 08 14:50:22 or lack of .. Apr 08 14:50:26 On the 3.8 kernel, with manual gpio RTS, it goes high /low, and I see traffic both ways Apr 08 14:50:39 I assume ... Mmm Apr 08 14:50:53 I see traffic incoming to the beagle Apr 08 14:50:58 But nothing when writing Apr 08 14:51:02 Even when RTS goes high Apr 08 14:51:16 And when I measure on the electrical part, I see the traffic on the RS232 headers .... Apr 08 14:51:17 you've turned flow control OFF I assume .. its a classic gotcha Apr 08 14:51:34 its probably got the wrong port numbering. have you tried changing it? Apr 08 14:52:01 or .. are there jumpers on that cape ... *googles* Apr 08 14:52:14 https://docs.google.com/document/d/1y0aKYqKd3_5HuzUvIepQmC5AjbFIqBlBak-Jtv0YB7Q/edit# <-- documentation Apr 08 14:52:45 I'm _assuming_ that I got the right port because when I try to send on it, RTS goes up Apr 08 14:52:55 And I see traffic the other direction Apr 08 14:53:00 Which means that I recieve data. Apr 08 14:53:02 Spidler: https://github.com/jadonk/cape-firmware/blob/master/arch/arm/boot/dts/cape-CBB-Serial-r01.dts looks like jkdridner's repo .. :D Apr 08 14:53:17 Spidler: don't assume anything lol Apr 08 14:53:22 Hahaha Apr 08 14:53:35 which modules do I need to get ethernet-over-usb? Apr 08 14:54:08 jkt: gimme 5 to find a lead and I'll see what pops up .. Apr 08 14:54:19 I thouth that it was either usbnet or cdc_ether, but they do not appear to work in 4.4.6-bone9 Apr 08 14:54:23 veremit: I don't know who jkdridner is, but yeah Apr 08 14:54:59 * veremit takes a deep breath and does the abominable ... Apr 08 14:56:37 jkt: https://bpaste.net/show/0a936420b928 on kernel 3.12.21-r1 Apr 08 14:56:54 Spidler: he's The Dude .. aka TI's Beagle Foundation dude. Apr 08 14:58:18 https://bpaste.net/show/e5dedb68915d <= no idea where the rndis_wlan comes from Apr 08 14:58:38 veremit: ah, cool :) Apr 08 14:58:41 it doesn't seem to be 'gadget' per-se for me .. its all gone rndis .. which means you need the Networking drivers Apr 08 14:59:07 veremit: https://paste.kde.org/p3q8pwqmg Apr 08 14:59:31 https://delog.wordpress.com/2012/05/02/enable-support-for-rndis-ethernet-devices-in-the-linux-kernel/ <= had to mine for that when I was trying to tether my android phone Apr 08 15:00:20 jkt: that's on my desktop PC side :P Apr 08 15:00:25 those* Apr 08 15:00:56 veremit: could you please tell me what /sys/class/net/usb0/device/driver points to? Apr 08 15:01:10 or, well, I could just as well remove the SD card, never mind :] Apr 08 15:01:38 and it generates a net i/f - enp0s18f2u1u3 Apr 08 15:03:08 jkt: this is all I get on my beaglebone .. https://bpaste.net/show/ab68a582519e Apr 08 15:05:56 okay, g_ether is the module Apr 08 15:06:44 https://github.com/RobertCNelson/tools/blob/master/scripts/beaglebone-black-g-ether-load.sh is apparently missing in this tiny image, okay Apr 08 15:07:38 and it *Just Works* ™ Apr 08 15:07:45 ah that old cookie :p Apr 08 15:14:54 anyone familiar with doing the debian netinst onto BBB? https://github.com/RobertCNelson/netinstall <- do i assume correctly, that you need video/keyboard for this? Apr 08 15:17:08 zykotick9: it won't work automagically like the Flasher uSD images, no ... Apr 08 15:17:48 you'll probably want a screen, keyboard, and worst-case-scenario a serial debug cable in the event that it all goes horribly wrong .. Apr 08 15:17:51 veremit: it doesn't setup ssh for installing then... Apr 08 15:18:02 veremit: thanks! that answers my question. Apr 08 15:18:15 zykotick9: I don't think he's automated it that far .. Apr 08 15:18:29 but I confess I've not used it myself Apr 08 15:18:37 only BBBlfs and uSD images Apr 08 15:21:40 on a element14 BBB, with the default debian image USB doesn't work at all! using the jessie image, and USB works fine. Apr 08 15:22:03 zykotick9: in a more accurate answer to your question .. I think you'd have to check what the netinstall image contains .. it doesn't look like RN's script has any reference to ssh .. Apr 08 15:24:29 veremit: i assumed keyboard/video would probably be required, thus i'm NOT surprised (was just being overly hopeful)... Apr 08 15:27:02 it does looks quite comprehensive (as I would expect from RN!) Apr 08 15:27:05 Okay Apr 08 15:27:09 I'm off, have a good weekend all Apr 08 15:27:22 laterz Apr 08 16:02:38 hello, how can a program run at beaglebone startup? Apr 08 16:03:42 add to /etc/init .. oh what's it called .. something local Apr 08 16:03:57 how about writing a systemd unit :) Apr 08 16:04:07 i run manually by "./myprog" Apr 08 16:04:14 mmmm systemd yes .. Apr 08 16:04:26 rc.local is a bit retro... Apr 08 16:04:27 i tried to put in /etc/rc.local Apr 08 16:04:36 but no t working' Apr 08 16:04:57 look at the journal Apr 08 16:05:16 also note that just dumping "./myprog" in rc.local won't work Apr 08 16:05:30 you'd either need to cd first or call by absolute path Apr 08 16:05:33 i will try etc/init now Apr 08 16:06:25 the proper thing would be to write a systemd service file Apr 08 16:07:19 where *would* we be without systemd to do everything for us!? :) Apr 08 16:08:02 they still haven't replaced the kernel with kerneld Apr 08 16:08:16 although I'm still waiting for systemd-takeoutthetrash to execute .. and systemd-dothedishes seems to have seriously broken .. Apr 08 16:09:10 * veremit blames poettering for the mould in the kitchen :( Apr 08 16:09:25 I blame rcn. He should have fixed those by now. Apr 08 16:09:57 yeah where IS rcn .. he's been slackin a lot lately .. has he changed job or moved house or had a kid or somethin ?!!! Apr 08 16:12:28 ok, thanks, calling absolute path works Apr 08 16:13:17 bear in mind a script doesn't know about PATH :) Apr 08 16:18:12 also make sure that rc.local actually exits with code 0 Apr 08 16:18:23 else systemd might kill it at some point Apr 08 16:19:22 easiest should be to append an ampersand to the line "/full/path/to/myprog &" Apr 08 16:28:06 wow! another problem: when i read a gpio input, it gives me a segmentation fault, what is it? Apr 08 16:29:15 That gpio isn't avaiable, or the memory mapped region used to read it isn't, or the user doesn't have access to same. Apr 08 16:31:52 tbr, hi there how are you? hope pretty well :-) Apr 08 16:32:17 yes, I was well, at least until a minute ago Apr 08 16:33:43 which boards to built a cool drone rapsberry pi 3, BBB 4gb, odroid xu4, terasic... what's your opinion tbr? Apr 08 16:34:16 someone adruino said Apr 08 16:34:17 bearboard Apr 08 16:34:39 what's url of that? Apr 08 16:36:52 http://bearboard.net/ Apr 08 16:40:37 so what would it be the first board to start with, then tbr? Apr 08 16:41:21 and build a cool drone Apr 08 16:41:28 NFC Apr 08 16:41:54 geeeesss stands for...? Apr 08 16:42:20 No ... Clue Apr 08 16:43:12 I know what you mean, anyway, cheeersss Apr 08 16:43:34 likewise Apr 08 16:47:14 * ogra_ would prefer the furry version ... beardboard Apr 08 16:49:17 bbl cheerrs Apr 08 17:09:45 found the reason, fprintf "%s" should be %d Apr 08 18:40:26 my little BBB is now hooked up to USB power on my DSL modem, and routing stuff for me to my PC. Apr 08 20:20:28 Spidler: 2. UART4 is shared between the RS232 converter and the RS485 driver, its function is selected with jumper Apr 08 21:07:11 tbr: bearboard looks like it is oshpark purple :) Apr 08 21:07:47 dunno, ask _av500_ Apr 08 21:08:06 ya.... was anyone else here just at ELC? Not always good at putting faces to nicks Apr 08 21:08:12 * pdp7 == Drew Fustini Apr 08 21:08:29 not me Apr 08 21:47:31 alexhiam: hi, this comes up every week or so when i'm doing adafruit support, python and debian 8.3 image with 4.1 kernel. I saw you have a linux 4.1+ roadmap issue in github for PyBBIO. do you have plans to do it this Spring? Apr 08 21:48:24 I'm not sure the path forward for adafruit_bbio beyond Linux 3.8, and it would be good to suggest an alternative to those that want python and the newer kernel Apr 08 22:04:11 hey jkridner .. what news of the blue? Apr 08 22:05:20 pdp7: why can't bbio be reworked for 4.x+ Apr 08 22:05:48 3.8 is considered ancient now .. although, much like 2.6 its likely to stick around .. rather like a bad smell or dark cloud lol Apr 08 22:19:14 yeah... adafruit_bbio could be reworked, but i'm not sure that anyone will do it the immediate future. it is something i had thought about doing but not sure how to implement without breaking backwards compat. Apr 08 22:19:51 alexhiam's PyBBIO is a better library in my opinion and is better Python code Apr 08 22:20:15 also alexhiam is awesome, so i was thinking he might get there first Apr 09 00:06:59 veremit: was traveling last 3 weeks. getting back to it soon. **** ENDING LOGGING AT Sat Apr 09 02:59:58 2016