**** BEGIN LOGGING AT Fri Nov 07 03:00:00 2014 Nov 07 03:05:33 I plan to actually ditcg angstrom/whayever os, and write an on the metal program using the library TI has available Nov 07 03:26:28 capes is what you want to get info on Nov 07 03:26:46 the capes are just driver boards...step/dir is a common interface Nov 07 07:48:51 hi Nov 07 07:49:21 i am new to beagle. anyone point me to a place where i can get started please? Nov 07 07:50:10 beagleboard.org Nov 07 10:37:11 hey Nov 07 10:37:33 can't someone help me ? I'm having problem with using the blackLib for beaglebone Nov 07 10:37:46 can* Nov 07 10:38:48 https://github.com/yigityuce/BlackLib Nov 07 10:39:16 yeah I have a problem when compiling... BlackLib/BlackPWM.h:469:13: error: 'int64_t' does not name a type Nov 07 10:39:34 compiling how? Nov 07 10:40:17 with a makefile which make : "g++ -o pwm pwm.cpp" , maybe there is a silly mistake but can't view it... Nov 07 10:43:47 the lib has no makefile? Nov 07 10:44:19 maybe too old gcc or supporting libs Nov 07 10:45:16 probably just a missing #include somewhere in the lib. Nov 07 10:45:24 nope the lib has no makefile in it... Nov 07 10:45:31 great Nov 07 10:45:36 delete it Nov 07 10:45:47 have a look at https://github.com/jackmitch/libsoc Nov 07 10:46:35 ok =) Nov 07 12:44:53 * mdp endorses libsoc Nov 07 13:20:53 * tbr endorses mdp for thought leadership Nov 07 13:23:31 yeah I installed libsoc like said on the git but I can't find where the .h are... ^^ Nov 07 13:31:37 jackmitchell: ^^^^ Nov 07 13:31:46 jackmitchell: a customer! Nov 07 13:32:17 MadCreator: did you compile it on the beaglebone? Nov 07 13:32:27 yep Nov 07 13:32:37 i did the autogen, the configure and then the make Nov 07 13:32:49 MadCreator: ok, so it's built but not installed Nov 07 13:33:04 oh, i need to make an "make install" ? Nov 07 13:33:07 yes Nov 07 13:33:21 ok =) Nov 07 13:33:27 MadCreator: yes, but it will install it to the default location of /usr/local Nov 07 13:33:43 you might want to re-run the configure with --prefix=/usr Nov 07 13:33:57 so it installs in the default system path Nov 07 13:34:27 /opt ftw! Nov 07 13:37:27 ok i'm gonna do that, but in /usr/local I see only ".so" files, how do I get them with my custom program ? I know how to do with ".o" or when I have ".h" but here... Nov 07 13:38:47 MadCreator: how about /usr/local/include ? Nov 07 13:41:32 ohoh =) thanks Nov 07 13:41:52 Thanks guys Nov 07 13:41:59 MadCreator: if /usr/local isn't in the default path you will also have to pass some extra flags to your compilation to tell it where to find things Nov 07 13:42:02 so bear that in mind! Nov 07 13:42:34 ok, i'm checking that Nov 07 13:42:44 I would suggest attempting to compile one of the test programs first to ensure it's all setup right Nov 07 13:43:56 ok i'm gonna do that Nov 07 13:46:02 Hi guys! someone with experience using of tlv320aic3X audio codec+BB? I'm desperate... my BB+tlv320aic3106 it's able to playback, but running arecord in order to capture generates empty file content (FSX and CLKX keeps at 0 level capturing)... :-( Nov 07 13:49:43 Hi Nov 07 13:49:44 sserrano: have you tested whether your audiocodec produces sensible data? Nov 07 13:49:54 is there any project converting bbb to scope? Nov 07 13:50:09 sserrano: ie, listen on the i2c/spi bus and see whether any sensible data is flowing Nov 07 13:52:56 Hi KotH... i2c communication is working flawlessly. I can run "alsamixer -c1" command and set/get codec parameters Nov 07 13:53:59 the intention is to add a second audio interface to the BB Nov 07 13:56:18 sserrano: i dont mean wehter communication is workign (it obviously is,otherwise the driver would throw an error), but whether the codec is producing data taht looks right when you are recording Nov 07 13:59:04 KotH: oops! no data come out. I can see a flat line in DIN, FSX, CLKX lines Nov 07 14:00:11 sserrano: you are welcome ;) Nov 07 14:12:16 hi Nov 07 14:12:18 ##Disable HDMI Nov 07 14:12:18 #optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN Nov 07 14:12:24 ^this doesnt seem to work Nov 07 14:12:35 i actually have a new cape appearing, HDMIN Nov 07 14:13:11 on what SW? Nov 07 14:13:36 debian Nov 07 14:13:51 3.8.13 Nov 07 14:16:20 Laurenceb_: debian has no capemanager Nov 07 14:16:24 jackmitchell : All working =D Thank you all for your help =) Nov 07 14:16:37 thus capemgr... does nothing Nov 07 14:18:07 no Nov 07 14:18:13 not latest capemanager Nov 07 14:18:17 erm debian Nov 07 14:18:41 ? Nov 07 14:45:56 im trying to save power by shutting down HDMI Nov 07 14:46:11 https://groups.google.com/forum/#!topic/beagleboard/h2f6knXtKLg Nov 07 14:48:37 but adding that line just gives me an extra entry Nov 07 14:48:40 HDMIN Nov 07 15:03:29 ah there is a conflict during boot Nov 07 15:09:27 http://pastie.org/9702806 Nov 07 15:12:13 is this hardcoded in the kernel? Nov 07 15:13:51 i guess i can manually remove the cape Nov 07 15:16:47 oh its disabled Nov 07 15:16:48 i see Nov 07 16:16:58 can I know how many ADC pins in beaglebone black? Nov 07 16:19:27 Yes you can. Nov 07 16:23:03 any answer? Nov 07 16:24:07 how many pwm pins in beaglebone black? Nov 07 16:26:59 <_av500_> 8 Nov 07 16:27:05 <_av500_> but google can tell you that too Nov 07 16:28:44 ...plus you can use the PRUs for more channels. Nov 07 16:31:55 <_av500_> that too Nov 07 16:36:57 plus you could hook up an ADC through I²C, SPI, ... Nov 07 16:37:09 <_av500_> so many things Nov 07 16:37:12 <_av500_> so little time Nov 07 16:37:16 <_av500_> because internet Nov 07 17:53:22 "there are many pins" Nov 07 20:07:11 Hello. I would like to know what's the difference between "Flasher" and "SD Card" images here: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#BBW.2FBBB_.28All_Revs.29 Nov 07 20:07:59 thibaut_: Generally the "flasher" means it will flash to the onboard eMMC Nov 07 20:08:13 While the SD card images means that the image runs off an external SD card Nov 07 20:08:24 jbdatko, this means that if I instal la flasher image on my sdcard, it will boot and flash automatically ? Nov 07 20:08:48 Because, both images are installed on the SDCard, so I don't really get the point :p Nov 07 20:08:59 Yes (you must hold the user boot button down to get it to boot from the sd card in this case) Nov 07 20:09:25 The LEDs will blink with a cylon pattern while it's copying Nov 07 20:09:33 then go all solid once done Nov 07 20:09:47 So if I want to flash the eMMC, I just download the flash image, and boot holding the button. Nov 07 20:10:10 Yeah, I let go of the boot button when you see the LEDs go all solid for the first time Nov 07 20:10:27 ok Nov 07 20:10:36 I'll try immediatly, thx :) Nov 07 20:11:13 An other question, I see two i2c dev in /dev. I got one on P9-19 and P9-20. Where is the other one ? Nov 07 20:11:22 ok... Nov 07 20:11:40 http://datko.net/2013/11/03/bbb_i2c/ Nov 07 20:12:07 You should read that, it should clarify the i2c buses Nov 07 20:12:47 thx ! Nov 07 20:13:42 Amazing post ! Nov 07 20:14:26 Glad it's helpful :) Nov 07 20:15:16 Oh, you're the author ! Didn't notice, thanks ;) Nov 07 20:15:29 ;) Nov 07 20:17:49 It's flashing, thx :) Nov 07 20:18:43 np. Happy Hacking! Nov 07 20:19:16 Yes, I've a TMP102 like you and 2 7-segment display (time & temp ;-) Nov 07 20:19:47 Ok. I made a library for that I thought somewhere... Nov 07 20:19:53 jbdatko, using latest kernel, do you know if is there a way to know in which mode are set pins ? Nov 07 20:20:06 jbdatko, don't tell me, I will do everything manually in C, for fun :p Nov 07 20:20:42 I *think* you need to look at the device tree files to know the default muxing Nov 07 20:22:03 Here was that tpm102 example code: https://github.com/jbdatko/tmp102 Nov 07 20:35:27 Thanks jbdatko :) Nov 07 20:36:05 someone knows if the Debian Image comes with Node Install ? Debian (BeagleBone Black - 2GB eMMC) 2014-05-14 Nov 07 20:37:28 DiegoTc, I think yes, if you don't take the "console" version Nov 07 20:38:37 thibaut_: what do you mean with console version? Nov 07 20:39:11 If you use "latest-image", then yes, it includes node Nov 07 20:39:27 ahh Ok Nov 07 20:39:27 If you use any of these: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Debian_Releases I don't know :p Nov 07 20:39:51 thibaut_: this one yes http://beagleboard.org/latest-images ? Nov 07 20:40:02 yes Nov 07 20:40:43 thibaut_: do you know if the bonescript library comes install? Nov 07 20:41:04 I tried to install it on ubuntu 14.04, but got me many issues Nov 07 20:41:18 going to test it with Debian Nov 07 20:46:00 jkridner: is there a dead line for presenting the task for the GCI? Nov 07 21:07:41 ok whats the difference between 3.8.x and 3.14.x kernels? Nov 07 21:07:47 any adventage of upgrading? Nov 07 21:09:18 there are changelogs out there you know Nov 07 21:09:22 e.g. https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.17.2 Nov 07 21:10:08 I am interested about how that affects BBB Nov 07 21:10:59 i know there are plenty of changelogs most likely covering thousands of small fixes changes which are not really obvious to me how they affect BBB Nov 07 21:11:56 0.6.x ;-P Nov 07 21:13:09 agmlego, did you try kernel 3.14.x on BBB ? Nov 07 21:13:38 fedora ships 3.16 for armhf, works fine Nov 07 21:13:58 mkad: Nope, why? Nov 07 21:15:20 I was wondering about capemanager etc.. does that work in Debian jessie with 3.14.x kernel? Nov 07 21:15:33 mkad: http://elinux.org/Beagleboard:Capes_3.8_to_3.14 Nov 07 21:15:38 There is no capemgr in 3.14 Nov 07 21:15:58 also is the issue with usb host fixed in newer kernel... Nov 07 21:16:05 guess will give it a try Nov 07 21:16:10 jbdatko, thanks ! Nov 07 21:17:29 Hi I am student engineering Mechatronic, I noob programer in this plataform. Anybody can help me. I need a program that read 3 anlog pin, storage in micro SD, comunicate with matlab using serial comunication. Thanks for the person that help me. Nov 07 21:20:07 OmarColombia, did you try examples like http://stackoverflow.com/questions/22818751/beagle-bone-adc-read-values Nov 07 21:20:34 anyone know of a prebuilt U-Boot MLO for UART booting the BBB? Nov 07 21:22:28 compeoree_: no, but a workaround is to compile u-boot yourself and re-use the variables from u-boot's 'printenv' Nov 07 21:22:49 thanks mkad Nov 07 21:23:11 OmarColombia, you may also need to enable those pins just google I found this https://github.com/jadonk/bad-to-the-bone-examples/blob/master/chapter-5/cape-bone-iio-00A0.dts Nov 07 21:23:47 thanks idwer, that's what I thought Nov 07 21:25:30 compeoree_: I guess this applies to a bbb as well: http://blackfin.uclinux.org/doku.php?id=bootloaders:u-boot:upgrading Nov 07 21:25:36 Mkad, exist any slution in bonescript Cloud9? Nov 07 21:26:20 OmarColombia, nothing on google? Nov 07 21:26:54 I Nothing Nov 07 21:26:57 Nothing Nov 07 21:27:11 Exist any solution but dont work Nov 07 21:29:02 Hello all! Can any of you help me to figure this out? Who is responsible for showing things up on LCD screen, is it the kernel or the rootfs? Nov 07 21:29:24 The solution in C can work. Nov 07 21:29:47 Why mount programs in BBB using C? Nov 07 21:30:08 OmarColombia, that c code is just reading some file in /sys/.. which could also be access by cat I think.. not sure Nov 07 21:30:34 OmarColombia, on Linux devices are often represented by files Nov 07 21:30:55 OmarColombia, you should have a look how to enable that file for ADC and how to read values from it Nov 07 21:31:00 Ok thanks a lot Nov 07 21:32:54 OmarColombia, oh one more thing!! Nov 07 21:33:13 OmarColombia, dont connect voltage above what is recommended Nov 07 21:33:36 idwer: I tried the Beagleboard recovery (MLO_revc_v3), but nothing happened Nov 07 21:34:01 OmarColombia, max 1.8V as far as I see http://analogdigitallab.org/articles/using-adc-beaglebone-black Nov 07 21:34:35 For enable code, I should activate the program write in C from terminal Nov 07 21:34:37 Correctly? Nov 07 21:34:54 no Nov 07 21:35:05 which board? Nov 07 21:35:06 BBB? Nov 07 21:35:12 what OS distro? Nov 07 21:35:52 OmarColombia, I use Debian jessie and BBB and I managed to enable ADC and read values from it as in the last link I posted you Nov 07 21:37:09 I used BBB with Angstrom Nov 07 21:40:39 OmarColombia, BBB Debian jessie kernel 3.8.13-bone67 reading of ADC as in the link works for me, good luck:) Nov 07 21:40:54 Thanks a lot Nov 07 21:41:14 I have BBB that dont turn on Nov 07 21:41:43 jbdatko, as I read it seems that they try to enable everything without capemgr ? http://beagleboard.org/blog/2014-08-27-device-tree-overlay-support-lands-upstream/ or is there anything else comming to replace capemgr ? Nov 07 21:42:23 When turn off for last time, never turn on again Nov 07 21:42:27 mkad: AFAIK, capemgr has been replaced by legitimate dynamic device tree loading in the mainline kernel Nov 07 21:42:41 Exist any solution for reboot the BBB Nov 07 21:43:11 mkad: However, I haven't been following the development close enough to know how to do that practically Nov 07 21:43:28 jbdatko, ok thanks will try to read something on that Nov 07 21:43:53 mkad: The cape system, of detecting EEPROM and loading overlays work. But, yes, I think the dtsi are built in Nov 07 21:44:14 mkad: Best place is the google group / list Nov 07 21:46:07 mkad: you installed debian over the network (tftpboot)? Nov 07 21:46:40 idwer, no Nov 07 21:49:31 mkad: oh.. tell me more Nov 07 21:51:07 I just want to use I2C and SPI but if its not possible to load dts files on 3.14.x then I wont upgrade Nov 07 21:54:03 mkad: i2c def. works on 3.14 as it must to read cape eeproms Nov 07 21:54:21 mkad: I don't know if the SPI pins are mux'ed by default Nov 07 21:55:12 mkad: you can edit the dts, run dtc, and reboot. run whatever kernel you like. Nov 07 22:07:36 mdp, oh that's cool https://github.com/RobertCNelson/dtb-rebuilder.git Nov 07 22:07:49 yup Nov 07 22:07:56 mdp, finally I can easily disable hdmi was a pain earlier Nov 07 22:08:10 the rest of the linux world does it this way...capemanager is a beaglebone-specific thing..it's not necessary Nov 07 22:08:36 <_av500_> mdp: my slackware dont do it like that! Nov 07 22:08:40 this has become a real FAQ here since so much of what you find on google implies that capemanager is necessary Nov 07 22:09:14 _av500_: SLS does it...upgrade Nov 07 22:09:18 Google sucks. stop using that crap :P Nov 07 22:09:24 Bing it Nov 07 22:09:39 read all the ML from beginning to now to get a full understanding. discard any irrelevant posts. Nov 07 22:09:44 :D Nov 07 22:09:53 they are clearly marked Nov 07 22:10:07 the ones with exact steps are all *wrong* Nov 07 22:10:56 well capes were really confusing for me Nov 07 22:11:10 I have other board where I only had one dts file Nov 07 22:11:30 overlays I mean Nov 07 22:11:57 yes, that's an unintended consequence of overlays, they complicate things Nov 07 22:12:18 you can apply the core of the fragment directly to a dts and compile manually Nov 07 22:12:25 reboot and achieve the same result Nov 07 22:12:42 in which case you use the dts of those overlay fragments as a reference Nov 07 22:13:55 bah....capes is nothing but problems. Nov 07 22:14:01 expansion boards is what you want :P Nov 07 22:22:13 I guess its hard to dig out from ML why overlays were introduced in the first place, I could not understand it, why would one need extra redundancy Nov 07 22:22:33 but that looks good that they might be gone Nov 07 22:23:05 <_av500_> overlays will be needed Nov 07 22:23:20 <_av500_> think fpga and redefining hw on the fly Nov 07 22:23:28 <_av500_> BBB and capes was a good test case Nov 07 22:23:42 <_av500_> or think modular phones Nov 07 22:35:28 _av500_, trying 3.14 kernel.. mount: cannot remount /dev/mmcblk0p2 read-write, is write-protected Nov 07 22:35:40 fatal: could not create work tree dir 'beagledrone'.: Read-only file system Nov 07 22:35:42 ... Nov 07 22:35:58 /dev/mmcblk0p2 on / type ext4 (ro,noatime,errors=remount-ro,data=ordered) [rootfs] Nov 07 22:36:01 wierd Nov 07 22:36:41 <_av500_> card write protect on? Nov 07 22:36:46 emmc Nov 07 22:36:47 ah.. Nov 07 22:36:51 <_av500_> hmm Nov 07 22:37:03 some error occured and it remounted automatically Nov 07 22:37:13 EXT4-fs error (device mmcblk0p2): ext4_journal_check_start:56: Detected aborted journa Nov 07 22:37:28 I am gonna reboot and check again Nov 07 22:38:24 _av500_, that was the dmesg log http://paste.debian.net/130816/ Nov 07 23:31:41 Hello, i tried the latest debian stable release (7.7) from http://elinux.org/BeagleBoardDebian but it seems that the kernel (3.14.22-ti-r31) module "tun" needed for openvpn is not included in the kernel . I also tried ubuntu image from elinux and there is the same problem Nov 07 23:32:20 how can i start contributing ? new here Nov 07 23:43:13 in debian x86 would make the module myself from debian kernel source package but it seems that there is no kernel-source package in the repo . i tried kernel "linux-image-3.17.2-bone5" from elinux . that works for module "tun" but with this kernel i get an error while compiling openssl myself (make test gets an error ) Nov 07 23:45:43 there's #debian-arm on oftc.net Nov 07 23:45:52 mcmehl, afaik in /opt/ there is a script that updates kernel Nov 07 23:46:04 latest debian is a disaster zone Nov 07 23:46:07 no capemanager Nov 07 23:46:22 capemgr is a disaster ^^ Nov 07 23:46:28 lol Nov 07 23:46:38 i just want simple python support for peripherals Nov 07 23:47:29 works here (adafruit bbbio Nov 07 23:47:48 python library, just disabled capes loading in the source Nov 07 23:47:54 wtf Nov 07 23:47:59 tell me tell me Nov 07 23:48:09 in the python source? Nov 07 23:48:10 dunno what u use Nov 07 23:48:17 BBIO yeah Nov 07 23:48:22 adafruit-beaglebone-io-python ? Nov 07 23:48:24 yup Nov 07 23:48:31 so what did you edit? Nov 07 23:48:49 removed load_device_tree() thing Nov 07 23:49:01 or just make that function always returning true Nov 07 23:49:14 and should be fine Nov 07 23:49:16 ok ill have a read through the source, thanks Nov 07 23:49:20 ewwwwwwwwwwwww python Nov 07 23:49:25 heh Nov 07 23:49:29 its fast and works Nov 07 23:49:37 fgrep -H load_device_tree -R adafruit-beaglebone-io-python Nov 07 23:49:38 fast to write Nov 07 23:49:48 ds2, good for simple tasks Nov 07 23:50:24 /bin/sh is good for simple tasks Nov 07 23:50:42 ds2, equally as python Nov 07 23:50:57 installing python pulls in too many things Nov 07 23:51:28 ds2, with 4Gb emmc does not matter, also some ppl feel more comfortable with object oriented language Nov 07 23:51:57 sure it does...it takes a while to write it all out Nov 07 23:52:56 trying making like 50 SD cards in an hour or two by hand w/o warning ahead of time and not come back sensitive about size :/ Nov 07 23:53:24 ds2, why would that matter, you start your app and its in memory Nov 07 23:53:41 mkad: the app got to get into the eMMC somehow Nov 07 23:53:47 ds2, it's not reading instruction one by one from eMMC Nov 07 23:54:00 either you scp it in or you write via a flasher Nov 07 23:54:05 it is not run time Nov 07 23:54:09 it is getting python on there in the first place Nov 07 23:54:37 dunno I think I had python by default Nov 07 23:54:43 alternative being use whatever is on the busybox image Nov 07 23:54:59 preinstalled in image Nov 07 23:55:01 mkad, thank you very much... there are a scripts and tools that could me. i will try it. thank you for that hint Nov 07 23:55:17 mcmehl, yup have a look Nov 08 00:01:27 mcmehl, on the website this script downloads kernel from I think are patches, sources and config for the kernel Nov 08 00:01:57 mcmehl, so maybe its possible to modify script to install custom kernel I dont know.. Nov 08 00:09:24 Has anyone here used TCLKIN to have parts of the BBB run on an external clock? Any hints? There's very little to find on Google. Nov 08 00:16:22 Peanut, you found this I guess ? http://e2e.ti.com/support/arm/sitara_arm/f/791/t/262837.aspx Nov 08 00:24:49 Yes, I know that page, thanks Nov 08 00:26:59 So in that source, they're setting timer2 to use tclkin even - this would mean the BBB no longer uses the Xtal oscillator, but whatever is available on the TCLKIN pin? Would that even work with linux? Nov 08 00:29:06 Peanut, I never did it nor am I an expert Nov 08 00:38:29 Neither am I, trying to learn. :-) Nov 08 01:07:21 is the SYS_5V only high after SYS_RESET is high? Nov 08 01:07:54 i suppose i could hook up a logic analyzer and answer that, so my question is, is SYS_5V *supposed* to only be high when SYS_RESET is high? Nov 08 01:11:16 how can i run a binary off a usb drive on the beaglebone? it won't let me chmod +x so i end up copying it off the media card.. sorry for the simple question Nov 08 01:18:25 kbhit: is the usb drive formatted FAT32 or NTFS? Those don't support POSIX permissions, so you'll need a different filesystem. Nov 08 01:22:33 kbhit: your usb drive probably is formatted with a FAT filesystem, whcih has no idea about +x Nov 08 01:22:53 kbhit: then it depends on the mount options if the files are considered executable or not Nov 08 01:25:18 Peanut: I think the timers can take tclkin, but there's no linux kernel support for it in the mainline Nov 08 01:25:32 Or any branch I know of Nov 08 01:37:02 hi Nov 08 01:39:54 Requesting help: Nov 08 01:39:55 I downloaded and flashed the Debian, "Console: Flasher" to my BBB. However, now I can no longer find/connect to the BBB's default address of 192.168.7.2. I have tried connecting it directly to my router but it stays invisible too :( Nov 08 01:41:00 Could somebody who is using the Console version of Debian on their BBB assist me, please? Nov 08 01:43:42 Hello is this the correct place to ask a question about the adc on the beaglebone black? Nov 08 01:44:33 yes, or create a forum Nov 08 01:57:49 Ok, my question is; I've directly connected the 1.8 vdd pin to several of adc pins, but every time I cat the AIN files I get a reading around 1798 instead of 4096. Any thoughts? **** ENDING LOGGING AT Sat Nov 08 03:00:00 2014