**** BEGIN LOGGING AT Sun Nov 02 03:00:00 2014 Nov 02 04:10:05 hello Nov 02 04:10:42 I have a beaglebone black xm and no longer have the usb cable. Nov 02 04:10:53 need info about power Nov 02 04:11:12 can somebody point me to a url that will provide info ? Nov 02 04:13:32 http://beagleboard.org Nov 02 05:07:18 ha ha Nov 02 05:08:43 why is that funny Nov 02 05:12:34 I asked for a link and veremit gives me the homepage of beaglebone Nov 02 05:12:50 classic irc chat response Nov 02 05:13:21 i found the specs Nov 02 05:13:39 and have an adjustable ac-dc power adapter Nov 02 05:13:53 so I'll just proceed Nov 02 07:51:40 Hey.! I'm not able to connect to my beaglebone black via ssh.. i'm using ubuntu14.04 Nov 02 12:24:59 Hi, i just re-flashed my emmc with latest debian image and now ethernet does not work. Any ideas? Nov 02 12:25:20 (Beaglebone black then) Nov 02 12:37:41 tor, Look at dmesg, "ip link" etc Nov 02 12:38:54 MK_FG, sounds like a faulty devtree to mee: Nov 02 12:39:12 [ 25.169907] net eth0: phy 4a101000.mdio:01 not found on slave 1 Nov 02 12:39:12 [ 30.746057] libphy: PHY 4a101000.mdio:01 not found Nov 02 12:40:17 http://pastebin.com/tt49Ur6m Nov 02 12:40:52 Hmm, no ethX in interfaces Nov 02 12:40:56 only usb?? Nov 02 12:41:21 Seem to use mdio:00 here - "[ 3.649614] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720" (3.16.3 + rcn patches) Nov 02 12:42:00 No idea if that last number should be relevan though, don't know much about device tree magic Nov 02 12:42:33 Ok, problem solved. :( Nov 02 12:43:01 Oh, though looking at that paste I see you have :00 probed there as well Nov 02 12:43:03 I had to add config for eth0 then it works :( Nov 02 12:43:12 Heh Nov 02 12:44:10 Another question though. Any pointers to resources to recompile kernel Compile module out of tree for BBB? Nov 02 12:44:18 And the debian install. Nov 02 12:46:14 Not using debian here, but I imagine same thing as with arch should work - e.g. grab sources and debian/ files/patches and rebuild the thing with your stuff added there Nov 02 12:46:44 Slow on BBB of course, but if leaving it to build overnight is ok, should work Nov 02 12:47:00 MK_FG, i found this: https://github.com/beagleboard/linux Nov 02 12:47:10 but that seems to be 3.14.x Nov 02 12:47:20 while the installed image runs 3.8.x Nov 02 12:47:56 Is it the 3.8 branch from there that is used in the image? Nov 02 12:48:02 I think debian-bb stuff should be somewhere in http://rcn-ee.net/deb/ Nov 02 12:49:21 Ok, thx there is something 3.8.13-bone50 that matches uname on the board. :) Nov 02 13:08:12 tor, You might want to have more solid connection before downloading random kernel sources off some site you see for the first time ;) Nov 02 13:08:36 I think it should be listed in sources.list and package metadata (e.g. "aptitude show" or whatever) Nov 02 13:10:18 MK_FG, yep and thx. I will keep digging. Nov 02 13:11:39 Im however hoping for the github one. Seems to be the most reasonable one. Im very reluctant to buildsystems with 10K patches etc etc. Nov 02 13:12:41 All the same things should be somewhere under https://github.com/rcn-ee/ probably, and maybe in github.com/beagleboard/linux, not sure Nov 02 13:13:30 I thought that you can just grab the "debian/rules" thing and it'll have all the urls and stuff though, only need to add your changes on top Nov 02 13:14:44 MK_FG, i will check them up as well :) Nov 02 16:24:57 has anyone got ADC working with 3.17.1 kernel? Nov 02 17:06:54 Yay, I've got an RTC clock (DS1307) working on my BBB. Including using BSN10A as level shifters. Nov 02 17:07:41 Is there always a device at 0x50 on i2c-1 ? Nov 02 17:18:11 you need level shifters for a ds130x? Nov 02 17:18:43 Yeah, it's a 5V device, so you either need resistors or level shifters. Nov 02 17:19:01 def. won't run at 3v3? Nov 02 17:19:15 what an arse. Nov 02 17:19:43 Datasheet says: Vcc min: 4.5V, Typ: 5.0V, Max: 5.5V Nov 02 17:20:10 begs the question .. is there a 3v variant or equivalent :) Nov 02 17:20:15 And the little PCB I got has the pull-ups alread on it. So I could either remove the SMD resistors. Nov 02 17:20:30 Hah.. I bought it yesterday at a ham-radio fair, and the seller assured me that it was a 3.3V compatible device. Nov 02 17:20:38 -sigh- typical Nov 02 17:20:55 Datasheet Datasheet Datasheet. :) Nov 02 17:21:20 Actually, Adafruit does offer one running of 5V, but without pullups to 5V, so it should be compatible with a 3.3V device, as SDA/SDL only get pulled down by it, and V_IH starts at 2.2V anyway. Nov 02 17:22:26 heh seems i was using a testing snapshot, that might be the cause of my issues Nov 02 17:23:07 I'll probably get a 3.3V one with built-in Xtal and higher accuracy than the 1307, I'll consider this an expensive lesson learend at €4.75 ;-) Nov 02 17:23:34 I have a ds3231 i got on amazon that seems to work well on 3.3v Nov 02 17:24:33 i had considered simply battery backing the whole board though instead of dealing with syncing two rtcs, what do you guys think? Nov 02 17:25:02 jimmyhoughjr: that's the one I want to get too, but as chip, not as kit. Nov 02 17:25:26 ah heres a link to the breakout Nov 02 17:25:27 http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=uspro+ds3231 Nov 02 17:25:45 I can't solder surface mount, so i stick to breakouts Nov 02 17:26:12 where could I find data on the power consumption for the bbb? Nov 02 17:26:13 yea smd seems to be the way its gone .. not cheap to get going though Nov 02 17:26:20 jimmyhoughjr: won't work at the moment. Even if you keep the board powered, the internal RTC doesn't remember a think if you do a shutdown with it still connected to 5V/USB. Nov 02 17:26:31 JimmiHugh .. if you wanna start the board up you need <=2A Nov 02 17:26:50 keep a coin cell for the rtc Nov 02 17:26:50 last time i tried soldering some smd caps onto an olimex pic board, I melted an enttire pack of them Nov 02 17:27:00 There is work underway by some people to allow a shutdown state that keeps the internal RTC powered from e.g. a LiIon on the 4pin battery controller connector, but that's not going very fast. Nov 02 17:27:25 you gotta break the PMIC f/w .. needs to be done .. Nov 02 17:27:36 veremit i had done some experiments but it seemed a hassle to sync rtc0 and rtc1 Nov 02 17:27:48 it should load from i2c no? Nov 02 17:27:52 on boot? Nov 02 17:28:13 jimmyhoughjr: I hand-solder SMDs for fun. I have the logic-supply break-out board. Put a DAC in SOIC-6 on it, after removing the flux it looks as if it was done in the factory. Nov 02 17:28:17 on-board rtc is useless except when powered Nov 02 17:28:26 yeah it saw it but I had read that the unix time stuff used rtc0 regardless of another being present Nov 02 17:28:51 you gotta bootstrap rtc0 from rtc1 .. then should be fine Nov 02 17:29:02 Peanut I havent tried with my new soldering iron with a thinner tip, I have a very good magnifying camera I use to solder with Nov 02 17:29:13 or write some udev nastiness to make rtc0 the external ;) Nov 02 17:29:39 heh im pretty new to nix. I'm a high level programmer mostly Nov 02 17:30:03 well not new, but not an expert. my first linux was redhat 6.2 Nov 02 17:30:12 "the microsoft killer" lol Nov 02 17:30:24 veremit: Adafruit have some systemd (yuck) code that on boot initializes and then reads rtc1, and writes it to rtc0 and the system clock. Nov 02 17:30:51 how does it handle the clocks getting out of sync? Nov 02 17:30:56 lol Nov 02 17:31:06 ie set it once, the system clock woudl drift, wouldnt it? Nov 02 17:31:07 yea who's bright idea was systemd?! Nov 02 17:31:18 bloody shouldn't .. wtf use is it ?! Nov 02 17:31:43 for my application it would generally be able to use ntp Nov 02 17:31:44 jimmyhoughjr: I think that NTPD writes the hwclock every 11 minutes when it is running, but probably only rtc0. Nov 02 17:32:22 hmm so in that case i could maybe sync rtc1 with rtc0 after boot, then at boot sync 1 to 0 Nov 02 17:33:02 so many design considerations for this project. I cant even decide between rails or node.js Nov 02 17:33:04 you might be able to configure ntpd to sync both clocks if its critical Nov 02 17:33:19 hmm ill look into that Nov 02 17:33:26 Not 'critical', just nice-to-have. Nov 02 17:33:50 depends how important your timing is .. if you need a high resolution timer, wouldn't be relying on the system clock lol Nov 02 17:34:01 this project is for time based automation, so accurate timing is fairly critical Nov 02 17:34:30 down to a few seconds is normally considered 'adequate' if you got clocks driftin more than that . you got problems :) Nov 02 17:34:35 Mine will ultimately be running of a Rb clock and GPS receiver, becoming a stratum-0 NTP server and PTP grandmaster. Nov 02 17:34:49 Peanut .. sounds cool Nov 02 17:34:56 yeah Nov 02 17:35:31 Using GPS (or NTP) for long-term correcting the Rubidium, and using it for short-term stability and holdover. Nov 02 17:35:48 if i can keep the cpu from maxing out i guess ill just stick with node and the cloud9 ide Nov 02 17:36:08 The RTC is really just for bootstrapping and because not having one is annoying. Nov 02 17:36:29 I thought the whole idea of rubidium was its native accuracy Nov 02 17:36:39 like ms in months/years Nov 02 17:36:53 veremit: Yup, but a Rb is not actually good enough for what I need. Long term accuracy is insufficient. Nov 02 17:37:25 yup no time at boot is lame in this age lol Nov 02 17:37:48 whats the need for high accuracy, Peanut? Nov 02 17:38:00 but it saves cost lol. I'd have paid $10 more not to have to engineer this solution lol Nov 02 17:38:19 Pulsar timing and VLBI. Nov 02 17:38:20 he is making sharks with freakin laser beams on their heads! Nov 02 17:38:22 jimmy .. all too often a false economy Nov 02 17:38:58 veremit: Yup, but they were up against the RasPi. Nov 02 17:38:59 wow .. serious stuff for a tiny micro :) Nov 02 17:39:14 yeah thats the biggest farce I ever saw. But I admire the effort. lol. Nov 02 17:39:28 veremit: Nah, that's just hobby :-p Nov 02 17:39:38 It proved a principle .. and that is enough for me. Nov 02 17:40:04 its opened the market to low-cost embedded arm, and I'm very grateful for that. Nov 02 17:40:26 but what a hardware mess lol Nov 02 17:40:59 I am really happy with the current ecosystem, with all kinds of gadgets that you can just connect to an Arduino, RasPi or BBB. Nov 02 17:41:30 yea mostly those who are selling have dealt wiht most of the interface issues. Nov 02 17:41:41 But a mate of mine who's new to electronics is till having teething issues lol Nov 02 17:43:37 i have a bsee but im not that good in ee anymore, beenn doing programming too much! Nov 02 17:44:11 is there a quick way to see if im booted from the uSD or MMC? Nov 02 17:44:27 Pull it out and see if it keeps running? Nov 02 17:44:37 lol thats quick Nov 02 17:44:42 Sorry :-) Nov 02 17:44:47 couldnt that damage the fs? Nov 02 17:44:57 here it goes... Nov 02 17:44:59 It very likely will yes. Nov 02 17:45:05 damn Nov 02 17:45:19 lol Nov 02 17:45:20 Message from syslogd@beaglebone at Nov 2 17:45:05 ... Nov 02 17:45:21 kernel:[ 513.602837] journal commit I/O error Nov 02 17:46:02 hhha Nov 02 17:46:18 erm fdisk -l might give you a hint Nov 02 17:46:24 Sorry.. just unvoice me till I'm sober again. Nov 02 17:46:45 ah worst case scenario i just reflash the sd Nov 02 17:47:16 yip Nov 02 17:47:32 Yup, or a crash course in rescueing a Linux system from the brink. Nov 02 17:48:10 there are emmc scripts/images too :) Nov 02 17:48:20 If you do i2cdetect -y 1 , do you also see a device at 0x50? Nov 02 17:50:00 nah, wierd - if I disconnect I2C from my breadboard, the 0x50 disappears. But it shouldn't be there! The 0x68 is the RTC, no clue why it also shows the 0x50 Nov 02 17:51:23 yeah il try the script, id rather nto wait 30 mins to reflash the sd Nov 02 17:51:47 Dam jimmyhoughjr, you really just pulled the uSD? :-( Nov 02 17:52:00 yeah didnt you see what i pasted? Nov 02 17:52:06 its ok i htink Nov 02 17:52:10 it booted right back up Nov 02 17:52:42 mah screw it ill just dl a flasher image Nov 02 17:54:32 i am impressed that this chip can run at 1 GHz without a heatsink Nov 02 17:58:16 or maybe its underclocked like the pi is Nov 02 17:58:44 naa I think max am335x will do is maybe 1.2ghz Nov 02 17:59:07 You're saying I could overclock my BBB with a bit of cooling? Nov 02 17:59:16 its just a low-power chip rather than these inefficient x64 intel blobs Nov 02 17:59:30 The CPU is a lot easier to cool than on a RasPi, as there's no RAM stacked on top of it. Nov 02 17:59:33 there's literally 1000s less transistors and only 1 core :D Nov 02 18:00:24 And it's still loads faster than the desktops I had in the 90s. Nov 02 18:00:37 yea wack lxde in it flies :D Nov 02 18:05:17 it looks like the old angstrom images used gnome Nov 02 18:05:32 gnome never seemed efficient back when i used it Nov 02 18:08:10 ubuntu is bloaty too Nov 02 18:08:50 I assume angstrom is most efficient, but ill stick with debian i think Nov 02 18:09:03 is someone still updating angstrom images? Nov 02 18:09:15 Mojito++ Nov 02 18:09:27 its just a bit older than debian .. more embedded-centred Nov 02 18:09:28 And in ohter news, I now have a /dev/ttyO4 to talk to. Nov 02 18:09:46 Peanut.. should easily support 4 I thought :) Nov 02 18:10:42 But it's going to take me a long time to stop typing ttyS4 instead of ttyO4 Nov 02 18:10:54 lol yea Nov 02 18:11:36 almost dpne flashing the sd Nov 02 18:11:52 Nice - I put pin 13 and pin 11 together on P9, and I can now read back what I type in picocom. Nov 02 18:12:09 yup Nov 02 18:12:19 whats picocom like? I've always ysed minicom Nov 02 18:13:03 It's like minicom without the bloat. Minicom is really for talking to a modem, picocom is great if you are talking to other serial devices without the whole dialup stuff in between. Nov 02 18:13:22 screen works well for serial devices. Nov 02 18:13:28 ah I didn't like the modem shit in minicom .. will have to try out picocom Nov 02 18:13:31 mmattice: wut, screen does serial? Nov 02 18:13:34 never used screen that way Nov 02 18:13:35 and screen is if you don't want to configure things at all Nov 02 18:13:44 screen /dev/ttyUSB0 $BAUDRATE Nov 02 18:13:52 you just stty dev/blah ? Nov 02 18:14:00 veremit: yeah, you can just run 'picocom -b 1200 /dev/ttyO4' and it does 1200 baud. Nov 02 18:14:10 mmattice: brillant, I gotta try me that. Nov 02 18:14:15 if it's got funky settings, yeah. Nov 02 18:14:33 hrm well I use screen/tmux .. but .. well they're emerged.. :) Nov 02 18:14:56 So now I'm going to build 2 more level converters and hook the RS232 on the Rubidium up to the BBB and see if they can be friends. Nov 02 18:15:13 cool .. g/l Nov 02 18:15:24 I'm gonna refuel .. bbl :) Nov 02 18:27:38 yay node performance seems much better on the image from may Nov 02 19:02:37 im curious why apache2 is installed and running when it appears to not be serving any sites Nov 02 19:23:46 Does anyone know if the BBB needs an inverting or straight buffer for its RS232? Nov 02 19:25:22 I would think inverting, since the bone talks TTL serial a la FTDI cable, not RS232. Nov 02 19:25:51 Yeah.. that's sort of the conclusion I was coming to, too *sigh* Nov 02 19:26:59 Fortunately, the MAX232 and like are inverting. Nov 02 19:27:30 Yeah, but I need to connect it to a 5V device that pretends it is doing real RS232. Nov 02 19:27:48 As in, it's doing TTL level RS232, but the kind you can plug straight into a PC (with a bit of luck). Nov 02 19:29:13 Well, since you still need to do a level-conversion, easy enough to jsut use an inverting converter. Nov 02 19:31:33 Yup - but I'm just going to recongifugre my FET level-shifter to invert, because that's parts that I have laying around. Nov 02 19:31:55 Same thing. Nov 02 19:33:13 testing Nov 02 19:33:46 Test failed. Nov 02 19:33:53 5 9, siber. Nov 02 19:34:10 ttl is different from rs232 Nov 02 19:34:52 Yes, by an inversion and by voltage levels. Nov 02 19:35:48 yes :) Nov 02 19:35:51 Except that I've got a device that does TTL levels RS232, but with the same polarity as regular RS232. Nov 02 19:36:00 I've ran into both versions by now. Nov 02 19:38:25 TNT/LPFRS01 Rb Version 2.06 20/2/06 Checksum: 29FD/EA74 Nov 02 19:38:26 Yay! Nov 02 19:39:04 Neat. Nov 02 20:45:57 is it possible to use the ADC on newer than 3.8.x kernels? Nov 02 21:00:44 Hi Nov 02 21:01:28 I want to control ESC from beaglebone, but ESC accepts pwm 3.3V and might drain too much current is that correct ? Nov 02 21:01:43 so I would like to protect BBB somehow Nov 02 21:01:50 How much current does the ESC control line draw? Nov 02 21:02:05 what should I use ? BJI tranistor or mosfet ? I cant find 3.3V mosfets Nov 02 21:03:07 agmlego, specs dont state how much current for pwm input Nov 02 21:03:30 Then it is probably less than 10mA. Nov 02 21:03:51 mkad: Is the ESC "programmable"? Nov 02 21:03:55 yes Nov 02 21:03:58 its Afro ESC Nov 02 21:04:19 Then is is probably run by a PIC microcontroller onboard, and the control line is just an input pin. Nov 02 21:04:21 https://www.hobbyking.com/hobbyking/store/__39708__Afro_ESC_30Amp_Multi_rotor_Motor_Speed_Controller_SimonK_Firmware_.html Nov 02 21:04:37 Oh, HobbyKing. Yeah, definitely a PIC or a PIC clone. Nov 02 21:07:50 might be avr Nov 02 21:08:49 I managed to start motors with them but using mbed lpc Nov 02 21:09:14 Every ESC I have gotten from hobbyKing has been a PIC. Nov 02 21:09:24 hmm thanks Nov 02 21:09:26 But whichever, you will not have a problem driving that directly. Nov 02 21:12:14 http://www.rcgroups.com/forums/showthread.php?t=1948974 Nov 02 21:14:28 Neat. Nov 02 21:14:31 ::shrugs:: Nov 02 21:17:41 ah awesome github Nov 02 21:19:58 agmlego, documentation says "sensorless ESC" I cant find don google any sensor enabled ESC :) what does that mean ? any clue? Nov 02 21:20:32 mkad: A sensorless ESC uses back EMF off the motor windings to determine rotor position. Nov 02 21:20:54 mkad: An ESC that uses sensors requires hall-effect sensors in the motor to determine position. Nov 02 21:21:03 mkad: Does your motor have more than 3 wires? Nov 02 21:21:10 If not, it does not have sensors. Nov 02 21:21:12 no Nov 02 21:21:15 just 3 Nov 02 21:21:41 Then it is sensorless and you need to use a sensorless ESC. Nov 02 21:23:36 I have one drone using some avr board but it's so unstable Nov 02 21:24:22 so I thought maybe I will try to make one with beaglebone, I got imu readings from it, orientation, just need to figure out how to read PWM from my radio and implement some control alghoritm Nov 02 21:25:19 Pretty sure the folk who run ArduPilot are working on/have ported their stuff to the beaglebone. Nov 02 21:26:05 yes but I want something very simple, I would buy drone if I just wanted to fly, fun is to program it... Nov 02 21:26:25 Still, starting from a base is often better than starting from scratch. Nov 02 21:26:31 true Nov 02 21:26:36 Plus, then you can offer your improvements to the community. ;-P Nov 02 21:29:20 http://dev.ardupilot.com/wiki/building-for-beaglebone-black-on-linux/ Nov 02 21:38:54 veremit, I guess I would need to add sensor I am using since I dont use mpu Nov 02 21:39:10 veremit, but looks good ;) Nov 02 21:39:20 just did a quick google :) Nov 02 21:39:32 friend of mine is into copters .. not me .. yet .. lol Nov 02 21:39:58 I think I even saw it long time ago Nov 02 21:40:05 but never gave it a try Nov 02 21:41:04 lots of options .. thats the fun of stuff Nov 02 21:53:20 ok by the way I am setting governor in /etc/default/cpufrequtils to performance but its seems not to affect cpu speed Nov 02 21:53:27 i even rebooted and its still "ondemand" Nov 02 21:54:18 you built the other driver? Nov 02 21:54:36 I can set it with command Nov 02 21:54:49 does it actually change? Nov 02 21:54:49 cpufreq-set -g performance Nov 02 21:54:54 yes Nov 02 21:55:07 but by default its on demand Nov 02 21:55:15 I wouldn't imagine it makes any difference .. thought the clocks were fixed .. Nov 02 21:55:39 oh Nov 02 21:55:42 I know error Nov 02 21:55:46 shit i think my bbb is bricked Nov 02 21:55:55 and I read its impossible to brick :/ Nov 02 21:55:57 Debian's package readme says I should create cat /etc/default/loadcpufreq Nov 02 21:56:04 but thats incorrect Nov 02 21:56:09 shouldd be /etc/default/cpufrequtils Nov 02 21:57:11 veremit, ok incorrect info in Debian's package doc^^ works now Nov 02 21:57:20 heh cool Nov 02 21:57:50 but it makes big difference imo Nov 02 21:58:18 hmm im only seeing the power led, not the others :/ Nov 02 21:58:56 jimmyhoughjr, its possible to disable other leds and they by default are suppose to blink but depends on image Nov 02 21:59:10 booting emmc or uSD? Nov 02 21:59:16 i cant seem to get it to boot from eMMC or SD Nov 02 21:59:48 correctly prepared sd image ? Nov 02 21:59:49 remove power, plug in uSD, hold uSD boot button, Apply power. Nov 02 22:00:14 which one is the boot? isnt it by the user leds? Nov 02 22:00:27 by the uSD slot Nov 02 22:00:44 awesome i have blinking LEDs now Nov 02 22:01:03 great! Nov 02 22:03:40 Hello. We are looking at the qemu-linaro repo and would like to use it to test the RTEMS BeagleXX support. This version however has not had the patches sent up stream to the qemu project. My understanding is the work required is large enough to make it a little difficult. Is there general interest to get the patches sent upstream so the main qemu project has support. Nov 02 22:06:05 kiwichris, are you asking about qemu emulation for beaglebone ? Nov 02 22:06:17 xm Nov 02 22:06:22 I think Nov 02 22:07:00 I am not 100%, I am working one person back on this. Nov 02 22:07:45 kiwichris, not sure if right ppl are here, but I code in eclipse and upload files to BBB to debug them, though this is a bit slow, not sure if using qemu would be faster... Nov 02 22:08:46 mkad, we want qemu to run regression tests. Running on real hardware is done but it is too slow. We have over 500 tests in RTEMS we run. Nov 02 22:09:45 kiwichris, I am not the right person to ask, I am a new to BB, just I wish testing my program could be faster.. Nov 02 22:10:07 mkad, are you using JTAG ? Nov 02 22:10:52 nope eclipse has pluin that copies executable linux file over ssh and starts gdb-multiarch and gdbserver Nov 02 22:11:03 but that is slow Nov 02 22:12:16 Ah ok sure. We run directly on the hardware, no linux. To test on real hardware we use JTAG and the slowest part is the reset, enter JTAG and making the JTAG connection. The download is not to bad even for large executables. Nov 02 22:12:51 For 500 tests it takes about 2hr. Nov 02 22:13:23 With qemu we can run tests in parallel on multicore hosts machine Nov 02 22:13:38 kiwichris, so you flash internal chip memory with 500 tests? Nov 02 22:13:57 ouch Nov 02 22:13:57 No, we run MIO and then into the DDR RAM. Nov 02 22:15:05 this is really far from what I know.. Nov 02 22:15:38 veremit, is there a mailing list for BB this person could use perhaps more right/technical ppl would see question ? Nov 02 22:15:46 no idea Nov 02 22:16:35 The issue for using a qemu that is not upstream is the long term support. We have users in the flight software (space flight) wanting to use Beagle boards and these are long term users. Nov 02 22:16:51 beagle it not supposed to be used in production environments Nov 02 22:17:03 or commercial Nov 02 22:17:30 Really. I did not know that. Is this documented ? Nov 02 22:17:49 veremit, I heard from someone here they are working on redesinging BB for vibration resistance Nov 02 22:18:11 veremit, and there is a company making boards for commercial use afaik Nov 02 22:20:16 veremit, long term support https://specialcomp.com/beaglebone/ Nov 02 22:20:25 Unrestricted OEM Commercial use Nov 02 22:20:57 also http://www.logicsupply.com/components/motherboards/arm/bb-black-c/ Nov 02 22:21:07 "Embest version available for commercial applications." Nov 02 22:21:36 well if they've opened it up .. thats news to me :) Nov 02 22:21:56 afaik design was open as oppose to Rpi Nov 02 22:21:58 I can't remember/find anywhere it (was) documented Nov 02 22:22:05 oh the design is , yes Nov 02 22:23:19 http://elinux.org/Beagleboard:BeagleBoneBlack#Terms_of_Use .. nearest thing I can find Nov 02 22:23:27 veremit, but this board can be custimized by them, and they say Unrestricted OEM Commercial use (COTS) without logo Nov 02 22:23:32 So "Dogs in space is still ok" ? :) Nov 02 22:23:55 kiwichris .. I's say so Nov 02 22:24:08 if you clone it, fine Nov 02 22:24:31 but you can't use the beagle name .. without a license .. or something like that Nov 02 22:24:38 I think it is for development purposes. For embedded realtime the BB is a fantastic board. Nov 02 22:25:01 And that is fair enough. I would not expect too. Nov 02 22:25:09 it ain't bad .. I'd like to crack the pru's one day .. had no idea they had 'em Nov 02 22:25:18 kiwichris, afaik what I read is that it is not designed for high vibration or industrial environments Nov 02 22:25:38 mkad .. but you could make adjustments yourself in a custom version Nov 02 22:25:54 its a development prototype .. thats how its likely to stay Nov 02 22:25:57 What is used actually used in flight is something the flight people handle. Nov 02 22:26:06 veremit, yeah for sure Nov 02 22:26:52 I don't know much about desining anything that would go into space, but I think it must work under low temperature conditions and vacum etc... Nov 02 22:26:53 The flight software people want a platform that gets them to run the Core Flight Executive (CFe) Nov 02 22:26:54 the RPi has made some adjustments to make it easier to use in more applcations .. Nov 02 22:27:24 kiwi .. don't you need something Ultra-reliable? Nov 02 22:27:37 Not in a desk in a lab to develop software. Nov 02 22:27:38 (not tht the beagle isn't....) Nov 02 22:27:45 fair point :) Nov 02 22:28:02 good platform then Nov 02 22:28:09 We used a $130 Coldfire 5235 to develop a lot of the software in the MMS project Nov 02 22:28:14 veremit, some ppl made arduino into space, but.. BBB has this yellow ceramic capacitor wont that freez or malfunction ? Nov 02 22:28:26 That sat has a rad hardended Coldfire V2 core Nov 02 22:28:51 ceramics should be fine .. electrolytics I doubt Nov 02 22:28:57 What actually goes into flight is a different discussion Nov 02 22:29:13 obviously :) Nov 02 22:29:15 oh I see Nov 02 22:29:30 well if its not intendent to fly then I would say fine:) Nov 02 22:29:40 No point having a RAD processor sitting at room temp in an office Nov 02 22:29:45 friend of mine worked in space industry briefly .. astrium. Nov 02 22:29:51 Nice Nov 02 22:57:37 When I type ifconfig my eth0 doesn't show my IP. How can I view this? Nov 02 22:58:09 maybe you don't have one :) Nov 02 22:58:52 Well I'm in my router and it says I do. How can I renew in debian? Nov 02 23:00:01 dhclient eth0 ? Nov 02 23:00:33 it's thinking Nov 02 23:00:59 does ifconfig show its "UP" ? Nov 02 23:01:59 no errors came back but another ifconfig reveals no ip again Nov 02 23:02:15 I have it hard wired into my router Nov 02 23:02:39 any lights on ya beagle network socket? Nov 02 23:02:57 yup. I already troubleshooted layer 1 Nov 02 23:03:05 anything in dmesg? Nov 02 23:03:44 agg wall of text Nov 02 23:03:57 what is that? Nov 02 23:04:09 is that my log? Nov 02 23:04:20 ye some of it Nov 02 23:04:22 thats the system log Nov 02 23:04:37 or kernel log .. or bit of both :) Nov 02 23:04:56 IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready Nov 02 23:04:56 can I force IPv4? Nov 02 23:05:03 ah Nov 02 23:05:17 I'd say 'link not ready' is one issue .. Nov 02 23:05:26 swap ya cable out? Nov 02 23:06:01 Siber, how you power BBB ? Nov 02 23:06:04 from usb or 5V barrel? Nov 02 23:06:07 okay I'll check it Nov 02 23:06:08 uhoh Nov 02 23:06:21 ethernet does not work when powered from low Amp sources like usb Nov 02 23:07:07 * veremit goes on a crazy rampage and removes all mini-usb connectors from beagle devices.... Nov 02 23:07:29 :) Nov 02 23:07:47 *whistles* Nov 02 23:07:47 5v barrel Nov 02 23:08:10 then usually it is fine if >= 1.5 A Nov 02 23:08:28 Okay I know this cat5 cable is legit. I still have link lights Nov 02 23:09:01 can you go into your router config an check the 'client list' page .. does the beagle show up there? Nov 02 23:09:01 oh fuck one sec Nov 02 23:09:03 it's not crossed cable? Nov 02 23:09:03 :) Nov 02 23:09:12 mkad .. .auto mdx should be fine both ends Nov 02 23:09:42 thought I had it Nov 02 23:09:46 no mac address filtering? Nov 02 23:10:08 that's what I thought it was but no. I have my router up and watching it Nov 02 23:10:15 does the router think its assigned an IP? can you ping it from another computer/address? Nov 02 23:10:38 * mkad has no clue what you talk about guys Nov 02 23:10:57 it looks not very specific to me Nov 02 23:11:23 networking Just Works for me .. always .. unless its That Dodgy Floor socket again .. >,< lol Nov 02 23:12:08 not a crossover Nov 02 23:12:08 my router is in repeater mode connected to my phone for interwebs Nov 02 23:12:08 my phone handles DHCP Nov 02 23:12:08 but it seems the BBB hasn't requested an IP Nov 02 23:12:20 eww Nov 02 23:12:26 My whole network is working fine besides the Beagle. I'm putty'd in on 192.168.7.2. and I can connect through the web too Nov 02 23:12:46 I'm gonna reboot the BBB Nov 02 23:12:53 you've got a firmware which passes through broadcast packets? Nov 02 23:13:17 What device are you asking about? Nov 02 23:13:43 your router is passing broadcast (ie 255.255.255.255 address] packets over to your phone (presumably wireless) for dhcp? Nov 02 23:14:09 I suggest you need to do some packet sniffing as your beagle#s dhcp packets are getting lost from the beagle to your phone ... Nov 02 23:14:24 yeah I guess so. :( Nov 02 23:14:25 -shudder- Nov 02 23:14:38 don't make it easy, will you?! :) Nov 02 23:15:08 lol Nov 02 23:16:23 when I do an ifconfig my eht0 only has a line for inet6 and not inet. but I don't think my phone does ipv6 Nov 02 23:16:45 If I force ipv4 on eth0 it may work..i think... Nov 02 23:17:58 what OS is on the beagle? Nov 02 23:18:10 it really shouldn#t be even trying ipv6 Nov 02 23:23:23 he said Debian Nov 02 23:23:46 my usb connection has both ipv4 and ipv6 addresses Nov 02 23:24:49 yes, well the usb is an emulated interface Nov 02 23:27:13 so I just got into the network interfaces conf and my eth0 is all commented Nov 02 23:27:33 you shouldn't have to confiure anything Nov 02 23:27:36 dhcp is default Nov 02 23:28:17 not really Nov 02 23:28:24 auto eth0 Nov 02 23:28:24 iface eth0 inet dhcp Nov 02 23:28:32 should be uncommentedd Nov 02 23:28:32 or that :) with debian Nov 02 23:29:00 I'm too used to openrc :P Nov 02 23:29:11 yeah it's commented, I don't know why. it's a fresh install the only commands I've done so far was -update - upgrade Nov 02 23:29:27 nano and uncomment Nov 02 23:29:30 well .. take those two lines out of cmment and reboot :p Nov 02 23:29:39 Siber, I will post u my file Nov 02 23:29:49 Siber, its also fresh install debian jessie Nov 02 23:30:38 Siber, http://paste.debian.net/129933/ Nov 02 23:32:16 looks sane to me Nov 02 23:32:45 yep, line 10 and 11 were commented Nov 02 23:33:04 actually interfaces belongs to package from GNU/Linux (gnu staff) which is not very Debian specific, also Slackware, etc.. have the same mechanism Nov 02 23:33:15 but I get your point:) Nov 02 23:33:18 on mine. so I rebooted. what's the command to renew lease? Nov 02 23:34:04 Siber, it should start dhcp when you hot-plug cable or when it sees cable connected (give the cable is not broken) Nov 02 23:34:44 and if you start dhcp again, you will have two dhcp clients possibly clashing Nov 02 23:35:13 so that's no good you should restart interfaces instead or kill previous dhcp if you intend to start anothr one Nov 02 23:35:38 how do I know whats running? Nov 02 23:36:02 /etc/init.d/networking restart Nov 02 23:36:07 should restart interfaces Nov 02 23:36:14 ps aux or top Nov 02 23:36:21 to see running programs Nov 02 23:36:38 better ps aux Nov 02 23:37:07 or ps aux | grep dhcp Nov 02 23:37:18 to filter only those with dhcp in name Nov 02 23:37:36 I think you'll find its dhclient by standard in debian .. Nov 02 23:37:53 certainly in all the versions I have installed Nov 02 23:37:59 yes Nov 02 23:38:04 that starts dhclient Nov 02 23:38:11 another one Nov 02 23:38:21 k Nov 02 23:38:42 just restart interfaces and it will kill previous one automatically Nov 02 23:38:48 /etc/init.d/networking restart Nov 02 23:39:03 given that you didnt spawn more of them :D Nov 02 23:39:13 okay I'm going to manually set the ip Nov 02 23:39:52 you shouldnt need to Nov 02 23:40:24 uncomment lines you had Nov 02 23:40:27 restart BBB Nov 02 23:40:29 well it's still not working so before i smash it to bits i'm gonna try static to eliminate a link problem Nov 02 23:40:29 dhcp proves your network works :P lol Nov 02 23:41:07 I did that mkad Nov 02 23:41:15 at least do /etc/init.d/networking stop Nov 02 23:41:30 this script starts automatically on boot Nov 02 23:41:43 and dhcp didn' Nov 02 23:41:43 t grab an IP Nov 02 23:42:15 do you have other router? Nov 02 23:42:18 that has dhcp server Nov 02 23:42:32 just enable the one in .. nvm .. why make it simple?! Nov 02 23:43:53 I just wished I had ethernet cable and router to test :P Nov 02 23:44:52 I would lose internet if reconfigured my current router Nov 02 23:46:52 thanks god Nov 02 23:47:08 static IP works Nov 02 23:49:07 actually I'm agnostic so thank you for your guys help. I'll deal with the DHCP later Nov 02 23:49:42 yea I doubt your dhcp packets are getting to your dhcp server :p ie. your phone .. thats an unusual featuer for a repeater. Nov 02 23:50:06 I live off the grid in a pimped out RV Nov 02 23:50:15 -shudder- Nov 02 23:50:21 ok .. shower time .. bbl :p Nov 02 23:50:23 so I use T-mobile 4g Nov 02 23:50:55 * veremit has a 3G wifi router with ethernet :P works fine for me .. dhcp built in .. usb for 3g dongle ;) Nov 02 23:51:15 but I don't have to pay extra for my data. Unlimited data Nov 02 23:51:48 and I get 4glte Nov 02 23:52:04 I'm getting a lot of packet loss :( guess I'll bust out wireshark Nov 03 00:19:46 is it possible to use the ADC on newer than 3.8.x kernels? Nov 03 02:55:00 bonsoir everyone Nov 03 02:57:28 what is stopping me from running raspian programs on beaglebone black? **** ENDING LOGGING AT Mon Nov 03 03:00:00 2014