**** BEGIN LOGGING AT Wed Jan 22 02:59:59 2014 Jan 22 04:32:33 hi Jan 22 04:34:15 i want run freertos applications on beaglebone any one help me how to start Jan 22 04:36:17 how to run freertos on beaglebone Jan 22 04:36:29 ? Jan 22 04:36:48 please any one help me Jan 22 04:38:10 hi Jan 22 04:38:23 is anybody there to help me out in smsc95xx Jan 22 04:43:57 please any one have freertos source for am335x Jan 22 05:23:07 is freertos will support for am335x ?? Jan 22 05:48:19 <_av500_> why dont you see freertos documentation? Jan 22 05:48:34 <_av500_> if there was a port to BBB, they would surely say so Jan 22 06:18:48 hi Jan 22 06:19:48 can any one tell me how to configure ADC in BBB to continous mode Jan 22 06:20:14 kernel in BBB is 3.8.13 Jan 22 08:22:19 i'd like to use jtag on my bbb. what jtagger can you recommend? Jan 22 08:22:34 none Jan 22 08:22:43 first think hard if you really need one Jan 22 08:22:49 i need one Jan 22 08:24:42 I really want to get into the argument about how 99/100, someone who says they "need" jtag aren't aware of what's actually out there Jan 22 08:24:46 but I don't have the energy Jan 22 08:24:51 http://www.tincantools.com/JTAG/BeagleBone-Black-JTAG-Adapter-Kit.html Jan 22 08:24:55 http://www.tincantools.com/JTAG/Flyswatter2.html Jan 22 08:25:51 also XDS100 Jan 22 08:26:00 if you like CCS Jan 22 08:26:05 same thing, its all mpsse Jan 22 08:26:12 Russ: i'd like to write a custom ipl. so i need to debug my code long before the uart is up Jan 22 08:26:55 Russ: what would be your argument? Jan 22 08:26:58 you can chain load it from MLO for a start Jan 22 08:27:08 blink a few LEDs too Jan 22 08:27:18 just sayin Jan 22 08:27:23 KotH, I'll just sit back and let av500 make it Jan 22 08:27:27 meh Jan 22 08:27:32 av500: i'm writing my own MLO... Jan 22 08:27:38 I know Jan 22 08:27:49 still it is not verboten to use the existing one as a tool Jan 22 08:27:57 ah, now i understand your idea Jan 22 08:27:59 so you chain load yours from MLO Jan 22 08:28:04 make it run 90% Jan 22 08:28:19 course I'm sitting here with a cortex-m0 that isn't blinking any LEDs Jan 22 08:28:33 then you copy the first 10 asm instructions from MLO since they will be all the same anyway Jan 22 08:29:15 and you dont need UART to signal "I have reached point X" in the code Jan 22 08:29:32 which does not mean you cannot use JTAG too Jan 22 08:29:46 i like your idea. thank you very much! Jan 22 08:29:53 if you have the time and money, go for it Jan 22 08:30:01 you'll learn something in any case Jan 22 08:30:19 I bet he will give up Jan 22 08:30:25 and let it be as it works Jan 22 08:30:46 pessimist woglinde is pessimist Jan 22 08:31:19 no realist Jan 22 08:31:38 hipsterist Jan 22 08:32:01 sure my hipster beard Jan 22 08:32:03 * derRichard wrote such loaders already for ppc socs Jan 22 08:32:14 you have been tainted! Jan 22 08:32:15 oh okay Jan 22 08:32:20 but the customer provided me a jtagger Jan 22 08:32:26 apologist! Jan 22 08:32:37 now i thought "hey, let's try the bbb" Jan 22 08:32:41 derRichard what should achieve at all? Jan 22 08:32:48 derRichard: as russ said, the tincan stuff or the XDS100 Jan 22 08:32:56 learning boot sequences? Jan 22 08:33:08 woglinde: writing a boot loader Jan 22 08:33:09 woglinde: that too. just for fun. learning new stuff... Jan 22 08:33:13 a non-GPL tainted one Jan 22 08:33:13 ah okay Jan 22 08:33:26 hm what does the bsd do? Jan 22 08:33:30 ups port Jan 22 08:33:45 dunno Jan 22 08:33:51 bsd still exists? Jan 22 08:34:05 sure even openbsd got money for the servers Jan 22 08:34:44 and no bake sale Jan 22 08:43:05 they got founding for the power? Jan 22 08:43:14 or did they switch of the vms boxes? Jan 22 08:45:27 koth the got money to not shutdown the servers Jan 22 08:59:40 KotH: they got 100k Jan 22 08:59:55 most of it in bitcoins from some romanian gazillionaire Jan 22 09:00:28 an early miner Jan 22 10:40:09 freertos for beaglebone uart application can work??? Jan 22 10:40:26 please help me any one Jan 22 10:41:37 freertos does not list beaglebone respectively AM3XXX as supported. you're on your own. Jan 22 10:43:51 yes Jan 22 10:44:08 i did for led Jan 22 10:44:42 for am335x Jan 22 10:45:43 then what's the problem? Jan 22 10:45:58 if you can run something and poke registers, you can use an uart. Jan 22 10:46:06 i want build different applications Jan 22 10:46:18 like uart Jan 22 10:46:20 rtc Jan 22 10:46:23 usb Jan 22 10:46:25 mmc Jan 22 10:46:53 nobody is stopping you. Jan 22 10:47:05 read the TRM, they are all described there. Jan 22 10:48:02 trm means? Jan 22 10:48:23 i found only led source Jan 22 10:49:03 same like any one did complete supported applications Jan 22 10:50:40 i want just steps how to follow freertos steps according to the different applications Jan 22 10:51:14 can you have any idea about this?? Jan 22 10:51:26 go here: http://www.ti.com/product/am3359 Jan 22 10:51:36 simha: there are no steps Jan 22 10:51:38 get the TRM, read it, write whatever you want Jan 22 10:52:03 simha: nobody will do your homework, which is reading the documents and then give you copy-paste source code. Jan 22 10:52:48 simha: you are talking about writing some kind of device drivers. so read the documentation of the chip, read the documentation of the API, then go write. Jan 22 10:53:58 ok sure Jan 22 10:54:26 but actually there is no support for freertos for am335x Jan 22 10:54:42 i am trying to build my own Jan 22 10:54:51 isn't that what i just said? Jan 22 10:54:59 LetoThe2nd: not in exactly those words Jan 22 10:55:41 11:41 < LetoThe2nd> freertos does not list beaglebone respectively AM3XXX as supported. Jan 22 10:55:44 simha: yes, build your own Jan 22 10:55:47 we wont stop you Jan 22 10:55:55 LetoThe2nd: see? different words Jan 22 10:56:09 KotH: i hereby define them to be the same words. Jan 22 10:56:27 * LetoThe2nd ends this topic for himself now. Jan 22 10:56:39 LetoThe2nd: oh.. sorry, i misread.. they are the same words Jan 22 10:57:54 KotH: those are notthe droids that you are looking for. Jan 22 10:58:18 damn! Jan 22 10:58:22 i was so sure i found them Jan 22 11:04:49 Hi experts, i am new to this area, I am using amstrong 3.8.13 kernel in BBB at first i loaded the device tree as below, echo cape-bone-iio > /sys/devices/bone_capemgr.*/slots then i used analog pins however i am getting the fixed values that is values are not varying continously as i vary input analog voltage if i go to this path /sys/devices/ocp.2/44e0d000.tscadc/tiadc/iio:device0 and then ls -al gives me total 0 drwxr-xr-x 3 ro Jan 22 11:11:55 Hi experts, i am new to this area, I am using amstrong 3.8.13 kernel in BBB at first i loaded the device tree as below, echo cape-bone-iio > /sys/devices/bone_capemgr.*/slots then i used analog pins however i am getting the fixed values that is values are not varying continously as i vary input analog voltage Jan 22 11:12:15 if i go to this path /sys/devices/ocp.2/44e0d000.tscadc/tiadc/iio:device0 Jan 22 11:12:25 and then ls -al gives me Jan 22 11:12:40 total 0 Jan 22 11:12:52 drwxr-xr-x 3 root root 0 Jan 1 03:24 . drwxr-xr-x 4 root root 0 Jan 1 03:24 .. -r--r--r-- 1 root root 4096 Jan 1 03:27 dev -rw-r--r-- 1 root root 4096 Jan 1 03:27 in_voltage0_raw -rw-r--r-- 1 root root 4096 Jan 1 03:27 in_voltage1_raw -rw-r--r-- 1 root root 4096 Jan 1 03:27 in_voltage2_raw -rw-r--r-- 1 root root 4096 Jan 1 03:27 in_voltage3_raw -rw-r--r-- 1 root root 4096 Jan 1 03:27 in_voltage4_raw -rw-r--r-- 1 root root Jan 22 11:13:10 drwxr-xr-x 3 root root 0 Jan 1 03:24 . drwxr-xr-x 4 root root 0 Jan 1 03:24 .. -r--r--r-- 1 root root 4096 Jan 1 03:27 dev -rw-r--r-- 1 root root 4096 Jan 1 03:27 in_voltage0_raw -rw-r--r-- 1 root root 4096 Jan 1 03:27 in_voltage1_raw -rw-r--r-- 1 root root 4096 Jan 1 03:27 in_voltage2_raw -rw-r--r-- 1 root root 4096 Jan 1 03:27 in_voltage3_raw -rw-r--r-- 1 root root 4096 Jan 1 03:27 in_voltage4_raw -rw-r--r-- 1 root root Jan 22 11:13:26 there is no mode directory and buffer directory in list . please help to configure ADC In continous mode. Jan 22 11:14:15 shravan: STOP THAT! Jan 22 11:14:30 shravan: DO NOT copy and paste anything in here Jan 22 11:14:34 shravan: use pastebin instead Jan 22 11:15:18 yes sorry i wanted to show the output Jan 22 11:15:24 shravan: that's what pastebin is for Jan 22 11:16:27 i dont see any option about pastebin Jan 22 11:16:50 google Jan 22 11:16:55 for pastebin Jan 22 11:17:17 rule #1: if there is something you dont know, google it Jan 22 11:18:30 fine while configuring ADC for continous mode, i am facing some problems Jan 22 11:21:15 if i go this path /sys/devices/ocp.2/44e0d000.tscadc/tiadc/iio:device0 then i dont find mode and buffer directories which are needed for configuring ADC to continous mode Jan 22 11:21:53 please can u tell me what is the problem here Jan 22 11:23:26 probably some dtbo is needed Jan 22 11:23:31 the exact thing is in http://pastebin.com/sXHgH13J Jan 22 11:25:25 http://thread.gmane.org/gmane.linux.kernel.input/32024 Jan 22 11:25:42 maybe the kernel you have is too old Jan 22 11:25:53 patches are only in since september Jan 22 11:28:08 i am using angstrom distribution 3.8.13 Jan 22 11:29:54 yes, you said that Jan 22 11:31:21 this patch is on 3.12 or .13 Jan 22 11:32:00 woot Jan 22 11:32:06 LED panels have arrived! Jan 22 11:32:16 pics or it did not happen Jan 22 11:32:27 now I just need to solder the power on and wait for the BBB to arrive so I can actually do something with them =) Jan 22 11:32:52 pics are boring without them being lit up Jan 22 11:32:56 so how to update the kernel now Jan 22 11:34:22 you could try https://github.com/beagleboard/kernel/tree/3.13 Jan 22 11:34:30 but I have no idea in what state it is Jan 22 11:34:32 is starterware applications will work for freertos Jan 22 11:34:45 also you need to get familiar with kernel building Jan 22 11:35:01 simha: starterware is no-ON Jan 22 11:35:04 no-OS Jan 22 11:37:42 can you have only am335x uart application not driver so further i can interface to freertos Jan 22 11:37:57 your question makes no sense Jan 22 11:38:18 to have a UART, setup a few registers and get going Jan 22 11:38:38 uboot source code will show you how Jan 22 11:38:39 to make sense or not to make sense, that is the quastion. Jan 22 11:38:50 make lunch Jan 22 11:38:53 makes sense to me Jan 22 11:38:55 already did. Jan 22 11:38:58 KKS. Jan 22 11:39:02 sudo make lunch Jan 22 11:39:09 KKS? Jan 22 11:39:20 ok thank u every one i will update and compile the kernel Jan 22 11:39:31 make: *** No rule to make target `sense'. Stop. Jan 22 11:39:40 av500: KoibsKaasSemme Jan 22 11:40:09 i always knew that targets at work made no sense. Jan 22 11:42:18 LetoThe2nd: ah, LKW Jan 22 11:42:31 av500: nope, thats LKS here. Jan 22 11:42:50 av500: K versus L is the "white version" Jan 22 11:43:53 white power? Jan 22 11:44:28 av500: basically gelbwurst just baked like leberkäse. Jan 22 11:44:44 shravan: you're going to struggle on LKML when not using a mainline kernel Jan 22 11:44:57 * LetoThe2nd thinks that this just was one of the most beautiful denglishsentences he ever produced. Jan 22 11:47:32 at least a tasty one Jan 22 11:48:08 indeed. Jan 22 11:48:21 LetoThe2nd: hi there Jan 22 11:48:29 are you attending FOSDEM? Jan 22 11:49:01 cityLights: probably some of my inner personalities are. no idea about the physical body ;) Jan 22 11:50:35 o ok Jan 22 11:51:14 I still seek to get the the pwm to emit sound using a piezo electric buzzer Jan 22 11:51:31 I added a FET transistor and a 5V supply Jan 22 11:51:52 and FOSDEM will help how? Jan 22 11:52:01 good vibes Jan 22 11:52:06 ah Jan 22 11:52:15 you will hear buzzing sounds, even if they're not there. Jan 22 11:52:17 put your phone on silent Jan 22 11:52:36 yep, I am just happy to travel Jan 22 11:53:01 was hoping to get the ADC working before the weekend, Jan 22 11:53:14 I hooked it up to a current sensor Jan 22 11:54:26 good, you didn't pick an ancient sensor. *SCNR* Jan 22 11:55:18 seems I will need to buffer the input to prevent voltage at startup Jan 22 12:52:24 5 Jan 22 12:53:04 4 Jan 22 12:53:35 3 Jan 22 12:54:04 2, 1, GO! Jan 22 12:59:18 -1/12 Jan 22 13:04:30 * KotH takes the inverse square root of av500 Jan 22 13:11:02 KotH: http://boards.straightdope.com/sdmb/showthread.php?t=420045 Jan 22 13:11:11 its the latest meme Jan 22 13:15:27 i see Jan 22 13:15:42 * KotH integrates around av500's pole in the complex plane Jan 22 13:15:57 tbr is the pole Jan 22 13:18:11 * tbr is a north-pole ;) Jan 22 13:19:20 av500: i'm not intrested in the residues tbr leaves Jan 22 15:14:26 hi, i have beaglebone black and can't seem to be able to flash it. If I use sd card, press and hold user button, and plug in 5V jack, it will boot to angstrom on sd card Jan 22 15:14:43 no idea why it doesnt want to flash itself Jan 22 15:14:49 yes of course it shall boot angstrom. Jan 22 15:15:16 the flash mechanism is not something in the chip or bootloader, it is a script inside the angstrom filesystem on the sd card. Jan 22 15:15:40 thats why only the images called "flasher" will actually be of any use to update the emmc Jan 22 15:16:54 well, i could flash it yesterday from the same sd card Jan 22 15:17:16 LetoThe2nd: i'm using BBB-eMMC-flasher-2013.09.04.img Jan 22 15:17:22 fire up this sd card angstrom, then look into top or ps if the flasher process is there. Jan 22 15:18:51 nope, it doesn't show up Jan 22 15:19:14 Hi Everyone. I am thinking of buying a Beaglebone black. I was curious if anyone knows if the Black can boot from either the onboard fksh or the SD card. I would like to run openelec from the SD card when I want but have unbuntu as my main OS most of teh time. Jan 22 15:19:25 yes Jan 22 15:19:31 deanrock0: strange, then. Jan 22 15:19:32 kewl Jan 22 15:19:32 and no, you dont want to run openelec Jan 22 15:19:39 no? Jan 22 15:19:43 no Jan 22 15:19:46 it does not do video Jan 22 15:19:56 the black? Jan 22 15:20:03 so unless you like to peruse DVD menus for fun, forget it Jan 22 15:20:06 cpu decoding Jan 22 15:20:09 the black Jan 22 15:20:13 nor the white Jan 22 15:20:15 ok thanks Jan 22 15:20:17 the XM a bit Jan 22 15:20:23 that is great to know lol Jan 22 15:20:28 get an rpi Jan 22 15:20:31 like normal people Jan 22 15:20:37 because it's not an multimedia SoC Jan 22 15:20:44 it's an embedded/industrial SoC Jan 22 15:20:56 yeah been checking out the pi also Jan 22 15:21:22 pi is for people that want an set top box where they can 'do cool shizz' with Jan 22 15:21:45 BBB is for proper embedded applications Jan 22 15:22:09 I also want to use it for other linux porjects Jan 22 15:22:27 like learning linux at forst Jan 22 15:22:28 lol Jan 22 15:25:21 apparently my friend used boot partition of sd card and added a few files on it ... maybe this caused problems with flashing Jan 22 15:25:41 kohung: fine to learn linux on it Jan 22 15:25:47 just forget HD video decode Jan 22 15:36:49 While the BBB is ok for "learning linux", you'd be better off creating a VM under BirtualBox or something, rather than using the BBB. Embedded Linux has a lot of quirks compared to a desktop machine. Jan 22 15:36:57 VirtualBox* Jan 22 15:37:35 Now, if you're interested in learning about *embedded* Linux's, then yes, the BBB is good for that. But this assumes you already have a good working knowledge of Linux in general. Jan 22 15:38:02 No I do not just very basic knowledge Jan 22 15:38:20 so sound slike the Pi is the best for me right now Jan 22 15:38:53 The Pi is no different, in that respect. Jan 22 15:39:41 It's an embedded system. These things are constrained by much smaller amounts of memory and disk space, slower, and odd hardware interfaces that you don't find (or aren't exposed to) on desktop systems. Jan 22 15:40:24 * LetoThe2nd always thought that desktops have odd hardware interfaces, but hey. Jan 22 15:41:11 Yeah, but you generally don't go messing around with the I2C or SMB bus on desktops. You CAN, and some people do, but it's not the norm. Jan 22 15:41:18 * ogra_ notes that the three typically used BBB distros are angstrom, debian or ubuntu ... neither of them is what i would call embedded Jan 22 15:41:31 Yup. Jan 22 15:41:48 ogra_: don't ruin all the fun! Jan 22 15:42:20 I haven't really looked at Angstrom, don't know what it's strong points are supposed to be that made it worth creating. I basically wiped mine on day one and installed Debian. Jan 22 15:42:59 * KotH is with LetoThe2nd on that Jan 22 15:43:21 k4jcw: remember there was a time when debian/ubuntu had literally no working arm support Jan 22 15:44:04 benefits of angstrom come into play more with the commerical aspects, the deterministic build and complete customisation is the key Jan 22 15:44:21 however, for jimmy end user... Jan 22 15:44:36 really depends how much you need to maintain it Jan 22 15:44:38 and remember there is/was a time (and devices) that cannot host a full dpkg management Jan 22 15:44:45 jackmitchell: i like buildroot better in that regard Jan 22 15:44:54 jackmitchell: easier to customize and much faster to build :) Jan 22 15:45:05 KotH: swings and roundabouts; needs and familiarity Jan 22 15:45:13 So... downside of debian is? Jan 22 15:45:24 pwillard, same as with ubuntu Jan 22 15:45:27 jackmitchell: true that Jan 22 15:45:37 pwillard, you carry a giant packaging system along Jan 22 15:45:49 pwillard: no job security with debian/ubuntu Jan 22 15:45:54 well, hopefully you are selective... Jan 22 15:46:02 hi! Jan 22 15:46:22 Ah, the uniqueness factor of angstrom... Jan 22 15:46:28 KotH, not true ;) upstart offers job security and even app confinement in the recent releases Jan 22 15:46:37 ogra_: *g* Jan 22 15:46:51 well, it just causes me angst (pun intended) Jan 22 15:47:06 angstrom is only the distro, the job security comes from OpenEmbedded ;) Jan 22 15:47:24 but there lies it's ultimate strength too Jan 22 15:47:30 If you want job security, use VXworks... :-P Jan 22 15:47:45 I also like a choice of job :) Jan 22 15:48:10 I think for me, it was primarily that I'm familiar with Debian, I had an end goal to accomplish, the packages I needed I knew existed, and I didn't have the time/desire to get familiar with a new distro. Jan 22 15:48:11 back to work thanks for all the help everyone Jan 22 15:48:38 I sort of feel that way too k4jcw Jan 22 15:49:28 "If you want job security, use VXworks..." True. Also, "If you want to pay through the ass in licensing fees, use VXworks..." Jan 22 15:50:24 Yeah for an independent VXworks contractor, that is true. I don't know... angstrom just feels like a pet project of some guy working in his basement that has an alternate day job. Jan 22 15:50:58 pwillard: yet a lot of comercial products use it Jan 22 15:51:05 hopefully it will be more comfortable with time... Jan 22 15:51:43 I remember about 12-15 years ago, we used VXWorks in a project at Hayes Microcomputer. We had a roll of stickers that were worth about $15K. Those were the "licenses" we had to stick on each modem. Jan 22 15:51:59 Or maybe that was WindRiver. Damn, now I forget. Jan 22 15:52:08 But we definitely had a $15K roll of stickers :) Jan 22 15:52:44 our company ordered a reel of 0603 resistors resently... something around 40k per reel Jan 22 15:53:02 k4jcw: so, what's your point? ;) Jan 22 15:53:08 are we comparing prices per roll of something now? Jan 22 15:53:13 LetoThe2nd: ofc Jan 22 15:53:18 LetoThe2nd: schwanzlängenvergleich Jan 22 15:53:40 KotH: ha! Jan 22 15:53:47 k4jcw, yes, we all had stickers for VxWorks licenses Jan 22 15:53:48 Mostly I'm amused by the idea of having a small roll of stickers, that are nothing more than printed labels, that cost $15K and "licensed" the product. Jan 22 15:53:50 lol Jan 22 15:53:57 mein auto. mein haus. mein 'boat' Jan 22 15:54:05 * LetoThe2nd recently bought a roll of cord for $0.50 two weeks ago or so. now what? Jan 22 15:54:09 I got an arctic roll recently, bargain price of 80 pence Jan 22 15:54:17 LetoThe2nd: lol Jan 22 15:54:24 I got a roll in the hay, and it was free. Jan 22 15:54:35 k4jcw: you win Jan 22 15:55:11 not yet. you woudlve win if you had gotten money out of it. Jan 22 15:55:42 True! Jan 22 15:56:22 That's illegal in some places. Jan 22 15:56:29 I would say that it actually cost me money, since I'm married. OTOH, she has to put up with me, so it's a wash. Jan 22 15:56:29 but yeah ... Jan 22 15:56:30 LetoThe2nd: does "Warum liegt da stroh?" ring a bell for you? :) Jan 22 15:56:31 LetoThe2nd, how did *you* get money out of it ... all you told us so far is that your spent some :P Jan 22 15:56:36 *you Jan 22 15:56:54 hence i think the Rolling Stones win, as they have rolls, money, and probably also rolls of money. Jan 22 15:57:04 ++ Jan 22 15:57:10 ogra_: i never said i had won. Jan 22 15:57:17 true dat Jan 22 15:58:05 KotH: i know the saying. remind that once i have lots of free time that i actually look up the origin. Jan 22 15:58:29 LetoThe2nd: nope, i wont :) Jan 22 15:58:39 KotH: ok Jan 22 15:58:58 LetoThe2nd: come to next lug-camp and i'll find someone to show you :) Jan 22 15:59:15 KotH: hrhr Jan 22 16:05:02 Hi guys. Im wondering if there exsist a precompiled debain image for the new beaglebone image-builder. With cloud9 Jan 22 16:41:01 davidAK: there are instructions for debian, yes. don't think it has cloud9 Jan 22 16:41:16 not hard to add, I assume Jan 22 16:41:32 Not sure if anyone cares, since this is old hat, but after abandoning the RTL8192CU based TP-Link WL8200ND WiFi adapter, and going to an Atheros-based TL-WN722N, it acts quite nicely as an AP. It's been running solid for 2 days now, and I've pushed a couple gigs through it. Jan 22 16:42:05 :) Jan 22 16:42:08 http://ubuntuforums.org/showthread.php?t=1813076 might help Jan 22 16:42:36 k4jcw: I'll have to keep that in mind, my team's been having terrible trouble using the rtl8192cu as an ap Jan 22 16:43:25 I couldn't get the RTL8192 to associate on any network, be it open, WEP or WPA-PSK, in client mode. I actually never got around to messing with it in AP mode. Jan 22 16:43:41 I'm currently flashing the latest debian image from elinux. I will try to install cloud9 and bonescript. I have found a few guides. Anyways thanks Jan 22 16:43:52 I need to support both modes. A switch determines whether it boots as an AP or client. Jan 22 16:44:00 I'm trying to use the external ram on the PRU. I'm trying to figure out how what address to pass to the PRU as the base address. Anyone familiar with this? Jan 22 16:44:23 "external ram" ? Jan 22 16:44:26 define Jan 22 16:45:06 The PRU is able to read and write to ram external to the pru itself. I assume it lives on the 512MB of ram. Jan 22 16:45:10 The PRU has 8KB of RAM. Jan 22 16:45:21 system dram or the PRU srams? Jan 22 16:45:28 system dram I think Jan 22 16:45:45 ok, if you aren't sure, you should read the TRM to understand the PRUSS architecture Jan 22 16:46:30 http://elinux.org/BeagleBone_PRU_Notes Have you seen this? There's some examples that use the RAM in various modes. Jan 22 16:47:31 again, need to understand the question Jan 22 16:47:42 "RAM" means *nothing* Jan 22 16:47:50 Yes, I've been working on the PRU for a while now. I just haven't had need to use the external ram until now. This link is what I"m going on, the problem is I don't see the device tree entries: http://hipstercircuits.com/beaglebone-pru-ddr-memory-access-the-right-way/ Jan 22 16:48:27 great, yes, system DDR (or dram), thank you Jan 22 16:48:37 rocky|arch, there is more to DRAM access than just writing/reading Jan 22 16:49:00 panto, I was figuring you could jump in now ;) Jan 22 16:49:01 you need to be aware of the caching that the arm core is doing Jan 22 16:52:48 panto: I'm not sure where to go from here. I'm trying to adapt this person's code for reading a camera using PRU: https://github.com/cclark2/interacto_bbone_cape/blob/master/Software/src/pru1.p Jan 22 16:53:00 and latencies resulting from bus access to the dram causing stalls on accesses from the PRU Jan 22 16:53:14 yes Jan 22 16:53:51 I'm not overly worried about stalls as long as they aren't 10s of cycles. Jan 22 16:54:49 rocky|arch, you can at least measure that easily in the debug regs Jan 22 16:55:01 but, it's dependent on what you are running on the arm side Jan 22 16:55:23 I'll link you to my host code, give me a moment Jan 22 16:55:43 rocky|arch, they might be a few 100s Jan 22 16:56:08 this is raw dram, you don't have a cache to hide the latencies Jan 22 16:56:18 hit a refresh period and you'll stall big time Jan 22 16:56:26 but, hint, you have two PRUs Jan 22 16:56:44 Ok. I really need to just get the memory access working without kernel panicing first. Jan 22 16:56:57 I'm already using the PRU for other things. Jan 22 16:57:04 the *other* pru Jan 22 16:57:22 IIRC there's some sram on the am335x too Jan 22 16:57:36 that might be slower, but predictably slower Jan 22 16:58:52 https://github.com/Rose-Hulman-ROBO4xx/1314-BeagleBone-Quadcopter/tree/master/code/i2c_bitbang/pru_sw/example_apps/camera Jan 22 17:01:05 lyren brown's atari mem expansion project also had working ddr access code..if you just need a starting point for the basics Jan 22 17:01:09 * mdp heads to meeting Jan 22 17:01:18 ok, I'll take a look at it. Thanks! Jan 22 17:02:34 https://github.com/lybrown/abx Jan 22 17:26:02 hi Jan 22 17:26:17 can anyone tell me how to update the bonscript to ver 0.2.3 Jan 22 17:26:38 i have running 0.2.2 Jan 22 17:33:27 i tried with the commands from the docs. Jan 22 17:33:31 opkg update Jan 22 17:33:40 opkg install bonescript Jan 22 17:33:47 i get: Jan 22 17:33:48 root@beaglebone:~# opkg update Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/base/Packages.gz. Inflating http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/base/Packages.gz. Updated list of available packages in /var/lib/opkg/lists/base. Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/machine/beaglebone/Packages.gz. Jan 22 17:34:07 and then: Package bonescript (1.0-r21.5) installed in root is up to date. Jan 22 17:38:50 hey, anyone here a dev for beaglesnes? Jan 22 17:39:08 not me, but I have rebuilt it. Jan 22 17:39:55 I'm building the emulator from source...it's still compiling - second attempt - i had some issues...let's see if this works this time Jan 22 17:45:08 yep it borks. unresolved symbols movie.cpp movie.h e.g. MovieSetJoypad Jan 22 17:47:20 Angstrom? Jan 22 17:47:37 trux_: you can to 'TERM=dumb npm install -g bonescript' to get version 0.2.4 Jan 22 17:47:53 trux_: sorry, I haven't updated the Angstrom package in a long time. Jan 22 17:48:59 yes angström Jan 22 17:49:02 netstar: Angstrom? I ended up switching to Debian to build it and have also built it on Buildroot. Jan 22 17:49:39 trux_: see https://github.com/jadonk/bonescript Jan 22 17:49:56 i have run "npm install -g bonscript" Jan 22 17:50:01 you might need to do 'opkg update && opkg install python-misc python-modules' first Jan 22 17:50:08 then i got som cert issues Jan 22 17:50:11 s/bonscript/bonescript/ ? Jan 22 17:50:19 ah, probably a time thing. Jan 22 17:50:33 or do i need the "TERM=none/dump" part? Jan 22 17:50:48 npm config set strict-ssl false Jan 22 17:51:20 jkridner: python packages for me? Jan 22 17:51:21 w/o the TERM=none/dumb, you might have a problem when node-gyp attempts to check the Python version. Jan 22 17:51:28 netstar: no, trux_ Jan 22 17:51:30 :) Jan 22 17:54:19 now i get ERR! getaddrinfo ENOTFOUND Jan 22 17:54:52 trux_: pastebin? Jan 22 17:55:02 not angstrom - debian... Jan 22 17:55:19 maybe it's my GCC version ? Jan 22 17:55:27 root@beaglebone:~# npm install -g bonescript Jan 22 17:55:36 npm http GET https://registry.npmjs.org/bonescript Jan 22 17:55:37 npm http GET https://registry.npmjs.org/bonescript Jan 22 17:55:37 npm http GET https://registry.npmjs.org/bonescript Jan 22 17:55:42 npm ERR! Error: getaddrinfo ENOTFOUND Jan 22 17:55:46 npm ERR! at errnoException (dns.js:37:11) Jan 22 17:55:53 npm ERR! at Object.onanswer [as oncomplete] (dns.js:124:16) Jan 22 17:55:59 npm ERR! If you need help, you may report this log at: Jan 22 17:56:05 npm ERR! Jan 22 17:56:06 ... Jan 22 17:56:15 npm ERR! System Linux 3.8.13 Jan 22 17:56:16 trux_: ugh. When I said pastebin, I meant paste that using pastebin.com or similar. Jan 22 17:56:19 pstebin is gold ... Jan 22 17:56:28 sry Jan 22 17:56:39 trux_: do you have a direct net connection on your board? Jan 22 17:56:46 trickier if you don't. Jan 22 17:56:53 can you, say, ping google.com? Jan 22 17:57:05 http://pastebin.com/wyTdHdgp Jan 22 17:57:20 yes Jan 22 17:57:51 no Jan 22 17:57:56 its broken Jan 22 17:59:35 can you fix the network access? Jan 22 18:00:26 jkridner: did this ever get spotlighted/promoted? http://elinux.org/Beagleboard:16x16_Beagle_Matrix Jan 22 18:00:36 jkridner: cool project, just read their docs last night Jan 22 18:00:56 pdp7: tiny bit, yeah. Jan 22 18:01:19 pdp7: when are you driving into town and how long are you staying? Jan 22 18:01:24 jkridner: want me to write something to post on adafruit blog? Jan 22 18:01:36 jkridner: oh, yup, i'm going to leave tomorrow AM Jan 22 18:01:39 sure, if it can be made to seem timely. Jan 22 18:01:43 yea Jan 22 18:01:49 looks good :) Jan 22 18:01:51 thx Jan 22 18:02:01 i want to leave as early as i can, got there too late last time Jan 22 18:02:42 ideally, have to be back Friday night 6pm chicago for opening at my girlfriend's gallery Jan 22 18:03:38 hoping i could get into Detroit area by 3pm tomorrow if I leave like 8am Jan 22 18:04:37 prpplague: is it possible to get a bacon cape with P9 replaced with a header that has a female socket on top, or even pins. I can do so manually, but I can see it being helpful for classes quite a bit. Jan 22 18:04:42 what stuffs should I bring? BBBs, NooElec USB SDR, Adafruit USB SDR, 4.3" LCD Cape, powersupplies Jan 22 18:05:41 yes! Jan 22 18:05:44 pdp7: all of it! Jan 22 18:05:59 * jkridner hasn't done much on SDR demos. :( Jan 22 18:06:03 is it ok to be connected via USB/eth adapter AND the eth0?? Jan 22 18:06:13 I have my adapter with me today, but I'm messing with Cloud9. Jan 22 18:06:29 trux_: yes. Jan 22 18:07:52 i got some errors after a lot of OK messages: http://pastebin.com/3jeHHNxy Jan 22 18:14:24 now the onboard webserver is not working anymore Jan 22 18:15:11 7BUFFER § Jan 22 18:16:08 i will try to run opkg install python-misc python-modules Jan 22 18:16:20 and then again npm install -g bonescript Jan 22 18:23:29 still getting errors: http://pastebin.com/R5ZkYb1f Jan 22 18:23:35 trux_: looks like your network connection dropped in the middle. Jan 22 18:25:48 trux_: please use 'TERM=dumb npm install -g bonescript' Jan 22 18:33:08 http://pastebin.com/S3WPa2q2 Jan 22 18:45:47 any suggestions? Jan 22 18:47:24 jkridner: well the BoM for the bacon calls out the standard header not the pass through Jan 22 18:47:45 jkridner: if you want me to change it, now is the time, we start a production run of 2000 pieces next week Jan 22 18:48:02 I think it is worthwhile. Jan 22 18:48:08 if the cost impact isn't large. Jan 22 18:48:40 jkridner: it adds some cost to the BoM, but i think there is enough buffer to accomodate without a price change Jan 22 18:48:52 k. Jan 22 18:50:51 if come one has an idea, plz mail to beagle@biene.eu Jan 22 18:50:59 have to go now, bye Jan 22 21:47:38 s Jan 22 21:47:40 so Jan 22 21:47:45 how well does the skyped plugin work Jan 22 21:47:59 <_av500_> skywhat? Jan 22 21:48:24 whoops Jan 22 21:48:27 wrong channel Jan 22 21:49:32 hehe Jan 22 21:49:34 re av500 Jan 22 22:10:48 Ok, so I managed to get data written to the dram from the PRU, which I've tested by writing dummy data. Now I need to write data from the parallel capture, which is giving me trouble. Jan 22 22:13:35 I'm using PRU1, and have connected the clkin for the parallel capture to P9_26, which should be PRU1 pin 16. I've set the device tree for PRU1 gpio 0-7 and 16 to mode 0x26 in the device tree. I've set the lowest two bits of GPCFG1 register to 0x1 for parallel capture mode Jan 22 22:13:46 What am I missing? Jan 22 22:14:08 Oh, also, I've disabled the HDMI overlay Jan 22 23:01:31 rocky|arch, you are expecting to use P9_26 as an output, correct? Jan 22 23:45:56 mdp: no, if you look at the diagram for the parallel capture unit, it is a clock input to the parallel capture unit. Jan 22 23:46:49 I'm headed out, I'll be back to check the logs later. Jan 22 23:49:38 me too, I'm not familiar with the capture block, would have to read up Jan 22 23:51:22 ok. I'm not *terribly* familiar with it either, but it looks to be a clkin Jan 23 02:19:06 Hey everyone, I am just starting looking that the BBB, can I use the gpio to add aditional usb interfaces, over just using a usb hub? Jan 23 02:20:26 frenchface .. you won't get enough speed over gpio to do usb Jan 23 02:20:50 thank you Jan 23 02:21:04 not conventionally anyhow Jan 23 02:21:09 what are you trying to do with it? Jan 23 02:22:08 instead of using a usb hub, I was wanting to hardwire in a few additional wifi adapters Jan 23 02:22:49 it might be possible to interface to the wifi chip, possibly with the PRU. It sounds like a massive headache though. Jan 23 02:22:51 there are other interfaces on there .. eg. i2c, but you won't get high bandwidth like you would over usb Jan 23 02:24:05 ok Jan 23 02:25:37 you can get spi network interfaces .. but you'll find its an expensive solution vs a usb wifi adapter :) and a hub [powered ofc!] Jan 23 02:26:32 also to power the wifi adapters, i am needing to provide them external power, right? Jan 23 02:26:43 yes - you're likely to see errors otherwise Jan 23 02:50:05 rocky|arch, ping Jan 23 02:51:16 rocky|arch, the reason I asked the output question is that you've muxed P9_26 to act as pru1_r30...that is an output (as denoted by r30) Jan 23 02:52:05 rocky|arch, looking at the parallel capture mode, it is designed to use pru0_r31_status[16]..that's an input as the capture mode clk edge Jan 23 02:52:09 pong Jan 23 02:52:12 as documented in bit 2 of the GPCFG0 Jan 23 02:52:38 so you need to use P9_24 the pru0_r31[16] pin for the clk input Jan 23 02:52:49 same mode6 Jan 23 02:53:07 my brain just broke. Jan 23 02:53:18 ok, let's go back Jan 23 02:53:24 bit 2 of the GPCFG0 Jan 23 02:53:26 no, let me explain Jan 23 02:53:55 the camera code uses that pin as a clock internally. Jan 23 02:54:19 ANd the code was running to completion, and only does when I start the clock. So apparently it is getting the signal. Jan 23 02:54:32 well, then it doesn't match the trm Jan 23 02:55:07 I'll double check it Jan 23 02:55:07 it clearly says pru0_r31[16] Jan 23 02:55:22 and that makes sense..anything muxed as r31 is an input Jan 23 02:55:28 they aren't _GPIOs_ Jan 23 02:55:35 they are GPO and GPI Jan 23 02:56:03 I understand that you use two separate registers for reading and writing Jan 23 02:56:05 that's a big distinction versus the OMAP GPIO IP out on the fabric Jan 23 02:56:27 but they aren't bidirectional..understand that Jan 23 02:56:53 I need to pull up the reference Jan 23 02:56:54 that's why there's a GPO and GPI mux mode on many of them Jan 23 02:57:16 they are bidirectional, you just have to change the mux mode. Jan 23 02:57:30 lol Jan 23 02:57:41 * rocky|arch is going to pull up the aforementioned references before he says more false things Jan 23 02:57:44 indeed, not like most people expect bidirectional to be ;) Jan 23 02:58:17 you also need to be privileged to modify the control registers for muxing Jan 23 02:58:19 eh, I've worked on other embedded processors. You always have to toggle some bit somewhere to change the direction. Jan 23 02:58:33 in this case I have to do it through the device tree. Jan 23 02:58:43 this has nothing to do with DT Jan 23 02:59:17 lyren brown was trying to do this for his atari memory expansion module too **** ENDING LOGGING AT Thu Jan 23 02:59:58 2014