**** BEGIN LOGGING AT Sun Jan 22 03:00:00 2017 Jan 22 03:24:42 ...... Jan 22 04:50:11 lmao Jan 22 05:29:02 Cool! Jan 22 05:29:07 I mean...hello! Jan 22 05:29:35 I have been gone one full "six-month-period." What happened? Jan 22 05:32:03 I got a GPS working with that BBGW. I thought that was cool. Now...I can track myself. Jan 22 05:32:23 I used that MRAA stuff. Jan 22 05:40:40 Has anyone used the Motor Bridge Cape from SeeedStudio.com? Jan 22 06:55:35 Phew...I got my Motor Bridge Cape up and running again. Yea boy! Jan 22 12:39:55 Hey Guys, short question. I have just found my old beagle bone black that I never did anythin with before. Would you recommend that I change the OS to Debian now? (It seems that nowadays Debian has replaced the old Angstrom-linux). Jan 22 12:43:28 hi did any one can give me a Doc about how to connect bbx15 via spi?? Jan 22 12:44:01 lukipuki, yes Jan 22 12:44:48 i am not sure about thegpio pins Jan 22 12:45:02 do you have a doc link or a repository? Jan 22 12:45:27 tlab? Jan 22 12:46:37 Naoredgi, best is probably to look for a tutorial online Jan 22 12:47:16 https://www.linux.com/learn/how-access-chips-over-spi-beaglebone-black Jan 22 12:47:25 i only need ti data sheet of beagle board x15 Jan 22 12:47:37 or the pins numbers Jan 22 12:47:40 oh x15 Jan 22 12:48:09 beagle board black as the same archtithecture as bbx15? Jan 22 12:49:12 the implemintation for both of the board are the same? Jan 22 12:50:05 potentially the driver is the same Jan 22 12:50:12 I don't know enough to say yes Jan 22 12:50:41 the x15 processor is very different from the am3359 used on the BBB .. I'd say a big fat No. Jan 22 12:51:01 but the linux side is probably the same Jan 22 12:51:22 roughly, ye,s they run comparable distributions, but the drivers and settings will be different. Jan 22 12:51:43 so back to start any one has a documentation about bbx15 and the gpios ? Jan 22 12:51:57 but the drivers should be in the repo? Jan 22 12:52:54 I think all the relevant configs are in the x15 repos Jan 22 12:53:29 @tlab_ thanks! Jan 22 12:58:54 another question - can I overwrite the existing OS even if I don't know the root passwort? (When I got mine there was a root password set, which kept me from playing around with the Beaglebone in the first place) Jan 22 12:59:28 you can write a new sd card and boot off of it Jan 22 13:00:17 http://beagleboard.org/getting-started Jan 22 13:12:17 it's also not hard to just reset the root password Jan 22 13:12:47 veremit: *am3358 Jan 22 13:13:09 zmatt: the last one I had was a -59 I thought .. or did they swap the other way ... :( Jan 22 13:14:26 veremit: only some of the earliest runs used an AM3359 (or XAM3359 probably) since the 1GHz AM3358 wasn't available yet Jan 22 13:14:39 ah Jan 22 13:14:41 the 9 has no additional functionality that's usable on the BBB Jan 22 13:15:33 (the ethercat functionality of the 9 requires a very different board design) Jan 22 13:17:16 naoredgi: I have a spreadsheet that may be of use for locating pins: https://docs.google.com/spreadsheets/d/1mSqEpV_BAUHfeNApytxHcGhgTZwypy564GyOr66Nphs/view Jan 22 13:23:37 tnxxx Jan 22 13:23:39 zmatt Jan 22 13:24:42 its just what i wanted i will builed an api using this and i add my repo to here Jan 22 13:24:54 for forther uses Jan 22 13:25:01 tnx every one Jan 22 13:25:19 note that it's not thoroughly checked, I don't actually even have an x15 yet Jan 22 13:26:27 ok i checked the 4 interfaces to the spi after that the i2c inputes and upate your spraed sheet Jan 22 13:26:34 wiik check Jan 22 13:26:37 will Jan 22 13:26:44 sorry about my english Jan 22 13:28:23 the functions for each pin are directly from TI data, hence hopefully correct Jan 22 13:28:46 it's the BBX15 use of each pin that hasn't been checked well Jan 22 13:29:06 (i.e. column C) Jan 22 13:37:41 Off and about...enjoy! Jan 22 14:58:11 help Jan 22 14:59:01 i am unable to connect beaglebone to internet via usb Jan 22 15:02:34 tried derek's instructions ? Jan 22 15:03:07 shilpi: ^^ Jan 22 15:03:25 ya i tried fully Jan 22 15:03:48 your host is ubuntu system ? Jan 22 15:04:06 and are you able to load the 192.168.7.2 page on your browser ? Jan 22 15:05:10 my system is windows 7.ya beaglebone is connected Jan 22 15:08:50 Windows ... ahh .. sorry . wont be able to help. Be patient, someone here will probably come up. Jan 22 15:10:47 btw .. essentially , you need to direct all your internet traffic from beaglebone to your host using the 'route' command on beaglebone. and then on your host, you need to forward that traffic to your internets connection interface. Jan 22 15:11:38 oh ! and how do you know that your Beaglebone do not has internet ? Jan 22 15:11:57 it can be nameserver problem ? Jan 22 15:13:08 shilpi: first try Jan 22 15:13:08 `ping 8.8.8.8` Jan 22 15:13:08 and then Jan 22 15:13:08 `ping google.com` Jan 22 15:51:50 i tried ping 8.8.8.8....its giving error like destination host unreachable Jan 22 15:53:23 short summary: enable bridging or internet sharing in windows, then configure the bbb to be a dhcp client on usb instead of a dhcp server Jan 22 15:54:20 (I suggest making sure you can reach the bbb via serial or ethernet first, to ensure you don't lose contact with it while trying to reconfigure it) Jan 22 15:54:54 what steps should i follow? Jan 22 15:55:44 I don't know since I'm not familiar with connman... I think it may be as simple as disabling "usb tethering" on the bbb (via connmanctl) Jan 22 15:56:49 and then enabling bridging in windows is a simple matter of selecting two interfaces, right-click and select "bridge connections" -> https://www.windowscentral.com/sites/wpcentral.com/files/styles/larger/public/field/image/2016/03/bridge-connection-windows-10.jpg?itok=nZtvxvTS Jan 22 15:58:23 zeekhuge: note that using ip route directly is generally the Right Way since it's not persistent and might confuse your network manager Jan 22 15:58:31 *not the Right Way Jan 22 15:58:33 sorry Jan 22 15:59:52 i did with bridge connection..its showing you need atleat 2 lans.and high speed network Jan 22 16:00:02 *atleast Jan 22 16:00:16 it's absolutely essential you configure the bbb *first* Jan 22 16:01:08 and yes you need to select two lans: the one via which you're connected to the internet, and the usb connection to the bbb Jan 22 16:02:07 okk.i selected those two only..one linux(beaglebone) and another internet connection which i have Jan 22 16:02:20 did you configure the bbb first? Jan 22 16:02:53 since otherwise 1. it will not work 2. you can't reach the bbb anymore 3. the bbb's dhcp server may cause disturbance on your lan Jan 22 16:03:18 yes i have configured Jan 22 16:03:36 what did you configure exactly? Jan 22 16:04:26 zmatt: I mean setting the host's IP address as the default gateway. is it the wrong way ? Jan 22 16:04:52 not direct IP routing. Jan 22 16:05:57 eh Jan 22 16:06:56 I'm not sure what you configured, but it doesn't sound like a way to get internet working on the bbb Jan 22 16:07:39 assuming connman is still installed, you need to disable its usb tethering function and (if needed) configure it to use dhcp on usb Jan 22 16:07:43 no i havent done Jan 22 16:08:47 what are the correct steps to configure Jan 22 16:10:22 do you have a way to connect to the bbb other than usb? since it is likely that the usb connection will temporarily cease to work while reconfiguring it Jan 22 16:11:12 i followed the steps given in getting started with beaglebone.org Jan 22 16:11:35 and some experimentation may be required since I don't know connman well, nor do I have any beaglebone with connman installed so I can't easily test things Jan 22 16:12:59 you have no possibility for just connecting the bbb to ethernet directly? Jan 22 16:14:19 i tried with ethernet also Jan 22 16:14:33 oh, you do have ethernet available? Jan 22 16:15:09 that should simply work Jan 22 16:15:17 i dont have right now...but i can get it... Jan 22 16:15:58 I can very much recommend that over usb Jan 22 16:17:52 btw, if you made a bridge on windows, be sure to remove that (if you haven't already) Jan 22 16:20:41 also, which software image is installed on the bbb? (I've been assuming a recent one...) Jan 22 16:20:54 actually, I'll be back later, need to do shopping first Jan 22 16:20:58 maybe someone else can help Jan 22 16:21:15 lxpe Jan 22 16:21:35 i dont remember the version...debian Jan 22 16:24:41 uhm ... zmatt ? why is it needed to set bbb as dhcp client ? I mean .. in case of Ubuntu, the main system is actually dhcp client and it perfectly takes the ip address 192.168.7.2 Jan 22 16:25:03 shilpi: use command 'uname -a' Jan 22 16:25:12 zeekhuge: how does that get the bbb internet? Jan 22 16:25:35 I mean, sure, with NAT, but that's more hassle to setup than bridging Jan 22 16:25:46 oh ! okay . Jan 22 16:25:50 got it . Jan 22 16:25:53 i Use NAT Jan 22 16:26:52 Hey!! Jan 22 16:26:56 so, windows does have "internet sharing" but it's quite vague what example happens if you enable it Jan 22 16:27:01 *what exactly Jan 22 16:27:24 maybe it works Jan 22 16:27:41 Im not able to connect my bbb to the internet using usb Jan 22 16:28:08 MADDY: windows system ? Jan 22 16:28:18 Yaa Jan 22 16:28:21 get in line :P Jan 22 16:28:23 Windows 10 Jan 22 16:29:14 I have used ping command but it says unreachable Jan 22 16:29:17 anyway, I was going to do shopping... bbl Jan 22 16:29:40 tried this - http://lanceme.blogspot.in/2013/06/windows-7-internet-sharing-for.html ? Jan 22 16:31:13 When i do this on my Bbb it says route add default gw 192.168.7.1 Jan 22 16:31:49 When i do this route add default gw 192.168.7.1 on my Bbb it says Operation not permitted Jan 22 16:35:10 probably trivial, but must ask .. you are root . right ? Jan 22 16:35:39 MADDY: ^^ Jan 22 16:37:11 try Jan 22 16:37:11 sudo route add default gw 192.168.7.1 Jan 22 16:42:35 trying to get a htc_9271 wifi dongle working, but when I plug it in I notice nothing shows up in lsusb. Is there anything I need to do to enable the usb? Jan 22 16:52:23 When i use 'route add default gw 192.168.7.1' on my BBB it says operation not permitted...y??i need to connect my BBB to the internet Jan 22 16:53:38 anyone there?rep plz Jan 22 16:55:06 ping www.google.com ping: unknown host www.google.com debian@beaglebone:~$ /sbin/route add default gw 192.168.7.1 SIOCADDRT: Operation not permitted debian@beaglebone:~$ ip route list default via 172.16.92.1 dev eth0 172.16.92.0/22 dev eth0 proto kernel scope link src 172.16.95.180 192.168.7.0/30 dev usb0 proto kernel scope link src 192.168.7.2 debian@beaglebone:~$ route add default gw 192.168.7.1 SIOCADDRT: Operation not permi Jan 22 16:56:07 i tried all these...i am unable to get y i m getting errors...while connecting beaglebone to internet Jan 22 16:57:26 you must run those commands as privileged user, e.g. by using sudo. Jan 22 16:59:04 close the connection Jan 22 16:59:33 start a new connection using Jan 22 16:59:33 username : root Jan 22 16:59:33 password : Jan 22 16:59:49 and then use these commands to connect to the internet Jan 22 17:00:45 shilpi: ^^ Jan 22 17:02:10 it wont work otherwise. Jan 22 17:04:31 MADDY: sudo? Jan 22 17:05:08 oh shilpi is the same person Jan 22 17:05:20 I glossed over the wall of paste Jan 22 17:05:23 :p Jan 22 17:18:31 the one thing about the beagle bone series that is kind of frustrating is how little IO access one has. However it's no where near as bad as the Raspberry PI series. Jan 22 18:20:39 GenTooMan: you have as much IO access as you want Jan 22 18:20:49 unlike the rpi which has little IO to access in the first place ;) Jan 22 18:21:16 if you mean IO access is nowhere nearly as convenient as it could be, I completely agree Jan 22 18:23:25 Frogging101: no afaict they just have the same problem Jan 22 18:24:05 zeekhuge: no need to log in as root, juse use sudo Jan 22 18:24:07 *just Jan 22 18:26:22 bashrc: no Jan 22 18:30:47 bashrc: my first guess would be a vbus error of some sort... I'd normally expect that to yell loudly in the kernel log, but recently there was someone who had silent vbus errors so maybe that's a thing nowadays :P Jan 22 19:02:59 oooh, looks like I might have a dead wifi dongle. Fortunately I have a few identical ones Jan 22 19:03:44 tried a different dongle - same type - and it worked Jan 22 19:05:37 yay Jan 22 19:13:38 Anyone get this error before "ocp:P9_16_pinmux was not found under /sys/devices/platform/ocp" I got this when i called 'b.pinMode(gpio, b.ANALOG_OUTPUT);' in node.js in cloud9 Jan 22 19:27:41 hello Jan 22 19:28:13 I'm running systemd 232. during boot, it says "Received request to flush runtime journal from PID 1" and pauses for 4-5 seconds before continuing the boot process. Is this necessary or can I stop it? Jan 22 19:28:44 could it be that the pause is actually caused by loading the flash driver? Jan 22 19:55:44 nevermind, I just masked the journal flushing service Jan 22 21:32:07 zmatt regarding IO yes it's inconvienent I was just saying "better than none but ... dang." Jan 22 21:52:16 Hi guys. What would you use to control a voltage from the beaglebone… I’m looking for some sort of programmable voltage regulator Jan 22 21:52:45 I’m a software engineer and feel like a total noob in electronics Jan 22 21:58:56 Some sort of programmable potentiometer… ? Jan 22 22:03:31 tocix: it's writing out the log entries from early boot out to "disk" (emmc / sd card)... 4-5 seconds is an absurd amount of time for that, are you running from eMMC or from sd card? Jan 22 22:03:50 tocix: I personally have logging to eMMC entirely disabled, i.e. journal is kept purely in ram Jan 22 22:04:00 zmatt, from emmc, but i've discovered that wasn't the issue Jan 22 22:04:22 useful tool for investigating boot time: systemd-analyze plot >boot.svg Jan 22 22:05:20 the issue i think is remoteproc0 doesn't work since i'm using a deblobbed kernel so apparently wkup_m3_ipc is delaying the boot by a few seconds and spewing out some error messages Jan 22 22:05:24 thanks for the tip Jan 22 22:05:39 why would you sabotage the wakeup m3 ? Jan 22 22:06:06 this is what dmesg is saying Jan 22 22:06:08 remoteproc0: Missing Free firmware (non-Free firmware loading is disabled) Jan 22 22:06:30 oh well, I shall contact the fellows who deal with linux-libre Jan 22 22:06:55 the m3 firmware is open source Jan 22 22:07:04 strange, perhaps it's an error on their part Jan 22 22:07:08 wkup_m3_rproc 44d00000.wkup_m3: rproc_add failed Jan 22 22:07:19 and then lots of Jan 22 22:07:21 wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle Jan 22 22:08:37 i.e. it's a kernel built by people who don't know what they're doing? Jan 22 22:08:44 maybe Jan 22 22:09:40 does wkup_m3_rproc use remoteproc0? Jan 22 22:10:43 there are no closed-source blobs in the default kernel... or any kernel afaik, the only part of the am335x that uses closed-source software is the GPU, but that's userspace, not required, and not even installed by default last time I checked Jan 22 22:12:50 https://hastebin.com/ufapitefug.txt these are the log messages I see related to remoteproc and/or wkup m3 Jan 22 22:13:36 ok thanks Jan 22 22:14:30 git://arago-project.org/git/projects/am33x-cm3.git is the source code repository for that firmware Jan 22 22:16:06 it's TSPA licensed, which is somewhat restrictive for code provided solely in binary form (not applicable here), but permissive for code provided as source code (such as the wkup m3 firmware) Jan 22 22:16:49 perhaps they considered it too restrictive Jan 22 22:17:19 ".. license to reproduce, use, and create modified or derivative works of the Licensed Materials provided to you in source code format and to distribute an unlimited number of copies of such source code Licensed Materials, or any derivatives thereof, in any format." Jan 22 22:17:30 too restrictive? what? Jan 22 22:18:20 hello Jan 22 22:18:23 Has anyone seen this error when executing "b.pinMode('P9_14', b.OUTPUT); b.analogWrite('P9_14', 0.7, 2000.0, printStatus);" The error i get is "x.err = error updating PWM freq and value: undefined, Error: ENOENT, no such file or directory 'undefined/duty_cycle'" Jan 22 22:19:06 JombyFre: well, I can't be surprised it's getting ENOENT for the path 'undefined/duty_cycle' Jan 22 22:20:19 of course I have no idea what that 'undefined' is doing there, seems like something went wrong internally in whatever library you're using Jan 22 22:22:19 GenTooMan: btw, if there's a specific I/O or peripheral you're trying to use unsuccessfully, I may be able to provide suggestions Jan 22 22:23:12 GenTooMan: if you're not allergic to /dev/mem anyhow ;-) Jan 22 22:23:35 I have a BBGW and half the time analogWrite works and sometimes it just doesnt and it drives me crazy because i didn't do anything differently when i get the error. However the micro usb cord it come with is awful and the device will power cycle when i simply touch the device or cord Jan 22 22:24:00 that sounds like fun Jan 22 22:24:28 Yea... I also get this error ocp:P9_42_pinmux was not found under /sys/devices/platform/ocp Jan 22 22:24:32 I mainly use the BBB, which has a proper power connector Jan 22 22:24:44 Im just trying to do IoT stuff Jan 22 22:25:05 you can also power beaglebones (all flavors) via expansion header P9 Jan 22 22:25:54 (use pins 1+2 for ground, 5+6 for 5v) Jan 22 22:28:34 Okay that fixed the power issue now im just wonering why i can use PWM pins. I can use analogRead and that works find but trying to use analogWrite always gives me an error Jan 22 22:29:02 I have no idea what library you're using or how it's supposed to work Jan 22 22:30:00 I can assure you, pwm works... although in fact the BBB has considerably more/fancier pwm capability than accessible via the Standard Ways Jan 22 22:30:34 (I think, maybe the drivers have caught up) Jan 22 22:46:14 bbl Jan 23 00:28:56 back Jan 23 01:51:15 zmatt I'm allergic to work.. mostly (LOL) Actually I'm use to doing everything directly so using drivers is almost weird for me. Just recently I started using an RTOS mostly because the platform was too big to do all by hand. So I do the translation for the RTOS. It's not great tell you have several coroutines running. Back to the actual subject, managing IO it looks as if SPI and I2C are mostly functional. Anyone make a Jan 23 01:51:15 Beagle Bone to FPGA break out board (IE beagle bone bus and the FPGA IO broke out). I've been wanting to use the beagle bone black series to make some bench top tools. Jan 23 02:27:44 GenTooMan: spi and i2c definitely have functional kernel drivers, though certainly the spi one could use some optimization Jan 23 02:28:00 for most other peripherals I also ignore the drivers, if any Jan 23 02:28:37 (adc, pwm, qep, that sort of stuff) Jan 23 02:30:32 basically when I study how a peripheral works I take notes in the form of a header file, and I have some nice trickery that allows the same header to work transparently on linux as if it were baremetal Jan 23 02:31:26 a snapshot of a very small subset of that codebase can be seen in https://github.com/dutchanddutch/jbang Jan 23 02:33:13 hmm, I should probably sync it again with internal sources, I see that this predates some improvements I made e.g. to libsubarctic **** ENDING LOGGING AT Mon Jan 23 03:00:00 2017