**** BEGIN LOGGING AT Wed Mar 25 02:59:58 2015 Mar 25 06:02:57 Machinekit runs on bb and bbb, right ? Mar 25 06:05:12 And it can also control PRUs to drive the motors ( ?? ) Mar 25 06:06:56 Is Hunyue Yau up here ?? Mar 25 06:09:30 Or Laine Walker-Avina ? Mar 25 06:22:23 ZeekHuge: probably fast asleep Mar 25 06:23:21 av500: So can you help me on clearing the machinekit doubt ? Mar 25 06:24:11 And what are their nick name on here ? Mar 25 08:47:23 Hi guys. I've a quick question: I'm about to order a BBB, however it seems that it doesn't ship with a uSD-card. Do I need one or can I also use the BBB without a uSD-card? Mar 25 08:48:09 i'd get one Mar 25 08:48:21 even if you dont need it, it helps Mar 25 08:48:26 also, buy a serial2usb cable Mar 25 08:48:29 you'll need that too Mar 25 08:48:41 make sure it's a 3.3V one Mar 25 08:49:31 also, if you meet prof ulrich schmid, say hi to him Mar 25 08:49:41 ok, thanks! Mar 25 08:49:52 who is prof ulrich schmid? Mar 25 08:50:30 https://ti.tuwien.ac.at/ecs/people/schmid Mar 25 08:51:34 Unfortunately I don't know him. (I'm not studying at the TU Wien) Mar 25 08:52:12 oops Mar 25 08:52:24 sorry, to early to distinguish between tu and fh ^^' Mar 25 08:52:40 * KotH goes to get another bar of chocolate Mar 25 08:53:41 haha, np :D how much do you recommend for the uSD? is 4GB enough? (i guess most OSes will have about 1.5GB) Mar 25 08:59:03 and what do I need the serial2usb cable for? Mar 25 08:59:04 depends on what you are doing Mar 25 08:59:16 a standard embedded system is something between 5 and 20MB Mar 25 08:59:26 if you go for debian, you'll need at least 150MB iirc Mar 25 08:59:40 i dont know what the sizes of the images cirulated are Mar 25 08:59:59 most of them are ranged from 4 to 64 GB Mar 25 09:00:05 there will be a need to debug what's going on the bbb when neither usb nor network are working yet Mar 25 09:00:19 it's like a monitor connection, so you can watch the system boot Mar 25 09:01:02 ah, i see Mar 25 09:47:10 hmm, wasn't the beagleboard-x15 due to be available late februari? Mar 25 09:49:11 it's already the 53th of februari... Mar 25 09:58:24 hi everyone Mar 25 09:58:42 i want to install minicom on to bbb Mar 25 09:59:45 i am using ubuntu 14.04 lts Mar 25 10:00:24 on typing apt-get install minicom its showing unable to locate package Mar 25 10:00:44 anybody know how to install minicom on to bbb Mar 25 10:02:46 apt-get update Mar 25 10:08:25 woglinde : thanks for reminding i am so dumb Mar 25 12:31:29 Have a BBB with GPS connected through RS232, but gpsd will not start on boot. I can start it directly though. Any hints? Mar 25 12:32:09 Knaldgas: how do you start it manually? Mar 25 12:32:43 Humpelstilzchen: service gpsd start works fine Mar 25 12:33:27 Knaldgas check /etc/default/gpsd Mar 25 12:33:54 woglinde: START_DAEMON="true" Mar 25 12:33:58 okay Mar 25 12:34:07 woglinde: All looks ok to me Mar 25 12:34:24 Knaldgas: does the symlink in /etc/rc2.d/ exist? (if not systemd..) Mar 25 12:34:42 Knaldgas debian or ubuntu? Mar 25 12:34:51 debian Mar 25 12:34:54 Wheezy Mar 25 12:35:18 And I believe it runs systemd Mar 25 12:35:34 systemctl status Mar 25 12:35:44 than you know Mar 25 12:36:47 systemctl status: Too few arguments - systemctl status gpsd.service: gpsd.service - GPS (Global Positioning System) Daemon, etc... Mar 25 12:37:47 systemctl status gpsd.service gives "Loaded: loaded (/etc/systemd/system/gpsd.service; static)" and "Active: inactive (dead)" Mar 25 12:38:10 But I'm baffled over why I don't even get an error in the logs... Mar 25 12:39:11 * Knaldgas trying to reboot with more debugging Mar 25 12:40:22 Not a single peep :( Mar 25 12:40:34 It's like systemd is not even trying Mar 25 12:41:24 "Kernel command line: ... init=/lib/systemd/systemd" so I suppose systemd is invoked... Mar 25 12:43:27 Knaldgas hm does it have socker activation enabled? Mar 25 12:43:42 than systemd would only start it when you connect a client Mar 25 12:43:54 woglinde: Ohhh... Mar 25 12:44:09 ;) Mar 25 12:44:14 woglinde: How do I check that? Mar 25 12:44:22 look at /etc/systemd/system/gpsd.service Mar 25 12:44:43 or pastebin it Mar 25 12:44:43 13:43:27 < woglinde> Knaldgas hm does it have socker activation enabled? srsly? Who would want that for GPS? Mar 25 12:45:07 Humpelstilzchen how should I know Mar 25 12:45:22 gentoo or arch has this setup Mar 25 12:46:21 woglinde: http://pastebin.com/9W8JPSn3 Mar 25 12:48:17 yeah looks like socket activation Mar 25 12:48:37 But gpsd.socket seems to have failed... Mar 25 12:49:55 * Knaldgas is afk for 15 minutes or so... Mar 25 12:52:04 Knaldgas hm disable socket activation Mar 25 12:52:21 and start gpsd the way it sources the nmea stream at startup Mar 25 12:54:12 Is it possible to use qemu to emulate a BeagleBone black? Or is there a method to cross compile packages. I want to build a io.js package as compiling on the hardware takes some time. Had a quick google but could not find much. Mar 25 12:54:22 it's possible Mar 25 12:54:29 i dont know anyone who's done it Mar 25 12:54:36 only people doing general arm systems Mar 25 12:54:45 w/o external connections Mar 25 12:55:02 also, you dont need to do ethical compiles Mar 25 12:55:06 you can always cross compile Mar 25 12:57:29 Cross compiling would work. Just want to try and cut down the compile times. I am running Ubuntu on the BBB. I will take another look at cross compiling. Mar 25 13:28:59 * Knaldgas is back Mar 25 13:32:07 woglinde: I think I've disabled the socket activation, but still no cigar :( Mar 25 13:32:33 systemctl status gpsd.service --> Active: inactive (dead) Mar 25 13:33:03 And starting it with "systemctl start gpsd.service" works fine... Mar 25 13:34:48 * Knaldgas is pondering... Mar 25 13:42:38 Knaldgas hm you need to remove the dependencies too Mar 25 13:43:58 woglinde: Thanks, I'm reading into it now - I think I did something wrong for sure Mar 25 14:35:50 FINALLY!! :-) Mar 25 14:36:23 Had to learn the systemd way... Mar 25 14:36:35 Knaldgas yes Mar 25 14:37:59 gpsd now running at boot. woglinde, you were right of course, disabling the socket-thingie was part of the solution - The other part was to edit the /lib/systemd/system/gpsd.service to include the device. Mar 25 14:38:06 Thanks for your help guys Mar 25 14:39:11 Knaldgas uhm hm? Mar 25 14:39:22 the device is read by /etc/default/gpsd Mar 25 14:39:47 and /lib/systemd/system/gpsd.service should have an EnviromentFile stanca to read this file Mar 25 14:39:57 woglinde: Ought to, but for some reason the gpsd.service file does not adhere to that Mar 25 14:40:10 hm mistake by the maintainer maybe Mar 25 14:40:14 I did find a place where this was mentioned Mar 25 14:47:50 woglinde: Appears to have been fixed in gpsd version 3.13 (Wheezy uses 3.6) Mar 25 14:48:15 Knaldgas debian version 3.13? Mar 25 14:48:20 https://fossies.org/diffs/gpsd/3.11_vs_3.13/systemd/gpsd.service-diff.html - I fixed my version accordingly Mar 25 14:48:29 No gpsd version Mar 25 14:48:44 Knaldgas does not mean debian follows this Mar 25 14:48:59 woglinde: Not quite sure what you mean? Mar 25 14:49:34 EnvironmentFile=-/etc/default/gpsd Mar 25 14:49:34 EnvironmentFile=-/etc/sysconfig/gpsd EnvironmentFile=-/etc/sysconfig/gpsd Mar 25 14:50:18 Yes, I think so - I have fixed my version so it uses the EnvironmentFile method, and it works Mar 25 14:51:02 sure Mar 25 15:24:18 how much i2c interfaces are there on a BB? Mar 25 15:25:31 what does the documentation say? Mar 25 15:27:47 OK 3, that is good, I have currently 2 available, i2c-0 and i2c-2 and in my uEnv.txt I put cape_enable=capemgr.enable_partno=BB-I2C1 Mar 25 15:28:25 but not showing up, by the way I used bone-debian-7.8-console-armhf-2015-02-19-2gb.img.xz Mar 25 15:28:29 to install the SD card Mar 25 15:34:52 AxonetBE you should look up if the kernel you are using supports capemgr Mar 25 15:36:05 woglinde: don't think so because there is no file like /sys/devices/bone_capemgr Mar 25 15:41:52 how can I add this support? Mar 25 15:42:36 you cannt on 3.14 Mar 25 15:42:54 so I can't use the i2c interfaces? Mar 25 15:48:09 AxonetBE: you can, somehow. I don't remember now how to enable that one i2c interface, but it can be done while running without a need to boot Mar 25 15:49:32 adj: ok but it means I can't have it automaticly after each reboot? Mar 25 15:49:32 AxonetBE: ah, sorry, I remembered incorrectly. I had only this: echo BB-I2C1 > /sys/devices/bone_capemgr.9/slots Mar 25 15:57:39 stupid contest, but if you have a Facebook account and some time to spare, you might comment "BBB" on https://www.facebook.com/MCMElectronics/photos/a.277947428940.142952.47440088940/10153011562208941/?type=1&theater Mar 25 15:57:58 * jkridner won't go as far as sending something to a mailing list Mar 25 15:58:38 adj: woglinde : so the best is to rollback to kernel 3.8? Mar 25 15:59:26 Is Cloud9 updated via package manager (apt-get)? If so, why does the package manager say it has been "held back"? If not, how do I update the beaglebone stand alone version? Mar 25 16:01:52 AxonetBE depends Mar 25 16:02:02 AxonetBE if you need it fast rollback Mar 25 16:02:36 othwerwise wait for rcn to tell you how to activate it under 3.14 Mar 25 16:02:47 I forgot it Mar 25 16:06:59 hi there, i guess this question is asked quite frequently. but i will have a try. are there any rumors about an updated bbb with gbe? Mar 25 16:08:18 what is gbe? Mar 25 16:08:46 woglinde: what do you mean with rcn ? :) Mar 25 16:08:46 gigabit ethernet Mar 25 16:13:43 robert c nelson the kernel maintainer for the bbb Mar 25 16:15:21 janis .. google 'beagle x15' Mar 25 16:22:02 holy cow. Mar 25 16:23:34 Have a gps on an CBB-Serial-r02 cape, attached 1PPS to CTS - gpsd do support that, right? Mar 25 16:24:39 In syslog I have: "pps pps0: new PPS source OMAP-SERIAL4" and "pps pps0: source "/dev/ttyO4" added", but "ppstest /dev/pps0" returns "time_pps_fetch() error -1 (Connection timed out)" Mar 25 16:28:10 Is Cloud9 updated via package manager (apt-get)? How do I update the beaglebone Cloud9 stand alone version? Mar 25 16:28:42 Emmentaler .. you can specify directly the package(s) via 'apt-get install xyz' and it will update Mar 25 16:29:08 doesnt work for held back packages I think Mar 25 16:29:22 Emmentaler .. only with 'apt-get UPDATE' Mar 25 16:29:32 sorry, UPGRADE Mar 25 16:29:55 apt-get INSTALL will go ahead .. if absolutely necessary you can 'aptitude safe-upgrade' Mar 25 16:29:57 hmm. let me try Mar 25 16:30:27 tried it on one of my debian systems recently with astack of 'kept back' packages Mar 25 16:31:07 IT still says kept back even when I specify cloud9-installer Mar 25 16:31:09 apt-get dist-upgrade will also install all the held-back packages Mar 25 16:32:19 Anyone run across "cloud 9 language worker could not be loaded" Mar 25 16:32:30 endrift .. that's useful Mar 25 16:32:46 I have tried the dist-upgrade as well. Still no joy. Mar 25 16:33:00 ...or at least that's what I've been told <_< Mar 25 16:33:03 Emmentaler .. what error are you getting. Mar 25 16:33:40 you may need to find a separate command to update the cloud9 .. may not be included via the 'installer' package Mar 25 16:33:55 From the Cloud9 ide I get "language worker could not be loaded". If I look in debug (running chrome) I see the message as well Mar 25 16:34:26 Error: Language worker could not be loaded; some language features have been disableddefault.js:10932 show Mar 25 16:35:11 I looked in the source code and there is a recent update that has to do with starting it with --collab Mar 25 16:36:15 Knaldgas: I'm not sure if the BBB's drivers support a PPS on CTS, but I know it works if you change it to a pps-gpio Mar 25 16:37:23 Good point ddrown: I've just tested that the PPS actually gets past the RS232 level driver, and it does. Now I will check the CTS line in software Mar 25 16:38:16 afaik there's no flow control on the serial ports.... Mar 25 16:39:40 I actually do not need flow control, I just need CTS-edges to reach the kernel (for 1 PPS) Mar 25 16:40:15 just change that pin to be gpio and use the pps-gpio module Mar 25 16:40:29 and you'll get your PPS timestamps Mar 25 16:40:50 ddrown: "Change that pin", that sounds easy(?) :) Mar 25 16:40:58 Ok, I'll try somehow Mar 25 16:41:03 yeah, requires a devicetree overlay Mar 25 16:41:49 This is what I used - http://dan.drown.org/bbb/DD-GPS-00A0.dts.txt Mar 25 16:42:07 slightly more info - http://blog.dan.drown.org/beaglebone-black-ntpgps-server/ Mar 25 16:43:11 just nailed that ddrown :) Mar 25 16:43:33 also .. https://groups.google.com/forum/#!topic/beagleboard/emMCqt_mllI .. Knaldgas Mar 25 16:44:22 phew, yet another thing for me to learn - Overlays :) Mar 25 16:44:42 Thanks ddrown and veremit, I'll dig into these links Mar 25 16:46:26 hm 3.8 kernel Mar 25 16:46:58 yeah, 3.8 is the latest one with capemgr Mar 25 16:47:20 newer kernels will run, but you'll need to redesign the devicetree stuff for it Mar 25 16:47:25 yes Mar 25 16:47:39 we need more blog article about 3.14 Mar 25 16:48:14 I agree Mar 25 16:49:53 need a go-to resource for the beagles .. Mar 25 16:50:04 single+ Mar 25 16:50:15 even if its just an index of blog articles Mar 25 16:50:23 like the arduino playground site Mar 25 16:51:49 dunno whether that can be accomplished through the elinux site? Mar 25 16:57:11 I think I found the problem, I didn't see that flowcontrol should be enabled through an overlay... - Can somebody tell me what this actually do (from the manual): "echo UART2­-RTSCTS > /sys/devices/bone_capemgr.*/slots" Mar 25 16:57:41 It seems a bit odd (overwriting the content of the slots-file) Mar 25 16:58:59 Knaldgas .. that's not an actual file :) Mar 25 16:59:11 its an interface to the capemgr system Mar 25 16:59:25 Right :o) Mar 25 16:59:35 you'll probably find you can't "read" it Mar 25 17:00:11 so its just a means to say "hey capemgr dude, I need *this* to work, please?" Mar 25 17:00:20 I can read it fine, but I can't write to it... Mar 25 17:00:41 you'll see in the syslog .. how it 'reacts' .. hopefully. Mar 25 17:01:04 if not, maybe it needs some debug flag Mar 25 17:01:07 This is weird Mar 25 17:01:33 "echo UART4-RTSCTS > /sys/devices/bone_capemgr.*/slots" gives "-bash: echo: write error: No such file or directory" Mar 25 17:01:45 I'd imagine if you want gpio on those pins .. you don't want uart cts/rts Mar 25 17:02:14 I've checked the gpsd code, and it does seem like the CTS line is monitored for PPS Mar 25 17:02:33 Knaldgas .. that may be true .. but you may find that the beagle's cts is not enabled Mar 25 17:02:45 ie. in the ti driver for the uart. Mar 25 17:03:00 hence, why those here have suggested pps/gpio Mar 25 17:03:18 I'd suspect they've done their research, just as you are :) Mar 25 17:03:31 veremit: So even though "cat /proc/tty/driver/OMAP-SERIAL" gives "uart:OMAP UART4 mmio:0x481A8000 irq:45 tx:446 rx:1332773 fe:697 pe:53 brk:8 RTS|CTS|DTR|DSR" I cannot rely on that? Mar 25 17:03:55 Knaldgas .. I wouldn't bet my life on it, no .. Mar 25 17:04:01 Right... Mar 25 17:04:22 however, I've been known to be wrong :D Mar 25 17:04:30 occasionally. Mar 25 17:04:31 :D Mar 25 17:04:32 A bit disappointing that Logic-Supply write that in their manual then :-/ Mar 25 17:04:36 Mee too :) Mar 25 17:05:37 it does depend very much on your kernel/build configuration though Mar 25 17:05:49 so yea... don't take that as gospel Mar 25 17:06:18 Of course - I would like to try to "just enable flow-control" as specified, and see if it "just works" then :) Mar 25 17:06:33 Would be the cleaner way, but I may become disappointed as you mention ... Mar 25 17:06:46 its a trial-and-error procedure .. and you learn plenty in the process, hopefully :D Mar 25 17:07:52 Oh dear, yes - I've used all Yesterday and this morning finding out the Factory defaults "TX Priority" is very bad for the RS232 radio link I'm using... Mar 25 17:08:28 Basically it means "just transmit, even if the other end is transmitting" *DUH* Mar 25 17:08:54 heh Mar 25 17:09:52 My BeagleBoard C5 keeps crashing Mar 25 17:09:55 :/ Mar 25 17:11:02 Knaldgas: check dmesg for messages, I don't have a /lib/firmware/UART2-RTSCTS.dtbo file Mar 25 17:11:24 Knaldgas: so unless you have one, it's probably complaining about not finding that cape to load Mar 25 17:11:56 ddrown: I do have a "/run/udev/firmware-missing/UART4-RTSCTS-00A0.dtbo" Mar 25 17:12:19 Ahh, "not really a file" Mar 25 17:13:14 WHERE?!!! lol Mar 25 17:13:24 Hmmm, that gave me a lead... Mar 25 17:16:41 Hey can someone help me find out why my BB keeps crashing? Mar 25 17:16:48 Hi, I built the kernel for the BBB and was able to load it via TFTP from the uBoot prompt Mar 25 17:17:05 gshrikant .. now you just need to write it somwhere :p Mar 25 17:17:09 * SpyKu is linuz n00b Mar 25 17:17:41 SpyKu .. do you have your trusty debug cable connected to J1 ?? Mar 25 17:18:15 I can break them out... Mar 25 17:18:18 veremit: Yeah, I am just screwing around with the build options to try things out. Mar 25 17:18:30 i';ve done this when I first got it years ago :P Mar 25 17:18:40 :) Mar 25 17:18:41 need to connect to Tc and Rc pins right? Mar 25 17:18:46 *tx/rx Mar 25 17:18:48 What I did not understand was where you get the LOADADDR from? Mar 25 17:19:02 pins 1,4,5 .. gnd, tx, rx (NB. not strictly that order) Mar 25 17:19:38 gshrikant .. its just a known address in RAM you can access, with enough 'space' to fit whatever in. Mar 25 17:19:50 I was able to do it without the grn pin connected Mar 25 17:19:57 I'd imagine its 'above' uboot/etc. Mar 25 17:19:57 gnd Mar 25 17:20:00 darn keyboard Mar 25 17:20:23 SpyKu .. might work, but not guaranteed to be without noise issues, but depends where 'else' you might have a ground :p Mar 25 17:21:58 So, I would be able to modify the load address to point to some other memory location? Mar 25 17:22:35 I think I'll need to dig a little more into the AM335x TRM before asking further. Mar 25 17:22:43 gshrikant .. in principle. I know of one uboot flashing procedure that uses several. Mar 25 17:22:49 agreed :) Mar 25 17:23:01 and uboot too Mar 25 17:24:41 veremit, one I get into debugging, can I make it so the BB always loads MMC first? Mar 25 17:24:47 veremit: Of course. :-) Mar 25 17:25:21 SpyKu yes .. but the boot process is a bit involved .. check with rcn on his return .. he's the guru. Mar 25 17:27:59 i thought I read somewhere you can use the armstrong demo and hold "user" for 10 seconds when boting but last night the page was down Mar 25 17:28:46 SpyKu .. depends entirely on which version of uboot and the bootloader are present on your individual board .. as a few 'tricks' have been employed Mar 25 17:33:21 On a different topic (and forgive me for being ignorant of this): why is the Device Tree only employed on specific architectures (ARM/PPC) and not others? Mar 25 17:33:57 history Mar 25 17:34:07 x86 had bios/acpi since ever Mar 25 17:34:28 PPC had DT, but the number of PPC systems was limited Mar 25 17:34:36 linus said ARM is a mess Mar 25 17:34:45 so ARM jumped on the DT train Mar 25 17:34:49 now its a different mess Mar 25 17:35:03 Yes, that mailing list post is what prompted me to ask in the first place. Mar 25 17:35:16 lol av500 .. figures Mar 25 17:36:39 its a less orderly mess .. at least there is some attempt at structure now .. Mar 25 17:36:46 les .. erm .. yanno. Mar 25 17:36:49 more orderly Mar 25 17:37:36 less disorderly* what I meant lol Mar 25 17:38:10 damn double negatives Mar 25 17:42:16 clearly I am new to the concept but I understand for interfacing any "platform" device to the processor, you'd need to make changes to the device tree? Mar 25 17:42:50 basically yea Mar 25 17:43:39 I am looking at this I2C IMU which I want to get working on my BBB. There's a IIO driver for it too. But documentation seems to run a bit sparse. Mar 25 17:44:05 if its i2c .. kernel driver should have that wrapped .. no ? Mar 25 17:45:56 gshrikant .. look for equivalents on similar platforms too Mar 25 17:46:15 I'm sorry I don't understand. "Kernel driver should have that wrapped Mar 25 17:46:21 won't be the same, but might give you a few key hints Mar 25 17:46:31 gshrikant .. the kernel has an i2c driver native Mar 25 17:46:50 ie . if you write a program to talk to the i2c device nodes .. you're good-to-go Mar 25 17:47:01 cf /dev/i2c-1 Mar 25 17:47:19 Yes. And I understood that the IIO subsystem is layered on top of the base I2C drivers? Mar 25 17:47:32 not sure about IIO .. could be.. never used it Mar 25 17:49:29 you know you're getting hardcore when you're reading the core kernel docs :) lol Mar 25 17:50:24 lol. It's just that I am having a hard time wrapping my head around the driver/sensor business. Mar 25 17:51:09 yea when you get an OS involved .. :) Mar 25 17:51:43 I figure you don't mess with the DT unless its some sort of pinmuxing situation or you're writing a driver or something. Mar 25 17:51:53 veremit: Exactly my thoughts :-) Mar 25 17:52:35 pretty much. Its the interface between hardware and software that pinmuxing takes care of .. and which processor function 'arrives' on that pin if there are more than one. Mar 25 17:52:47 which often there are. Mar 25 17:54:06 okay, that clears things up somewhat. :) Mar 25 18:24:22 morning all. Mar 25 18:26:29 faddah: Morning Mar 25 18:26:35 I need help Mar 25 18:26:59 I am trying to do this http://processors.wiki.ti.com/index.php/WL18xx_AMxxx_Platform_Integration_Guide#Prebuilt_Images Mar 25 18:33:09 blahh Mar 25 18:33:16 got distracted Mar 25 18:33:56 libregeekingkid .. "I need help" doesn't describe a problem .. please elaborate .. Mar 25 18:37:51 veremit - i think libregeekingkid is winding up for the story, sit back, enjoy. {sits in barcalounger, puts up feet, munches popcorn...} Mar 25 18:38:05 lol faddah .. or ping'ing out .. lol Mar 25 18:38:37 SpyKu: veremit I am trying to get a Wi-fi cape working with a beaglebone black Mar 25 18:38:47 go on ... Mar 25 18:38:52 what "doesn't work" .. Mar 25 18:39:19 I am using the pre-built Images provided to me here http://processors.wiki.ti.com/index.php/WL18xx_AMxxx_Platform_Integration_Guide Mar 25 18:39:29 still trying to find what pins on jtag or TX and Rx :/ Mar 25 18:39:36 or = are Mar 25 18:39:51 I can't do an apt-get upgrade there Mar 25 18:40:10 apt-get, nano commands are not working on it Mar 25 18:40:36 post error Mar 25 18:41:10 i'll be back, folks, booting out of ubuntu linux system for now. Mar 25 18:41:46 SpyKu: faddah: take a look http://paste.debian.net/163217/ Mar 25 18:41:56 libregeekingkid - right, because you need wifi or an internet connection and you probably have none to the beaglebone, yes? Mar 25 18:42:44 faddah: no, I am having internet connection via ethernet. I have logged in to it over ethernet Mar 25 18:43:45 sudo apt-get nano ? Mar 25 18:44:02 says no nano found Mar 25 18:44:19 faddah: SpyKu Take a detailed look here to its configurations Mar 25 18:44:20 http://paste.debian.net/163218/ Mar 25 18:44:23 libregeekingkid: so i take it "am335x-evm" is your beaglebone? Mar 25 18:44:32 faddah: right Mar 25 18:45:45 faddah: SpyKu: The biggest problem is this http://paste.debian.net/163220/ Mar 25 18:46:14 libregeekingkid: hmmmm... just never seen it named that. but i'm new too. in anycase, ssh'ing into your beaglebone with ethernet connected, can you ping google.com or yahoo.com or cnn.com? Mar 25 18:46:24 SpyKu .. apt-get update Mar 25 18:46:25 try aptitude Mar 25 18:46:52 oops let me refresh Mar 25 18:46:56 SpyKu - apt-get is part of aptitude, it's what he says he can't make work. Mar 25 18:46:59 SpyKu: I already did Mar 25 18:47:11 werid... Mar 25 18:47:15 ah probably angstrom Mar 25 18:47:17 no apt Mar 25 18:47:18 :) Mar 25 18:47:27 opkg --help Mar 25 18:47:39 ^ Mar 25 18:47:51 libregeekingkid - can you ping from the beaglebone with an ethernet connection? Mar 25 18:47:57 I am using a pre-built image provided by TI, logged in as root user with password beagle Mar 25 18:48:09 libregeekingkid .. "ping google.com" Mar 25 18:48:21 veremit - that's what i said. Mar 25 18:48:36 faddah: check the lines at the end http://paste.debian.net/163218/ Mar 25 18:48:50 libregeekingkid can ping Mar 25 18:49:02 just tyy opkg Mar 25 18:49:05 *try Mar 25 18:49:07 ok so where we at Mar 25 18:49:22 wlan is up I see Mar 25 18:49:28 so driver is loaded Mar 25 18:49:37 there's no IP address... Mar 25 18:49:44 and you prbably haven't got a link associated yet Mar 25 18:49:48 libregeekingkid - what distro is this "TI" using for this image you put on the beaglebone? Mar 25 18:49:54 try 'iwconfig' or 'wpa_cli status' Mar 25 18:50:11 faddah .. we'l be on angstrom/yocto Mar 25 18:50:58 veremit - i know angstrom, don't know yocto - is that an X window manager like unity or k or such? Mar 25 18:50:58 "evm" is the evaluation module variant .. not a "beagle" per-se .. just a generic am335x board Mar 25 18:51:07 veremit: I have not set an Ip address in interfaces. If I set it there Wi-fi will work fine. The board is also having Ethernet Connected. It can ping to internet Mar 25 18:51:16 faddah .. its a distro like 'debian' or 'ubuntu' or 'arch' or 'gentoo' etc Mar 25 18:51:28 veremit - got it. Mar 25 18:51:37 libregeekingkid .. have you configured your wifi interfaceon the beagle? Mar 25 18:51:50 libregeekingkid .. do you want it to Get an IP address .. or use a predefined one Mar 25 18:52:27 libregeekingkid & veremit - i would say whomever put his image together stripped it down and took out stuff to make it lean, like no aptitude. libregeekingkid, do you have stuff in there like wget & curl? Mar 25 18:52:28 libregeekingkid .. you may want 'dhcp' and a client eg dhclient or dhcpcd Mar 25 18:52:55 libregeekingkid .. standard yocto is a minimal build .. 'apt' is called 'opkg' Mar 25 18:53:06 sorry ,, tgats fir faddah Mar 25 18:53:06 veremit: I have not configured it right now. But I can do that easily. The problem here is not the cape. Its a missing package manager and basic things like nano Mar 25 18:53:22 libregeekingkid .. you can't use 'vi' ? *laughs* Mar 25 18:53:34 veremit & libregeekingkid - ah, forgot about opkg Mar 25 18:53:35 veremit: Internet access is not the problem here Mar 25 18:53:51 i'll leave you all to this, restarting, back in a while Mar 25 18:53:52 libregeekingkid .. sorry had my wires croseed Mar 25 18:54:11 libregeekingkid .. "vi" is an editor Mar 25 18:54:17 faddah: veremit: SpyKu: take a look at available commands here http://paste.debian.net/163221/ Mar 25 18:54:31 libregeekingkid .. your package manager for yocto should be 'opkg' .. but its a real **** Mar 25 18:55:20 libregeekingkid .. yeah that means ** **** Mar 25 18:55:32 you don't get "help" on linux :D Mar 25 18:55:46 libregeekingkid - that list has no opkg, wget or curl Mar 25 18:55:50 try "cat /usr/bin" :) Mar 25 18:56:11 those are your "commands" Mar 25 18:56:38 veremit - i think you mean "# ls -a /usr/bin"? Mar 25 18:56:52 faddah .. yeah true .. that one .. Mar 25 18:56:53 veremit - don't think you can "cat" a directory Mar 25 18:57:09 too many things at once :D Mar 25 18:57:31 so yeah, libregeekingkid - "# ls -a /usr/bin" - show us that Mar 25 18:58:15 totally can cat a directory. Mar 25 18:58:29 directories are foes like everything elee. Mar 25 18:59:05 faddah: veremit: agmlego|skynet: Take a look here http://paste.debian.net/163223/ Mar 25 18:59:22 why? Mar 25 18:59:51 there we go Mar 25 19:00:04 I se opkg :P Mar 25 19:00:17 +1 SpyKu Mar 25 19:01:08 iirc yocto has a 'nano' package Mar 25 19:01:19 opkg update Mar 25 19:01:46 guessing there's no 'nano' i the list, currently .. :) Mar 25 19:01:47 http://www.3open.org/d/oe/install_additional_packages_using_opkg Mar 25 19:01:49 veremit: SpyKu: I was thinking that this was debian as the pre-installed one. Now what is yocto Mar 25 19:01:49 should help Mar 25 19:02:18 libregeekingkid .. TI don't use debian. Mar 25 19:02:26 libregeekingkid, veremit & SpyKu - ok, so you have opkg, wget & curl. you can use those. Mar 25 19:02:43 libregeekingkid .. beagle project Does from rev. C onwards? Mar 25 19:03:08 iirc rev B and before are also Yocto Mar 25 19:03:41 libregeekingkid .. https://www.yoctoproject.org/ Mar 25 19:03:53 veremit: I am using a revision C Beagle Bone Black Mar 25 19:04:01 crap, they didn't even give him vi, vim or emacs, let alone nano. libregeekingkid - what do you use to text edit? Mar 25 19:04:07 I still need help connecting jtag to my pc's com port :x Mar 25 19:04:10 libregeekingkid .. then you have updated it somehow .. Mar 25 19:04:20 faddah: I use nano most of the times Mar 25 19:04:20 Can't find where the Tx and Rx pins are Mar 25 19:04:31 opkg update Mar 25 19:04:35 opkg install nano Mar 25 19:04:36 libregeekingkid - i mean on the beaglebone board? Mar 25 19:04:49 ^^^^^ what SpyKu sed. Mar 25 19:05:04 libregeekingkid .. run "opkg install nano" Mar 25 19:05:46 configuring wifi gonna be fun .. and there isn't an /etc/network/interfaces under yocto/angstrom is there? Mar 25 19:06:30 libregeekingkid .. http://www.angstrom-distribution.org/ .. is the core distribution previously used for embedded arm boards/etc. Mar 25 19:07:21 now how will I edit this file,, No nano, vi or vim Mar 25 19:07:48 can I use bb OTG port to get into debug? Mar 25 19:07:52 VIA usb? Mar 25 19:08:31 SpyKu .. https://codechief.wordpress.com/2013/11/11/beaglebone-black-serial-debug-connection/ Mar 25 19:08:41 SpyKu .. theoretically yes .. but if the driver is bust .. No. Mar 25 19:09:05 libregeekingkid .. at the prompt type "opkg install nano" or do you get an error? Mar 25 19:09:22 I have a beagleboar, not bone :/ Mar 25 19:09:33 This thing is so it's disty Mar 25 19:09:56 I did this like 4 years ago and forgot a lot Mar 25 19:10:36 Its giving me an error that it can't find the package nano. opkg update didn't worked as well. I have taken out the microsd out now. Will edit the file on my computer and then put it back again Mar 25 19:11:05 SpyKu .. its probably on the physical serial port .. Mar 25 19:11:51 hi i have aproblem..i try to connect my beaglebone black to monitor with hdmi but i can see black screen Mar 25 19:12:04 Yeah but what pins are transmit and receive? Mar 25 19:12:07 SpyKu .. if you got a usb/serial adapter and a null-modem serial cable/etc. Mar 25 19:12:20 db9 - gnd is 5, tx/rx are 2/3 Mar 25 19:12:33 I have 2 hand made cables I did years ago Mar 25 19:12:39 or 3/2 .. whichever idles 'high' or 'low' (ie. has a voltage on it) is "Tx" Mar 25 19:13:09 If I plug it in backwards will it break? Mar 25 19:13:17 noo .. thankfully :) Mar 25 19:13:32 it certainly shouldn't. Mar 25 19:13:34 Are you %1000 sure? Mar 25 19:13:46 85% :p Mar 25 19:13:51 :o Mar 25 19:14:06 I don't have the hardware in front of me to 'see' .. :P Mar 25 19:14:46 I lost my multi meter in hurricane sandy and never got another one Mar 25 19:14:49 SpyKu .. if you're worried and you have a meter .. put a pin/paperclip/etc in the connector and read voltage with a meter. Mar 25 19:15:02 they're not too expensive for a basic one Mar 25 19:15:24 it is my first time with this..how can i know the pins if is it high and low??? Mar 25 19:16:14 Menelaos .. is it turned on?! do you see blue lights flash on the beagle? Mar 25 19:16:35 Menelaos .. perhaps you can restart the beagle? Mar 25 19:16:43 veremit: SpyKu: Thanks guys for your help. I atleast figured the issue now. I just got introduced to yocto Mar 25 19:16:56 libregeekingkid .. yeah its Much harder than debian. Mar 25 19:17:13 and less documented :) Mar 25 19:17:36 veremit: Why don't TI people use debian for it then? Mar 25 19:18:02 libregeekingkid .. traditionally for embedded boards, angstrom was the preferred distribution becase it was customised Mar 25 19:18:07 veremit: I can't make the cape working on Debian. That is aldo one problm I am facing Mar 25 19:18:30 libregeekingkid .. now since the rPi, a lot of effort has gone into making mainline linux much more compatible Mar 25 19:18:52 libregeekingkid .. do you know what kernel version is on your beagle? "uname -a" might help Mar 25 19:19:17 libregeekingkid .. depeding on the kernel in use .. cape support is patchy Mar 25 19:20:23 Speed is what? 110000? Mar 25 19:20:25 or something Mar 25 19:21:05 veremit: The kernel version is 3.8.13 on Debian Mar 25 19:21:49 SpyKu .. 115200 / 8n1 / no flow control Mar 25 19:22:01 libregeekingkid .. thats probably most cape-friendly iirc Mar 25 19:22:37 looking for suggestions on bluetooth modules that will plug and play on a bbb under debian. Mar 25 19:23:13 i used the LSR TiWi-uB2 on another project - has anyone used that on the BBB? Mar 25 19:23:40 libregeekingkid .. if it were me, I'd use a usb wifi on a hub lol Mar 25 19:24:08 yates: No, I already had a Wi-fi dongle. It was working but it was droping a lot of packets. Then I ordered this cape. Mar 25 19:24:08 yates .. hardware interface or usb? I know usb ones 'just work' :) Mar 25 19:24:47 libregeekingkid: thanks. but i'm looking for bluetooth, not wifi Mar 25 19:25:07 libregeekingkid .. not this one I hope .. http://elinux.org/CircuitCo:BeagleBone_TiWi-5E_w/_EXT._Antenna Mar 25 19:25:53 veremit: i hadn't thought about that. Mar 25 19:26:24 veremit: what usb ones do you recommend? Mar 25 19:26:54 i was thinking of hardware interface Mar 25 19:26:56 yates .. not that I've used it much with linux.. but mine's just here . its a belkin 'f8t017 Mar 25 19:27:41 veremit: I am using this Mar 25 19:27:43 http://boardzoo.com/index.php/catalog/product/view/id/146/category/8#.VRML9ZRstxD Mar 25 19:28:25 veremit: http://elinux.org/CircuitCo:WL1835MOD_w/_Chip_Antenna Mar 25 19:29:33 veremit: if it works well that f8t017 is a great deal Mar 25 19:30:21 Not sure why I kep d/cing Mar 25 19:30:50 yates . depends whether you want something working fast .. or you want the learning process Connecting it and Getting it working :) Mar 25 19:31:07 libregeekingkid .. loading pages .. web so slow today Mar 25 19:31:08 veremit: there is another dimension: cost Mar 25 19:31:20 this is going into a mass-produced unit Mar 25 19:31:22 yates .. always :) Mar 25 19:31:37 yates .. the other favourite is 'size' Mar 25 19:31:50 veremit: :) yup. SWAP. Mar 25 19:32:09 size, weight, and power. Mar 25 19:32:33 yates .. the hc05 is one I know people have worked with a lot .. eg. https://donfuge.wordpress.com/2014/07/30/first-steps-with-the-hc-05-on-the-beaglebone-black/ Mar 25 19:34:45 veremit: nice! thanks for the link and reference. Mar 25 19:35:26 yates .. np Mar 25 19:36:14 libregeekingkid .. what you need to do is to compile the modules for the debian kernel. Which isn't too easy .. but its possible. Mar 25 19:36:31 Hmm nothing Mar 25 19:37:44 Oh.. Mar 25 19:38:30 SpyKu_ ?? Mar 25 19:39:10 looks like the hc05 is just some hardware wrapper around a CSR (Cambridge Software Radio?) module Mar 25 19:39:28 Not getting anything in putty Mar 25 19:39:41 yates .. its conceivable its a generic 'block' :) Mar 25 19:39:44 heart beat is pretty fast Mar 25 19:40:00 SpyKu_ .. serial settings correct? tx/rx correct? Mar 25 19:40:10 $10 - a little high, seems like Mar 25 19:40:12 SpyKu_ .. you should definitely see Uboot fire up, etc. Mar 25 19:40:53 I get nothing.. I might have it connected wrong Mar 25 19:41:59 maybe nothing on NAND? Mar 25 19:42:11 the user LEDs are started from userspace iirc Mar 25 19:42:28 SpyKu_ .. but you can try from a known uSD card ? Mar 25 19:43:12 yes I can boot from SD if I hold user when it boots or press reset Mar 25 19:44:09 I think it's connected to COM wrong Mar 25 19:44:34 No idae what I am doing here :P Mar 25 19:44:40 me too :p Mar 25 19:44:56 back Mar 25 19:45:17 really weird - my ubuntu install has no ifconfig - tried finding it through apt, no dice Mar 25 19:47:40 faddah .. sudo ifconfig :) Mar 25 19:47:59 I Can asssure you it does! Mar 25 19:50:58 http://www.elinux.org/BeagleBoardJTAG#Beagle_JTAG_connection Mar 25 19:51:04 http://www.aggsoft.com/rs232-pinout-cable/serial-cable-connections.htm Mar 25 19:51:19 is this even correct? Mar 25 19:52:20 SpyKu_ .. yes db9 is correct .. but it may be reverseed whether you're looking at the female/male connector .. but the pin number/functions are the same. Mar 25 19:54:11 veremit - found it, had to add "/sbin" to by path Mar 25 19:54:38 faddah .. that will exist if you're root .. shouldn't otherwise. Mar 25 19:54:47 or you're gonna break things :p Mar 25 19:55:36 hence you use 'sudo' or log in as root :p Mar 25 19:55:44 but log out afterwards :p Mar 25 19:56:05 veremit - that sounds like a challenge! Mar 25 19:56:43 No wai Mar 25 19:57:10 I need a cig :/ Mar 25 19:57:41 omfg... Mar 25 19:57:47 I think i connected it to com wrong :/ Mar 25 19:59:49 veremit: SpyKu_: faddah: Good night GUys.. time to get some sleep Mar 25 20:06:00 veremit, what are the Tc pin for beagle board? Mar 25 20:06:00 2? Mar 25 20:06:03 *tx Mar 25 20:07:09 SpyKu_ .. 2 or 3. Mar 25 20:07:58 how do i get remoteproc on my BBB / Mar 25 20:07:59 ? Mar 25 20:09:42 veremit: it's completely okay to have sbin in path Mar 25 20:10:49 ok, so jkridner, veremit & mastiff - i am trying to follow the instructions mastiff forwarded me yesterday, here: http://robotic-controls.com/learn/beaglebone/beaglebone-internet-over-usb-only . however, when i do the two commands on the beaglebone side as root there, they seem to work o.k. - in fact, if i do the second command more than once, i get "SIOCADDRT: File exists". in any case, when i then switch over to the Chromebook, do "sudo su" to go into su Mar 25 20:10:50 per user mode, as those instructions say to, and then do the, "ifconfig eth3 192.168.7.1", i get, weirdly, "SIOCSIFADDR: No such device eth3: ERROR while getting interface flags: No such device" - any help with this? Mar 25 20:17:12 test Mar 25 20:17:15 wtf Mar 25 20:18:57 jkridner, veremit, mastiff - you see the above query? ^^^^^ Mar 25 20:19:51 did you even do an 'ifconfig' alone to list what the right adapter number is? Mar 25 20:19:59 or did you just copy/paste 'eth3'? Mar 25 20:20:31 jkridner - the latter. i didn't know i was supposed to put in another adapter number, didn't say to do that Mar 25 20:20:49 guess the author made a bad assumption... Mar 25 20:20:54 the adapter number changes per system. Mar 25 20:21:35 the right solution to scale across users might have been to make a udev rule. Mar 25 20:22:51 Would it be better to use linux instead of windows to debug? Mar 25 20:22:55 Could that cause aconflict? Mar 25 20:23:42 jkridner - here is a gist of my ifconfig result, instead of 'eth3,' as he has, should i make it 'eth0', per that ifconfig ? Mar 25 20:24:04 where's the gist? Mar 25 20:24:16 jkridner - sorry, here => https://gist.github.com/faddah/5b71dbaa74cc58c8adbd Mar 25 20:24:34 yup, eth0 is the BeagleBone. Mar 25 20:27:06 jkridner - ok, trying it with that Mar 25 20:35:19 there has got to be a easier way to do this Mar 25 20:53:25 any joy yet faddah ? Mar 25 21:02:28 veremit, mastiff & jkridner - ok, went through all those instructions at http://robotic-controls.com/learn/beaglebone/beaglebone-internet-over-usb-only , and i made wlan0 my out facing internet connection (as it is, that is my wifi) and eth0 the beaglebone for the "MASQUERADE," and i added "nameserver 8.8.8.8" to the beaglebone "/etc/resolv.conf," but it's still not working. when i ping google.com from the beaglebone as root, i still get: "ping: unknown ho Mar 25 21:02:28 st google.com" Mar 25 21:02:54 there are no remoteproc header files on my BBB. Mar 25 21:02:57 faddah .. what's in your /etc/resolv.conf Mar 25 21:03:18 maybe thats because i am running bone47 Mar 25 21:03:21 faddah .. and results from 'route' command. Mar 25 21:03:22 veremit - on the beaglebone? Mar 25 21:03:35 veremit - again, "route" on the beaglebone? Mar 25 21:03:42 faddah .. no, the kettle .. jk .. :) Mar 25 21:03:47 i tried uprgading it but there was an error Mar 25 21:03:48 ERROR: The certificate of `rcn-ee.com' is not trusted. Mar 25 21:03:49 The certificate has not yet been activated Mar 25 21:04:02 can i get help over it ? Mar 25 21:04:47 ZeekHuge_ .. https://groups.google.com/forum/#!topic/beagleboard/PiYrlAUKXUM Mar 25 21:05:15 veremit - sorry, but because this is so confusing, when you ask for stuff like that, i need to know if you want it from the beaglebone or the Chromebook side. Mar 25 21:05:40 faddah .. the chromebook ain't gonna help you .. if you're getting beagle stuff working :P put it on the shelf. Mar 25 21:05:52 lol .. no use it as a terminal :D Mar 25 21:06:03 bad sense of humour :p Mar 25 21:06:15 veremit - /etc/resolv.conf on beaglebone: nameserver 192.168.1.1 nameserver 8.8.8.8 Mar 25 21:06:59 faddah .. ok so your router is on 192.168.1.1 .. through the wifi .. all configured and working (ie. you have internet on beagle) Mar 25 21:07:36 faddah .. except its resisting working .. hence why I'm looking for results of your "route" command which tells the beagle where to 'point' to .. Mar 25 21:07:45 .. for its outgoing connections Mar 25 21:08:04 veremit - result of "route" on the beaglebone: # route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default 192.168.7.1 0.0.0.0 UG 0 0 0 usb0 192.168.7.0 * 255.255.255.252 U 0 0 0 usb0 Mar 25 21:08:15 as I thought. Mar 25 21:08:24 beagle is using your usb0 as 'internet'. not the wifi. Mar 25 21:08:32 ^^ faddah Mar 25 21:08:56 veremit - so what do i do? Mar 25 21:09:11 faddah .. type "route add default gw 192.168.1.11 dev wlan0" Mar 25 21:09:26 faddah .. you'll need to add that to your network configuration later Mar 25 21:10:04 faddah .. let me just check .. WHICH connection are you trying to share .. FROM where TO where ? Mar 25 21:10:29 faddah .. think you and me, BOTH got which device you're sharing wrong lol Mar 25 21:10:58 veremit - FROM the Chromebook wifi internet connection across the USB TO the beaglebone black Mar 25 21:11:19 veremit the wifi on Chromebook is wlan0 Mar 25 21:11:32 faddah .. ok .. so the beagle is Right .. it's looking for the usb connection. Mar 25 21:11:47 faddah .. ignore what I just wrote about changing the route on the BEAGLE :) Mar 25 21:12:00 do you want my ifconfig from the Chromebook Mar 25 21:12:01 ? Mar 25 21:12:07 faddah .. lets go back tot he chromebook .. where I hope you're gained root access ;) Mar 25 21:12:08 veremit ^^^^^ Mar 25 21:12:22 veremit - yes, i'm "sudo su" on Chromebook Mar 25 21:12:39 faddah .. ifconfig is in the gist iirc Mar 25 21:12:57 yes, let me re-do it again Mar 25 21:14:22 faddah .. the chromebook needs to do DNS to the beagle (usually with eg. dnsmasq) .. and forward packets to it (iptables on Chromebook) Mar 25 21:14:55 faddah .. so, referring to the tutorial .. Mar 25 21:15:42 my ifconfig on the Chromebook: https://gist.github.com/faddah/5b71dbaa74cc58c8adbd Mar 25 21:15:58 veremit - yes ...? Mar 25 21:17:45 faddah .. on chromebook .. 1) iptables --table nat --append POSTROUTING --out-interface wlan0 -j MASQUERADE Mar 25 21:18:10 faddah .. on chromebook .. 2) iptables --append FORWARD --in-interface eth0 -j ACCEPT Mar 25 21:18:27 faddah .. on chromebook .. 3) echo 1 > /proc/sys/net/ipv4/ip_forward Mar 25 21:18:38 faddah .. bingo. Hopefully. Mar 25 21:20:03 faddah .. this will forward IP connections .. so you can 'ping 8.8.8.8' from the beagle .. but you won't have DNS resolution unless you use a package on the chromebook, OR google dns on 8.8.x.y Mar 25 21:20:22 faddah .. which is the contents of your /etc/resolv.conf ON the beagle. Mar 25 21:20:39 veremit - hang on, getting all that down to try on Chromebook. Mar 25 21:22:27 veremit - let's come back to the last two points, about how to ping anything else besides 8.8.8.8, in a moment, let me get all the rest done first. Mar 25 21:22:40 veremit, tho' i'm grateful for the help, thank you. Mar 25 21:22:42 faddah .. go for it .. Mar 25 21:26:03 veremit - o.k., just did all three of those commands on the chromebook, just as you said to do them. Mar 25 21:26:23 veremit - am now trying to ping 8.8.8.8 on the beaglebone Mar 25 21:26:31 faddah .. awesome Mar 25 21:27:43 veremit says it sent out one line of 56(84) bytes of data on the ping, but is just sitting there, nothing else Mar 25 21:27:51 hmm Mar 25 21:29:29 veremit - suggestions...? Mar 25 21:31:19 erm Mar 25 21:32:14 damnit. lol. Mar 25 21:33:11 so how can i now get remoteproc ? Mar 25 21:33:21 on my BBB ? Mar 25 21:33:37 ZeekHuge_ .. did you set the time on your beagle, and apt-get update ? Mar 25 21:36:26 faddah ..ping 192.168.7.1 from beagle? Mar 25 21:38:57 veremit - it's still on the first line of pinging 8.8.8.8, cancel that and ping the other? Mar 25 21:39:01 yes Mar 25 21:39:08 veremit: yes i did . Mar 25 21:39:38 ZeekHuge_ .. did it succeed? Mar 25 21:39:44 veremit - fyi, --- 8.8.8.8 ping statistics --- 817 packets transmitted, 0 received, 100% packet loss, time 816006ms Mar 25 21:39:55 faddah .. yeah that ain't working :D Mar 25 21:41:34 veremit - the ping of 192.168.7.1 works, let that run 19 times — --- 192.168.7.1 ping statistics --- 19 packets transmitted, 19 received, 0% packet loss, time 18026ms rtt min/avg/max/mdev = 0.308/0.424/0.491/0.054 ms Mar 25 21:41:54 faddah .. thats a start ,, beagle is accessing chromebook preoprly Mar 25 21:41:57 properly* too Mar 25 21:42:00 veremit: yes, i think so. there was no error msg. Mar 25 21:43:07 but still, no remoteproc header. Mar 25 21:43:10 ZeekHuge_ .. lets go for 'apt-get upgrade' then Mar 25 21:48:30 faddah .. hmm we seem to be having some trouble with iptables on the chromebook then. Mar 25 21:48:40 veremit - ok Mar 25 21:51:31 faddah .. " iptables -L -t nat" Mar 25 21:52:09 on chromebook Mar 25 21:56:19 veremit - added results of "iptables -L -t nat" on Chromebook to the bottom of the gist — https://gist.github.com/faddah/5b71dbaa74cc58c8adbd Mar 25 21:57:11 faddah .. well those two 'iptables' commands didn't work then .. lol there should be some stuff in there Mar 25 21:57:21 faddah .. can you do 'iptables -L' too ? Mar 25 21:57:42 faddah .. oh wait my bad... there is .. Mar 25 22:00:01 veremit - just added result of 'iptables -L' on Chromebook to bottom of gist — https://gist.github.com/faddah/5b71dbaa74cc58c8adbd Mar 25 22:05:07 faddah .. can you do "iptables -L -v" and "iptables -L -t nat -v" .. I think its got the right things .. but not 100% sure .. Mar 25 22:05:20 I'm thinking kernel doesn't have routing support though Mar 25 22:06:10 faddah .. "lsmod" might hint and "dmesg | tail -n30" Mar 25 22:19:26 veremit jkridner mastiff - back, sorry. my mouse/trackpad froze in that last session and had to restart Mar 25 22:23:18 veremit jkridner mastiff - and after i typed that, the Chromebook restarted on me for no reason. :P Mar 25 22:23:57 veremit jkridner mastiff - anyway, i missed everything from the last time i told you i pasted the results of 'iptables -L' to the bottom of the gist at: https://gist.github.com/faddah/5b71dbaa74cc58c8adbd Mar 25 22:25:13 veremit jkridner mastiff - any of you still here? Mar 25 22:25:37 faddah .. on chromebook .. 1) iptables --table nat --append POSTROUTING --out-interface wlan0 -j MASQUERADE Mar 25 22:25:46 faddah .. on chromebook .. 2) iptables --append FORWARD --in-interface eth0 -j ACCEPT Mar 25 22:25:54 faddah .. on chromebook .. 3) echo 1 > /proc/sys/net/ipv4/ip_forward Mar 25 22:25:58 faddah .. can you do "iptables -L -v" and "iptables -L -t nat -v" .. I think its got the right things .. but not 100% sure .. Mar 25 22:26:00 faddah .. "lsmod" might hint and "dmesg | tail -n30" Mar 25 22:26:05 I'm thinking kernel doesn't have routing support though Mar 25 22:26:28 veremit - uh, that was a _lot_. _which_ do you want me to do first? Mar 25 22:26:36 start from te top .. ;) Mar 25 22:26:57 veremit, ok, here goes... Mar 25 22:30:06 veremit - damn thing restarted randomly on me again. Mar 25 22:30:34 veremit - could you re-print those instructions from before again, please? Mar 25 22:32:44 faddah .. http://pastebin.com/L50xjRg4 Mar 25 22:33:17 veremit - much thanks for that and your patience here. Mar 25 22:44:01 veremit - ok, did all that, and added the results on the Chromebook to "iptables -L -v," "iptables -L -t nat -v," "lsmod," and "dmesg | tail -n30" at the bottom four entries to the gist at: https://gist.github.com/faddah/5b71dbaa74cc58c8adbd Mar 25 22:48:00 see all that, veremit? ^^^^ Mar 25 22:48:55 faddah .. thanks .. all looks fine to me .. sadly. lol. Mar 25 22:49:01 tried again from the beagle side? Mar 25 22:58:44 veremit - beaglebone will ping 192.168.7.1, nothing else. tried ping 8.8.8.8, get "connect: Network is unreachable", tried pinging 192.168.1.1 (the home network router), get connect: Network is unreachable", tried ping yahoo.com, get "ping: unknown host yahoo.com". Mar 25 23:00:00 faddah .. not sure what's wrong there then faddah , sorry Mar 25 23:03:06 faddah .. I've used a guide similar to https://www.debian-administration.org/article/23/Setting_up_a_simple_Debian_gateway .. personally .. but that's on a debian box Mar 25 23:03:30 veremit - oh well, thank you for helping, in any case. been banging my head on this one for three days now. have no idea why it is not working Mar 25 23:03:41 veremit: the remoteproc.h file should appear at /usr/include/linux , right ? Mar 25 23:03:48 veremit - i will check that article Mar 25 23:04:02 ZeekHuge_ .. that presumes the linux headers are installed Mar 25 23:04:44 after sudo apt-get upgrade, this was the output : http://pastebin.com/hkhMWikH Mar 25 23:05:13 and remoteproc.h file is still missing. do i need to reboot ? Mar 25 23:06:55 ZeekHuge_ ... Ouch! Mar 25 23:07:18 ZeekHuge_ .. "aptitude safe-upgrade" .. gotta work out all those errors. Mar 25 23:09:37 we can jsut ignore that "which cant be true " error , can we ? Mar 25 23:10:37 ZeekHuge_ .. I'm more concerned about the rest of the content on that line .. ;D Mar 25 23:11:22 ZeekHuge_ .. I'd be inclined, tbh, to create a new uSD card with the latest image, and go from there .. Mar 25 23:11:55 my BBB is a clone made by, element14 so, thats why these errors appear ( i was told this ). Mar 25 23:12:21 the hardware should be more-or-less identical .. so I suspect they're using an old software image Mar 25 23:12:56 so "aptitude safe-upgrade" wont work ? Mar 25 23:13:09 it will .. or should Mar 25 23:13:16 might need to 'apt-get install aptitude' lol Mar 25 23:13:21 yeah .. done that before! Mar 25 23:16:54 after aptitude safe-upgrade, the output : http://pastebin.com/f1dQjzy5 Mar 25 23:17:26 that...does not look like anything safe happened Mar 25 23:17:42 ^^^ Mar 25 23:18:01 I think there's a thing you can pass to apt-get to try to fix dependencies Mar 25 23:18:26 apt-get --fix-broken Mar 25 23:18:30 and/or --fix-missing Mar 25 23:22:46 i will have to take a backup of my data on BBB before flashing it up with the latest image . right ? Mar 25 23:23:06 or it will all be lost ? Mar 25 23:25:41 flashing a new image will replace the whole volume, so yes, back all your data up Mar 25 23:27:35 aptitude -f .. or apt-get -f .. I thought it was aptitude though Mar 25 23:28:00 +install if I remember right .. but with no packages Mar 25 23:30:06 should i try these commands ? Mar 26 00:13:45 hi , someone have this cape http://openhacks.com/page/productos/id/981/title/BeagleBone-Black-Expansion-%28Capacitive%29-5-inches#.VRG4-FmYreQ ? Mar 26 00:14:54 trying to implement space (stick) parity on BBB. Anyone have any experience with this? My problem is on the receive side. Mar 26 01:40:05 Hey guys. I got a problem with my beaglebone black. when I use the usb cable to the PC, everything works fine, but when I plug it into the wall without the usb, it boots and shuts off after like 3 seconds. What is going on?? Mar 26 01:41:47 I can't tell? Do you have the console cable to plug into J1? Mar 26 01:42:07 nope. I wanted to connect to it via Ethernet Mar 26 01:43:17 does that work? Mar 26 01:43:23 Well I remember the early days of linux... like VT220 days of linux. Anyhow the point is you need to have some sort of feedback mechanism, or you will have a few blinking lights and nothing. What about your power supply IS IT CORRECT? IT should be 5V (regulated) and 2A. Mar 26 01:43:49 5v DC @ 2.1 amps Mar 26 01:44:19 Have you checked it with a multimeter? You pluged it into the PC with the USB connection and it works with that? Mar 26 01:44:43 Ya it works if the power supply and usb are plugged in. Mar 26 01:44:57 What about just the USB? Mar 26 01:45:13 Works just fine Mar 26 01:45:30 I just checked... 5 v on a multimeter Mar 26 01:45:43 positive center Mar 26 01:46:37 do I need to configure it to run on its own? Mar 26 01:46:43 does it need a sd card? Mar 26 01:49:33 hopefully the polarity is correct. It should boot from the mmc (I could check that) Rev C board I pressume? Mar 26 01:49:48 What should I do GenTooMan? Mar 26 01:50:08 mmc? Mar 26 01:50:20 beagleboard black Mar 26 01:50:38 I dono what Rev Mar 26 01:50:59 pretty new Mar 26 01:52:45 If you paid ~$55 Us for it it's probably Rev C :D Mar 26 01:53:31 Yup! :D Mar 26 01:55:01 So now it boots when I plug it in, But when I plug the ethernet cable in, It dies. Mar 26 01:57:13 I wonder if POE is the problem. I would check the FAQ. Obviously it has something to do with the ethernet however I am uncertain what it is. Mar 26 01:57:49 Hang on, It just died on its own after about 5 secs Mar 26 02:04:45 poe should make no difference if the magnetics are good Mar 26 02:05:06 poe beagle would be cool, though Mar 26 02:05:47 Zock ... do you have another power supply for the barrel connector you can try .. I think this one is struggling .. Mar 26 02:06:19 it may be 5v when you start .. but if it goes below 4.8v I suspect the beagle will reset/shut down Mar 26 02:07:27 how long is the ethernet? Mar 26 02:09:56 Its about 8 feet into a router Mar 26 02:10:06 hewball **** ENDING LOGGING AT Thu Mar 26 02:59:58 2015