**** BEGIN LOGGING AT Tue Sep 27 02:59:59 2016 Sep 27 03:49:32 * zmatt does the happy dma-from-userspace dance Sep 27 03:52:14 o,O Sep 27 08:24:21 I'm wanting to migrate over from a raspberry pi 2 to a system that can be used in freedom. I currently use my pi2 as an mpd server, torrent box, local git repository, file server and a few other things. All just personal usage. Would a beaglebone black be up to this? Sep 27 08:26:03 Specifically: Would a bbb handle all these well? It doesn't have analog audio out, but I can use a USB DAC. Sep 27 08:27:30 it should Sep 27 08:27:39 if you hook up an rs485 transceiver you have s/pdif output, sort of Sep 27 08:28:03 or you could use the HDMI audio output Sep 27 08:28:06 or that Sep 27 08:29:01 it won't be the fastest steed in the stable with 1 core, but it should do it. Sep 27 08:37:40 tbr: zmatt: thanks. Sep 27 08:41:59 tbr: zmatt: also, are there any other options I should look into? Does the beagleboard-xm deliever any more performance, or is it just more development oriented? Sep 27 08:42:23 XM is ooooold Sep 27 08:42:52 the sort of successor to that is the X15, which is about to start shipping, finally. Sep 27 08:43:04 it's not exactly a budget board though (neither was the XM) Sep 27 08:43:46 also it depends on how you define "freedom" in the context of a board Sep 27 08:43:53 yeah. 2GB is big jump up. Shame there are not more intermediaries. Sep 27 08:44:22 tbr: well free bootloaders, and all major functionality usable with a free OS. Sep 27 08:44:33 I don't need the GPU, everything else looks usable. Sep 27 08:44:53 ok and now your definition of "free". I guess it's not beer. Sep 27 08:45:17 "usable" Sep 27 08:46:02 is there a bitwise NAND in C Sep 27 08:46:08 the nice thing about most TI SoCs is indeed the fact, that they can be booted using U-Boot, right after the SoC internal ROM bootloader Sep 27 08:46:12 mrpackethead: ~(a & b) Sep 27 08:46:19 (counting MLO as u-boot) Sep 27 08:46:32 MLO *is* part of u-boot Sep 27 08:46:41 yes, just wanted to be explicit Sep 27 08:46:51 or SPL I should say Sep 27 08:46:54 MLO is just a format Sep 27 08:47:03 zmatt that doe'snt work for me Sep 27 08:47:05 :-) Sep 27 08:47:20 mrpackethead: then you're doing it wrong, since that is a bitwise nand Sep 27 08:47:21 Well it's a gradient I suppose. Even though I don't know much about bootloaders, I like that they are open so others can work with them. At the OS level it becomes more practical for me personally. "Freedom", that is. Sep 27 08:47:24 yeah Sep 27 08:47:31 then a bitwise nand is not what i need Sep 27 08:47:40 anyone know what "omap-rproc 41000000.dsp: dma_alloc_coherent err: 9437184" Means? Seems to be the cause of the dsp not wanting to allocate any memory with cmem Sep 27 08:47:41 what do you need? Sep 27 08:48:26 data = buffer[f] & (1 << databit) Sep 27 08:48:57 clean1: I'm conflicted if I should suggest looking at some of the 96boards. There is a crapton of fuck-up in there. On the other hand at least HiKey seems to be bootable from zero using open source components Sep 27 08:49:00 this will make data 'true' if databit in buffer[f] is set Sep 27 08:49:10 dragonboard 410c infamously can't do that Sep 27 08:49:20 what i want is the opposite of that. Sep 27 08:49:22 more precisely it will make it 1 << databit if so Sep 27 08:49:30 yes, thats the problem Sep 27 08:49:34 tbr: the internal ROM bootloader is just capable of starting the CPU executing code from some piece of storage? Sep 27 08:49:38 if you just care about the boolean value then !( ... ) Sep 27 08:49:40 I'll have a look Sep 27 08:49:52 if you need that specific bit then ~buffer[f] & 1 << databit Sep 27 08:50:20 if databit is set, i need data to be 0 Sep 27 08:50:41 clean1: yes, that's all it does, it's very very dumb and simple Sep 27 08:52:15 clean1: I actually have a demo of a tiny app that is directly loaded by rom Sep 27 08:52:49 i just want to avoid using an if if i can Sep 27 08:52:52 zmatt: demo as in something I could see? Sep 27 08:52:54 becuae its a whole lot of extra processing Sep 27 08:52:59 but yeah ROM just looks for code to load (in a fair heap of ways), when found loads it into SRAM and executes it Sep 27 08:53:03 https://github.com/mvduin/bbb-asm-demo Sep 27 08:55:18 tbr: HiKey looks nice, but a bit more hands on. I think I'll start with bbb. Sep 27 08:55:45 hi Sep 27 08:56:09 any one is free Sep 27 08:57:17 bhavin: Do you have a question to ask? Should ask it first, then people can determine if they'll be capable of answering it. Sep 27 08:58:09 from where i get help of run how to run (.net +c#) hello application into beaglebone Sep 27 09:00:39 bhvn: you same person, asking about .net + c#? Sep 27 09:00:52 yes Sep 27 09:01:20 bhvn: if you mean on a gnu/linux distro, then I think the mono framework is what you need. Sep 27 09:01:39 okay Sep 27 09:01:54 bhvn: https://en.wikipedia.org/wiki/Mono_%28software%29 Sep 27 09:01:55 [WIKIPEDIA] Mono (software) | "Mono is a free and open source project led by Xamarin, a subsidiary of Microsoft (formerly by Novell and originally by Ximian) to create an Ecma standard-compliant, .NET Framework-compatible set of tools including, among others, a C# compiler and a Common Language Runtime. The logo of Mono is a stylized..." Sep 27 09:02:34 that i know but how to install it into beagle bone and how can i run my application on it Sep 27 09:03:07 bhvn: Do you have a linux distro installed? It might have it in it's package manager. Sep 27 09:03:13 please give me a guide line video link or document that is more help full for me Sep 27 09:06:16 bhvn: I've never used it for dev purposes. This was first result of duckduckgo search, hope it helps: http://www.codeproject.com/Articles/9407/Introduction-to-Mono-Your-first-Mono-app Sep 27 09:06:24 it shows installation & usage. Sep 27 09:07:27 thank man Sep 27 09:10:32 is there any tutorial video availabel Sep 27 09:15:01 I'm sure there are plenty on youtube, just go and look for them. Sep 27 11:24:11 hi i need beaglebone 3.8.13-bone47 kernel where i get this Sep 27 11:24:19 exactly that Sep 27 11:30:50 https://github.com/RobertCNelson/bb-kernel/commit/fdfdbd0d391eecb9645ea18af1bf380c7ad54046 Sep 27 11:35:02 lava_: See above line. that's the exact commit. Sep 27 11:38:13 Ok Thank you spidler Sep 27 11:42:45 You're welcome. there might be an exact archive of the binaries around somewhere, but this is the source tree. Sep 27 11:57:10 ok then i need to take that exact version.sh file to the kernel 3.8 directory then i need to apply that patch right Sep 27 11:59:13 No Sep 27 11:59:23 you need to check out that tree at that point, and build from there. Sep 27 12:35:20 or just apt-get install it? Sep 27 12:36:04 oh that specific version might have been retired Sep 27 12:38:59 lava_: why -bone47 though instead of a semi-recent -bone ? browsing the history it looks like there have been quite a few bugfixes Sep 27 12:43:53 zmatt: Seems it was retired, I didn't find it in the pool, and it seems fairly ancient. Sep 27 12:44:12 probably for good reason Sep 27 12:45:37 Mmm. Compliancy? Dunno Sep 27 12:45:53 * Spidler winds down and breathes Sep 27 12:46:00 Last day before vacation (!) Sep 27 12:46:21 Today's adventure seems to be a broken harddrive <.< Sep 27 12:46:32 Going anywhere? After today's adventure? Sep 27 12:47:24 Yeah, Holland on Thursday, hang around a bit, then off to Britan to visit Bletchley park, and then back to Holland for another while Sep 27 12:47:35 Nothing hugely demanding ;-) Sep 27 12:48:22 Still, sounds nice. Sep 27 12:49:07 Yep. Relaxing enough I hope. Sep 27 12:49:10 I presume those are places you may just drive to, as opposed to this big pond in the way. Sep 27 12:49:18 flying Sep 27 12:49:38 Ah. Cool. Sep 27 12:49:48 Generally, flying and trains are cheaper than driving large distances in Europe Sep 27 12:49:58 Understandable. Sep 27 12:50:20 From where I am, driving means crossing the sea anyhow :-) Sep 27 12:50:36 Small strait, but enough to be a hassle. Ferries are always a bummer Sep 27 12:50:57 lol True. Sep 27 12:59:52 Basically, I didn't get summer vacation due to jour reasons, and I missed the most amazing and beautiful autumn since 1975.... So now it's off to the two rainiest countries in the world during the autumn ;P Sep 27 13:09:53 Must turn early there, which I presume is the UK somewhere. It is largely farther north than here. Sep 27 13:12:20 hi everyone! anyone who knows when the Beaglebone Black Wireless will be available for purchase? Sep 27 13:17:27 Hello People Sep 27 13:19:04 zmatt: Today i managed to run my modules at 48 MHz spiclk. Using the userspace spi driver doing a 16 bit read in a while loop shows some interesting features. The reads appears in blocks where the delay between each read in a block is approx 800 ns, while the delay between consecutive blocks is approx 20 microseconds on average Sep 27 14:17:45 why would you do such tiny reads Sep 27 15:06:21 Hi Need to know DTS compile procedure Sep 27 15:07:28 the command which is available in the blog is giving some error with symbol @ Sep 27 15:08:08 so is there any correct command to compilw the DTS file. Please provide any info regarding this Sep 27 15:08:49 $ev60400A Sep 27 15:19:25 so ragnorok Sep 27 15:19:48 when I setup my beagles kernel, do I have to specify which ethernet module I have? Sep 27 15:20:05 I didn't. Sep 27 15:20:26 well because I'm going to be using one from gpio or whatever Sep 27 15:21:12 I don't know. I only use the one it came with. That ENC* source / site / example might say something. Sep 27 15:24:06 IDK it doesnt say anything Sep 27 15:24:15 but I do see support in beaglebone kernel Sep 27 15:24:26 as well as for W5100/W5300 Sep 27 15:24:39 Those are WizNet. Sep 27 15:24:45 yeah Sep 27 15:24:57 those are supported out of the box? Sep 27 15:25:02 But you are beyond my ken. I can't really offer much. Sep 27 15:25:05 ok Sep 27 15:27:11 you heard of the DP83848 ? Sep 27 15:27:49 Nope. I haven't done anything at the hardware level with Ethernet. I only have exposure from peeps trying to Arduino to work with it. Sep 27 15:28:51 hmm okay Sep 27 15:28:56 maybe i should ask in the arduino channel Sep 27 15:29:20 ENC* & W5* are the ones everyone tries to use. Sep 27 15:29:36 They might be able to help with the hardware end, but not with the kernel, most likely. Sep 27 15:29:48 They will probably just send you here. (grin) Sep 27 15:30:03 hah probably Sep 27 15:34:49 also ill leave this here for if anyone knows: Sep 27 15:35:29 Does the W5100/ENC* have a max TCP limit on the beaglebone or is it just on the arduinos? Sep 27 15:36:44 I'd check the datasheet. W* are more self-contained and have limits based on their internal RAM, afaik. Sep 27 15:37:47 ENC* I can't say. Never used one. I have a W5300 so I've read its datasheet, but I've not gotten 'round to doing anything with it. I was going to added Ethernet to a LaunchPad way back when. Sep 27 15:38:02 oh but youve used the W*? Sep 27 15:38:36 Nope. Just said I never used it. Sep 27 15:38:40 ah okay Sep 27 15:39:11 what I'm worried about here now, is if the beaglebone will only allow 8 maximum TCP connections Sep 27 15:39:35 since this is going to be a Firewall/Router IDK if thats wise :p Sep 27 15:40:24 I think a W5300 is 8 max. I want to say a W5100 is 4 max. I don't kow what that means in terms of actual use. I recommend research. Sep 27 15:40:56 ok Sep 27 15:41:23 and that limit would apply to the beagle too you think? Sep 27 15:42:17 Certainly. But what does it mean that it only does 8 connections? I again recommend research. Sep 27 15:45:33 yeah I'm trying to do that right now Sep 27 15:45:49 and I am not sure... im wondering that exactly Sep 27 15:45:59 if I can have 8 separate ports open Sep 27 22:15:11 hey Ragnorok, do you know if if it's safe to power the beagle thru gpio? Sep 27 22:28:33 I don't see how that's safe on any device. GPIO aren't power busses. Sep 27 22:41:24 ok Sep 27 22:45:09 weird, there's a new AM335x variant named... AMIC110 wut? Sep 27 22:46:16 lol wut indeed Sep 27 22:47:23 take a look at this Sep 27 22:47:23 http://www.ebay.com/itm/HLK-RM04-TCP-IP-Ethernet-Converter-Module-Serial-UART-RS232-to-WAN-LAN-WIFI-/201617042362?_trksid=p2352135.m2548.l4275 Sep 27 22:48:01 or, not Sep 27 22:59:07 Hi guys, anybody there? Sep 27 23:00:08 I am looking into Audio / ALSA SoC drivers... Sep 27 23:00:27 any audio expert around? Sep 27 23:02:46 I am trying to add an audio device to McASP interface Sep 27 23:03:32 it is looking good, the ALSA device is showing but nothing happens on the clocks lines Sep 27 23:04:00 I guess an issue configuring the clocks in the device tree Sep 27 23:04:20 that zmatt dude does audio things *duck* ... Sep 27 23:05:08 AM3358 will be the master Sep 27 23:05:46 so it is slightly different than running with the tlv320aic3x Sep 27 23:06:16 (in the audio cape tlv320aic3x is always master...) Sep 27 23:13:37 So here the audio question: Sep 27 23:14:07 in the device tree for sound / simple-card config Sep 27 23:14:27 what kind of clock node should be specified? Sep 27 23:16:30 do I need to specify clock names for fsx, aclkx etc Sep 27 23:16:54 anywhere I could find a device tree example? Sep 27 23:25:57 you're expecting clocks to appear? Sep 27 23:27:52 specifically what are your connections Sep 27 23:32:46 p99: a typical setup with the BBB as master would be: a gpio hog driving gpio 1.27 high to enable the audio osc on P9.25, that pin configured as HCLKX input, P9.31 as CLKX output, P9.29 as FSX output, and some data I/O Sep 27 23:35:25 and e.g. when using simple-audio-card something like http://pastebin.com/UwgE2w2d Sep 27 23:37:42 (if you're feeling very enthaustiastic I think you could define the audio osc as a gpio-gated clock and use clocks = <&audio_osc_ck>; instead of system-clock-frequency = <24576000>; Sep 27 23:45:06 * zmatt pokes gently in p99 Sep 27 23:46:33 I need to try that for sure Sep 27 23:48:30 zmatt: In fact my baord is not exaclty the beagleboard, but very similar ;-p Sep 27 23:49:05 the overall idea wouldn't change Sep 27 23:49:59 I'm guessing you'll have an external audio osc since the mcasp auxclk on beaglebone is the main osc, which generally doesn't lend itself to generate useful audio clock rates Sep 27 23:50:32 why do I need to provide and external clock? Sep 27 23:51:26 ehm, see the sentence I literally just said? starting with the "since..." part Sep 27 23:51:30 a clock divider cannot acheive such low clock rates? Sep 27 23:51:32 it is not *requires* per se Sep 27 23:51:41 exact -> amazing Sep 27 23:53:24 ok thanks zmatt, keep you posted Sep 27 23:53:32 well if you have a 24 MHz osc and an 48 kHz sample rate, that yields 500 clocks per sample Sep 27 23:54:08 so what bit rate and frame format would you use? Sep 27 23:54:37 a /5 divider and five channels of 20 bits each? Sep 27 23:55:11 it's possible and in fact I've seen it used, but it doesn't strike me as particularly practical Sep 27 23:55:28 I am playing with WM8974 device Sep 27 23:56:12 it has a built-in PLL even Sep 27 23:56:28 so yes the rate range in 8K to 48k Sep 27 23:56:50 why not make the WM8974 master and am335x slave? Sep 27 23:58:35 dam, it is easy said but the PCB does not allow that Sep 27 23:59:00 litterally I have to cope with current hardware! Sep 27 23:59:08 how does the pcb not allow it? Sep 27 23:59:55 are there buffers / level shifters in the way? Sep 27 23:59:57 but still good idea, I check the pin mux again Sep 28 00:00:09 byt the way are you in the US? Sep 28 00:00:10 it's the same pins both devices Sep 28 00:00:18 you just change who's driving them Sep 28 00:00:20 no Sep 28 00:01:21 in case anyone was interested .. last month's update on the BBB enhanced from sancloud .. http://www.sancloud.co.uk/?p=376 Sep 28 00:03:58 p99: note that if McASP is used in slave mode you only need CLKX and FSX, not AHCLKX Sep 28 00:05:21 although it could also output a clock there independently (divided down from main osc), e.g. for MCLK input to the WM8974 Sep 28 00:09:56 veremit: yep seen it Sep 28 01:22:43 hi Sep 28 01:22:49 hello Sep 28 01:24:36 anyone here? Sep 28 02:13:41 Welp I fixed my Beaglebone Black for now Sep 28 02:14:19 ericxdu: :) Sep 28 02:15:03 One of y'all advised me to look in boot and find a known good resolution Sep 28 02:15:18 aha hdmi woes? Sep 28 02:15:27 that framer can be a tricksy beast Sep 28 02:15:42 I just uncommented a line in uEnv.txt that made it 1024x768 Sep 28 02:15:46 veremit: yup Sep 28 02:15:56 cool Sep 28 02:16:08 it should do 1920x1080 I -think- Sep 28 02:16:15 1280x1024 should definitely Sep 28 02:18:08 I tried 720 Sep 28 02:18:29 My monitor can go up to 1080 Sep 28 02:19:15 I suppose refresh is still 60 for each? Sep 28 02:27:00 yeah tends to be default these days Sep 28 02:37:07 to avoid distortion on 1080p but lower the resolution, try video=1440x1080R@60 Sep 28 02:50:34 man if i can configure this touch screen tonight, by tomorrow i'll have the sweetest bonescript plugin Sep 28 02:59:14 zmatt, okay, thanks Sep 28 02:59:49 man, the behavior of these ADCs is different on. every. reboot. **** ENDING LOGGING AT Wed Sep 28 02:59:58 2016