**** BEGIN LOGGING AT Wed Oct 08 03:00:00 2014 Oct 08 03:23:38 isn't it true that one of the key applications of the pru is encryption, e.g., for tls? Oct 08 04:10:34 good evening Oct 08 04:29:52 I have banged my head against Google for quite some time. Maybe someone can help... Oct 08 04:30:11 I have a BBB with Angstrom loaded from the emmc. It works fine. Oct 08 04:30:43 I have loaded a "FAT" formated SD card and can get it to mount fine with fstab. Oct 08 04:31:07 The problem is that with an SD card formated FAT, the permissions don't work. Oct 08 04:31:36 I have been able to assign permissions using fstab, but I would like to do it within linux. Oct 08 04:32:16 Therefore, I would like to re-format the SD card to correspond to the linux standard, so that I can "CHMOD" anything I want. Oct 08 04:33:36 What I have found by Googling so far is only for formating an SD card in FAT format to boot! "ARGH!" Can someone suggest a Google search that will send me to "How to format BBB SD card for normal linux use"? Oct 08 04:35:09 Thanks for any help! Oct 08 04:37:15 My card is a 32gb SanDisk. I would like to format and partition it so that I can make the most use for my normal (non-root) login. Oct 08 04:41:17 gotta fdisk Oct 08 04:41:21 change fs type Oct 08 04:42:12 to 83 Oct 08 04:42:14 then you can mkfs Oct 08 04:47:40 Ok, thanks. I'm new to this. When I fdisk -l, I get listings for /dev/mcblk0p1 … System W95 FAT32 Oct 08 04:47:49 Is that the one I'm looking for? Oct 08 04:48:11 What is the fdisk command to change fs type? Oct 08 04:50:06 Sorry, that was /dev/mccblk0p1 Oct 08 04:50:26 pastebin output from fdisk -l Oct 08 04:50:29 there might be two of those Oct 08 04:50:33 Try again… /dev/mmcblk0p1 Oct 08 04:50:37 one on mmcblk0 and one on mmcblk1 Oct 08 04:51:22 * nyt- shrugs Oct 08 04:51:23 i dont remember Oct 08 04:52:09 think mmcblk0 is sd card Oct 08 04:52:09 so Oct 08 04:52:11 thats prob right Oct 08 04:52:19 you can fdisk /dev/mmcblk0 and repartition as necessary Oct 08 04:52:21 I have listings down the line for: "/dev/mmcblk1p1" that has "*" under the "boot" section that is listed as FAT32, Oct 08 04:52:57 and one for "/dev/mmcblk1p2" that says System is "linux" Oct 08 04:53:47 So, the fdisk command to partition the disk, would be what? Oct 08 04:55:09 Wait… working… I did fdisk /dev/mmcblk0 and am looking at the choices... Oct 08 04:56:23 Would "creage a new empty GPT partion table" be correct? Oct 08 05:09:40 fdisk /dev/mmcblk0 Oct 08 05:09:42 then delete partitions Oct 08 05:09:44 with d Oct 08 05:09:46 you can list with l Oct 08 05:09:50 then new partition with n Oct 08 05:09:51 primary Oct 08 05:09:52 1 Oct 08 05:09:58 full size Oct 08 05:10:00 then t Oct 08 05:10:02 for type Oct 08 05:10:02 1 Oct 08 05:10:06 for partition Oct 08 05:10:08 then 83 for type Oct 08 05:10:28 then you can write Oct 08 05:10:30 then quit Oct 08 05:10:33 then mkfs the partition Oct 08 05:11:43 I type "d" and it tells me "No partition is defined yet!" Oct 08 05:12:10 Does that mean there is no recognizable partition table on the card? Oct 08 05:18:41 Ok, trying... Oct 08 05:21:46 I think, maybe, it worked... Oct 08 05:30:12 That didn't work. I still can't login as "PGBeagle", change to my SD card directory and add anything to my directory! Oct 08 05:31:00 I can't login from ROOT and chmod the card to give permissions to a non-root user. Oct 08 05:31:45 I give up! I will start over again from scratch some other time. Oct 08 05:31:49 Thanks for the help! Oct 08 05:32:06 I hope I learned something along the way that will help later. Oct 08 06:21:13 good morning, anyone here who played with the PRUs shared ram? Oct 08 06:41:10 usb is broken on 3.8.13-bone67 Oct 08 06:41:19 any known good kernel for which usb works? Oct 08 06:49:36 it's even worst with 3.16.4, good job rcn Oct 08 06:52:25 Hmm, I haven't used usb on bbb in a while, but out of curiosity just plugged a flash drive there and it worked fine with 3.16.3 + rcn patches Oct 08 06:52:51 Should it not work for some more specific case? Oct 08 06:53:29 I've been trying a similar test, with a usb keyboard. hotplug does not work on 3.8.13, and usb doesn't work at all on 3.16.4 Oct 08 06:53:42 gadgetfs crashes, also Oct 08 06:54:50 ah, 3.13.11 works. finally a good kernel Oct 08 07:02:22 3.8.13-bone58 works fine too. must be a recent regression Oct 08 07:02:52 oh wait Oct 08 07:02:54 [ 64.819743] [] (musb_g_giveback+0x45/0x50) from [] (musb_g_ep0_queue+0xd7/0xec) Oct 08 07:04:09 One difference for me is that I don't use otg gadget drivers here, I think (shouldn't be enabled by default) Oct 08 07:05:00 yes. finicky stuff I guess Oct 08 10:18:29 hai all, We have cloned BBB as a product and i need flash my custom image to emmc. I surfed many websites and i am not getting clear idea of do it. Any suggestion?? Oct 08 10:19:43 boot from sd, write the image to the emmc device ( /dev/mmvblk) Oct 08 10:20:11 write as in cat myimage.img >/dev/targetdevice Oct 08 10:27:26 mashiara : There are two partition in SDcard. Can you explain?? or any links Oct 08 10:28:24 the same way you flash an image to sdcard on linux by simply writing the prepared image file with cat, you can so with the eMMC on BBB, you just need to boot up from SD first Oct 08 10:28:51 If you do not have an image file yet then you need to create one Oct 08 10:30:06 hi, I just wanna know a method to check whether the internet connection is there in BBB with a javascript? Oct 08 10:31:07 embed: one way to create such image is to take your bootable sd-card (with the two partitions), making sure it’s smaller or same size as the eMMC and then with dd for example dump the image Oct 08 10:31:19 mashiara : How to create the emmc image ? Oct 08 10:31:51 dd bs=4M if=/dev/mysdcard of=mysdcard.img Oct 08 10:33:25 hi, I just wanna know a method to check whether the internet connection is there in BBB (debian) with a javascript? Oct 08 10:36:13 I guess the node.js has some way to fetch pages via http, see if you can get www.google.com Oct 08 10:37:07 Thanks mashiara , How can i create emmc partition? Oct 08 10:37:13 embed: here are some scripts that will flash the emmc automatically when you boot from an SD card with the scripts (properly) installed: https://github.com/RobertCNelson/boot-scripts/tree/master/tools/eMMC Oct 08 10:37:35 anyway you do not need to partition the emmc first if you already have an image file Oct 08 10:37:50 just write the image on the device, the partitions are already in the image Oct 08 10:40:01 hi, I just wanna know a method to check whether the internet connection is there in BBB (debian) with a javascript? Oct 08 10:40:50 amila: patience… we saw the question already Oct 08 10:42:01 mashiara: i am new to this chat option, so i dnt knw how this works. if it was a trouble, i am sry. Oct 08 10:42:36 node.js has http.get(), use that to check if www.google.com responds Oct 08 10:42:56 I suppose you want an internet connection not just a network connection Oct 08 10:44:01 yes, i need an internet connection Oct 08 10:45:00 the only way to be “sure” is to check a known server on the internet, like google.com... Oct 08 10:45:20 just dont try Belkin servers Oct 08 10:45:25 +1 Oct 08 10:47:01 mashiara : There are some scripts in that link. Which one apt for emmc flasher? Oct 08 10:47:35 embed: there are no copy-paste solutions to your problem, you need to know what you’re doing Oct 08 10:47:37 mashiara: as i am new, shall i ask another little thing? when i add this line to a cloud 9 javascript file (var http = require('http');), i get the error the module can not find. then i installed npm install http. (only example http, xmlhttprequest...) But after installing, i am getting the same error. Iis it wrong the thing i am doing? Oct 08 10:48:12 amila: sorry, I don’t know much at all about Cloud9 or Node.js Oct 08 10:48:23 * mashiara is a Python guy Oct 08 10:48:50 with some C/C++ thrown in Oct 08 10:52:03 Mashiara : Still i have confusion in creating emmc image and flashing method. Oct 08 10:53:19 https://github.com/RobertCNelson/boot-scripts/blob/master/tools/eMMC/beaglebone-black-make-microSD-flasher-from-eMMC.sh *looks* like it would generate an SD-image that could be used to flash new boards Oct 08 10:53:38 it seems to require that you have a board already running from eMMC Oct 08 10:54:05 and ofcourse said board must have everything you need set up the way you want it Oct 08 10:54:35 av500: hey what's up? Oct 08 10:55:46 embed: here is an image that will flash ubuntu on eMMC, you can then remove the SDcard, boot from eMMC setup everything and then start thinking about how to get an image out of the working system Oct 08 10:55:47 http://elinux.org/BeagleBoardUbuntu#eMMC:_BeagleBone_Black Oct 08 10:56:36 one alternative from the top of my head is to boot from another sd-card (one that boots a running system instead of flashing the emmc) and then use dd to image the emmc Oct 08 11:01:10 how to install npm modules in BBB and use it in cloud9? I installed an module, but still i am getting the same error in my javascript that the module can not found. Any help would be appriciated Oct 08 11:02:29 Marsiara : i hope the last method you have suggested will work. let me try out!! Oct 08 11:03:49 hi Oct 08 11:04:10 how to disable the debug mode in beagle board Oct 08 11:04:45 bbb_ what you mean with debug mode? Oct 08 11:05:17 actually i need serial port communication using beagle board Oct 08 11:05:55 why not use one of the other uarts? Oct 08 11:06:57 am able to read and write data , but problem is when i read data only alternate data gettng displayed ..for example when i type bone am able to display a,l thats it . Oct 08 11:07:46 * KotH does not understand Oct 08 11:07:53 am using uart0 i.e "ttyO0" from this uart i need to read and write data.. Oct 08 11:08:09 again: why dont you use another one? Oct 08 11:08:16 please help me Oct 08 11:09:08 answer this question first: why do you use ttyO0? Oct 08 11:09:10 for uart1 am geting some problems due to that my board got crashed ..again with new board am using only ttyO0 Oct 08 11:09:48 mrpackethead: i have two customers for you, bbb_ and embed Oct 08 11:10:06 k Oct 08 11:10:38 how would i solve my problem Oct 08 11:12:22 is there any one Oct 08 11:13:36 how to install npm modules in BBB and use it in cloud9? I installed an module, but still i am getting the same error in my javascript that the module can not found. Any help would be appriciated Oct 08 11:14:27 bbb_ use another uart or use the uart over usb Oct 08 11:14:58 or use ssh and remove the getty/console from ttyOO Oct 08 11:17:31 am not getting Oct 08 11:18:28 is there anyone to help me please Oct 08 11:18:39 bbb_: you have been helped Oct 08 11:18:43 bbb_: you do not answer questions Oct 08 11:18:49 bbb_: you dont seem to be able to google Oct 08 11:18:57 bbb_: now go and learn how to linux Oct 08 11:18:59 what is goolge? Oct 08 11:19:04 WAT Oct 08 11:19:05 Oct 08 11:19:18 oh KotH, you're here too Oct 08 11:19:20 i am answering na..koth Oct 08 11:19:44 rwr: i'm everywhere Oct 08 11:20:05 i have seen in google but unable to find so am asking u ppl Oct 08 11:20:25 how to install npm modules in BBB and use it in cloud9? I installed an module, but still i am getting the same error in my javascript that the module can not found. Any help would be appriciated Oct 08 11:20:47 Any help would be appriciated Oct 08 11:20:49 bbb_: if you wait for an infinite amount of time, the answer will surely appear on this chan Oct 08 11:20:52 bbb_: your problem starts with that _you_ do not understand your problem Oct 08 11:21:13 what Oct 08 11:21:23 u jst ask me Oct 08 11:21:24 rwr: infinite numbers of monkeys approach? Oct 08 11:21:29 yes. Oct 08 11:21:30 i ll tell u answers .. Oct 08 11:21:33 bbb_: again: why do you use ttyO0? Oct 08 11:22:04 bbb_: using any other tty would be A LOT simpler Oct 08 11:22:44 with beagle board i need to use hmi board to connect it both if i use uart1 am facing problems like lcd not geting displayed and after some time board got crashed.. Oct 08 11:23:34 bbb_: have you tried turning it off and on again? Oct 08 11:23:38 bbb_: maybe the hdmi board uses some of the signals of the ttyO1 Oct 08 11:23:54 bbb_: check schematics Oct 08 11:24:50 so am working with new board..one of my senior told by default ttyO0 will be enabled ,so work on that only .so am doing the same..another problem is when i interface my board with hmi if i enable other than uart0 board may face problem it seems so, am using uart0 Oct 08 11:24:54 did u get Oct 08 11:25:25 bbb_: ugh Oct 08 11:25:53 bbb_: using ttyO0 for anything else but the console is a _VERY_ bad idea Oct 08 11:26:11 bbb_: lots of things have the implicity assumption that it's the debug console Oct 08 11:26:32 bbb_: if you have to use it, then you need to switch the serial console off Oct 08 11:26:32 ya i have cheked in schematic..no signal is using Oct 08 11:26:34 completely Oct 08 11:26:36 everywhere Oct 08 11:26:50 console off ..i d't get u sir Oct 08 11:27:04 do you know what the serial console is? Oct 08 11:27:16 i donot knw Oct 08 11:27:40 bbb_: buy this book: http://www.amazon.com/Embedded-Linux-Primer-Practical-Real-World/dp/0137017839 Oct 08 11:28:14 thanks... Oct 08 11:28:57 definently i ll get it..mean while u can tell me na Oct 08 11:29:53 KotH where is the getty for ttyO0 defined in debian in the inittab? Oct 08 11:30:21 hello koth tell me Oct 08 11:30:37 how to install npm modules in BBB and use it in cloud9? I installed an module, but still i am getting the same error in my javascript that the module can not found. Any help would be appriciated Oct 08 11:31:17 woglinde: minimum inittab and kernel parameter Oct 08 11:31:38 bbb_: buy the book, i will not answer any questions until you know at least this much Oct 08 11:32:04 y donot u hell me..this site is for tell ing na Oct 08 11:32:11 bbb_: it's like discussing how to write a peom with someone who does not even know how to hold a pen Oct 08 11:32:18 if u knw the answer y don't u tell me Oct 08 11:32:29 bbb_: you are getting annyoing Oct 08 11:32:37 bbb_: you should stop that Oct 08 11:32:38 KotH kernel parameter is only for kernel stuff Oct 08 11:32:43 amila: we cannot help you here with the node.js stuff Oct 08 11:32:46 bbb_: it's not good to annoy me when i'm already grumpy Oct 08 11:32:48 you can get the serial console even without it Oct 08 11:32:51 bbb_: disable the getty and kernel console on ttyO0 Oct 08 11:33:05 woglinde: yes, that's why i said also inittab Oct 08 11:33:09 by this weekend i need to demonstrate so plese help me Oct 08 11:33:16 bbb_ haha Oct 08 11:33:26 y to hahha Oct 08 11:33:41 to the weekend you will not learn the stuff of half a year Oct 08 11:33:57 bbb_: www.youtube.com/watch?v=kdOPBP9vuZA Oct 08 11:34:18 https://www.youtube.com/watch?v=mtzdQSCKBis Oct 08 11:34:26 u ppl are seniors so need to help whats wrong in thst Oct 08 11:34:39 disable the getty and kernel console on ttyO0bbb_: again: Oct 08 11:34:42 oops Oct 08 11:34:49 bbb_: again: disable the getty and kernel console on ttyO0 Oct 08 11:35:04 * ogra_ notes av500 shows his senior-ness Oct 08 11:35:10 how to disable getty Oct 08 11:35:19 bbb_: http://en.wiktionary.org/wiki/give_a_man_a_fish_and_you_feed_him_for_a_day;_teach_a_man_to_fish_and_you_feed_him_for_a_lifetime Oct 08 11:35:31 bbb_: it does not work like that Oct 08 11:35:35 you ask a question Oct 08 11:35:39 am new to this Oct 08 11:35:39 qou get an answer Oct 08 11:35:42 you Oct 08 11:35:49 then you DO NOT immediately ask again Oct 08 11:35:53 instead you take the answer Oct 08 11:35:57 and try to make sense of it Oct 08 11:36:02 you might even google it Oct 08 11:36:12 it is called learning Oct 08 11:36:18 even where you come from Oct 08 11:36:40 also there are other channels for the very basics of linux Oct 08 11:36:42 once you were unable to make sense of the answer, you come back and ask more Oct 08 11:36:51 this way, you minimize the noise here Oct 08 11:36:58 and you appear clever Oct 08 11:36:58 no Oct 08 11:37:03 yes Oct 08 11:37:16 d't think Oct 08 11:37:22 yes, you dont think Oct 08 11:37:46 bbb_: but I have no fun in hand holding somebody who wont think Oct 08 11:38:00 y donot u make me learning Oct 08 11:38:07 I did Oct 08 11:38:11 I gave you an answer Oct 08 11:38:21 so smart ha Oct 08 11:38:27 maybe Oct 08 11:38:29 find out Oct 08 11:38:40 maybe I told you nonsense Oct 08 11:38:44 what answer ur giving me..all the links ur providing me Oct 08 11:38:47 but there are ways to find out Oct 08 11:38:59 bbb_: you really got enough answers. and by the way: we are not your say-what-you-want-and-get-what-you-wish support. we are all volunteers, doing this for fun. Oct 08 11:39:02 https://www.google.de/?gfe_rd=cr&ei=MSI1VJqiBsWH8Qe8m4DACA&gws_rd=ssl#q=disabling+the+getty+and+kernel+console+on++ttyO0 Oct 08 11:39:16 bah, timing ... Oct 08 11:39:24 ogra_: race condition! Oct 08 11:39:30 heh, yeah Oct 08 11:39:52 did i mention that it's not a good idea to annoy me when i'm grumpy? Oct 08 11:45:18 hey, I know im repeating myself a little but.. anyone with knowledge about the PRUs shared memory here? Oct 08 11:45:53 ask, dont ask to ask to ask Oct 08 11:48:05 koth mental ignore is a great gift Oct 08 11:48:20 woglinde: doesnt work when i'm grumpy Oct 08 11:48:37 woglinde: also severe lack of chocolate, only 200g left Oct 08 11:48:44 koth btw. we will see us next week Oct 08 11:48:51 juup Oct 08 11:49:38 the shared ram should be 12k, I can read/write to the first 8k without problems, writing to 9-12k works but the only thing I read back is 0 Oct 08 12:01:36 LuaStoned: i guess you already checked the TRM? (also the c revision) Oct 08 12:02:14 KotH TRM? Oct 08 12:02:21 technical reference manual Oct 08 12:03:05 i dont know how well the current revision covers the PRU, thus also check the c revision (which can be found using google) Oct 08 12:04:20 well I was working with the am335xPruRefGuide on GitHub, ill check the rev c out Oct 08 12:55:58 KotH, But why no node.js? ;) Oct 08 12:56:15 1) this is no node.js channel Oct 08 12:56:49 2) i hate node.js being applied to anything, even where it does not make any sense at all, just because people are too lazy/stupid to google for 5 minutes and use proper tools Oct 08 12:56:52 3) ... Oct 08 12:56:53 4) profit Oct 08 12:57:01 5) this item is left here for future extensibility Oct 08 12:59:18 KotH, Thanks for an answer btw, I was half-expecting getting kicked out with "no questions about 'no node.js policy'" ;) Oct 08 12:59:26 lol Oct 08 12:59:39 i might be grumpy and mean, but i dont kick people for petty reasons Oct 08 13:00:05 But you don't talk about fight club, it's the rules Oct 08 13:00:36 no, we talk about chocolate instead Oct 08 13:01:23 It'd be nice if all boards were composable in a way similar to chocolate bars Oct 08 13:15:30 But if you where already using node.js and you want to implement an extra feature, surely it would be better to use node.js rather than the proper tool? Oct 08 13:17:48 I'd say that case doesn't fit "where it does not make any sense at all" in 2 Oct 08 13:18:45 ahh I see, I find the beaglebone is marketed towards node.js Oct 08 13:19:04 What, really? Oct 08 13:19:18 the default distro runs node server and everything Oct 08 13:19:36 has bonescript with very Arduino like api out-of-the-box Oct 08 13:19:46 Interesting Oct 08 13:20:03 didnt cloud9 get droped with teh debian switch? Oct 08 13:21:27 Maybe they've moved away from it, but when I first got it it was heavily node.js Oct 08 13:23:42 Jonnyw2k-home1: the idea was to lower teh barrier to embedded linux Oct 08 13:24:21 IMHO that failed. all it did was attract idiots who didnt know the difference between amazons AWS and the BBB Oct 08 13:24:23 TBF I dislike python lol Oct 08 13:25:09 well, i dont like python either. but that's my personal preference. it's a usefull tool to have around for a lot of things Oct 08 13:43:42 Need help with device tree overlays on BeagleBone Black... Oct 08 13:44:31 Running with Ubuntu 14.04 and RCNelson's kernel, rev 3.8.13-bone66 Oct 08 13:44:48 Overlay seems to take, according to dmesg output. Oct 08 13:45:01 However, the pinmux setting do not seem to change Oct 08 13:47:14 it all went download after 3.2 anyway Oct 08 13:47:17 *downhill Oct 08 13:49:54 rwr: you mean 2.0.36, dont you? Oct 08 13:50:21 1.0 or GTFO. Oct 08 13:51:17 python-3.2, linux-2.0.36, but what is 1.0? Oct 08 13:51:39 linux-1.0 Oct 08 13:51:49 Right Oct 08 13:52:19 Now I wonder if rwr was referring to linux as well Oct 08 13:52:31 yes he did Oct 08 13:52:33 Uh, yeah. Oct 08 13:52:55 SInce the topic was about RCN's kernel...I would have thought the context obvious. Oct 08 13:53:48 Context just above was python, and 3.2 looked like one or the other, but maybe you're right Oct 08 13:54:19 beagler01 caused a context switch. Oct 08 13:54:34 Not on this core Oct 08 13:56:00 What bad stuff happened after linux-3.2 anyway? Oct 08 13:56:15 Device Tree. Oct 08 13:56:20 (not arguing, just can't seem to think of anything in particular) Oct 08 13:56:21 Oh Oct 08 13:56:21 If you consider that bad. Oct 08 13:56:49 The 3.2 -> 3.8 switch brought in device tree, and things got different. Oct 08 13:56:54 Hmm, I thought it was older and it was just me who didn't know about it until recently Oct 08 13:57:00 Nope. Oct 08 13:57:07 so, speaking of device tree.... Oct 08 13:58:08 beagler01: Since you have not shown us enough information to solve the problem, you are unlikely to get help. A listing of the overlay would be useful, and maybe dmesg as well. Oct 08 13:58:30 mmmkay... coming right up Oct 08 14:00:42 That "device tree is a new-ish thing" probably explains why I couldn't find sht15 integration into it in a question here earlier Oct 08 14:01:35 MK_FG: Or no one was interested enough in the question to answer. ;-P Oct 08 14:02:01 agmlego: DT is much older than 3.2 Oct 08 14:02:08 agmlego: muuuuuuch older Oct 08 14:02:31 You had to ruin it, haven't you? Oct 08 14:02:32 KotH: Did I say how old DT was? No. I said that the switch brought it in. Oct 08 14:02:52 for the arm users, yes. others had it for almost a decade Oct 08 14:03:07 Here's my overlay file: http://pastebin.com/iLfGun6r Oct 08 14:03:40 And there goes my simple explaination too ;) Oct 08 14:05:16 dmesg output: http://pastebin.com/hBEyyAst Oct 08 14:10:03 and the output from the pin mux settings: http://pastebin.com/wjrRQURx Oct 08 14:11:54 anything else? Oct 08 14:19:53 yes, wait for mdp answering your question Oct 08 14:40:54 agmlego: you are right. I was referring to Linux 3.2 Oct 08 14:41:19 * rwr hates DT Oct 08 14:41:41 DT does not like you either Oct 08 14:41:59 then I'm glad. Oct 08 14:42:22 on the basis that the PRU is commonly used for encrypting/decrypting secure communications, is it possible that user PRU usage would conflict with the kernel or a special network library for PRU resources? Oct 08 14:42:32 e.g., for TLS/HTTPS? Oct 08 14:42:35 ? Oct 08 14:42:41 PRU is used for TLS? Oct 08 14:42:44 who says that Oct 08 14:45:39 Hello guys Oct 08 14:45:42 perhaps i am mistaken. i thought it may be a possibility since i've heard that encryption can be very cpu intensive and the PRU might be utilized to offload the cpu Oct 08 14:46:33 I am looking for an answer. I am trying to connect to the webpage of the bone through the USB-Ethernet driver but it seems that it had not been correctly insatlled on Windows 7 Oct 08 14:46:44 anyone had this problem before ? Oct 08 14:46:58 on reading the datasheet further, it appears that the purpose for for INDUSTRIAL comms like profinet, EtherCAT, etc. Oct 08 14:47:05 yes Oct 08 14:47:07 s/the purpose/a purpose/ Oct 08 14:47:14 but the kernel does not use the PRU at all Oct 08 14:47:32 ok, cool - you know that for a fact? Oct 08 14:47:48 well, some kernel somewhere might Oct 08 14:47:53 av500, can you please give me exact steps to use the PRU with the kernels? Oct 08 14:47:57 3.8.13-bone64? Oct 08 14:48:32 ok, good enough - thanks av500 Oct 08 14:50:05 so all Profinet/EtherCAT/etc. industrial comm interfaces are from special libraries or user-written PRU code? Oct 08 14:50:50 yates, send a /msg to mranostay about PRU questions, he's an expert Oct 08 14:51:10 armlego: any thoughts on my dt overlay problem? Oct 08 14:51:36 bradfa: nice of you to volunteer him... :) thanks for the reference. Oct 08 14:52:37 i'm just generally wondering under what assumptions folks can just go in and use a PRU (or two) for their own purposes? I mean, don't you have to be concerned about resource clashes? Oct 08 14:52:57 yates the PRU doesnt use any normal processor resources.. Oct 08 14:54:13 LuaStoned: no, i don't mean that way. i mean a scenario like this: i buy/download/steal an EtherCAT library and use it in my code which unknowingly uses PRU 0, but I'm ALSO trying to use PRU 0 for (e.g.) a custom SPI interface. Oct 08 14:54:57 yates: I would say, if you know about ethercat, you know about PRU too Oct 08 14:55:37 av500: yeah, that's probably true. Oct 08 14:55:58 i'm proposing a PRU project to a client and wanted to be a little more clear in my own mind on this. Oct 08 14:56:53 bradfa did you spell the pru expert right? can't seem to find "mranostay".. Oct 08 15:03:50 is there a faster way to access GPIOs than the /sys/class/gpio/gpioXYZ/value method? e.g., if we know the kernel isn't using a certain GPIO, is there a more direct access to the register that could get say 10-20 MHz speeds instead of 3-4 kHz? Oct 08 15:04:13 20mhz no Oct 08 15:04:14 yates: yes, the PRU Oct 08 15:04:19 yes Oct 08 15:04:19 without havign to write a driver or PRU code? Oct 08 15:04:23 no Oct 08 15:04:27 yes Oct 08 15:04:29 maybe Oct 08 15:04:32 lol. Oct 08 15:04:33 the PRU can do 200mhz on the GPIOs Oct 08 15:04:38 the kernel cannot Oct 08 15:04:56 the interface between cpu and GPIO bank might not be that fast even Oct 08 15:05:08 but PRU is ideal for that Oct 08 15:05:14 you mean the L4/L3 bus ? Oct 08 15:05:17 yes Oct 08 15:05:23 ok, cool. Oct 08 15:05:23 LuaStoned, mranostay is definitely a valid nick that's online freenode so not sure why you can't see him Oct 08 15:05:53 yates: also, mdp knows a lot about AM335x GPIO speed Oct 08 15:06:09 LuaStoned: probably allows registred users only to pmsg him Oct 08 15:06:22 try tinder Oct 08 15:06:30 mdp? Oct 08 15:06:39 yates, mdp used to work at ti, did some work on pru Oct 08 15:06:41 mdp: ah Oct 08 15:07:05 bradfa: aha. that's good to know! Oct 08 15:08:23 i worked there for 6 months, at the main Dallas location (Forest Dr.), but on the power line communications software on Piccolo/Concerto, not the AM335x Oct 08 15:10:03 KotH alright, I should be registered now Oct 08 15:10:39 thanks folks. Oct 08 15:10:49 yates, however, jkridner *works* at TI and wrote the book and a training session on PRU..he's way better Oct 08 15:11:17 well alrighty then! thanks for THAT! Oct 08 15:13:41 just fyi, in case anyone can pull a rabbit out of a hat, customer needs to implement a custom SPI _slave mode_ interface that operates at a F_CLK_Min of 8 MHz. kernel only implement master mode interface. Oct 08 15:14:17 yates: doesn the SPI module support that already? Oct 08 15:14:21 nope. Oct 08 15:14:30 yates: the hardware, not the kernel driver Oct 08 15:14:42 yeah, that does. Oct 08 15:14:48 well, then it's easy Oct 08 15:14:56 just patch the kernel Oct 08 15:15:03 you can do that in an afternoon Oct 08 15:15:03 oh. that's all? Oct 08 15:15:09 well, it's open source Oct 08 15:15:14 you can change stuff Oct 08 15:15:25 yes, that''s true. Oct 08 15:16:30 it's just a matter of time. grokking even that small portion of the kernel, working out an interface to user-space, setting up the right modes in the SPI module, etc., i daresay is not an afternoon job. Oct 08 15:16:52 yates: then hire someone to do it Oct 08 15:16:59 yates: like the guys over at pengutronix Oct 08 15:17:21 yates: also mdp knows lots of consultants Oct 08 15:17:40 Has anyone experienced any oddities with running pwm via the cloud9 interface? Oct 08 15:17:47 yates@ieee.org - email me if you think you can do this in an afternoon. Oct 08 15:17:58 zomg! Oct 08 15:18:01 you are one of them! Oct 08 15:18:13 I was able to get a light to turn on lastnight but... It would not dim. Oct 08 15:18:17 ? Oct 08 15:18:28 one of those who actually use his ieee email Oct 08 15:18:28 one of WHO? Oct 08 15:19:12 well, yes. Oct 08 15:20:13 However when I run code through node it seems to work from commandline Oct 08 15:20:52 KotH, I will hunt you down ;) Oct 08 15:21:23 mdp: i will fend you off with real chocolate! Oct 08 15:21:58 yates: for a one-off job, you can hack this in the kernel Oct 08 15:22:06 KotH, you will be force-fed Hersheys...no mercy. Oct 08 15:22:08 which means, you dont have to care for all ths stuff Oct 08 15:25:04 av500: isn't raw kernel driver development going to be SLOW..., that is, having to rebuild the kernel FOR EACH AND EVERY MODIFICATION? I'm presuming the SPI is not a kernel module, or is it? Oct 08 15:26:00 it is Oct 08 15:26:06 or it can be made into one Oct 08 15:26:13 yates: recompiling the kernel is fast Oct 08 15:26:23 and you dont rebuild the whole kernel Oct 08 15:26:25 yates: it compiles only the files you changed Oct 08 15:26:33 yates: takes less than a minute Oct 08 15:27:14 oh, ok. Oct 08 15:30:12 if i'm going to use the AM335x SPI module, wouldn't i need to use an interrupt, e.g., whne new data has arrived in the shift register/fifo? Oct 08 15:30:26 yates, yes Oct 08 15:30:57 yates, then in your interrupt you queue up a work item to go read that data out and send it to userspace Oct 08 15:31:33 bradfa: does the current spidev have an example of that process? Oct 08 15:31:48 yates, I don't think there's any spi slave exmaples in the kernel Oct 08 15:32:00 (maybe in the opposite direction, userspace to spi) Oct 08 15:32:28 yates, but there's lots of examples of reacting to an itnerrupt Oct 08 15:32:51 bradfa: i'm just talking bout "work items" and interrupt handling. i realize i'd have to write some special code to set the peripheral into the slave mode and probably a few other configurations. Oct 08 15:32:52 right. Oct 08 15:33:38 yes Oct 08 15:34:09 yates, go read about workqueues or tasklets or other delayed work methods in the kernel, that's the general principle you want, a top and bottom half interrupt handler Oct 08 15:34:30 actual interrupt code just queues up some work to be handled later Oct 08 15:34:35 bradfa: have you done this type of work? if so, would you mind being a (paid) meta-consultant, that I can have on-tap to ask questions? PM me if so. Oct 08 15:35:01 yates, sorry, I have no free time to take on such work at this time Oct 08 15:35:15 mostly just to be on-call in case i get stuck so i can spend 0.5 hours intead of 8 hours getting unstuck... Oct 08 15:35:30 oh, ok. Oct 08 15:36:14 sorry Oct 08 15:36:18 np. Oct 08 15:36:33 i perfectly understand. i've had to turn people away recently myself. Oct 08 15:36:46 (other areas of development) Oct 08 15:36:52 yates, if you need somethign production grade, find a consulting/contract house which specialize in linux kernel development Oct 08 15:37:12 yates, if you need to hack something together, go get lddv3, a slightly older kernel from mainline today, and learn Oct 08 15:37:28 why would an older kernel help me? Oct 08 15:37:30 linux-3.2 isn't too much changed from when lddv3 was written Oct 08 15:37:34 lddv3 is an old book Oct 08 15:37:42 oh, the book. right. Oct 08 15:37:48 that's like for 2.6 isn't it? Oct 08 15:37:52 http://www.makelinux.net/ldd3/ Oct 08 15:37:56 yates, yes Oct 08 15:38:53 yates, also see http://lwn.net/Articles/2.6-kernel-api/ Oct 08 15:39:08 that catches mostly up to what linux 3 is for changes from when lddv3 was written Oct 08 15:39:27 you said 3.2, but debian is 3.8, right? Oct 08 15:39:28 some of the calls you'll need to implement have changed slightly but nothing major concept wise Oct 08 15:39:47 yates, squeeze is 2.6.32, wheezy is 3.2, jessie is 3.8 iirc Oct 08 15:40:10 squeeze and wheezy work fine for me Oct 08 15:40:20 debian moves to fast for my liking :) Oct 08 15:40:58 ok, thanks much bradfa Oct 08 15:43:29 * bradfa hugs av500 Oct 08 16:08:16 how to install opencv in BBB with inbuilt debian Oct 08 16:08:56 sudo apt-get install libopencv-dev Oct 08 16:10:11 is that enough? Oct 08 16:10:26 yeap Oct 08 16:10:57 is there any need to install from a specific location? Oct 08 16:11:10 such as desktop? Oct 08 16:11:28 no Oct 08 16:12:27 ok. does i have to install any other additional dependencies which i install in pc like libjasperlibx264 Oct 08 16:12:27 just connect the bbb over ssh with bbb connected to net Oct 08 16:13:15 apt takes care of the dependencies Oct 08 16:14:58 ok thanks. I'll try and come back. Oct 08 16:16:24 and one more question. i connected remote desktop via UltraVNC. if am idle for sometime it gets disconnected. what can i do? Oct 08 16:20:41 when i tried to execute "sudo apt-get install libopencv-dev" it is showing it is already a latest version? Oct 08 16:21:26 when i tried to execute "sudo apt-get install libopencv-dev" it is showing it is already a latest version? Oct 08 16:22:47 when i tried to execute "sudo apt-get install libopencv-dev" it is showing it is already a latest version? Oct 08 16:23:08 Guest70153: you might want to ask a more meaningful question, and not keep repeating the same thing over and over Oct 08 16:25:12 ok . i tried to install opencv in inbuilt debian OS in BBB. some one said sudo apt-get install libopencv-dev will install opencv in BBB. but when i tried it is howing it is already latest version. what it means. explain please Oct 08 16:25:31 must be installed already. Oct 08 16:26:07 it means i can run opencv coding in my BBB!? Oct 08 16:27:24 it may require some configuration, or you may need to do something to use it. i don't really know opencv Oct 08 16:30:22 All that means is that you already have the libraries and headers installed Oct 08 16:30:34 so you should be able to use it in your code Oct 08 16:31:54 oh Thank you sheridp Oct 08 16:37:28 So, is apt-get update/upgrade the preferred method of keeping my BBB up to date? Or should I be grabbing snapshots as they come out? Oct 08 16:45:45 buzzsaw: that's up to you... Oct 08 16:56:30 opencv is already installed in my BBB in inbuilt debian OS and it works!!! Oct 08 16:57:52 buzzsaw: Do you like reinstalling everything you had every time you want to upgrade, or do you like not having to do that? Oct 08 17:08:19 I only ask because I am not to familuar with the bbb yet :-) For example running an os from a thumbdrive running apt-get upgrade may be a bad thing... As to the way things are written Oct 08 17:10:04 Why would that be a bad thing? Oct 08 17:11:52 if changes were only written to memory and not saved :-) Oct 08 17:12:04 Why would you want to do that? Oct 08 17:12:06 I did not know if the entire disk was writable or only a portion of it. Oct 08 17:12:13 THen you would jhave to upgrade every time you booted. Oct 08 17:12:22 "I" would not do that... Oct 08 17:12:57 buzzsaw: I think the issue is, is you are thinking the bone is somehow magically not a standard Linux machine. Oct 08 17:13:06 no... Oct 08 17:13:13 no magic in my thinking... Oct 08 17:13:23 buzzsaw: THis is faulty thinking. THe bone is no different from any other machine runing Linux, other than it has sopme special hardware. Oct 08 17:13:42 So, anything you can think of doing on any of your other Linux machines, you can do on the bone. Oct 08 17:13:45 that answer my question :-) Oct 08 17:14:16 Just wanted to make sure I did not have to "burn" changes into the bbb :-) Oct 08 17:15:28 ...no. That is kind of the opposite conecpt from eMMC. Oct 08 17:16:24 I have a hard time keeping up with hardware :-) To many changes in software world to keep up with :-) Oct 08 17:16:57 eMMC *is* pretty new. I think the initial forms of it were released in 1995. Oct 08 17:16:58 ;-P Oct 08 17:17:45 Just because its not new does not mean I should know what it is :-) Oct 08 17:18:56 Not at all. But it *should* trigger you to think, "hey, I have no idea what that is, maybe I should spend ten seconds glancing it over online" Oct 08 17:20:53 So... I am running my bbb P9_14 into a LDD-h LED driver and I tried to run the code found on http://beagleboard.org/Support/BoneScript/analogWrite/ through the cloud9 editor and I am getting different results. Somethimes it flashes the LED other times it just turns it on (seems like full power) Oct 08 17:21:21 This was not the case before my apt-get upgrade :-s Oct 08 17:21:43 I was able to successfully dim the led's to varrying degrees. Oct 08 17:21:49 OK, so what changed? Oct 08 17:22:02 apt-get update apt-get upgrade Oct 08 17:22:26 That is the only change. I looked back at my wiring and double checked it. Oct 08 17:22:51 oh and the day changed a few times too Oct 08 17:22:52 Right, but what pakcages did you change?> Oct 08 17:23:04 One or more of them may have broken the thing you were doing. Oct 08 17:23:47 I dont have the bone with me but.. what ever has changed since i bought it new and last night in the repos. Oct 08 17:24:52 buzzsaw: I am asking this question because *you* need to figure out what you changed to break it. I can ask guiding questions, but the troubleshooting is ultimately on you. Oct 08 17:25:24 buzzsaw: And asking for support from a channel without the thing you are asking for help with with you, is like asking your mechanic to fix your car when you rode your bike to her shop. Oct 08 17:25:26 The only change "I" made was apt-get update apt-get Upgrade. Oct 08 17:25:46 But as a result of those two commands, you changed pakcages on your system. Oct 08 17:25:56 No apt did ;-) Oct 08 17:26:21 buzzsaw: OK, I am done talking with you now. YOu are being obstinate and unhelpful. Oct 08 17:26:34 bye Oct 08 17:28:28 bye buzzsaw Oct 08 17:28:36 I am not leaving :-) Oct 08 17:29:12 OH Oct 08 17:30:57 apt upgrade can change a LOT of things Oct 08 17:31:18 I am using the Rev C version btw Oct 08 17:31:44 yes it did Oct 08 17:32:16 Thats kind of why I wanted to know if apt was the best way to keep up with version or if Immages were :-) Oct 08 17:34:47 probably depends if you want more stability or if you want to keep customizations you may have made Oct 08 17:35:49 I will try to grab my board and setup during lunch to mess with but I might have to just try to jump back on tomorrow Oct 08 17:36:00 or this evening... Oct 08 18:20:17 uhm, the MOV32 macro does "MOV dst.w0, src & 0xFFFF" but when I try to use something similar "MOV r2.w0, r10 >> 16" the compiler complains about Operand 2 'r10 >> 16' invalid register or register mode ? Oct 08 18:46:08 ah, it was from the u-boot console that the board_rev varible was set Oct 08 18:50:54 has anyone experienced noise caused by environmental factors to the point where it changed the state of the GPIO (e.g. from high to low)? Oct 08 19:20:30 diakonos, yes, make the noise go away and your problem will be solved Oct 08 19:51:32 diakonos: read your gpio multiple times and average Oct 08 19:51:39 it'll remove noise Oct 08 19:58:04 could a pull down be used to help with noise? Oct 08 19:58:33 To a point. Oct 08 20:14:38 hello Oct 08 20:17:18 my beagle board has no activity and when I power it, the LED pwr led turns on only once and nothing else happens Oct 08 20:20:25 I have had something similar happen. The first time I plug into my computer the power led turns on and then it just sits there Oct 08 20:20:34 Plugging it in again causes it to boot Oct 08 20:26:38 }but mine don´t boot and do anything never again only when I power, the power led turns on a second Oct 08 20:30:27 I dont know much past that sorry mine only came in the mail not long ago Oct 08 20:50:40 question: has anyone here flashed BBB emmc using JTAG? Oct 08 21:04:08 Good day, people. I am trying to compile angstrom with its build system but it is failing and I dont know where to get any help of any sort. Any thoughts? Oct 08 21:07:35 I have questions regarding emmc, jtag flashing to BBB clone.. question is also posted here: https://groups.google.com/forum/embed/?place=forum/beagleboard&showsearch=true&showpopout=true&showtabs=true&hideforumtitle=true&parenturl=http%3A%2F%2Fbeagleboard.org%2FCommunity%2FForums#!category-topic/beagleboard/advanced/beaglebone-black/boot/3JvT9CZFMnM TIA Oct 08 21:10:26 sherring : i am hungry, but i dont know where to get any help of any sort. any thoughts? Oct 08 21:10:41 *hint* *hint* actually ask a questin *hint* *hint* Oct 08 21:10:47 question* Oct 08 21:13:36 sherring if you could pastebin the tail end of your bitbake log you may get some actual help Oct 08 21:14:09 gurki: All i get is that information is terribly spreaded and cant find any tutorial or instructions that work as a whole. Is there a site i should visit to get updated information? Oct 08 21:15:32 sherring: which board are you building for? Oct 08 21:16:03 thurgood: i am getting this http://pastebin.com/YrVk7RmP for bb xM Oct 08 21:20:21 are you following any tutorials at all? Oct 08 21:22:23 thurgood: i have been over free electrons tutorial, OE-core wiki and a book, i guess it is linux primer or something like that Oct 08 21:23:12 did you specify the machine type and all that fun stuff for oebb? Oct 08 21:23:38 thurgood: most of them points to dead end, broken links, outdated gits... This latest, I tried this: http://wp.angstrom-distribution.org/?page_id=53 Oct 08 21:24:58 ok, and which step did you get to on that page? Oct 08 21:25:11 after a few hours, it found a broken repository, which i managed to download by hand. And another few hours after, this errorgot me Oct 08 21:25:37 MACHINE=beagleboard ./oebb.sh bitbake console-image Oct 08 21:26:30 I presume you have build-essentials installed on your host machine? Oct 08 21:28:38 did you try specifying ARCH=arm anywhere? Oct 08 21:29:35 thurgood: i am checking for build-essentials and no, manually at least, no Oct 08 21:30:16 and can you include just a few more lines from the bitbake output Oct 08 21:30:23 thurgood: ubuntu's build-essentials, from software center, is good enough? Oct 08 21:30:34 yes, should be Oct 08 21:31:19 not sure why it's trying qemu stuff though Oct 08 21:32:37 what is this qemu? is it for running the target kernel emulated on host or something? Oct 08 21:33:02 qemu is a machine emulator Oct 08 21:34:09 thurgood: http://pastebin.com/7tg3MbW6 from top to the error, since it is incremental, it stops almost immediatlly Oct 08 21:36:39 it could be the branch you're on is too recent Oct 08 21:37:50 but give it a try after build-essentials is installed Oct 08 21:38:01 i see Oct 08 21:38:08 i have it already installed Oct 08 21:42:00 let me check what the last branch I built was Oct 08 21:45:38 I think I was at the maintenance-2011.03 tag Oct 08 21:47:00 a bit old, but so is the xM these days Oct 08 21:47:04 i am new to several things, but one thing that i dont get is git. :/ Oct 08 21:49:05 http://stackoverflow.com/questions/18345115/how-do-you-revert-to-a-specific-tag-in-git Oct 08 21:49:08 thurgood: i have to do something like this: git checkout maintenance-2011.03 ? Oct 08 21:52:49 or you can checkout to to a new branch based on the tag: git checkout -b Oct 08 21:53:09 first check that the tag actually still exists with git tag -l Oct 08 21:55:37 git reset --hard did the trick Oct 08 21:57:48 lol, reset all things! Oct 08 22:01:04 it didnt work, after all :( Oct 08 22:01:17 hmm, same spot? Oct 08 22:02:41 no, i guess i will have to redownload and rebuild every thing, OE-core is complaning now :P Oct 08 22:03:38 shouldn't have to redownload, but might need to rebuild Oct 08 22:20:28 thurgood , thanks a lot! I will keep trying Oct 08 23:35:09 hi all, i'm using a beaglebone black on fedora 20 but the usb0 (ethernet interface) isn't recognized/mounted Oct 08 23:35:19 could somebody help me ? Oct 08 23:52:40 bruno .. you need usb gadget drivers in your kernel .. you may hav to compile a new one if they're not there Oct 09 00:01:05 veremit huum.. i using the kernel provided by fedora 20 version. isn't it enabled by default ? Oct 09 00:01:47 no idea about fedora sorry Oct 09 00:03:22 vermit do you know if the usb gadget driver is show in 'lsmod' ? Oct 09 00:03:35 usually its called g_,something Oct 09 00:04:21 g_multi it is called Oct 09 00:04:22 if its not compiled statically into the kernel Oct 09 00:05:57 ok, thank you Oct 09 00:07:34 np Oct 09 01:55:12 ello again Oct 09 02:32:30 doh... crash Oct 09 02:39:43 How does one update the pages found on the beagle bone? Looking at http://beagleboard.org/Support/BoneScript/analogWrite/ vs http://myBone/Support/BoneScript/analogWrite/ they are different :-s **** ENDING LOGGING AT Thu Oct 09 03:00:00 2014