**** BEGIN LOGGING AT Mon Apr 04 02:59:58 2016 Apr 04 03:01:11 this is ESPECIALLY bad on embedded Apr 04 03:01:16 where it's making changes we aren't explicityl wanting Apr 04 03:01:33 yup Apr 04 03:01:35 because if it's rekilling wifi after it's explicitly started Apr 04 03:01:39 that's an unautorized change of state. Apr 04 03:01:57 that's how you get effluent flowing down the walls of cruise ships Apr 04 03:02:28 hey the system should reset and shut down all the flow control valves Apr 04 03:02:33 wait, why did all the toilets back up? Apr 04 03:03:03 yeah somehow I don't think our friend poettering cares about that .. its "intentional" .. Apr 04 03:03:15 no wonder people are taking contracts out on his life Apr 04 03:03:20 I've half a mind to collect on one Apr 04 03:03:27 pig headed moron .. just like some presidential candidates *snicker* Apr 04 03:03:34 some? Apr 04 03:03:35 all. Apr 04 03:03:57 I was erring on the side of caution .. lol .. all politicians are corrupt Apr 04 03:04:05 its in the job desc. Apr 04 03:04:35 something to do with being born into a wealthy family Apr 04 03:04:43 why can't I at least manually save state for wifi? Apr 04 03:04:47 or just being a money-grabbing git. Apr 04 03:04:54 Ic an't even figure out what to tell systemd-rfkill to save Apr 04 03:05:13 =) Apr 04 03:05:14 uhm .. I think there is a *way* .. I just don't know what it is .. Apr 04 03:06:12 I don't care if the state ever changes again Apr 04 03:06:21 since systemd-rfkill@.service isn't SAVING state Apr 04 03:06:31 I just need it to get it to load an enabled state Apr 04 03:09:07 I can't even blacklist rfkill Apr 04 03:09:36 lol Apr 04 03:10:59 * trelane idly considers what one of his 500gr 458 SOCOM rounds would do to Poettering's face. Apr 04 03:13:14 right now the whole BBB platform is pretty useless if it can't sustain a wifi connection. Apr 04 03:14:33 trelane: try https://groups.google.com/forum/#!msg/beagleboard/4FXi2-zq7Zw/NmeZfTCRBgAJ / Apr 04 03:15:17 yea I recall something about networkd Apr 04 03:15:33 ugh leave me with openrc and [e]udev Apr 04 03:15:48 even sysvinit is tolerable Apr 04 03:16:25 veremit, yeah I've read that, it doesn't work here Apr 04 03:16:37 I'd considered jumping in but the thread is 4 months old Apr 04 03:17:59 http://madscientistlabs.blogspot.co.uk/2015/01/wifi-on-beaglebone-black-with-systemd.html ? Apr 04 03:18:05 soooo many stupid gotchas Apr 04 03:27:43 trelane: if you can hang around and not tear ya hair out too much, rcn-ee is usually here during the week to probe .. :D Apr 04 08:08:43 Hi, I'm looking for the frequency range of the SPI clock of the beaglebone black. Does anyone know what this frequency range is or where I can find it? Apr 04 08:11:42 Designer, i guess u can find it in TRM, chapter 24.2 Apr 04 08:16:22 Guys, why if i enable the IEP counter, my GPIO stop receive bits? Apr 04 08:20:10 Switching from iep_clk to ocp_clk is only supported in software. Switching back from ocp_clk to iep_clk is only supported through a hardware reset of the PRU-ICSS...dumb Apr 04 08:21:25 It is not Apr 04 09:35:11 Does anyone know if there is a GPIO C/C++ library for the BBB similar like the python rpi.gpio library for raspberry pi Apr 04 09:44:25 elhe1: libsoc Apr 04 09:44:45 thanks Apr 04 09:58:56 hello all. I've a bootstrap problem to debug, that happens very rarely. Is there some way to increase the verbosity of bootstrap logs (e.g. on /var/log/message or /var/log/syslog)? Apr 04 11:39:06 hi! Apr 04 11:43:19 hey Apr 04 11:56:47 hi there channel Apr 04 12:02:10 I've got a BBB it came with angstrom distro I've flashed eMMC the other day with jessie but I only have or appears the console. Are there any options or ways to installed it with a desktop environment just in eMMc Apr 04 12:04:31 I have flashed with BBB-eMMC-flasher-debian-8.3-console-armhf-2016-03-11-2gb.img but only a console appears Apr 04 12:06:20 are there a flasher image with desktop environment? Apr 04 12:07:57 izurd16: https://debian.beagleboard.org/images/ Apr 04 12:08:01 izurd16: those who don't have the "console" word in the name, but maybe lxde :-) Apr 04 12:08:11 you probably want https://debian.beagleboard.org/images/bone-debian-8.3-lxqt-4gb-armhf-2016-01-24-4gb.img.xz Apr 04 12:08:41 jessie + lxqt Apr 04 12:11:55 alexhiam: but that image can't store in eMMc or what? Apr 04 12:13:10 izurd16: any debian image can be flashed to the emmc now - you have to first boot off the sd card and enable the flasher script... Apr 04 12:13:26 see Robert's last post here: https://groups.google.com/forum/#!topic/beagleboard/a5K7wqjLsA8 Apr 04 12:14:17 then do the same flashing process Apr 04 12:14:34 alexhiam: mine is Rev A5C Apr 04 12:15:50 izurd16: ohh, so 2GB eMMC then... I don't think there's a non-console image that will fit Apr 04 12:16:13 you'd have to start with the console image and install a lightweight desktop yourself Apr 04 12:16:40 or just use that image and boot from the sd card Apr 04 12:18:19 alexhiam: will fit in 2GBeMMc lightweight desktop lxde for instance Apr 04 12:19:38 izurd16: not sure, you'd have to try it and see. Any reason you don't want to boot off the sd card? Apr 04 12:22:19 alexhiam: new generation bbb what's size of eMMc has? the reason keep the sd card slot for store extra data Apr 04 12:22:30 4GB Apr 04 12:22:57 right... it doubles Apr 04 12:24:08 any suggestions for my bbb 2gb emmc memory for what purpose for instance Apr 04 12:25:10 alexhiam: could make a drone? Apr 04 12:26:51 I always just boot off sd cards. If you run the grow_partition.sh script you'll have lots of space: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Expanding_File_System_Partition_On_A_microSD Apr 04 12:31:02 alexhiam: boot it right now. it booted from sd card debian jessie lxqt desktop but if I boot without sd card it's the console debian jessie without desktop Apr 04 12:33:19 alexhiam: I don't know how to do that with *.sh script you mentioned Apr 04 12:33:52 which? grow_partition.sh? Apr 04 12:34:21 that's right, alexhiam Apr 04 12:34:50 just run those commands from that link Apr 04 12:36:09 alexhiam: from http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Expanding_File_System_Partition_On_A_microSD Apr 04 12:37:27 yeah Apr 04 12:37:36 alexhiam: see what's happen... one minute please Apr 04 12:37:44 it just grows the partition to fill the sd card Apr 04 12:38:57 but right now I've booted from sdcard Apr 04 12:39:18 alexhiam: doest't matter? Apr 04 12:39:28 yeah, you want to boot from the sd card, run those commands then reboot Apr 04 12:39:47 all right Apr 04 12:45:42 done it alexhiam Apr 04 12:47:22 alexhiam: what about if I boot it without sdcard Apr 04 12:48:20 it'll just boot whatever's on the emmc Apr 04 12:50:29 alexhiam: so what image do you suggest for emmc the old ones Apr 04 12:51:15 alexhiam: sorry to repeat the same question :-( Apr 04 12:54:26 izurd16: idk, I don't really use the emmc, but I'd sa the console image if it needs to fit in 2GB Apr 04 12:57:22 alexhiam: what I really got with this BBB rev A5C? Apr 04 12:59:30 what do you mean? If 2GB isn't enough just boot from the sd card. for many applications 2GB with a console image is fine Apr 04 13:00:07 alexhiam: can I flash the emmc as much as I what? Apr 04 13:01:02 alexhiam: what i can do with this BBB? Apr 04 13:02:06 it'll wear out eventually, but you can probably flash it around 10 thousands times ;) Apr 04 13:03:23 whatever you want... there's plenty of projects out there, check out http://beagleboard.org/project/ and https://hackaday.io/list/3562-beaglebone-projects Apr 04 13:04:51 alexhiam: even with my BBB? Apr 04 13:05:09 you mean because it's got a 2GB eMMC?? Apr 04 13:05:22 I've got plenty of the 2GB ones, you'll be fine :) Apr 04 13:05:55 alexhiam: teah that's right Apr 04 13:06:00 The default images are a tad bloated, even the console one, so there's a fair bit you can cut to clean out things. Apr 04 13:06:38 alexhiam: teah = yeah sorry Apr 04 13:06:39 And if you feel _really_ creative you can build a Read-only squashfs image and have the whole system + webserver in < 200 megs of flash, giving you 1.8 Gigs of free space to play around with. Apr 04 13:07:30 and like I said, if it's not enough space you can boot from the sd card. If you have a 16GB sd card and you run that grow_partition.sh script then you'll have 16GB to play with Apr 04 13:07:37 and you can keep all the bloat :P Apr 04 13:07:42 Heh. that too! Apr 04 13:08:03 alexhiam: I've got one here where the SD card slot is faulty, that one is trickier to reflash :) Apr 04 13:08:13 ( I've got a lot of beagles. ) Apr 04 13:08:26 you use the usb flasher for that? Apr 04 13:08:46 I put it in a cabinet and pretend it doesn't exist Apr 04 13:09:01 is it faster than a Pentium 4- 500 mb ram? Apr 04 13:09:23 Faster per watt? Guaranteed. Apr 04 13:09:46 Faster otherwise? Depends on the operations. the P4 had a very long pipeline that did some interesting things to get that performance Apr 04 13:09:58 P4 clocked up at ~3 GHz speed which is quite impressive Apr 04 13:10:13 ( some of them clocked up past 4GHz, which was just excellent space heaters ) Apr 04 13:10:48 I got a laptop pentium 4 running wheezy as a webserver Apr 04 13:10:54 ssh dist Apr 04 13:10:57 Sorry, wrong window. Apr 04 13:11:36 time for lunch bbl Apr 04 14:41:34 alexhiam: are you there' Apr 04 15:01:14 izurd16: Did you flash your emmc ? Apr 04 15:17:30 hello all. I would like to print some messages on serial console during boot. I've a systemd service which executes a script where i print some messages using systemd-cat. however it appears only in log files and not on serial. I need these logs when filesystem mount fails. Actually i'm saving messages through serial to file. can you help me? Apr 04 15:25:49 hello, Is it possible to set the CPU frequency of the bbx15 board at boot? I would like to start the boot sequence at the lowest cpu frequency possible. Apr 04 15:37:03 alfatau: and where are you writing those messages to with this systemd-cat thing? Apr 04 15:37:36 alfatau: you could pastebin or gist your script so that it can be inspected, else it's just random guessing Apr 04 15:42:55 hi there channel Apr 04 15:43:16 tbr: ok, this is the service called "lynda9project.service" Apr 04 15:43:35 tbr:http://pastebin.com/MJKPtbYm Apr 04 15:43:54 running jessie on my computer how can I recognize BBB by usb Apr 04 15:44:15 alfatau: content of /home/lynda9/run_project.sh is? Apr 04 15:44:22 tbr: this instead is the script run_project.sh Apr 04 15:46:41 tbr: http://pastebin.com/w9AamGjk Apr 04 15:48:14 dirkk: yes Apr 04 15:48:30 tbr: i want to see these messages not only on /var/log/syslog but also on serial console, in order to redirect the whole output onto a text file that contains logs even when boot fails and fs is not mounted Apr 04 15:48:38 sorry for me delay dirkk Apr 04 15:48:54 dirkk: are you there? Apr 04 15:49:40 alfatau: I'd redirect STDERR and STDOUT Apr 04 15:51:05 tbr: ok. and where would you redirect them? Apr 04 15:51:37 tbr: actually I can see only the message corresponding to service description Apr 04 15:51:59 to /dev/console? Apr 04 15:52:41 there might be a cleaner way, but I'm not versed in systemd Apr 04 15:52:55 as this is just brute force Apr 04 15:55:02 tbr: ok, thank you Apr 04 15:56:31 alfatau: by the looks of it, it might be enough to increase the log level Apr 04 15:56:38 you are using 'info' Apr 04 15:57:26 tbr: ok, and where can i increase the log level? Apr 04 15:57:39 tbr: do you mean in my script? Apr 04 15:58:00 man systemd-cat Apr 04 16:00:04 second step it's not on green what should I do? Apr 04 16:00:56 which the driver Apr 04 16:01:12 I mean which is the driver Apr 04 16:04:57 how do I install the driver in debian linux jessie Apr 04 16:08:30 izurd16: are you running jessie on your laptop/desktop PC? Apr 04 16:29:50 tbr: yeah Apr 04 16:30:26 tbr: are you there? Apr 04 16:30:28 then you don't need to install any special drivers to work with a BBB Apr 04 16:30:34 impatient, aren't we? Apr 04 16:30:47 you right Apr 04 16:31:16 second step it's not on green though Apr 04 16:32:49 tbr: first step ok it's in green... then second how do I do that? Apr 04 16:33:07 what step? what's not green? Apr 04 16:33:41 getting start Apr 04 16:33:51 getting started Apr 04 16:35:00 geeting started second step, tbr Apr 04 16:35:20 tbr, how I activate it Apr 04 16:36:06 how do I activate it, you know what I mean tbr? Apr 04 16:36:18 no, what _is_ the second step? Apr 04 16:37:12 tbr, install driver that's what it says Apr 04 16:37:38 you do not need to Apr 04 16:37:42 what's step three? Apr 04 16:38:42 browse to web server on board Apr 04 16:38:57 then try that Apr 04 16:41:05 I think if you don't pass 2 step can't go to third Apr 04 16:41:50 I don't know how to browse to web server on board Apr 04 16:44:43 http://beagleboard.org/getting-started tbr Apr 04 16:49:19 tbr, can you assist please Apr 04 16:50:38 izurd16: http://192.168.7.2 does that link work for you? Apr 04 16:51:32 tbr, no at all Apr 04 16:52:11 izurd16: you might want to check your network settings Apr 04 16:52:59 tbr, got ethernet cable connected to BBB Apr 04 16:54:11 tbr, how then? Apr 04 16:54:45 izurd16: ethernet or USB? Apr 04 16:56:27 does it show up as a usb drive? ( the bbb ) Apr 04 16:57:31 tbr, BBB is connected by usb to the laptop at the sane time got another ethernet cable plugged in BBB Apr 04 16:58:25 izurd16: can you please pastebin the output of "ip addr" on your PC? Apr 04 16:58:47 do NOT paste to the channel. use something like pastebin.mozilla.org or pastebin.com Apr 04 17:00:40 Rickta59: I guess it doesn't show up as a usb drive I not sure I've plugged and another volume appears as BEAGLEBONE Apr 04 17:04:24 http://pastebin.com/A6S551YX tbr Apr 04 17:05:41 tbr, it's all right? Apr 04 17:07:24 by the looks of it 'eth1' is the USB network interface toward the BBB Apr 04 17:07:49 you just need to tell your computer to bring up the interface Apr 04 17:08:28 or if you'd prefer to talk to it over ethernet, then you'd need to look up its IP address that it got assigned by your router Apr 04 17:08:49 is it because ethernet cable is plugged or what? Apr 04 17:09:16 on BBB? Apr 04 17:10:02 is what? Apr 04 17:11:01 I mean I have unplugged the ethernet cable from BBB Apr 04 17:12:05 and what do you expect to happen after unplugging? Apr 04 17:13:22 you tell me should I plug ethernet cable to BBB or not Apr 04 17:14:02 which is better or is it possible both ways? Apr 04 17:14:28 right now is unplugged Apr 04 17:15:33 how do I bring up the interface without plugging the ethernet cable Apr 04 17:18:27 I am talking about 'eth1' on your desktop running linux Apr 04 17:19:01 at the same time is sd-card on it when plugged through usb Apr 04 17:19:55 eth1 is BBB ok, so? Apr 04 17:20:09 eth1 is the USB network connection to your BBB Apr 04 17:20:53 how do I bring it up then Apr 04 17:21:45 are you using network-manager or systemd networkd? Apr 04 17:22:11 really don't know tbr Apr 04 17:22:58 you might want to reserve some time to learn about the desktop linux you are running... Apr 04 17:23:13 anyway, open network settings, look for eth1? Apr 04 17:24:47 ip adrr command? Apr 04 17:25:12 sorry ip addr command Apr 04 17:25:21 your desktop has a graphical user interface, doesn't it? Apr 04 17:26:48 right turn it on then, right? Apr 04 17:28:11 yes... Apr 04 17:29:07 tbr what's next....should I plug the ethernet cable to BBB Apr 04 17:29:30 the ethernet cable is irrelevant for now Apr 04 17:29:42 all right Apr 04 17:29:49 did the second network interface get an IP address now? Apr 04 17:29:53 the UI should show you Apr 04 17:30:26 UI user interface, right? Apr 04 17:30:52 yes, the network settings application that you should be using Apr 04 17:31:14 nothing... only hardware address Apr 04 17:34:22 did you enable it? Apr 04 17:35:09 yeah sure says on/off it's on Apr 04 17:35:29 only hardware address Apr 04 17:36:17 try setting the IP to 192.168.7.1 Apr 04 17:37:00 how? Apr 04 17:37:46 tried that ip on the firefox browser only not working Apr 04 17:40:07 so? Apr 04 17:40:59 I am sorry, but you don't seem to understand how to operate your desktop. I can't help you. Apr 04 17:43:48 Hey y'all! Anyone here who knows about getting the Beaglebone to support a nonstandard resolution? Apr 04 17:43:57 ipv4 tbr? Apr 04 17:52:47 tbr, i'm on it but can apply cause more setting required Apr 04 17:53:00 can't apply I mean Apr 04 17:53:54 don't give it up please drive me Apr 04 17:56:05 put 192.168.7.1 on address field I guess I need to fill more fields to activate apply option Apr 04 17:59:12 can anyone help me please Apr 04 18:06:38 tbr, what's the netmask for BBB, then Apr 04 18:06:52 255.255.255.0 Apr 04 18:06:54 no gateway Apr 04 18:07:08 all right Apr 04 18:08:12 apply option not activate yet some to confirm Apr 04 18:09:23 not activate yet to confirm Apr 04 18:10:34 tbr, need something in dns Apr 04 18:10:44 no you don't Apr 04 18:11:07 can't apply... gesssss Apr 04 18:11:37 filling up the IPv4 Apr 04 18:12:04 tbr, in routes? Apr 04 18:12:50 no Apr 04 18:14:13 why doesn't apply option activate, tbr Apr 04 18:14:45 to confirm changes Apr 04 18:15:54 no idea Apr 04 18:15:56 something is missing Apr 04 18:23:14 not success :-) Apr 04 18:37:22 hi there channel back again Apr 04 18:38:35 tbr, it shows me the ip address in usb ethernet Apr 04 18:39:00 tbr, after rebooting jessie Apr 04 18:39:56 well, then it should work, shouldn't it? Apr 04 18:41:51 I put the ip you told me in the browser but nothing I have to plug the ethernet cable or not? Apr 04 18:52:29 tbr, board connected at this IP http://192.168.7.2/bone101/Support/bone101/ Apr 04 18:53:23 Trying to get internet over USB? Apr 04 18:54:37 izurd16: Just trying to get contact from BBB to host, or from BBB to internet? Apr 04 18:55:13 You can run everything over USB if you have it all set up. Is that what you are trying to do? Apr 04 18:57:51 well yeah Apr 04 18:58:07 Okay. Do you have SSH into the BBB working? Apr 04 18:58:43 I don't know how can Apr 04 18:59:01 http://ofitselfso.com/BeagleNotes/HowToConnectBeagleboneBlackToTheInternetViaUSB.php Apr 04 21:19:37 Is there an implementation of JTAG for BBB PRUs that turns the BBB into a JTAG programmer? Apr 04 21:50:09 Hi All Apr 04 21:50:27 hi Apr 04 21:51:08 I've been loading up the onewire dtc to use a pin to read a DS18B20, but have struck some issues. Anyone knowledgeable about this? Apr 04 22:06:39 grrmp: what issues? Apr 04 22:08:00 I've got a 18B20 on a couple of arduinos :) Apr 04 22:30:53 veremit... I've got the device tree loaded, and it appears in slots, but the BBB does not detect any DS18B20's --I've tried 5, and two BBB's. Apr 04 22:31:09 voltages across each pin are correct (around 3.3 V). Apr 04 22:32:05 what resistor you got the D pin? Apr 04 22:32:18 mine seem to be 47k ... Apr 04 22:32:27 but that's running on 5v Apr 04 22:32:43 oh wait 4k7 my bad .. Apr 04 22:33:01 been reading 5band resistors all day, and this is 4 lol Apr 04 22:33:11 yes, 4K7... just checking again Apr 04 22:33:47 yep 4.7 Kohm Apr 04 22:34:27 d pin in the middle, looking at flat side, gnd on left, supply on R? Apr 04 22:35:14 yes, that is what it appears. The things get rather hot if you reverse them.... Apr 04 22:35:24 I'm trying to think of how you address them in linux .. Apr 04 22:35:29 kind of a reach, but what does the HWREG() macro do (in CCS libraries for the am335x) Apr 04 22:35:30 isn't there a bus? Apr 04 22:35:55 i read it 'accesses' the reg, but does it just read it? or can you use it to write to the register too Apr 04 22:35:57 yes, what you do is .... root@beaglebone:~# ls /sys/bus/w1/devices/w1_bus_master1 driver power subsystem uevent w1_master_add w1_master_attempts w1_master_max_slave_count w1_master_name w1_master_pointer w1_master_pullup w1_master_remove w1_master_search w1_master_slave_count w1_master_slaves w1_master_timeout Apr 04 22:36:00 i can't really make sense of the definition Apr 04 22:36:12 that is the output too -- but it is not finding the device Apr 04 22:37:04 hi Kremlin -- I think you are used to working at a lower level than me. Apr 04 22:37:12 maybe :) Apr 04 22:37:32 I'm not used to delving that deep into the device. Apr 04 22:39:50 any troubleshooting ideas veremit? Apr 04 22:41:03 grrmp: got an arduino?! lol uhm .. not really .. sorry :/ Apr 04 22:41:23 I know its been done .. I'm certain I've seen tutorials online .. Apr 04 22:41:58 Thanks anyway veremit. Yes there are some good tutorials round. I've been using http://www.bonebrews.com/temperature-monitoring-with-the-ds18b20-on-a-beaglebone-black/#comment-9560 Apr 04 22:42:31 that has got the device tree loaded, and I've copied the circuit. The only snag seems to be that the BBB does not detect the device! Apr 04 22:44:30 grrmp: yeah I was just looking at http://mkaczanowski.com/one-wire-ds1820-thermometer-with-beaglebone-black-libmicrohttpd/ :) Apr 04 22:44:53 seems the DT -could- be right .. but yet it might not .. if the device isnt being detected :/ Apr 04 22:45:23 grrmp: what kernel version you on? Apr 04 22:46:00 I saw that tute too. Strangely, that mkaczanowski circuit seems a bit wrong compared to the manual for the DS18B20 and the bonebrews circuit. Apr 04 22:46:23 3.8.13-bone70 Apr 04 22:47:52 ah so you're at least on a "known good" kernel .. Apr 04 22:48:05 So they say! Apr 04 22:50:02 grrmp: only other suggestion I have is to switch gpio pin .. but then that's me out :/ Apr 04 22:50:13 shit .. and I must eat dinner lol Apr 04 22:54:17 Thanks veremit . I've tried that one already. But I can give it another go. Apr 04 22:54:27 Thanks for your help! Apr 04 22:56:58 good luck Apr 04 23:43:17 The DS18B20 driver must be part of the distro then? It should appear in kern.log when it loads, right? Apr 04 23:43:50 Poo; grrmp be gone. Apr 04 23:45:33 Ragnorok: I think 1wire is Apr 04 23:46:38 It looked to me like the devices weren't found. I haven't looked at the source but I'd expect load / scan to be logged somewhere, perhaps providing more data. Apr 04 23:46:40 many buses are Apr 04 23:47:50 yea I dunno whether the DT implicitly loads the 1w driver .. Apr 04 23:48:35 all I do know is these things are far from straight-forward lol Apr 04 23:48:40 Mmm. Me either. There it is. Just tossing out an idea to a missing recipient. (grin) Apr 04 23:49:32 well it goes to logs anyway :) Apr 05 00:25:00 anybody get latest machinekit image working? Apr 05 00:25:36 just froze up twice on first/second boot **** ENDING LOGGING AT Tue Apr 05 02:59:58 2016