**** BEGIN LOGGING AT Wed Sep 11 02:59:59 2013 Sep 11 04:07:15 I'm new in beaglebone black. I know in original version beaglebone, I can get serial debug information just plugging mini usb to pc. But Beaglebone black can't. I search from http://circuitco.com/support/index.php?title=BeagleBone_Black_Accessories and try to use Adafruit 4 Pin Cable (PL2303) by plugging green line to P9-4, white line to P9-5, black line to GND. I use putty trying to get serial information but I can get only much of d Sep 11 04:09:09 just like setting wrong baud-rate. But I don't know why I set 115200 in putty and it work in original version beaglebone. How can I get right serial debug information in Beaglebone Black. Thanks Sep 11 05:13:33 HELLO_: turn off hardware and software flow control Sep 11 06:33:52 hmm, "e28fc600 add ip, pc, #0, 12" that isn't an operand2 I'm familiar with Sep 11 07:09:05 [kernel] koenkooi pushed 1 new commit to 3.12: http://git.io/XCXnHw Sep 11 07:09:06 kernel/3.12 f190cce Koen Kooi: 3.12: update to latest mainline, replace edma/mmc patchset... Sep 11 07:11:49 JIHAD! Sep 11 07:33:39 what did i miss Sep 11 07:35:42 mrpackethead: JIHAD! Sep 11 07:36:51 there's enough of that for everyone Sep 11 07:44:43 kia ora emeb_mac Sep 11 07:48:43 could any one tell me if the image shipped with BeagleBone (11-22-12) support camera cape? Sep 11 07:49:17 I could not use gstreamer to take picture on this image (11-22-12) Sep 11 08:14:38 hi everybody Sep 11 08:14:58 greetings Sep 11 08:15:14 I'm new to beaglebone black and I'm so happy (wasn't with the PI btw) Sep 11 08:15:46 mouha: what are you so happy with? :) Sep 11 08:16:02 Beaglebone black of course ;) Sep 11 08:16:26 I'm just wondering what is the best way to build an image to use Qt framework Sep 11 08:16:52 as I have the 4D systems display and want to create an application to use it with Qt Sep 11 08:17:17 mouha: hah, that's probably what where you come back to reality. have you tested the display touchscreen? it does not work properly for me Sep 11 08:18:11 oh after Calibrated it : it's ok. Used the Gnome with 4"3 is somewhat not so easy, but it's ok Sep 11 08:18:29 if you don't need 3d you can use angstrom Sep 11 08:21:52 I have some troubles building it: link to some packages are missing while building it : Sep 11 08:21:56 MACHINE=beagleboard ./oebb.sh bitbake virtual/kernel Sep 11 08:22:27 besides I don't know what is the recipe to build Qt (Yocto had sato ) Sep 11 08:24:25 qt4-x11 or qt4-embedded Sep 11 08:24:34 both are present in the feeds as well Sep 11 08:24:55 great, thanks Koen Sep 11 08:27:47 could any one tell me if the image shipped with BeagleBone (11-22-12) support camera cape? Sep 11 08:29:02 thangng: update anyway Sep 11 08:29:35 sorry, could you tell me more? Sep 11 08:29:56 update the image Sep 11 08:30:09 the latest ones from http://downloads.angstrom-distribution.org/demo/beaglebone/ support the camera cape Sep 11 08:30:29 note that on beaglebone white something is wonky with DDR timings, so the camera cape tends to crash the board Sep 11 08:30:52 About my former question : someone used the last git repo recently ? the build fails to download an archive package Sep 11 08:31:05 I've checked the link and indeed it's dead Sep 11 08:31:16 mouha: which one? Sep 11 08:31:51 mouha: here are my findings regarding the LCDs if you are interested: https://groups.google.com/forum/#!msg/beagleboard/SXTaSUf4aSk/nIyYbs0msNsJ Sep 11 08:34:41 @#$#@$@#&$(*#@&%@#(*(*#@$&*#@&$(*#@ yocto Sep 11 08:35:30 can they make bitbake any more slower Sep 11 08:36:12 ds2: any idea if the kernel sources for the old nexus 7 4.3 are out ? Sep 11 08:37:49 vvu|Log: sorry, donno. Sep 11 08:38:12 no demand for development there yet Sep 11 08:39:31 Anguel : well, hmm I've hoped you don't ask for detail..... it was yesterday at home and I'm currently at work so I don't remember (damn) Sep 11 08:41:55 it was a package for archive management Sep 11 08:42:43 maybe if someone git pull + Angstrom build yesterday may have the same issue Sep 11 08:44:49 mouha: did you do oebb.sh update to drag in updates? Sep 11 08:45:08 everything that is downloaded from the internet is also on the source mirror, so I'm curious which tarball failed Sep 11 08:46:00 mouha: if you test your lcd later you may leave a message in google groups. koen told me to try to enable 16x averaging of the BBB adc but I am new to embedded linux and have no real idea how to do that :( still wondering if it is normal that the LCD returns different pressure values in different parts of the touchscreen (checked with evtest) Sep 11 08:53:13 Koen : I've followed this http://www.angstrom-distribution.org/building-angstrom Sep 11 08:53:42 Anguel : I didn't used the same image version as you (was looking at your post and the related video) Sep 11 08:54:27 mouha: i tested with latest angstrom yesterday, or what do you mean? Sep 11 08:55:23 Anguel : I just put the 4D cape with the image in the former BBB Sep 11 08:55:45 I propose to check this version asap, but I'm sure this is an older one Sep 11 08:56:25 BTW, if you use the ADafruit python lib you could acces to ADC Sep 11 08:57:12 any idea if i can export from Eagle to Mach3 for CNC? Sep 11 08:57:23 mouha: you mean the original image that came with the BBB? please run ts_calibrate and then ts_test, go to draw mode and try to apply light pressure with the pen. see if the cursor jumps many pixels to the side Sep 11 08:58:09 mouha: the problem is that the driver is in the kernel afaik Sep 11 09:03:57 mouha: they could have simply put a cheap touchscreen controller for the touch which would probably give better results Sep 11 09:04:26 Anguel: from what you said and the video : indeed the driver seems to be involved . I 've seen quite some same things with the FA mini2440 Sep 11 09:05:18 Koen : did I missed anything after the update ? Sep 11 09:06:12 mouha: yes, i also read some forum posts about the FA Sep 11 09:09:29 Anguel : sadly confirmed I've used the FA with a shiny 7" Display....which now stands in my desktop Sep 11 09:10:07 mouha: what was the reason? the displayß Sep 11 09:29:13 Anguel : the Display was fine, the main reason is ... the FA itself and the dev workflow related Sep 11 09:29:55 Maybe I could reuse this 7" Display with the BBB as it's also a parallel one Sep 11 09:31:32 mouha: unfortuntely angstrom does not have any docs nor there are any books to start with. even if you have experience with other linux there are some specific things to know here. TI has some docs regarding its SDK but it is based on Arago, not Angstrom Sep 11 09:32:24 there is enough information around to learn angström Sep 11 09:32:33 afaik the raspberry is much better supported but i also like the BBB hw more Sep 11 09:32:34 just use google, read the docs Sep 11 09:32:52 and if you have specific questions, you can ask them here Sep 11 09:32:52 KotH: which docs? Sep 11 09:32:57 the angström docs Sep 11 09:33:01 they exist, you know Sep 11 09:33:13 the OE docs too Sep 11 09:33:25 where are the angstrom docs? Sep 11 09:33:33 where is google Sep 11 09:35:10 that's the problem with this irc channel, you don't get real help Sep 11 09:35:35 come on Sep 11 09:36:13 Anguel: we dont hold hands, yes Sep 11 09:36:17 yes, you are told to go and learn linux for 10 years and then come back to ask. the problem is that there are some very specific things to angstrom Sep 11 09:36:29 Anguel: then ask specific questions Sep 11 09:36:30 like? Sep 11 09:36:34 exactly Sep 11 09:36:45 Anguel: i'm here for quite some time, and most of my questions get answered Sep 11 09:36:52 yes, where can I find angstrom docs? Sep 11 09:36:55 Anguel: but i know that i have to use google first Sep 11 09:37:06 Anguel: use google. we dont hold your hands or teach you how to read Sep 11 09:37:16 KotH: Imagine, I have googled Sep 11 09:37:28 I have to admit: http://www.linuxtogo.org/gowiki/Angstrom looks dead to me Sep 11 09:37:31 koen: ^^^^ Sep 11 09:37:39 Anguel: https://www.google.com/search?q=angstr%C3%B6m+docs Sep 11 09:38:01 lol, Kevin Boone as 1st hit :) Sep 11 09:38:17 av500: it's your fault ;) Sep 11 09:38:21 yes Sep 11 09:38:38 yet another large open source project I ....caused Sep 11 09:39:26 http://www.linuxtogo.org/gowiki/ is dead indeed Sep 11 09:39:36 elinux.org is all the rage now Sep 11 09:40:02 koen: update your links then Sep 11 09:41:11 already did for http://www.angstrom-distribution.org/ Sep 11 09:42:08 erm Sep 11 09:42:11 wiki link still goes bad Sep 11 09:42:51 same for Faq Sep 11 09:42:56 ah, the tab Sep 11 09:43:02 yes Sep 11 09:43:04 the tab Sep 11 09:43:20 elinux.org? Sep 11 09:43:24 nothing more specific? Sep 11 09:43:44 no, I want people to hit the linux frontpage Sep 11 09:43:50 yes that was my problem, this wiki link did not show anything about Angstrom :( Sep 11 09:44:11 but this was probably on purpose :) Sep 11 09:44:14 Anguel: do you have a specific question? Sep 11 09:44:18 to be answered? Sep 11 09:44:18 Anguel: what was angstrom specific about your problem? Sep 11 09:44:28 or just lamenting general lack of "docs" Sep 11 09:44:32 iirc with has about touchscreens Sep 11 09:44:56 hmmm Sep 11 09:45:11 maybe I should setup a proxy service Sep 11 09:45:22 one that automatically replaces "linux" with "angstrom" Sep 11 09:45:22 Hi Sep 11 09:45:27 all the docs people need Sep 11 09:45:33 "how do to in linux" Sep 11 09:46:09 Anguel: ? Sep 11 09:47:01 maybe some kind of overview to get started with, e.g. how services are started etc. Sep 11 09:47:20 that is systemd Sep 11 09:47:25 not angstrom specific Sep 11 09:47:26 in the meantime i found out but this was a problem Sep 11 09:47:59 you are right, but not every linux people know uses systemd Sep 11 09:48:20 true Sep 11 09:49:13 the other problem i had was to find where actually the files that define the cape drivers can be found, the device tree overlays if i understood correctly Sep 11 09:49:57 i browsed on github but could not find the touchscreen drivers Sep 11 09:50:50 right Sep 11 09:50:54 I failed to do that too Sep 11 09:53:59 4D systems website is somewhat vague about this Sep 11 09:54:07 documentation included Sep 11 09:56:11 all the hw manufacturers are just making money and as these products are meant for development, they just don't care if they work or not Sep 11 09:56:46 Anguel: not true Sep 11 09:56:49 if something does not work they tell you: go and ask the linux developers Sep 11 09:57:07 Anguel: so you have the LCD cape and it does not work? Sep 11 09:57:11 Anguel: the problem is that too many people who have no clue start using them. so they dont have the time and money supporting them all Sep 11 09:57:35 yes it definitely does not, they confirmed it Sep 11 09:57:42 they who? Sep 11 09:57:44 what cape? Sep 11 09:57:49 Anguel: you need huge resources to support end users, and the margins on the electronics you buy does not provide the money to finance those resources Sep 11 09:58:02 KotH: that is not relevant here. Sep 11 09:58:05 Anguel: broken by design? Sep 11 09:58:08 av500: hmm? Sep 11 09:58:12 if he bought a cape that does not work, he should return it Sep 11 09:58:18 thats simple Sep 11 09:58:22 ah.. yes Sep 11 09:58:27 forget what i just said Sep 11 09:58:29 if it does not work by design, even worse Sep 11 09:58:30 and listen to av500 Sep 11 09:58:36 he is bigger and stronger than i am anyways ;) Sep 11 09:58:57 i have described everything here: https://groups.google.com/forum/#!msg/beagleboard/SXTaSUf4aSk/nIyYbs0msNsJ Sep 11 09:59:53 ah right Sep 11 10:00:21 Anguel: return both capes Sep 11 10:01:03 if both companies cannot make the TS to work, they should not sell it Sep 11 10:01:05 and take it back Sep 11 10:01:14 i will, i have contacted them again and wait for their answer Sep 11 10:01:21 ok Sep 11 10:02:28 but koen told me that i should try to tweak the driver to use 16x adc averaging, unless i know where to find that driver in the kernel code i cant't check if i am able to do it Sep 11 10:03:21 https://github.com/beagleboard/kernel/tree/3.8 Sep 11 10:03:30 check that out Sep 11 10:03:31 3.8 branch Sep 11 10:03:33 run the script Sep 11 10:03:43 and you have the full kernel source and all the DT files Sep 11 10:06:15 ok, so i have to git it and patch it, correct? Sep 11 10:07:33 thought i would be able to see the files on github directly Sep 11 10:07:42 LetoThe2nd: How are you? I've re-flashed my beaglebone, then I re-installed mysql, and still it tells me it cannot find that library file Sep 11 10:07:51 heres a full explanation: http://pastebin.com/P3chC7Ja Sep 11 10:08:02 what flags did you activate on cmake ? Sep 11 10:23:23 fixed it :D Sep 11 11:17:34 Anguel: sadly no Sep 11 11:17:42 gihub has only vanilla kernel and patches Sep 11 11:18:29 using git to store patches is just so wrong Sep 11 11:19:05 dont tell me Sep 11 11:19:20 I can understand why you might do that with cvs Sep 11 11:20:08 I asked what people preferred: a branch that gets rebased or patches + script Sep 11 11:20:15 the rebase hate was overwhelming Sep 11 11:20:24 clearly you didn't ask enough sane people Sep 11 11:20:32 we're talking about beagle user Sep 11 11:20:33 s Sep 11 11:20:55 they're not generally qualified to know what they want Sep 11 11:21:18 koen: you did not ask me Sep 11 11:31:57 Hi guys, just a quick question: Does anybody know how to rotate the LCD on BBB? There seems to be a problem with 240x320 resolution when calling xrandr. Sep 11 11:34:55 * LetoThe2nd would use xrandr to rotate ... Sep 11 11:36:57 hi, i'm thinking of trying to prototype something, it's a sort of router/firewall/thingy so I need a board with two ethernet ports and then do some filtering and so on. have people done similar things on the beagleboard? any of you got an idea how hard or easy, in rough terms, that might be? Sep 11 11:37:28 dathui: you can add a second eth over usb. thats about all. Sep 11 11:37:59 well, that was my first guess. display turns white. @dathui: Take a linksys router.... Sep 11 11:38:19 Ralf_: hm, no idea then. Sep 11 11:38:34 ok. thanks Sep 11 11:40:07 @Ralf_ I don't need an actual router :) that's just a close enough similarity why I need two ethernet ports Sep 11 11:40:15 LetoThe2nd: oki, thanks Sep 11 11:41:07 use a PC with 2 NICs Sep 11 11:54:21 av500: My reasoning was that getting a beagle board would be cheaper than a computer with 2 nics. Sep 11 11:59:03 well, beagle has only 1 NIC Sep 11 11:59:09 of course you can add one via USB Sep 11 11:59:31 Beagle XM + Zippy 2 :-) Sep 11 11:59:42 Zippy? *googling* Sep 11 12:00:12 ah :) Sep 11 12:01:25 dathui: there are el-cheapo avr32 boards with two Nics Sep 11 12:01:34 dathui: and I think they are still supported in OE Sep 11 12:02:21 I got a problem with camera cape on Beaglebone? Could any one help? Sep 11 12:02:30 XorA: OE? Sep 11 12:02:45 Driver Info: Driver name : cssp_camera Card type : cssp_camera Bus info : cssp_camera-000 Driver version: 3.2.42 Capabilities : 0x05000001 Video Capture Read/Write Streaming Compliance test for device /dev/video0 (not using libv4l2): Required ioctls: VIDIOC_QUERYCAP returned 0 (Success) test VIDIOC_QUERYCAP: OK Allow for multiple opens: test second video open: OK VIDIOC_QUERYCAP returned 0 (Success) te Sep 11 12:02:59 dathui: Open Embedded, what Angstrom what came as default on beagles was built with Sep 11 12:03:30 XorA: ah, thanks. Sep 11 12:11:56 av500: thanks for the kernel help, i downloaded, applied patches and now see the .dts files :) i will have to have a closer look top understand how they are connected, i expect that the lcd cape .dts use the adc somehow, that is configured somewhere else Sep 11 12:17:07 Anguel : maybe some I2C btw Sep 11 12:17:45 mouha: what do you mean? Sep 11 12:31:39 Anguel: 4D cape also use I2C, therefore I think this something to keep in mind Sep 11 12:32:18 Anguel : as we were talking about FA display before, some settings were (are) set via I2C Sep 11 12:33:10 omg, now i see, the dts files are NOT in the kernel, they are in /libs/firmware in the image... Sep 11 12:33:40 in /lib/firmware Sep 11 13:01:12 how can I setup wifi connectivity in Beaglebone black with Ubuntu 12.04 precise?? Sep 11 13:13:47 hello! Sep 11 13:14:31 hey Sep 11 13:14:40 is there a way to view which dtbo is loaded? Sep 11 13:15:13 cat the slots entry Sep 11 13:16:28 Anguel: have you read https://docs.google.com/document/d/17P54kZkZO_-JtTjrFuVz-Cp_RMMg7GB_8W9JK9sLKfA ? Sep 11 13:17:37 i "bricked" my beaglebone by removing uEnv.txt from the internal emmc.(trying to force the bone to boot of the mmc card i inserted. now i am having trouble using the serialport (J1) of the beaglebone black. i dont get anything but "CCCCCC" when i try to boot. Sep 11 13:17:56 boot from SD Sep 11 13:17:59 how to setup wifi in Beaglebone blck with ubuntu 12.04LTS Sep 11 13:18:02 reflash the emmc Sep 11 13:18:02 koen: thank you, did not know about this doc Sep 11 13:18:14 removing uEnvt.txt has no impact on the boot Sep 11 13:18:28 well, you don't get 'quiet' in bootargs anymore, but that's it Sep 11 13:18:47 kishor: there're tons of tutorials Sep 11 13:18:51 av500: well, that doesnt work either. so i guess getting some debugging output via the serial port would be nice. for what i know now. even u-boot maybe damaged Sep 11 13:18:53 kishor: i personally like this one http://www.codealpha.net/864/how-to-set-up-a-rtl8192cu-on-the-beaglebone-black-bbb/ Sep 11 13:19:10 you can sort of follow the same route Sep 11 13:19:20 it's also here: http://elinux.org/BeagleBone_and_the_3.8_Kernel Sep 11 13:19:22 you just need the sources and cross-compile it natively Sep 11 13:19:28 beagleboone: you cannot damage uboot on sdcard by writing to emmc Sep 11 13:20:11 sorry Sep 11 13:20:16 vmayoral: Thank you. Sep 11 13:20:16 compile it natively Sep 11 13:20:23 that cross- was wrong ;) Sep 11 13:20:45 vmayoral: I still wonder why my 8192cu works with the stock linux drivers and others don't Sep 11 13:20:52 av500: ok. maybe the flash is damaged and it wasnt directly me. the thing is. i dont understand why i dont get anything written but CCCCCC to the serial. i googled arund for days and every site mentioning the serial talks about the u-boot boot text...and stuff. Sep 11 13:21:08 so, what may i have done wrong that i dont see a u-boot console? Sep 11 13:21:18 get a "flasher" image Sep 11 13:21:27 boot from sd while pressing the boot button Sep 11 13:21:30 that works Sep 11 13:21:40 koen: same here. I actually purchased 5 different wifi dongles (3 of them with the rtl8192cu chipset) Sep 11 13:21:43 same result Sep 11 13:21:44 er, press the boot button while poweing up Sep 11 13:21:54 got me really pissed. Sep 11 13:22:13 av500: thanks, i allready did that. else i couldnt have tried to but from the mmc in the first place. Sep 11 13:22:21 haven't given up though :) Sep 11 13:23:18 can anyone with a beaglebone black confirm that they see some text from u-boot over the serial port (J1) ? Sep 11 13:23:27 I do Sep 11 13:23:56 av500: what board and software versions do you run on your bbb? Sep 11 13:24:10 i ment board revision Sep 11 13:24:15 dunno and dunno Sep 11 13:24:23 av500: ok, thanks Sep 11 13:24:26 if it says CCCC it does not find MLO Sep 11 13:24:33 on emmc or SD Sep 11 13:24:35 ha Sep 11 13:24:39 so, get an sdcard Sep 11 13:24:45 write the flasher image to it Sep 11 13:24:47 insert Sep 11 13:24:53 av500: thats it, i remove MLO not uEnv.txt. from the emmc. Sep 11 13:24:54 boot while holding the boot button Sep 11 13:25:03 [15:24] so, get an sdcard Sep 11 13:25:05 [15:24] write the flasher image to it Sep 11 13:25:05 i just mixed thatone up. mucho thankos! Sep 11 13:25:07 [15:24] insert Sep 11 13:25:08 [15:24] boot while holding the boot button Sep 11 13:25:38 av500: but, while pressing the boot button bbb should load MLo & stuff from mmc i assumed? Sep 11 13:25:58 no Sep 11 13:25:59 from sd Sep 11 13:26:06 why dont you read the docs? Sep 11 13:26:29 av500: i want to run linux cnc on my beaglebone. there is allready an image that works for many people. but wit me it doesnt boot and i dont see nothing on the console. Sep 11 13:26:44 av500: what sd? i have a mini mmc card slot Sep 11 13:26:54 sd/mmc Sep 11 13:26:58 you are mixing up the internal mmc (emmc as its refered to) and mmc Sep 11 13:27:24 in the docs there is written "push boot button to boot from mmc" Sep 11 13:27:53 s/mmc/mmc card/ Sep 11 13:28:56 well, ok, then i go the flasher image road. but. when its back to how i came to me out of the factory. i still dont have a serial console to see wats happening at bootup i assume Sep 11 13:29:29 depends Sep 11 13:29:43 if you see the "CCCCC" it means you have a serial working Sep 11 13:29:52 yes, thats true :) Sep 11 13:30:29 and since you translated it for me it does even have a meaning :) Sep 11 13:30:40 one more thing Sep 11 13:32:24 i got u-boot-beaglebone-2013.04-r0.img and MLO-beaglebone-2013.04 and copyd them to the boot partition of a freshly mkcard.sh'ed mmc. pressing boot and applying power does show nothing on the serial. anyone an idea? Sep 11 13:33:05 marked "active"? Sep 11 13:33:13 also "MLO" Sep 11 13:33:16 is the name Sep 11 13:33:16 Hello People Sep 11 13:33:29 got a working image Sep 11 13:33:35 yes, i renamed the files. im really not that stupid. really. i guess ;) Sep 11 13:33:45 not saying that Sep 11 13:33:55 partition needs to be active Sep 11 13:33:56 no, youre trying to help :) Sep 11 13:34:10 get a flasher image Sep 11 13:34:14 yes, i look at that. but the mkcard.sh script should do that. i take a look Sep 11 13:34:15 and start from there Sep 11 13:34:19 yes Sep 11 13:34:22 should Sep 11 13:34:48 yes it has the boot flag set Sep 11 13:35:00 so this should work Sep 11 13:35:28 and has nothing todo with the emmc and missing MLO Sep 11 13:35:44 so doing the magical whipe and copy would not change anything for me Sep 11 14:05:58 hello Sep 11 14:06:10 any one there for help reha Sep 11 14:06:20 regarding beagle bone blacl Sep 11 14:06:35 ok, cu folks Sep 11 14:07:25 hello Sep 11 14:07:32 anyone there Sep 11 14:34:51 yes, what is it? Sep 11 14:51:32 hmmm, i recompile the dts in /lib/firmware/ and get a new dtbo, however it looks like this new file is not used, although i changed the adc channels the touchscreen still works... Sep 11 14:52:07 do i have to do something more then recompile? Sep 11 14:52:28 the module seems to be loaded correctly Sep 11 14:53:50 Hello, anyone here that can explain why the BONE_D64 drivers isn't detected when I connect my B^3 Sep 11 14:54:33 All I get in the device manager is a entry for "Other devices" called BeagleBoneBlack with no drivers. Sep 11 14:54:46 Guest56003: did you install the driver through the exe? Sep 11 14:54:51 yes Sep 11 14:54:56 which os? Sep 11 14:55:06 win 7 64-bit Sep 11 14:55:21 hm, works fine for me Sep 11 14:55:43 It works in a Windows 8 box for me as well but my desktop is win7 Sep 11 14:55:57 did you try reinstalling? Sep 11 14:56:11 drivers, yes and reboot and whatever. Sep 11 14:56:48 even found a signed driver on a forum but that didn't help either Sep 11 14:56:55 no idea, works here Sep 11 14:57:18 could you please go into the device manager and check the hardware ids for the bbb Sep 11 14:57:29 just to verify that I have the same. Sep 11 14:57:47 USB\VID_1D6B&PID_0104&REV_0308 and USB\VID_1D6B&PID_0104 is what I have Sep 11 14:58:08 hello mates! this is regarding bbb and can-bus. i was searching the web, and found a lot of useful pages, but 1 thing is not 100% clear for me. is it possible to use just the can0/can1 pins, or do i have to use a tranciever ic, too? thanks Sep 11 15:00:33 aphex: Sorry.. I don't know Sep 11 15:01:15 thanks Guest56003 :) anyone else? Sep 11 15:06:53 having issues with beagleboard not being able to acquire an IP once it is disconnected from a network Sep 11 15:07:06 has anyone encountered anything like this? Sep 11 15:09:56 C2H6O_: I haven't got that far yet :) Driver issues :( Sep 11 15:10:52 ok :) good luck mate Sep 11 15:18:55 C2H6O_ ethernet ? wireless ? Sep 11 15:20:13 Both actually Sep 11 15:20:20 there are known hotplug issues in the 3.8.x kernel. For instance the kernel i am using if you remove the sdcard and plug it back in while the bbb is running . . . the board will lock up within a minute or two Sep 11 15:21:03 on debian -> if i use "hotplug" in /etc/network/interfaces, i dotn aquire an IP at all Sep 11 15:21:34 yeah, that seems to be my issue as well Sep 11 15:21:56 you can ask one of the devs about it, but i think for now you're stuck with auto Sep 11 15:22:14 both interfaces work fine as a fresh boot, but if it gets disconnected, the interface won't reconnect Sep 11 15:22:37 disconnected how ? Sep 11 15:23:08 I unplug the card/cable Sep 11 15:23:23 which seems to point to hotplug detect issue which you are talking about Sep 11 15:24:40 I had my bbb up and runnign for 28 days -> booted from a tftp/nfs server, and connected to this network and channel with weechat. We're solar powered here, so when we switch to genset, and back to solar we lose local/internet connection for a couple minutes as our switch does self testing. the connection always came back on its own Sep 11 15:25:26 i dont use dhcp though on any of my linux system including the bbb. i use static ips Sep 11 15:26:03 hmm okay I'll try that Sep 11 15:28:49 i tried disconnecting the wired interface through Wicd network manager and reconneting back Sep 11 15:29:03 but it doesn't obtain an IP Sep 11 15:29:07 how can I verify the wifi driver is working properly on BBB Sep 11 15:29:37 try connecting to a network ? Sep 11 15:30:02 is there any command?? Sep 11 15:30:17 try: iwconfig Sep 11 15:30:23 and see if wlan0 or wlan1 shows up Sep 11 15:30:30 if it does, most likely the drive works fine Sep 11 15:30:51 check out /etc/network/interfaces file and uncomment the wireless part Sep 11 15:30:56 then reboot... worked for me Sep 11 15:37:08 the problem is , i cannect the wifi dongle with bbb and from bbb command prompt I enter command iwconfig. But it shows 'command not found' Sep 11 15:48:11 i'd use an ethernet connection at first to set it up Sep 11 15:48:18 install the iw package Sep 11 15:53:45 noone can tell me how to update an dtbo? i have recompiled it in /lib/firmware/ but the new does not load for some reason :( Sep 11 15:55:07 Anguel: it depends on when you need them to load, the stock angstrom image also has dtbo's compiled into the kernel image Sep 11 15:55:10 the kernel has internal copies, so better update the uImage as well Sep 11 15:55:39 oh, now i seem to understand Sep 11 15:56:08 isn't there an option to override the initial? Sep 11 16:02:25 can i disable the cape in the uEnv.txt and then load the new one? Sep 11 16:03:00 new dtbo Sep 11 16:12:15 NOTE: Do not plug in the cable to the board until after the Sep 11 16:12:15 board is powered up. Sep 11 16:12:15 (concerning HDMI) why is it written in RED on BBB pdf and website ? Sep 11 16:12:44 <_av500_> good question Sep 11 16:13:33 especially if you want to make a tv/mediabox... u have to unplug hdmi cable each time ? lol.. Sep 11 16:13:43 <_av500_> no Sep 11 16:27:57 I thought the message was the opposite, don't plug/unlug while powered on Sep 11 16:28:26 <_av500_> whatever you do, just don't Sep 11 16:31:09 LOL Sep 11 16:37:43 Hello all Sep 11 16:38:16 I just got my BBB and I was wondering how can I setup USB internet access? Is that possible? Sep 11 16:39:21 I am at root@beaglebone:~# Sep 11 16:45:18 setup in what way Sep 11 16:53:57 RypRap1 Can you setup a passthrough for the "internet" via a USB cable only? Sep 11 16:56:46 is there real desktop in beaglebone black Sep 11 16:56:48 ??????? Sep 11 17:04:33 cagdaseckin: define "real desktop" .... Sep 11 17:05:25 so how can i setup iw interface for bbb? Sep 11 17:07:14 I got this to work on Angstrom by modifying the /usr/bin/g-ether-load.sh script which sets up the USB Ethernet connection. I added 2 lines at the end of the file: /sbin/route add default gw 192.168.7.1 echo "nameserver 8.8.8.8" >> /etc/resolv.conf This adds a default gateway for the network carried over USB and adds a DNS server for resolving names - 8.8.8.8 is Google - change it to a local DNS server or your favorite external one a Sep 11 17:07:38 how do I access that file ? Sep 11 17:08:46 sudo is not found Sep 11 17:09:04 does the normal distribution not use sudo? Sep 11 17:10:07 You're logged in as root NickT Sep 11 17:10:09 you don't need sudo Sep 11 17:10:19 ok Sep 11 17:10:44 so how can I modify usr/bin Sep 11 17:12:25 im getting it actually Sep 11 17:15:35 prpplague I'm new at bbb is there any link or book for it? Sep 11 17:15:50 <_av500_> not really Sep 11 17:15:56 <_av500_> there is a book though Sep 11 17:16:04 cagdaseckin: you can link to everything from beagleboard.org Sep 11 17:16:27 ? Sep 11 17:16:35 http://beagleboard.org/bad-to-the-bone Sep 11 17:16:56 ok Sep 11 17:16:56 av500 two books now Sep 11 17:17:30 that make guys getting started with beaglebone now too Sep 11 17:17:34 mitch Sep 11 17:17:45 128 pages . . . Sep 11 17:17:45 Matt Richardson Sep 11 17:17:50 there ya go Sep 11 17:18:02 <_av500_> two ferraris Sep 11 17:22:32 jason, havent read much of either and none of yours but seems you cover much more material. tempted to buy your book based on the latter chapters alone ( device tree stuff ) we'll see though. read both tables of contents Sep 11 17:23:33 tight on money and time rigth now so . . .tis the way it goes Sep 11 17:27:03 is there anynone please enlight me how can I setup iw interface for BBB? Sep 11 17:44:06 <_vicash_> Hi. I have a Beaglebone black. Can I access the EEPROM from the MLO boot image ? I am building my own Angstrom image for the BBB and as part of that am tweaking MLO to access the EEPROM and verify the serial number of the BBB. Is it possible ? Sep 11 17:47:25 <_av500_> sure Sep 11 17:49:44 <_vicash_> _av500_: is there an address for accessing teh EEPROM ? as per the beaglebone docs there is no such information Sep 11 17:51:50 <_av500_> i2c Sep 11 17:52:01 <_av500_> you need to use i2c to read the eprom Sep 11 17:53:40 <_vicash_> _av500_: can i write to the eeprom ? Sep 11 17:54:28 My beaglebone black switches on but does not boot when I connect it to a 5v Input.It works when connected by the usb though Sep 11 17:59:29 My beaglebone black switches on but does not boot when I connect it to a 5v Input.It works when connected by the usb though.Can someone help Sep 11 18:00:27 <_vicash_> _av500_: thanks. Sep 11 18:01:09 <_vicash_> akashsuresh: is it 5V 1A input ? Sep 11 18:01:53 5V 2A Sep 11 18:03:43 <_vicash_> akashsuresh: use a multimeter and check if current flow is correct from your power supply Sep 11 18:04:05 Ok I will do that Sep 11 18:05:45 Though I would like to point out that if power output was not right,the beaglebone lights would not be on.In addition I noticed that wwhen i connect the power adaptor constantly the 2nd and 4th led alone keep blinking alternatively Sep 11 18:06:21 <_vicash_> akashsuresh: you can read the BBB System reference manual to see what the order of blinking LEDs mean. Sep 11 18:06:33 <_vicash_> then you can debug further. maybe it is pointing out something Sep 11 18:13:07 why iwconfig is not working for 3.8.13? Sep 11 18:14:22 please reply me.. why iwconfig is not working for 3.8.13? Sep 11 18:15:11 you'd have to give more information... Sep 11 18:19:59 like what?? Sep 11 18:20:26 i connect wifi dongle with BBB Sep 11 18:22:12 <_vicash_> simi: run the command "dmesg" and check whether your wifi dongle has been loaded correctly and the drivers have loaded. if not then the dongle is not working Sep 11 18:22:41 <_vicash_> by that i mean that if the drivers are not loading correctly then the dongle will not work and hence iwconfig will not display anything Sep 11 18:23:07 simi: if you're still using iwconfig, you'll have to read http://wireless.kernel.org/en/users/Documentation/iw Sep 11 18:23:50 <_vicash_> koen: is it possible to write to the EEPROM from MLO ? Sep 11 18:24:18 <_av500_> yes Sep 11 18:24:32 <_av500_> CPUs run SW Sep 11 18:24:34 <_av500_> film at 11 Sep 11 18:25:39 * _vicash_ checks BBB_SRM.pdf to find the right quotation for that... Sep 11 18:28:08 <_vicash_> _av500_: Section 5.3.2 in BBB_SRM.pdf version A5.4 (latest) says that there is a test point to allow the device to be programmed. I thought this was a hardware test point Sep 11 18:31:26 <_av500_> ah Sep 11 18:31:33 <_av500_> guess it the write enable pin Sep 11 18:31:38 <_av500_> it's Sep 11 18:31:45 <_av500_> yes, then you need to fiddle with that Sep 11 18:31:57 <_av500_> dont have schematics here Sep 11 19:38:20 <_vicash_> _av500_: do you have an idea on how to view teh debug print messages from MLO ? Sep 11 20:05:52 I'm familiar with Arduino, PIC, Python,C++ programming but new at beaglebone. I want to use beaglebone in Machine Learning Algorithms and Wavelet transform. Python (I'm using pythonxy IDE) is perfectly done my works at PC. Here is my questions * Can I use Python in beaglebone? * If its possible how? * Can I use beaglebone desktop when programming (C/C++/java/python etc.) like using PC? Sep 11 20:06:07 dude, it's just a linux pc Sep 11 20:06:15 you can do anyhting yo ucan do on a normal linux pc ;) Sep 11 20:06:53 and yes, you can use the desktop, but why use a 1GHz arm when you probably have something 10x faster (literally)? Sep 11 20:06:59 can do it, unless you run into memory limitations... will be slow though Sep 11 20:07:02 (for development i mean) Sep 11 20:07:53 cagdaseckin: what i do is develop on a desktop computer and save the files to a network share Sep 11 20:07:58 <_vicash_> is this for a robotics project ? why would you program Java on a beaglebone ? it will burst into flames Sep 11 20:08:08 I watch some tutorial but linux seems to hard to me :D Sep 11 20:08:18 _vicash_: then why would you use python? it's slow than java. Sep 11 20:08:33 <_vicash_> i would use C Sep 11 20:08:42 lol, and you're from the 70's. Sep 11 20:08:43 yes it is a robotic project Sep 11 20:08:51 :D Sep 11 20:09:08 cagdaseckin: Linux really is not that hard. Sep 11 20:09:11 cagdaseckin: you wont have any trouble running python Sep 11 20:09:17 But the best way to learn Linux, is to use it. Sep 11 20:09:48 cagdaseckin: c and c++, you'll either have to use something like eclipse to make compiling easy, or figure out how to compile stuff from the command lien. Sep 11 20:10:02 java faster but pyhthon modules is easy Sep 11 20:10:28 the python package installer like easy_install works on linux Sep 11 20:10:44 so, hop on and run some code. see if it's fast enough for you. Sep 11 20:11:00 and if it's not, you can always use something ilke swig Sep 11 20:11:02 how can I do this? any link? Sep 11 20:11:29 write the heavy lifting in c/c++, and use swig to convert it to a python module. Sep 11 20:11:38 how can you do what? many things were mentioned. Sep 11 20:11:51 heh Sep 11 20:12:03 I'd just start with python and stay there until it's too slow. Sep 11 20:12:12 yeah Sep 11 20:12:13 How can i run python IDE on beaglebone desktop Sep 11 20:12:17 and swig is pretty crazy easy at this point. Sep 11 20:12:19 <_vicash_> cagdaseckin: use "opkg" to install python and its modules on the Beaglebone. it might already be installed Sep 11 20:12:24 It is. Sep 11 20:12:39 Pythoin does a lot of the work of the Linux environment these days. Sep 11 20:12:45 yeah the BBB examples for using GPIO pins is like 7 lines of python Sep 11 20:12:46 cagdaseckin: just put the code on there, develop somewhere else. Sep 11 20:13:14 cagdaseckin: you can access your network shares on the beaglebone Sep 11 20:13:22 * nomel tunes out. Sep 11 20:13:28 hi guys Sep 11 20:13:36 <_vicash_> cagdaseckin: develop on PC, and ssh code into BBB and run there.. u can use Vi/Emacs/pico/nano on the BBB as IDE Sep 11 20:13:41 you are saying dont use beaglebone desktop to develop. am I right? Sep 11 20:13:48 _vicash_: has it. Sep 11 20:14:08 cagdaseckin: i'm saying you don't have to develop on th ebeaglebone, and it doesn't make sense to if ou have a nice comfy fast pc to develop on Sep 11 20:14:24 could anyone point me on which toolchain I could install in order to design software for my BBB running angstrom ? Sep 11 20:14:45 with gui Sep 11 20:14:51 stephman: What kind of software in what language on which platform to do what? Sep 11 20:15:05 I'm programming in C Sep 11 20:15:16 Thanks a lot. Sep 11 20:15:24 OK, so gcc is the compiler you want. Sep 11 20:15:25 stephman: it's just linux, so look up how you would do it in linux :) Sep 11 20:16:05 stephman: you have the gnome desktop, so look up how to make a gui program for gnome. Sep 11 20:16:18 (assuming you're talking about running it natively rather than remotely) Sep 11 20:16:21 thanks. There is nothing specific for beaglebone ? Sep 11 20:16:26 Not really. Sep 11 20:16:29 at least the cpu ? Sep 11 20:16:32 It is just a machine, like any other. Sep 11 20:16:40 The CPU is an ARM, like any other. Sep 11 20:17:02 stephman: your binaries wont run on different types of processors Sep 11 20:17:09 stephman: but that's always the case. Sep 11 20:17:10 ok Sep 11 20:17:52 there's nothing processor specific in c/c++/python/any sane language. :) Sep 11 20:18:01 that's the whole point of having a programming language. Sep 11 20:18:47 i though there was a specific toochain for beaglebone enabling designing gui and code + debugging through the ethernet or the usb. Sep 11 20:20:00 stephman: there are remote debugging tools, but there's nothing beaglebone specific Sep 11 20:20:10 unless you're using starterware or something non-linux. Sep 11 20:20:33 or doing it on the beaglebone Sep 11 20:20:44 ok Sep 11 20:20:45 if you're cross compiling, you'll need the arm toolchain Sep 11 20:20:58 cross compiling meaning, compiling code for the beaglebone on a different cpu. Sep 11 20:21:42 stephman: there are out of box things for starter, yes, i think its more for demo purpose Sep 11 20:22:32 what is the most used toolchain ? Sep 11 20:23:08 on linux ? Sep 11 20:23:30 gcc i would venture Sep 11 20:23:49 well. Linux or windows actually. But is there a way to compile anything on windows which would run under linux ? Sep 11 20:24:02 yes Sep 11 20:24:17 stephman: that's where a cross compiler comes in...and probably mingw. :) Sep 11 20:24:25 linaro's gcc's have windows binaries too and they do work Sep 11 20:24:39 do u have beaglebone black already ? Sep 11 20:24:40 this is in the context of windows to ARM or the BBB Sep 11 20:25:25 yes I've the BBB in hands since today. I'm currently updating it with the last version of angstrom. Sep 11 20:25:55 di u try to open bbb in ur browser ? Sep 11 20:26:10 I could use anyway windows or linux to install the toolchain. Gcc is nice and can be integrated in eclispe that I'm already using for other platforms Sep 11 20:27:17 I'm wondering however how to design gui then. I'm not familiar with PC application desiging. I'm usually programming microprocessors directly in C. Sep 11 20:27:23 you can compile on the BBB itself Sep 11 20:27:28 it's a normal linux computer Sep 11 20:27:34 might not be powerful ... ? Sep 11 20:27:34 any gui toolkit you want will run on it Sep 11 20:27:52 well try it out before you dive into cross compiling Sep 11 20:28:02 if you are doing your own software it's powerful enough Sep 11 20:28:16 if you want to compile the kernel and gnome desktop every day yes it will suck Sep 11 20:30:06 I just need to design small applications. So I can try compiling from the BBB Sep 11 20:30:49 yea don't make your life too hard from day one ;) Sep 11 20:31:11 lol... yes this sounds a good recomendation... Sep 11 20:31:18 I do agree... Sep 11 20:31:54 so then it means installing the toolchain on the BBB. Can you than access remotely yhe BBB Sep 11 20:31:55 ? Sep 11 20:32:28 Yup. Sep 11 20:32:29 SSH. Sep 11 20:32:33 Use PuTTY. Sep 11 20:32:43 ok Sep 11 20:32:47 ssh my_bbb_ip Sep 11 20:32:47 And FileZilla to transfer the files over SFTP. Sep 11 20:32:55 then you can run vi, make, gcc, python, whatever Sep 11 20:33:02 (assuming you are on Widnows, which it sounds like you are) Sep 11 20:33:55 as I said, it's a normal linux computer Sep 11 20:34:11 ok. I've got it... Sep 11 20:34:58 thanks for your comments guys... I guess I've enought now to start.... Sep 11 20:35:04 a lot of people come to this channel and say "I want to run xxx and yyy on BBB" and 99% of the time it's just them thinking there's something special about the BBB but there isn't Sep 11 20:35:10 I'll be back soon ;-) Sep 11 20:35:15 there is something special about the BBB Sep 11 20:35:17 it's $45 :P Sep 11 20:35:24 open 192.168.7.2 ;) Sep 11 20:35:44 ssi: yea I know. but running stuff on it.. mostly nothing specia Sep 11 20:37:05 and people also drop into the channel to ask which linux distribution supports i2c or usb webcam xyz.. again 99% of the time it doesn't matter what distro you have :) Sep 11 20:38:47 I've to say that documentation is not always clear. There is so many possibilities to code with that for people not familiar with it may be confusing at begining Sep 11 20:38:51 this is my case. Sep 11 20:39:15 yes because it's a normal linux computer :) Sep 11 20:39:24 ah yes... Sep 11 20:40:19 if you have not used linux and you jump into BBB then you are basically tackling 3 things at once.. Linux, embedded ARM Linux and the BBB hardware Sep 11 20:40:36 out of which 95% is Linux, 4% is embedded ARM linux and 1% is BBB Sep 11 20:41:13 your idea of ratios may vary, I just pull this out of my hat naturally Sep 11 20:41:55 your butt numbers seem sane to me. Sep 11 20:41:57 err..hat numbers. Sep 11 20:42:02 anyway, it will seem like BBB is daunting - compared to Arduino for example - but it's the huge "stack" that you're jumping into that looks insurmountable Sep 11 20:42:32 Arduino folds the whole stack into a single window with a compile + run button Sep 11 20:42:52 on BBB too Sep 11 20:43:03 but, once you get going, you have SO many more libraries and capabilities that have been in development for, literally, decades upon decades. Sep 11 20:43:08 with node.js in ur browser ;) Sep 11 20:43:15 yea I guess there's some stuff like that on the default BBB image.. I have never connected a monitor to it or anything Sep 11 20:43:29 nothing to install to dev on BBB ;) Sep 11 20:43:30 I just nuked it and put Arch on it :) Sep 11 20:43:52 u dont need monitor Sep 11 20:44:01 RypRap: yes but I would say that a lot less people stay within that newbie sandbox than do with Arduino Sep 11 20:44:44 it would be cool if sysfs interfaces could be "executed". like "/sys/class/gpio/export 11" Sep 11 20:44:53 so, executed or read as files. Sep 11 20:45:14 hmmh Sep 11 20:45:27 wonder if binfmt_misc could simulate that Sep 11 20:45:33 haven't looked at that in years though Sep 11 20:47:06 i.e. register the header strings of the file with binfmt_misc and have it execute a script to carry out the feature Sep 11 20:47:20 well, would need execute bit on the file though Sep 11 20:47:32 so have it. not like it's a real file anyways. Sep 11 20:47:43 err..physical file at least. Sep 11 20:47:54 might need a kernel patch to change its permissions, not sure Sep 11 20:48:01 and, i was thinking have it pass the args as the data Sep 11 20:48:04 rather than have ti run something. Sep 11 20:48:13 yes, that's how binfmt_misc works Sep 11 20:48:15 ahh Sep 11 20:48:27 the args would be passed to the 'helper' program that binfmt_misc runs in surrogate Sep 11 20:48:30 (i know nothing of those words) Sep 11 20:48:34 ohh Sep 11 20:48:43 i think having it be part of sysfs would be ideal. Sep 11 20:48:49 it would be an interesting filesystem semantic to include execute as a filesystem level operation... Sep 11 20:49:07 binfmt_misc is often used to make Java programs directly executable, Windows programs directly executable (via Wine) etc Sep 11 20:50:53 i'm actually not sure what happens when a program is executed, so maybe the sysfs would just see a read if you tried to do it directly. Sep 11 20:51:02 (as part of the driver) Sep 11 20:52:22 well first you'd need to make it executable to even try it :) Sep 11 20:52:23 basically executing makes a syscall where the kernel swoops in, reads the file, tries to recognize its headers to determine what strategy to use for bootstrapping the program's execution Sep 11 20:53:00 if it finds a valid magic number or whatever, it'll go through loading the necessary linker library/etc (or in the case of binfmt_misc, treat it as executing a different 'helper' program) Sep 11 20:53:14 arguments get shoved up into the environment for the new process Sep 11 20:53:32 but yeah, kernel's first thing to check is "is the X bit set and accessible by this user?" Sep 11 20:54:24 if you managed to make an executable sysfs node and your driver spewed ELF when read() then it might work Sep 11 20:54:41 and you would get killed on the LKML in 2 seconds :D Sep 11 20:54:51 I suspect it would not work Sep 11 20:54:52 nW Sep 11 20:54:54 er Sep 11 20:54:55 naw Sep 11 20:54:59 binfmt_misc Sep 11 20:55:12 leave the driver as it is, just make sure the 'x' bit gets set Sep 11 20:55:17 yea... but just thinking out loud Sep 11 20:55:22 yeah, how would the sysfs driver know it was being read by the system and not by someone doing an echo Sep 11 20:55:24 it'd be a funny hack either way Sep 11 20:55:26 executing an elf file requires mmap-like capabilities Sep 11 20:55:29 and, how would you know that the system would never echo. Sep 11 20:55:33 well, I've corrupted my eMMC.... You should think about removing the SD before rebooting after update.... AND not remove the SD when booting again. Sep 11 20:55:46 mru, yea that's true. just use a.out! Sep 11 20:55:51 I'm now good to start again.... It take 1h ! Sep 11 20:55:59 Vaizki: same problem Sep 11 20:56:09 a shell script could work Sep 11 20:57:03 stephman: i run off of sd cards :) Sep 11 20:57:31 slower, but the time it takes to get up and running after an emmc corruption, and the fact that the emmc will go bad one day, makes the emmc unusable in my application. Sep 11 20:57:32 I run away from sd cards Sep 11 20:57:57 if mine goes bad, i just pop in a new sd card with the image already on it. Sep 11 20:58:13 mru: then you should run away from the emmc. what's the difference? besides wider data bus? ;) Sep 11 20:58:13 well how do you update your system without SD ? Sep 11 20:58:22 i put the os on the sd card. Sep 11 20:58:28 and boot from the sd card. Sep 11 20:58:29 nomel: did I say I don't? Sep 11 20:58:55 stephman: various ways but none of them as simple as sd... Sep 11 20:59:02 plus...i needed the pins the emmc used. >:-( Sep 11 20:59:12 ok. Sep 11 20:59:23 stephman: m_billybob boots from a network share :D Sep 11 20:59:40 and I don't think reflashing the whole eMMC is a normal OS upgrade :P Sep 11 20:59:42 updating from the SD is fine for me but I'll keep it in minde Sep 11 20:59:53 mind* Sep 11 20:59:57 update from the network Sep 11 21:00:01 <_vicash_> stephman: u can use bonescript if u want to write simple apps Sep 11 21:00:15 does "shutdown -f" properly handle flushing disk caches and stuff? Sep 11 21:00:34 bonescript is java right ? Sep 11 21:00:35 <_vicash_> nomel: run sync and then shutdown to make sure it actually does Sep 11 21:00:46 oh sweet, thanks. Sep 11 21:00:48 <_vicash_> stephman: bonescript is javascript-like Sep 11 21:01:00 I would prefer C Sep 11 21:01:15 i'm amazed that people still use c for trivial stuff. Sep 11 21:01:19 actually. I don't want to spend time learning a new language Sep 11 21:01:30 but, i'm amazed that people get off by beating each other with wooden dildos too...so... Sep 11 21:01:34 <_vicash_> stephman: tehre is a cloud9 or similarly named image that provides an IDE where u can write it.. javascript follows a C-like syntax.. it is much easier Sep 11 21:01:49 nomel: C remains the low level language that workds on all platforms Sep 11 21:01:53 <_vicash_> You should use the best tool for the job Sep 11 21:01:53 well just install gcc then Sep 11 21:02:06 yes. I'll use gcc Sep 11 21:02:40 I don't see anything wrong in using C if you like working with it Sep 11 21:02:51 stephman: if you need low level, sure. but most people don't need low level when they think they do. Sep 11 21:03:13 _vicash_: easier depending from where you come from. I'm programming in C since 20 years so even there are many others good languages. The best one is still the one you know.... Sep 11 21:03:18 and still, python, java, c++, delphi, all are cross platform. Sep 11 21:03:52 stephman: i just learned c++ a few months ago. lets race at a string operation ;) Sep 11 21:03:53 <_vicash_> stephman: i have written some C code for the BBB directly on the BBB.. it is slow but it works.. use "opkg" to list the packages available and install the ones u need Sep 11 21:03:56 and php! php! pick php! Sep 11 21:04:42 <_vicash_> by slow i mean typing on the BBB through SSH is not as fast as it is on a regular PC.. but otherwise it is pretty much the same Sep 11 21:04:54 eh? Sep 11 21:05:05 _vicash_: did you know you can transfer files between computers ;) Sep 11 21:05:05 you must type damn fast Sep 11 21:05:14 * Bundestrojaner predicts a religious war^^ Sep 11 21:05:23 JIHAD! Sep 11 21:05:24 dvorak rules! qwerty sucks! Sep 11 21:06:24 <_vicash_> nomel: if u r editing/debugging code better to do on the machine u r testing on.. moving files slows the process down.. plus i am doing this as a home project.. if it is a work project sure . slower the better Sep 11 21:06:26 ok. time to sleep here. I should be back soon with again basic questions.... ;-) Sep 11 21:06:33 cheers Sep 11 21:06:36 and thanks Sep 11 21:06:47 _vicash_: i don't move files. i do everything from a network shore :) Sep 11 21:06:50 *share. Sep 11 21:06:58 how is typing over ssh to the BBB slower than typing to a local process on a PC? :O Sep 11 21:07:16 Vaizki: the keyboard interrupts travel slower over the network. Sep 11 21:07:55 <_vicash_> well if u have a large piece of code, try scanning it using Ctrl+D in Vi and u can see teh Beaglebone react much slower Sep 11 21:07:57 keyboard interrupts on the network? Sep 11 21:07:58 they should be buffered on the system connected to the keyboard... Sep 11 21:08:55 <_vicash_> the problem is not the typing but the fact that file system access is slow because of the SD card.. i run a custom Angstrom build so i dont use the eMMC. i keep that as a backup in case my custom build doesnt work Sep 11 21:09:24 <_vicash_> nomel: u use NFS ? Sep 11 21:09:33 <_vicash_> nomel: how is hte performance of that ? Sep 11 21:09:50 <_vicash_> nomel: what if u unplug the beaglebone from the internet, what is the failure rate ? Sep 11 21:39:04 I'm thinking about getting a SOC - Beaglebone Black or Raspberry... Sep 11 21:39:04 BBB seems to win nearly everything but graphics. Sep 11 21:39:04 But I've read, BBB is more difficult for beginners than Pi because of a smal(ler) community? Sep 11 21:40:55 hi Sep 11 21:41:06 nobody here running a freebsd on it? Sep 11 21:41:34 i want to build a image Sep 11 21:41:36 for it Sep 11 21:41:54 but i think is time wasted if isnt stable yet... :) Sep 11 21:43:26 <_av500_> the BBB is quite stable Sep 11 21:46:45 talking about C vs node.js etc.. http://helloworldquiz.com/ Sep 11 21:47:07 I got 2600.. which is a nice number.. Sep 11 21:48:40 dd to microsd card through beagle bone? I have usb and ethernet access to beaglebone and I'm trying to write a new OS image to the microSD on my beaglebone but I don't have the microSD to SD converter. The beaglebone unit is the only thing I own that can read the card. Do I have any options? Sep 11 21:49:22 swilshy: your mobile phone should use microsd too Sep 11 21:50:26 it does... hmmm, so you mean, write to it from my phone? Sep 11 21:51:51 yes you can dd to the uSD from the bone Sep 11 21:52:54 great! so if I have the image on an external HD attached to the bone, I can dd from HD to microSD and then boot off it? Sep 11 21:53:12 yes.. but where did you boot the beaglebone from? Sep 11 21:53:22 original factory angstrom Sep 11 21:53:28 not on the card Sep 11 21:53:35 oh ok beagle bone BLACK then :) Sep 11 21:53:39 yes! haha Sep 11 21:54:23 so .. no prob. but you have to boot with the uSD inserted, I don't think the BBB still recognizes uSD inserted after boot... Sep 11 21:54:44 cpu_to_le32 makes it MSB first or LSB first ? Sep 11 21:55:29 is the Flash of BBB faster than µSD? Sep 11 21:55:57 vvu|Log: if you're on a little endian system (like arm) that sounds like a nop Sep 11 21:56:25 arm is bi-endian isn't it :) Sep 11 21:56:26 ok, thank yo so much. I will give it a try. Sep 11 21:56:44 mru: LE is not least sig byte in the lowest slot value ? Sep 11 21:57:12 swilshy: not sure but I remember that some stock Ã¥ngströms may have a uEnv.txt that boots from uSD if it finds one, even if you don't press the boot button Sep 11 21:57:29 which could be a problem Sep 11 21:57:51 if i try to encode int x=1 in LE should i have 00 00 00 01 ? Sep 11 21:58:04 or i`m just talking jibberish here Sep 11 21:58:47 Vaizki: not really any more Sep 11 21:59:50 vvu|Log: that's jibberish without more context Sep 11 22:01:00 we want pdp-endian back Sep 11 22:01:01 ok i should go back to my studies :) Sep 11 22:01:39 well actually by misaligning a 32bit word in arm you get pdp-endian.. hmmm Sep 11 22:01:46 nope Sep 11 22:01:50 not any more Sep 11 22:01:57 doh Sep 11 22:02:01 YOU BROKE EVERYTHING Sep 11 22:02:11 that went away with armv6 Sep 11 22:05:25 you just get lesser performance with misaligned, like all systems. Sep 11 22:06:21 depends on how it's misaligned Sep 11 22:07:02 reading a 32-bit word has no penalty wherever it is in a 16-byte aligned block Sep 11 22:08:34 and an unaligned load/store done in hardware is always cheaper than doing it manually in software Sep 11 22:08:59 wa? Sep 11 22:09:24 arm can access a 32-bit word anywhere in a 16-byte memory block, at the same speed? Sep 11 22:09:45 how big are the registers? Sep 11 22:09:48 cortex-a8 can at least Sep 11 22:10:06 that's because the cache interface is 128-bit Sep 11 22:10:31 people any idea if RNDIS init is done on the Bulk transfer or Interrupt ? Sep 11 22:10:36 so whatever 32-bit range you're asking for, it can pull an entire 128-bit block and extract the part you want Sep 11 22:11:08 if you cross a 16-byte boundary, it needs to do two cache reads Sep 11 22:11:12 and that slows things down Sep 11 22:11:28 ah interesting. Sep 11 22:12:06 does this assume the data is in cache, or will the memory be read in 16byte chunks? Sep 11 22:12:29 if you miss cache, it's a different story entirely Sep 11 22:12:50 well, not entirely Sep 11 22:13:27 i get it. Sep 11 22:13:52 of course an unaligned load can trigger _two_ cache line fetches Sep 11 22:14:05 if you cross cache lines Sep 11 22:15:23 when did ARM started allowing unaligned loads? Sep 11 22:15:34 a7 right? Sep 11 22:16:08 ds2: do you have any knowledge of RNDIS? i`m more interested about the RNDIS init messages if they go over USB interrupt or bulk ? i cannot find info on this Sep 11 22:16:37 vvu|Log: not on that level, no. Sep 11 22:16:55 i`m trying to remove the need of RNDIS HOST DRIVER from the kernel Sep 11 22:17:05 at least to remove one more kernel config and make the app more generic Sep 11 22:17:11 usb spy? Sep 11 22:17:18 couldn't you use the USB MON to figure out which ep it winds up on? Sep 11 22:17:37 but again activating usb mon on android...anyway it`s really shitty Sep 11 22:18:22 does anyone have gnome running on android? Sep 11 22:18:39 or some other desktop? Sep 11 22:19:13 (i'm android dumb) Sep 11 22:19:47 wouldn't that be gnomoid? Sep 11 22:24:44 at least hemorroid if nothing else Sep 11 22:59:28 LetoThe2nd: you know they tried to deliver the package yesterday right? Sep 11 22:59:35 LetoThe2nd: you going to pick it up? Sep 11 23:10:53 programming is hard. Sep 11 23:11:46 debugging doubly so Sep 11 23:13:03 debugging hardware and software at the same time quadruple so Sep 11 23:13:43 that's why reaching the ballmer peak is so important Sep 11 23:13:57 hehe Sep 11 23:15:02 lol, so apparently pthread_mutex_timedlock returns EINVAL for *three* different, completely unrelated, conditions. Sep 11 23:15:21 stop making buggy hardware and software Sep 11 23:15:24 it is all your fault! Sep 11 23:15:36 I think at one of the early kernel conferences, developers sat down and said "EINVAL ALL THE THINGS!" Sep 11 23:22:13 it's sane if you don't think about it. Sep 11 23:29:38 is there any sanity in not optimizing to -O3 these days? Sep 11 23:30:38 with something like the latest gcc with arm? Sep 11 23:31:38 hahah, never mind. Sep 11 23:32:07 just checked the gpio pulses with -O2 vs -O3. doesn't look like the writes to the gpio registers are being flushed with -O3. Sep 11 23:32:28 heh Sep 11 23:32:36 I've run into similar with gcc and writing benchmarks Sep 11 23:33:10 You can't write to memory/memory mapped anything if you don't use the result (or at least potentially) or declare it volitile Sep 11 23:33:32 Sometimes if (this_will_never_happen) { read_var/memory/struct} is enough Sep 11 23:33:52 but this_will_never_happen can't be resolvable at compile time Sep 11 23:34:08 i have the registers set to volatile, and i am reading them back...and i have the functions wrapped in "#pragma OPTIMIZE OFF" Sep 11 23:34:10 wtf man. Sep 11 23:35:04 gcc man Sep 11 23:36:14 got a link to that code? Sep 11 23:36:58 spikebike: gpio code? you want it? Sep 11 23:40:24 i have a decent gpio, i2c, and eeprom library. Sep 11 23:40:52 and a stupid complicated kernel module that would be a good introduction into most things kernel space. Sep 11 23:41:21 i could pass it under the table. Sep 11 23:41:48 Has there been any word on SGX drivers for the Beaglebone Black? Are we still waiting on TI? Sep 11 23:41:49 anyone know whether it's possible to read voltage values in a timeseries at around 2kHz? Sep 11 23:42:46 at the moment I'm looking into the option of considering it audio and pushing it through a DAC, but that feels like overkill... I'd prefer to be able to just connect it to an input and sample it at a couple kHZ Sep 11 23:45:40 pkh, pru Sep 11 23:46:24 and for me, sleep Sep 11 23:47:31 thanks and night. Sep 11 23:49:11 pkh, how accurate does your time step need to be? Sep 11 23:49:24 not 100%, a bit of jitter is ok. Sep 11 23:49:38 well, 100% is impossible for anyone, what is a bit of jitter to yoU? Sep 11 23:50:02 and are jumps to undefined jitter ok every once and a while? Sep 11 23:50:23 you could probably get 2khz pretty easy with some c reading the adc regs Sep 11 23:50:44 but, you would get random unknown glitches with cpu usage. Sep 11 23:50:59 with the pru, you could read the adc registers, but you'll get some glitch from memory bus contention Sep 11 23:51:03 at the moment it's a bit hard to define explicitly. but if I can get fairly accurate timing alongside the sample I can rebuild the signal later anyway. Sep 11 23:51:26 I'm really going to have to suck it and see. Sep 11 23:52:06 the jitter from the pru will be up to something like 30ns Sep 11 23:52:43 BUT, it records the time it took, so you can have 5ns resolution for time. Sep 11 23:53:10 with 500,000ns sample intervals (is my top-of-head maths right?) Sep 11 23:53:20 @2kHz Sep 11 23:53:53 then 30ns is well within requirements. Sep 11 23:54:25 or, you could use a kernel driver to shut off interrupts, do the adc reads, get a good timestamp, then turn interrupts back on. Sep 11 23:54:32 if it helps comprehending the constraints, the resulting timeseries will be fft'd and 1000 values will be kept representing up to 1kHz. Sep 11 23:54:38 that's probably waht i'd do Sep 11 23:55:05 you can set up timers interrupts in the kernel Sep 11 23:55:16 so you would write an interrupt handler to catch that timer interrupt Sep 11 23:56:26 you know, you'd probably be fine writing something in c/c++ Sep 11 23:56:40 just found this via google. Sep 11 23:56:40 any reason not to use this as a starting point? (https://github.com/ZubairLK/adc-iio-continuous-sampling-userspace) Sep 11 23:58:27 oh super cool! i didn't know about that. looks pretty new. Sep 11 23:58:46 https://archive.fosdem.org/2012/schedule/event/693/127_iio-a-new-subsystem.pdf Sep 11 23:59:52 comes with a timestamp too! Sep 12 00:01:08 from what I can see, it samples 'continuously' which means to be 'as fast as the hardware allows' -- or am I missing something obvious where the rate can be specified. Sep 12 00:01:09 ? Sep 12 00:05:25 no, generic_buffer has a time delay you can specify. Sep 12 00:05:26 (looks ilke) Sep 12 00:05:32 http://lxr.linux.no/linux+v2.6.39/drivers/staging/iio/Documentation/generic_buffer.c Sep 12 00:06:25 err...looks like you'd have to write something. Sep 12 00:07:20 awesome -- a starting point that has promise! Sep 12 00:07:40 http://lxr.linux.no/linux+v2.6.39/drivers/staging/iio/Documentation/generic_buffer.c Sep 12 00:07:50 (not sure if other messages got through) Sep 12 00:08:15 looks like you'll have to write something based on this. they do a time delay with a usleep, so you'll still have your userspace jitter problem, but you'll have the timestamp, and you could set the process priority to highest. Sep 12 00:08:19 yes, appropriate line seems to be: Sep 12 00:08:19 unsigned long timedelay = 1000000; Sep 12 00:09:19 yeah, and I'm going to be processing the data in octave, so resampling is a breeze Sep 12 00:09:44 just resample using the timestamps before fft'ing Sep 12 00:16:29 nomel_: appreciate the help -- this will save me hours of frustration. Sep 12 00:28:23 Hello everyone! Sep 12 00:35:44 I very noob, I have some questions about BBB. But I don't know which is the right place for this. (sorry for my spelling but I don't speak English) Sep 12 00:38:35 it's the right place.... ask Sep 12 01:01:02 ahhhh! Sep 12 01:06:31 Question for everyone: when I plug in the beaglebone to my mac via USB, it doesn't mount as a drive and the user LEDs don't blink. Is my board hosed? Sep 12 02:34:57 does anyone know why the beagleboard black is cheaper than the beagleboard? Sep 12 02:36:22 does anyone know why the beagleboard black is cheaper than the beagleboard? Sep 12 02:59:22 hi, I'm attempting to figure out how to get a USB Bluetooth dongle to work with my BeagleBone Black. Sep 12 02:59:32 I've tried a few to no avail **** ENDING LOGGING AT Thu Sep 12 02:59:59 2013