**** BEGIN LOGGING AT Tue Nov 18 02:59:59 2014 Nov 18 07:06:29 Hey how can i use watchdog from u-boot level to keep a track on kernel booting process.... Nov 18 07:15:12 sumit: setting up the watchdog in u-boot does not make much sense Nov 18 07:53:01 KotH : in os upgrade inside an embedded sys,if the new kernel hangs what is the other way to boot without replugging the device to power , i mean is there a way to contrl this situation from software.... Nov 18 07:53:43 sumit: ah.. i see Nov 18 07:53:48 sumit: ok, then it makes sense Nov 18 07:54:13 sumit: but you need to modify u-boot to properly handle this, and maybe the kernel too Nov 18 07:54:51 sumit: there was a talk on reliable remote upgrades of embedded systems at ELCE two months ago Nov 18 07:55:07 sumit: you should contact the guy who gave the talk, he might have some tips Nov 18 07:55:39 sumit: but please! do some googling first Nov 18 07:56:08 thanks KotH Nov 18 08:05:04 does anyone know where the debug console is set in debian jessie? There is a reference to it in /etc/inittab but it doesn't seem to affect anything. Nov 18 08:05:23 multiple points Nov 18 08:06:00 one is u-boot's own configuration, then the kernel parameter, then inittab that tells the getty what config it should use Nov 18 08:06:10 it's a good idea to have all of them the same Nov 18 08:06:28 johnwalkr: also say hi to the japanese around you :) Nov 18 08:06:44 ok, thanks, that helps Nov 18 08:07:00 well I hope it helps anyway Nov 18 08:07:12 and i will Nov 18 08:08:20 another question I couldn't find an answer to but is probably ina technical document somewhere, does anyone know off the top of thier heads how long the boot pins are needed for (at boot)? Nov 18 08:08:27 johnwalkr: if you need a consultant to help you with your project, feel free to contact me. if you pay for the flight and a place to stay and the food, i will work for free :) Nov 18 08:08:43 hmm.. that should be in the TRM Nov 18 08:08:45 if it is Nov 18 08:08:48 or the datasheet Nov 18 08:09:22 it's not in the reference manual, it must be in the cpu datasheet but i was getting dead links trying to find the datasheet so i thoguht I would ask Nov 18 08:09:55 just in case someone knew, i'll go back to finding the datasheet now Nov 18 08:10:26 and I don't even get paid what you are asking for so probably you're out of luck :) Nov 18 08:11:03 huh? Nov 18 08:11:15 master thesis project? Nov 18 08:28:35 KotH: phd project Nov 18 08:29:03 i do get paid but it's a general scholarship, nothing to do with my project specifically Nov 18 08:30:20 johnwalkr: hmm.. Nov 18 08:30:29 johnwalkr: no project budget? Nov 18 08:32:10 there is but i don't really see us flying in consultants Nov 18 08:32:37 actaully we use BBB a lot for running tests and stuff but it's not our flight hwardware Nov 18 08:34:37 johnwalkr: well, as i said, as long as i get a place to stay, i work for free :) Nov 18 10:07:20 hi to all! Nov 18 10:08:47 do you know how to access leds with beaglebone black's debian? Nov 18 10:09:23 ls -al /sys/class/leds is empty Nov 18 10:09:24 https://www.google.com/search?q=beaglebone+debian+LED Nov 18 10:09:42 hmm Nov 18 10:09:52 i already spent 2 h searching in vain :( Nov 18 10:12:50 the official image should have that, as it's part of the cloud9 demo? Nov 18 10:13:05 hi Nov 18 10:14:21 Guest92402: what are you running? Nov 18 10:14:30 can you please install latest debian from the website Nov 18 10:14:36 the preinstalled image Nov 18 10:14:38 ok Nov 18 10:14:54 which is a debian Nov 18 10:16:03 Guest92402: are you able to toggle the leds from the cloud9 demo? Nov 18 10:16:11 yes Nov 18 10:16:25 then there is "a way™" Nov 18 10:16:32 but i have no files into /sys/class/leds nor /gpio Nov 18 10:16:34 look at how that does it? Nov 18 10:17:46 mmm i have removed apache and its files ^^ Nov 18 10:18:01 it's not apache that gives you cloud9 IIRC Nov 18 10:18:46 yep i suspected that too Nov 18 10:19:20 i'll try first with re-flashing Nov 18 10:19:27 tnk for help Nov 18 10:19:34 it's there in sysfs... Nov 18 10:19:56 if there is a sysfs, there is a way Nov 18 10:19:58 find /sys |grep -i led Nov 18 10:20:08 as a quick kludge Nov 18 10:20:20 useless use of grep! Nov 18 10:20:27 yes, I know Nov 18 10:20:44 * tbr can never remember the right find incantation Nov 18 10:20:54 i'm a total noob Nov 18 10:20:58 find -iname '*someword*' Nov 18 10:21:14 ah, so I forgot '' this time... Nov 18 10:21:19 i accessed the wrong device Nov 18 10:21:23 sorry to all :( Nov 18 10:21:28 heh Nov 18 10:21:51 tbr: proper escaping is key in shell scripting :) Nov 18 10:22:02 2h wasted for the wrong ssh ip :( Nov 18 10:22:10 rotfl Nov 18 10:22:24 KotH: indeed Nov 18 10:22:25 tnk to all anyway and sorry Nov 18 10:24:21 i've been there Nov 18 10:24:38 i use hostnames whenever i can Nov 18 15:16:40 Hi Nov 18 15:17:06 Is there anybody out there Nov 18 15:17:39 * agmlego whistles a few bars of "Comfortably Numb", then goes back to work. Nov 18 15:20:24 there is no life out there... it's just emptyness.. dark emptyness... Nov 18 17:58:32 playing around with interrupts. this appears wrong "To get events, just do a blocking read to the value file, and the read will block until the event occur" http://beaglebone.cameon.net/home/using-the-gpios Nov 18 17:58:40 it doesn't, it returns immediately Nov 18 17:59:42 poll with POLLPRI also returns immediately, even if there is no interrupt (verified by checking /proc/interrupts Nov 18 18:00:59 and the revents shows a POLLPRI... but there *is* no interrupt Nov 18 18:04:59 does this even work anymore, or am i doing something incorrectly? edge is set to falling. value is 1. i'm using poll with POLLINT and -1 for timeout. and poll is returning instantly, /proc/interrupts shows no interrupts Nov 18 18:09:04 nevermind, it's something i'm doing wrong, this works perfectly https://www.ridgerun.com/developer/wiki/index.php/How_to_use_GPIO_signals Nov 18 18:13:59 hmm, fascinating. it appears un-possible to pass poll just one fd and POLLPRI it. it'll always return immediately unless there's some other fd provided. at least that's what appears true Nov 18 18:14:18 nfds must always be > 1 Nov 18 18:16:12 dummy read appears to be the workaround. monologue concluded :-) http://stackoverflow.com/questions/16442935/why-doesnt-this-call-to-poll-block-correctly-on-a-sysfs-device-attribute-file Nov 18 18:27:46 hi Nov 18 18:28:11 has anyone experience with opkg and a little time to help me out? Nov 18 18:33:16 i have a problem: after creating the gcc ipk files through the bitbake command in yocto project for the Angstrom distribution, i copied one of the package files through ssh to the beaglebone but i couldn't install the package with the opkg install command since it only sees the already installed version and the feed of that package Nov 18 18:34:53 the problem is that i cannot force opkg to choose my package over the the one in the feed Nov 18 18:35:33 it is seems like it wouldn't recognize the ipk file as a package file Nov 18 18:39:38 what did you specify the package name, or the file name? Nov 18 18:49:15 gcc_linaro-4.8-r2013.12.0_armv7ahf-vpf-neon.ipk Nov 18 18:49:46 the currently installed verison is Nov 18 18:49:58 linaro-4..7-r9.2 Nov 18 18:50:04 linaro-4.7-r9.2 Nov 18 19:09:07 and did you issue okpg command from the same directory as the ipk? Nov 18 19:10:58 yes Nov 18 19:11:01 of course Nov 18 19:11:10 the result is still the same Nov 18 19:17:53 it says that: package gcc (linaro-4.7-r9.2) installed in root is upt to date Nov 18 19:19:58 you did opkg gcc_linaro-4.8-r2013.12.0_armv7ahf-vpf-neon Nov 18 19:20:33 can't remember if the ipk extension is required or not Nov 18 19:21:02 tried both ways Nov 18 19:22:06 tried both ways Nov 18 19:22:46 if you do not put the extension after it, it will recognize it as an unknown package Nov 18 20:45:26 hiho Nov 18 20:46:24 is the bbb freezing when using hdmi a common problem? Nov 18 20:51:20 Does anyone know it Pixhawk Fire "cape" it is released yet? Nov 18 20:59:10 z0ttel: not that I know of Nov 18 20:59:52 z0ttel: powering it via USB ? or the barrel? Nov 18 21:00:08 the barrel Nov 18 21:00:32 I hope I didn't fry anything when I built my max232 cape o.o Nov 18 21:02:03 it usually takes some time for it to freeze, so sometimes I get to login, sometimes I can work with the desktop for some time Nov 18 21:02:17 if you're sharing pins with the virtual cape, bad things can happen Nov 18 21:02:39 I just used a 5V supply and the debug console Nov 18 21:04:39 if it's not a common problem (happens with two different monitors) I'll probably just try building a kernel and other bugfixing stuffs, thx :) Nov 18 22:43:12 Can't seem to connect to my BBB via http://192.168.7.2 on my mac. The Usb drive shows up though. Any hints? Nov 18 22:44:14 ave you installed the drivers for mac? Nov 18 22:44:54 Yes. Nov 18 22:45:24 oh. Nov 18 23:01:08 ping? Nov 18 23:03:34 try ssh from console: ssh root@192.168.7.2 Nov 18 23:04:13 are there errors or just no connection **** ENDING LOGGING AT Wed Nov 19 02:59:59 2014