**** BEGIN LOGGING AT Thu Nov 06 03:00:00 2014 Nov 06 11:25:01 ping command not working in board Nov 06 11:25:20 i've given ip to server and board Nov 06 11:30:14 how doesn't it work? it segfaults, it sets the board on fire or something else? Nov 06 11:32:10 * tbr puts bets on: board bites cat and scares dog Nov 06 11:33:30 * KotH is with tbr Nov 06 11:34:25 i want to load kernel images via TFTP..for that i've loaded u-boot into MMC card..in that ping command is enable..but when i use'ping 127.0.0.1'it shows host not alive Nov 06 11:35:14 u-boot is rather minimalistic. it might not have a loopback interface Nov 06 11:37:32 ok..i got that..but if i use 'ping 192.168.10.1' (thats serverip which i've created into linux) it should LINK UP..but its not working Nov 06 11:42:22 rd_: does it work if you boot linux on the BBB? Nov 06 11:48:40 tbr_ sorry..i dont get it ..plz explain Nov 06 11:50:44 rd_: exactsteps™: flash SD card with official image; hold down boot button; connect power to the board; configure it with 192.168.0.2 on eth0; ping 192.168.0.1; report result Nov 06 11:56:40 ok...thank you. Nov 06 12:36:55 hi all Nov 06 12:37:14 i had a specific question about making wifi dongle work on angstorm Nov 06 12:37:17 ?? Nov 06 12:38:42 ask it then Nov 06 12:41:12 if you had it, then you don't have it anymore? Nov 06 13:32:01 Hi Folks. I have a BBB running FreeBSD. I am using one of the Prolific based cables for serial debug. The BBB is externally powered and the debug cable is connected to a MacBook Pro. For continual connection, I use the screen application that ships with OSX. Nov 06 13:32:01 The problem: I leave the BBB powered on and serial debug active all the time. This is to see how things run day after day. Sometimes, when I come back to work and check the connection, something has happened. During these times, when I press the enter key, I get a "db>" prompt and the BBB appears unresponsive. If I kill screen and start a new session, "it just doesn't work". I do not know what the problem is. Outside of the "db>" Nov 06 13:32:10 Does anyone have any idea what might be happening? Nov 06 13:33:23 Oh Yes, I have disconnected and reconnected the serial debug cable, power cycled the port on the USB hub that it is connected to. Nov 06 13:33:30 the only thing that works is to power cycle the BBB. Nov 06 13:41:49 VirG, did you try running it with supported kernel/distribution ? Nov 06 13:42:13 Only enough to verify that the board was not defective. Nov 06 13:42:17 VirG, afaik freebsd has totally different kernel then linux which is used by bbb defualt images Nov 06 13:42:22 I know. Nov 06 13:42:41 I have been hesitant to ask in this channel about the problem because I am not stock. Nov 06 13:42:58 But from a FreeBSD perspective, there is no reason for this. Nov 06 13:43:13 I am leaning towards the Prolific drivers as the source. Nov 06 13:43:17 VirG, I am a newbie here, so I dont know. Only what comes to my mind, is that you run something not supported. Nov 06 13:43:18 VirG: does freebsd use its own bootloader? Or do they use uboot too? Nov 06 13:43:35 In this case, UBoot. Nov 06 13:43:37 * nomis has no clue about *bsd Nov 06 13:43:48 nomis, how about bsdm ? Nov 06 13:44:16 * nomis has no clue about .*bsd$ Nov 06 13:44:16 HA! Nov 06 13:46:34 VirG, I would use stock image as first thing, then I would check cable, if there is time out on serial or something like that, or try different board/hardware like RPi Nov 06 13:49:04 VirG, or how about checking logs if something goes wrong with serial driver? Nov 06 13:49:22 you could easily ssh in I guess and check logs Nov 06 13:50:23 VirG, also consider asking on freebsd channels if one exists... Nov 06 13:58:23 mkad: The next step is to check the logs Nov 06 15:25:05 hi ! I am new to beaglebone community ! Can anyone help me with few things ? Nov 06 15:25:47 ask, dont ask to ask Nov 06 15:26:47 av500: access to cheap hardware reinforces insecurity :) Nov 06 15:29:05 thats lovely ! i have been working on arduino platform for the past two years ! Have done quite a few projects! i want to contribute to beagle bone community since i find more potential in beaglebone than arduino ! Nov 06 15:29:42 how to begin with ? Nov 06 15:30:29 Adithyaselv: what do you mean by "contribute to the community"? Nov 06 15:31:02 like i wish to develop a library Nov 06 15:31:26 well, you dont need anyones permission to develop a library Nov 06 15:31:34 i am familiar with c c++ java and python Nov 06 15:31:55 i know that i don't need :/ Nov 06 15:32:58 Adithyaselv you know most people run linux on the bb Nov 06 15:33:08 yep Nov 06 15:33:16 so nearly all libs and stuff which runs on desktop linux runs on the bb too Nov 06 15:33:30 so I wonder what you want to develop Nov 06 15:33:46 for the community Nov 06 15:33:47 Die Bibliothek! Nov 06 15:34:41 i m sorry may be i not framing my question right Nov 06 15:35:57 i am* Nov 06 15:36:01 i am* Nov 06 15:37:54 Adithyaselv: let us start again: what is your problem? Nov 06 15:38:02 Adithyaselv: where do you need help? Nov 06 15:38:08 Adithyaselv: and how do you think we can help you? Nov 06 15:39:11 Can i use arduino library on beagle bone ? Nov 06 15:39:43 no Nov 06 15:39:46 not really Nov 06 15:40:02 Adithyaselv is your question that a lib you developed for the arduino, can be run on the bb? Nov 06 15:40:09 yes Nov 06 15:40:17 if yes see, the answer of av500 Nov 06 15:40:36 is there options to port it into bb ? Nov 06 15:40:39 there is http://prpplague.github.io/Energia/blog/2013/07/12/lots-of-cool-stuff/ Nov 06 15:40:48 but I have no idea about the status of it Nov 06 15:41:16 it was done last year for GSoC Nov 06 15:41:37 Adithyaselv: but I would not waste time on that too much Nov 06 15:41:46 I would look into learning about Linux instead Nov 06 15:41:58 that makes more long term sense Nov 06 15:42:21 yep i understand ! linux is more awesome Nov 06 15:42:32 yes :) Nov 06 15:43:48 But wont it be more awesome if ppl can use arduino library on bb ? Nov 06 15:44:03 .o(and has more downsides than the adrino) Nov 06 15:44:55 arduino is not so powerful like bb Nov 06 15:45:08 but its so simple to use Nov 06 15:45:17 you have to zoom out, running arduino apps on the bbb doesn't make sense ;) Nov 06 15:45:47 idwer: not really Nov 06 15:45:51 sure they share some capabilities, feature overlap Nov 06 15:46:09 idwer: we are using today huge 32bit processors where one would have used a 8bit just 10 years ago... juste because we can Nov 06 15:46:18 idwer: BBB vs arduino is becoming the same Nov 06 15:46:49 See i love linux ! its so powerful Nov 06 15:46:50 hm,.. they are both armhf platforms? Nov 06 15:47:06 but y cant it be a little simple Nov 06 15:47:10 ? Nov 06 15:47:24 koth power Nov 06 15:47:43 Adithyaselv: with great power comes great complexity Nov 06 15:47:57 not really ! Nov 06 15:48:00 koth I think I can run an arduino much longer on the same battery as a bb Nov 06 15:48:29 we as developers should make them simple Nov 06 15:48:42 woglinde: who cares about power consumption? people are used to recharche their gadget every couple hours Nov 06 15:49:05 koth you recharge your arduino like device? Nov 06 15:49:07 Adithyaselv: right attitude ! but we are not there yet Nov 06 15:49:09 intressting Nov 06 15:49:24 woglinde: i dont have an arduino Nov 06 15:49:33 woglinde: neither have i a BBB/BBW Nov 06 15:49:45 KotH a sensorboard in the wild? recharging? Nov 06 15:50:02 See if an artist wants to develop a small embedded project ! he cant learn the entire linux n other complex stuff Nov 06 15:50:03 koth needs a a safari trip to learn about power Nov 06 15:50:49 so if we take bb a step ahead ! making it extremely easy to use Nov 06 15:51:18 woglinde and KotH: stop bickering Nov 06 15:51:26 woglinde: for the record: ich hab' letztes jahr ein design gemacht, dass 2 jahre lang ab zwei SR48 zellen läuft :) Nov 06 15:51:28 it ll very nice ! Nov 06 15:51:40 av500: we are not bickering Nov 06 15:51:40 koth good Nov 06 15:51:43 Adithyaselv: yes, a lot of things can be done Nov 06 15:51:49 av500: we are discussing high level issues :) Nov 06 15:51:53 Adithyaselv: but as usual, somebody has to do them Nov 06 15:52:01 I am in ! Nov 06 15:52:11 woglinde and KotH: ok, just shut up for a while then :) Nov 06 15:52:20 hehe Nov 06 15:52:29 av500 I have nothing more to say on the topic Nov 06 15:52:31 Adithyaselv: get familiar with the BBB Nov 06 15:52:38 thats the best advice now Nov 06 15:52:50 Sure ! Nov 06 15:53:33 My project got shortlisted for Texas Instruments design challenge quarter finals Nov 06 15:53:41 congrats Nov 06 15:54:05 I am using bb as CPU :) Nov 06 15:54:15 will explore soon :) Nov 06 15:55:16 Thank you so av500 :) for listening to my queries Nov 06 15:55:28 so much* Nov 06 16:01:23 with great power linux has great responsibility Nov 06 16:01:44 mdp yes yes power cpu from ibm Nov 06 16:02:16 little endian power is very big Nov 06 16:02:37 little.BIG power adventure? Nov 06 16:02:57 such architecture Nov 06 16:03:46 mdp, av500: love your idea to make a PRU chip. :-) Nov 06 16:04:30 jkridner: the first idea is free. Nov 06 16:04:49 mdp: no Nov 06 16:04:55 I take 15% from the statz Nov 06 16:04:58 start Nov 06 16:05:23 av500: such a chip would be LICHEN approved, I believe. Nov 06 16:05:34 yes Nov 06 16:05:38 from the start Nov 06 16:05:42 much bitbanging Nov 06 16:43:46 is there a straight-forward and/or foolproof way to determine which device i've boot from on a bbb? Nov 06 16:44:11 hmm Nov 06 16:46:51 I'm not going to answer that question again, that got someone in trouble last time. Nov 06 16:48:42 are the BOOT pins latched anywhere during boot? Nov 06 16:49:10 the boot pins do not help Nov 06 16:49:14 they only change the order Nov 06 16:49:29 rom code still tries several options Nov 06 16:54:28 jkridner: got my email about the GCI ? Nov 06 16:55:21 KaaK: maybe from u-boot you can pass a kernel argument when you run the bootscript Nov 06 16:55:28 but other than that i do not know any way Nov 06 16:55:48 and how does uboot know? Nov 06 16:56:02 if its the same binary on sd and emmc Nov 06 16:56:47 but yes, a dummy kernel cmd line entry can be done Nov 06 16:57:01 ah true here, i was thinking about the usb booting. in that case u-boot knows it is an usb-based boot Nov 06 16:57:13 or spi/net Nov 06 16:57:18 yeah Nov 06 16:57:20 but in emmc/sd do not know how to diff Nov 06 16:57:24 I guess its about sd vs emmc Nov 06 16:57:43 also, combinations like MLO from emmc but uboot from sd Nov 06 16:57:50 if possible Nov 06 17:01:18 i like the kernel cmd line argument Nov 06 17:01:25 i'll give it a shot, thanks Nov 06 18:36:58 hi Nov 06 18:45:05 thibaut_, moin moin! Nov 06 18:54:58 I've been working with I2C, via javascript, but I'm a bit confused about the sensor locations (i.e. /sys/bus/i2c/drivers/bmp085/1-0077/temp0_input). Nov 06 18:55:40 If I'm starting with a new device, what do I use for the location? Thanks. Nov 06 18:58:25 <_av500_> hi Hashcode Nov 06 18:58:40 howdy _av500_ Nov 06 18:59:47 adugenske, can you clarify a bit? location == path in sysfs? Can you flesh out what you're trying to accomplish? Nov 06 19:00:27 KaaK I'm trying to write a program similar to http://beagleboard.org/Support/BoneScript/demo_bmp085/ Nov 06 19:02:09 Specifically, I'd like to know what to place in b.readTextFile for a new device. Nov 06 19:04:25 adugenske, that's is going to depend on the device, and what it exports via the sysfs psuedo filesystem Nov 06 19:05:50 typically it is intuitive enough to just browse around the device in /sys/ and see what if offers, and what `file` that information is exposed as Nov 06 19:06:21 KaaK, I'm using this: https://www.adafruit.com/product/935. I can talk to the device with i2ctools, and I would like to figure out how to do it via Jscript. Nov 06 19:08:01 My sys folder only contains: class/i2c-adapter/i2c-1/new_device and new_device is empty. Nov 06 19:08:58 linux module: https://github.com/beagleboard/linux/blob/3.14/drivers/iio/dac/mcp4725.c Nov 06 19:09:42 so it looks like your device does indeed have a driver -- but you need to tell the i2c subsystem about that device Nov 06 19:10:30 that `new_device` file isn't a real file -- think of it more as a data sink where you can send data to the kernel's i2c driver Nov 06 19:10:51 Kaak, So if I'm using Jsript, how do I make use of the c file? Nov 06 19:11:20 adugenske, think of that link as more documentation Nov 06 19:12:20 specifically, to tell linux about a new i2c device, you need to write the driver's name, and the devices i2c bus address into the `new_device` pseudo file Nov 06 19:12:38 that is line 9 here: http://beagleboard.org/Support/BoneScript/demo_bmp085/ Nov 06 19:13:11 going back to the github link: https://github.com/beagleboard/linux/blob/3.14/drivers/iio/dac/mcp4725.c#L28 Nov 06 19:13:55 there is the driver's name you need -- and you can get the address using the command line tool i2cdetect Nov 06 19:14:23 KaaK, bus =1 , address = 0x62 Nov 06 19:14:32 is the bigger picture coming together? Nov 06 19:15:27 Kaak, So how doe I use this info? Do I build a device tree entry or something? Nov 06 19:16:59 are you at home/familiar with the command line? -- i'd write the driver, address info into the `new_device` pseudo-file Nov 06 19:17:51 as root# echo ' ' > /sys/class/i2c-adapter/i2c-1/new_device Nov 06 19:18:18 then start browsing around the pseudo-files that the mcp4725 driver exports to see what you have to play with Nov 06 19:20:14 done. now checking. Nov 06 19:27:49 Kaak, Dumb ?. I tried downoading new_device to look at it, but now go. Suggestions? Nov 06 19:28:17 Kaak, also did a cat new_device Nov 06 19:28:25 adugenske, new_device isn't a real file. you can read it like a normal file Nov 06 19:28:25 received Input/output error Nov 06 19:29:19 can't* sorry Nov 06 19:30:33 the kernel's i2c driver is on the other end of that file -- so when you write into that file, that data is really being sent to the i2c driver -- not being written to disk or saved Nov 06 19:31:21 run `dmesg` -- that should inform you about any drivers loaded after running `echo 'mcp4725 0x62' > /sys/...../...../new_device Nov 06 19:31:50 also any errors that might have happened when attempting to spin up the new device Nov 06 19:34:05 Kaak, I ran dmesg and received many lines. Nov 06 19:34:50 Kaak, lots of drivers and such. Nov 06 19:34:56 adugenske, you might consider reading about sysfs -- http://en.wikipedia.org/wiki/Sysfs Nov 06 19:35:27 adugenske, pastebin the output of your dmesg, and post the link here Nov 06 19:37:04 KaaK, Here you go: http://pastebin.com/ePeeGbCQ Nov 06 19:43:59 I'm using a debian image and a kernel 3.14.23-ti-r32, how can I know in which mode is configured a PIN? Nov 06 19:44:32 adugenske, it sounds like your kernel doesn't have the device driver Nov 06 19:45:35 Kaak, so what does this mean. Nov 06 19:45:41 adugenske, run the following command -- 'zgrep 'CONFIG_MCP4725' /proc/config.gz' Nov 06 19:48:59 done Nov 06 19:49:49 adugenske, any output back? Nov 06 19:50:05 no Nov 06 19:50:15 no errors though :) Nov 06 19:51:11 thibaut_: I'm using 3.8.13, but this script is handy for pinmux's current state - http://captainunlikely.com/blog/2013/09/26/managing-the-gpio-pins-on-a-beaglebone-black/ Nov 06 19:51:46 I assume 3.14.23 still has /sys/kernel/debug/pinctrl/44e10800.pinmux/pins Nov 06 19:54:52 adugenske, it sounds like you don't have the driver compiled in your running kernel, or available as a module Nov 06 19:55:43 at this point if you want to use that device, you will need to recompile a kernel with that driver (and the IIO subsystem) configured as modules Nov 06 19:58:41 zowie. How come ic2tools work ok? Nov 06 20:32:15 i2ctools uses the userspace i2c-dev abi to perform transfers Nov 06 20:32:34 it depends only on the generic i2c-dev subsystem driver Nov 06 20:42:09 Hey guys Nov 06 20:43:45 so, got myself a beagleboard black. Now the basics. Would like to connect a LVDS, 40-pin to a micro hdmi. Have this 15.6" LG display, didn't find any datasheet of it. contacted them. but in the mean time, would like the input from the experts. Nov 06 20:46:05 might need to add, this was a display from a laptop. one of the few things that survived whatever it encountered. Nov 06 20:47:35 i'm not sure but i think that's a difficult problem if you don't come across some kind of interface board for that particular display Nov 06 20:48:02 don't go through HDMI if you an hook up directly. read the TRM Nov 06 20:48:11 TRM? Nov 06 20:48:23 technical reference manual Nov 06 20:48:26 and the SRM Nov 06 20:48:32 system ~ Nov 06 20:48:54 got it Nov 06 20:51:46 damn what a task Nov 06 20:52:03 well, if anything comes up from it, and succesfully, will send you some info Nov 06 20:59:39 is there a definitive resource for cape manager or whatever its replacement is for debian jessie? i think i have a good understanding of device tree but so far i haven't been able to get i2c1 working. it is enabled but acting like the bus is grounded. i think i am missing something about pin muxing or mdoe setting Nov 06 21:06:26 johnwalkr: AFAIU you just take the dt overlay that cm would load, paste it into the dt, compile, copy to boot and done Nov 06 21:07:32 paste it in anywhere? how do i make sure it overrides the existing things in there? Nov 06 21:11:30 mdp, could my javascript code make use of the generic i2c driver? Nov 06 21:12:28 adugenske: sure, https://github.com/jadonk/bonescript Nov 06 21:12:45 library is already done for you Nov 06 21:17:41 mdp So it seems the following example could be simplied: http://beagleboard.org/Support/BoneScript/demo_bmp085/ Nov 06 21:18:09 possibly, I don't use bonescript/javascript, just am aware of it Nov 06 21:19:20 Ok, I'll experiment. The I2C bonesript seems to be dead simple. Nov 06 21:21:06 mdp Do you use C,C++ Nov 06 21:21:25 only C Nov 06 21:21:30 never C++ Nov 06 21:23:41 so mdp is classless? Nov 06 21:23:58 that's not news Nov 06 23:10:28 6 Nov 06 23:25:56 has anyone got ADC running with 8.17.x kernel? Nov 07 00:24:10 Are most BBBs still from CircuitCo? I remember seeing them getting licensed out. If so, anyone noticed any differences in them? Nov 07 00:36:21 I am trying to make a laptop using the Rev C, What all would I need To make it? Nov 07 00:40:40 to make a laptop? Nov 07 00:40:47 i dont even Nov 07 00:42:45 Yes and I am going to attach the keyboard directly to the Board and the screen Nov 07 00:43:45 RevC of what? Nov 07 00:46:05 BeagleBone Black Rev C Nov 07 00:46:19 https://www.adafruit.com/products/1996 Nov 07 00:46:27 why the BBB? The BBX has more power Nov 07 00:46:33 and built hub Nov 07 00:48:17 http://beagleboard.org/beagleboard-xm Nov 07 00:48:29 *nod* Nov 07 00:49:23 Alright that seems to make things easier for me Nov 07 00:49:30 Thank you Nov 07 00:54:18 what's your reasons for wanting a laptop? Nov 07 02:46:39 So am i a moron? I had a RasberryPi whuch due to unfortuunate curcumstance blew up, and ive been looking for info to bring my project back online with beaglebone black. And i canr find any worthwhile info online Nov 07 02:48:26 what is your project? Nov 07 02:49:18 controlling multiple steppers and gaining feedback from an accelerometer via i2c Nov 07 02:49:54 how accurate do you need your steppers? Nov 07 02:50:24 there are quite a few examples of stepper control for 3D printers, etc. they use the PRUSS on the BeagleBone Nov 07 02:51:03 as for I2C, whatever you had should just drop in unless you went down the dead end road of trying to do stuff in userspace (it is a waste of time for any platform) Nov 07 02:51:34 As accurate as steppers, otherwise id use something else,.. i havent done the math to get exact nunbers as its a prototype at the moment Nov 07 02:51:42 search for beagleboard and 3D printers Nov 07 02:51:56 I didnt have the i2c until today Nov 07 02:52:14 you cannot get accurate stepper control with the pi unless you slap on an external MCU like those atmel boards Nov 07 02:53:18 As i mentioned its a prototype at this stage, still unfinished as well Nov 07 02:55:44 *nod* pointing out basic design issues..better now then after you finish :D Nov 07 02:57:18 Most beagle 3d resources i am finding are for capes, i have stepper drivers that are just controlled by dir pin high/low, step pin pulsed , and reference ground **** ENDING LOGGING AT Fri Nov 07 03:00:00 2014