**** BEGIN LOGGING AT Mon Jul 15 02:59:58 2013 Jul 15 04:29:44 hey emeb Jul 15 04:30:03 Odd, copying this "beaglebone-getting-started" thing from one partition to another is taking far long than the initial dd of the primary partition. Jul 15 04:30:18 hello mrpackethead Jul 15 04:30:32 hows the world spinning Jul 15 04:30:55 the world is running in greased grooves. Jul 15 04:31:11 to paraphrase J. Steinbeck. Jul 15 04:33:28 ...and now it's running gtk-update-icon-cache? What in the world ever for? Jul 15 04:41:24 HA HAH Jul 15 04:43:59 What, now it's gconftool? This eMMC flasher image is certainly something else. :/ Jul 15 04:50:35 I'm curious... what is the rationale for not having all of this stuff taken care of before the image is even pacakged? Jul 15 06:29:36 <_SY_> Helo Jul 15 06:44:22 I'm having a bit of trouble with yocto and omap3-libgles https://gist.github.com/fenrig/5984988 Jul 15 06:46:17 you're building for a bb-classic? Jul 15 06:51:30 dm8tbr: no the Beaglebone black Jul 15 06:51:30 a wonderfull, JIHADy, friday morning everyone! Jul 15 06:52:23 KotH: Good monday morning ;) Jul 15 06:53:13 fenrig: there is no SGX for BBB yet AFAIU Jul 15 06:53:23 anyone know how use gst-launch and VLC windows version to view h264 stream? Jul 15 06:53:41 router: erhm... Jul 15 06:53:42 beagleboard xm c5 Jul 15 06:54:03 router: the windows versions of vlc and gst wont run on bbxm Jul 15 06:54:07 dm8tbr: so there is no hardware acceleration yet? Jul 15 06:54:26 fenrig: from what I've read here it's 'about to be released' Jul 15 06:54:46 dm8btr: strange that openembedded selects it then :/ Jul 15 06:55:12 dm8btr: I did not explicitly tell OE to include gfx :/ Jul 15 06:58:53 koth: i run gst-launch on bbxm and and to view the h264 from windows version of vlc Jul 15 06:59:18 ahh.. Jul 15 06:59:27 router: so, what's your problem? Jul 15 06:59:36 router: and no, "does not work" is not an error description Jul 15 06:59:38 how do i setup VLC to view the stream? Jul 15 06:59:47 ah.. basic vlc problems Jul 15 06:59:51 ask in #videolan Jul 15 06:59:54 ok Jul 15 06:59:56 thanks you Jul 15 06:59:58 the french should be waking up any time now Jul 15 07:01:20 most are on holidays Jul 15 07:02:11 or in preparation for VDD Jul 15 07:02:48 is gst-launch capable of serving a stream all by itself? Jul 15 07:03:04 * dm8tbr has only seen it in combination with e.g. icecast Jul 15 07:03:06 the french should be awake by now, I live in the same timezone so ;) Jul 15 07:05:19 fenrig: you're belgian, not french. you get up much earlier! :) Jul 15 07:12:16 ahh, its that tme of day when the euro-trolls turn up Jul 15 07:12:35 do the swiss regard them selves as "european' Jul 15 07:12:56 no, we are something better! Jul 15 07:13:03 ha ha Jul 15 07:13:16 connectors are such a pain in the bum Jul 15 07:14:38 * KotH nods knowingly Jul 15 07:15:46 * dm8tbr throws some Spinner and Huber&Suhner connectors at mrpackethead and KotH Jul 15 07:16:47 good mörning trolls, djihadis, djihadistas and other partially sentient beings. Jul 15 07:16:58 what?? Jul 15 07:17:27 dm8tbr: the "you can beat an orc with that" kind of connectors? Jul 15 07:17:42 small orcs only Jul 15 07:17:43 KotH: exactly that, yes Jul 15 07:18:03 does anyone know why it is often hard to spend money Jul 15 07:18:08 mrpackethead: a 5cm diameter hf connector can beat a grown orc too :) Jul 15 07:18:21 " Hi EDA software vendor" i'd like to buy some software. Jul 15 07:18:22 5cm? cute small connectors :D Jul 15 07:18:24 how much is yours. Jul 15 07:18:32 mrpackethead: if you find it hard, you can send the money to me, i'll spend it for you Jul 15 07:18:36 mrpackethead: for a small fee of course Jul 15 07:19:22 ha ha Jul 15 07:20:15 i've never designed a board, wehre there is zero ablity to have any through hole Jul 15 07:20:17 KotH: http://dk0td.afthd.hg.tu-darmstadt.de/~dm8tbr/ham/dw/DCP_4602.JPG spinner-matrix-2000 interconnects. diameter about 20cm Jul 15 07:20:44 dm8tbr: wth is that? Jul 15 07:20:52 that is got a bigger one? Jul 15 07:21:33 KotH: for size comparison, ordinary 7/16 connector next to the end of the matrix http://dk0td.afthd.hg.tu-darmstadt.de/~dm8tbr/ham/dw/pict2250.jpg Jul 15 07:21:33 Hm, so if I set a 1920x1080 modeline in the uboot config, with the BBB start X with that same mode? Jul 15 07:22:25 KotH: http://dk0td.afthd.hg.tu-darmstadt.de/~dm8tbr/ham/dw/pict2244.jpg it was a 18x44 matrix interconnect for Sendefunkstelle Jülich Jul 15 07:23:09 .o0(gas, wasser, scheisse, hf) Jul 15 07:23:16 dm8tbr: what does that matrix do? Jul 15 07:24:10 KotH: connected 16 short wave transmitters (power range: 40-200kW) to about 40 different antennas Jul 15 07:24:42 i see Jul 15 07:24:52 the outdoor coax was not to be messed with either: http://dk0td.afthd.hg.tu-darmstadt.de/~dm8tbr/ham/dw/pict2271.jpg - you could beat an orc with a piece of that Jul 15 07:29:25 all i'm trying to do is terminate 2 x 12AWG and 4 x 24AWG wires Jul 15 07:31:38 terminate? Jul 15 07:31:57 connect them to the pcb Jul 15 07:33:17 hmm.. Jul 15 07:33:30 have you had a look at molex microfit? Jul 15 07:33:41 they might have the range Jul 15 07:34:24 could it be the IRC logs at http://www.beagleboard.org/irclogs/ have stopped? the last log is from July 12 Jul 15 07:36:22 Hi, Can I ask a leopard board(dm368) question here? I'm looking for a touchscreen/lcd solution for my leopard board(dm368) and it is really hard to find out a working one... Jul 15 07:39:27 we could just be really ugly Jul 15 07:39:31 and solder them direclty! Jul 15 07:53:34 koth: got it working Jul 15 07:53:52 good Jul 15 07:54:06 now you owe the vlc guys and us some good swiss chocolate ;) Jul 15 07:56:35 no. vlc guys don't help Jul 15 07:57:11 i have to figure out myself. Jul 15 07:58:49 gst-launch --gst-debug=v4l2:1 -v v4l2src ! video/x-raw-yuv,width=640,height=480 ! TIVidenc1 codecName=h264enc engineName=codecServer ! rtph264pay pt=96 ! udpsink host=192.168.1.3 Jul 15 07:58:49 port=5000 -v Jul 15 07:59:05 sdp file for vlc Jul 15 07:59:08 v=0 Jul 15 07:59:08 m=video 5000 RTP/AVP 96 Jul 15 07:59:08 c=IN IP4 192.168.1.6 Jul 15 07:59:08 a=rtpmap:96 H264/90000 Jul 15 07:59:45 camera: LI-M503 Jul 15 08:07:53 monday... Jul 15 08:09:40 panto: all day Jul 15 08:09:47 don't remind me Jul 15 08:46:23 KotH: these will work Jul 15 08:46:24 http://www.avx.com/docs/Catalogs/discretewireidccontact&cap9176-400.pdf Jul 15 08:49:16 moin panto Jul 15 08:49:39 hi turkish guy Jul 15 08:50:00 how's life in .gr? Jul 15 08:50:05 mrpackethead: single wire contacts? Jul 15 08:50:11 yup Jul 15 08:50:15 idc Jul 15 08:50:17 will work just fine Jul 15 08:50:34 minimal construction effort Jul 15 08:50:43 mrpackethead: small production? Jul 15 08:50:49 1000's Jul 15 08:51:16 hmm.. why not some real connectors and using pre-confectionated cables? Jul 15 08:51:29 the weather is nice Jul 15 08:51:31 and those wont do AWG12 Jul 15 08:51:39 weekends at the beach or nearby Jul 15 08:51:51 panto: bah! Jul 15 08:52:00 panto: i want a beach nearby too! Jul 15 08:52:11 you have kickass lakes, those are the same right? Jul 15 08:52:13 (snicker) Jul 15 08:52:28 * KotH kicks pantos ass Jul 15 08:52:30 juup ;) Jul 15 08:53:19 no, but the bigger one will Jul 15 08:53:25 and they are real Jul 15 08:53:26 connectors Jul 15 08:53:36 and pre-made connecors dont' help me anyway do they Jul 15 08:53:42 they "shift" the problem Jul 15 08:53:49 remember, i cant' through hole Jul 15 08:54:00 these are good Jul 15 08:54:04 no stripping required Jul 15 08:54:20 you dont' do much large scale work ? Jul 15 08:59:02 mrpackethead: oh.. you need smd only connectors.. Jul 15 08:59:08 well, that restricts a few things ^^' Jul 15 09:00:27 well... for cables we have partners that make them for us. custom and cheap. handling of cables or signle strands is usually more expensive Jul 15 09:01:21 KotH: that does restrict things Jul 15 09:01:26 and your idea of cheap and mine Jul 15 09:01:28 are different Jul 15 09:02:40 :-) Jul 15 09:02:54 mrpackethead: well, we dont build 1usd/pcs boards, usually Jul 15 09:03:06 these are nto $1 Jul 15 09:03:23 but i did build 3M sub $1 assemblys last year Jul 15 09:03:24 our newest project will have components which alone cost >1mio, per board Jul 15 09:04:19 savubg 0.03 cents is imporant Jul 15 09:04:20 :-) Jul 15 09:04:39 KotH: I'm even afraid to ask what it could be Jul 15 09:04:40 *g* Jul 15 09:05:27 kfoltman: a part of the electronics for http://stix.i4ds.ch/ Jul 15 09:06:18 oh one of those Jul 15 09:06:37 did'nt the chinese make one last week Jul 15 09:06:38 :-) Jul 15 09:07:11 :-) Jul 15 09:08:27 mrpackethead: you can only buy them in thousands at dealextreme ;) Jul 15 09:08:40 yup Jul 15 09:08:44 1.49 Jul 15 09:09:01 get the one with teh usb-plug Jul 15 09:09:10 you can connect it to your iphone Jul 15 09:11:50 KotH: sounds... difficult Jul 15 09:12:39 actually, the electronics isnt that difficult Jul 15 09:12:58 the difficult part is that each and every component has to be rad hard and space qualified Jul 15 09:13:20 that restricts your choices quite a bit Jul 15 09:13:33 it's like designin electronics back in the 70s Jul 15 09:43:37 hi panto! could you point me to a use case/example for the PRU rproc support? Jul 15 09:46:04 KotH: that woudl suit you fine Jul 15 09:46:14 KotH: is chocolate rad hard? Jul 15 09:52:20 mrpackethead: why would that suit me? Jul 15 09:52:30 mrpackethead: i guess so, i have never tried irradiated chcolate Jul 15 09:52:32 :) Jul 15 09:52:50 chocolate is space safe Jul 15 09:53:03 i know, they had it on ISS Jul 15 09:53:28 you can use chocolate as a capacistor Jul 15 09:59:59 or as fuel for the mcfusion Jul 15 10:18:50 mhaberler, hi Jul 15 10:19:02 hi! Jul 15 10:19:04 ain't the stuff I put on github enough? Jul 15 10:19:17 let me give you the links Jul 15 10:19:21 the stuff.. wasnt aware of any, just saw the kernel patches Jul 15 10:19:24 ping ka6sox btw Jul 15 10:19:36 mhaberler, https://github.com/pantoniou/testpru Jul 15 10:19:38 the PRU part Jul 15 10:19:52 is he using this for the jtag? Jul 15 10:20:00 ah, instant enligthenment, thanks! Jul 15 10:20:09 the linux part is in the beagleboard kernel Jul 15 10:20:21 https://github.com/pantoniou/linux-bbxm/tree/not-capebus-v32 Jul 15 10:20:26 this is my local working tree Jul 15 10:20:35 now, this stuff is pretty new Jul 15 10:20:57 but that example is using the PRU to get 32 (-8) PWM channels Jul 15 10:21:22 with a few caveats, but the ideas are explained Jul 15 10:21:44 perfect - just trying to find out if/how relevant this could be for LinuxCNC; we use it for stepgens, pwm etc but using the pruss interface Jul 15 10:21:45 'it' = PRU Jul 15 10:21:50 we are going to use that for the jtag, but for high speed we might use assembly for ultimate bitbanging speed Jul 15 10:22:01 the pruss interface I don't like Jul 15 10:22:08 amen Jul 15 10:22:27 there are fundamental problems on how the memory is not coherent Jul 15 10:22:52 the memory.. PRU RAM or 'DDR'? Jul 15 10:22:57 the DDR Jul 15 10:23:15 ah, yes, I saw that syncinc hack, sysfs or so Jul 15 10:23:18 what I discovered was that the internal rams are not arbitrated correctly when PRUs are running Jul 15 10:23:31 so you have to use DRAM Jul 15 10:23:44 hm, need to tell Charles so he dont step into this trap Jul 15 10:24:09 the prutest example also provides a virtual serial port directly to the PRU Jul 15 10:24:24 so if you have to do any kind of cnc code stuff that would be ideal Jul 15 10:24:28 well I'll give it a spin and see if I can make sense and potential use of it Jul 15 10:24:46 you can always send me cnc machine to try that stuff too :P Jul 15 10:25:03 although my wife will kill me if I have something like that in the house :) Jul 15 10:25:06 * KotH wouldnt mind a cnc machine either Jul 15 10:25:06 ;) Jul 15 10:25:25 and unlike the greek guy, my wife wouldnt kill me :-P Jul 15 10:26:07 well do you know Charles' blog? http://bb-lcnc.blogspot.co.at/ - he traces the steps in getting his MendelMax to work, and it does pretty nicely already Jul 15 10:26:36 mhaberler, since you guys actually need the PRU you're a perfect guine^Wvolunteers to try it Jul 15 10:26:51 well that's why I was asking Jul 15 10:27:12 fwiw, the example code is an example Jul 15 10:27:40 it's not optimized extremely to the point that's not useful as an example Jul 15 10:27:52 now that's steppers.. what I'd really love to have is a BB with DSP's.. for servo loops with speeds and precise timings for grownups.. but then this aint Xmas wishlists Jul 15 10:28:10 but the concepts are defined pretty well Jul 15 10:28:20 mhaberler, the PRU does have a MACC unit Jul 15 10:28:23 but farming out the stepgen into an example not tied into linuxCNC would probably appeal to many users Jul 15 10:28:37 but it all depends on how high speed you're asking for Jul 15 10:29:45 fwiw, 16 bitbanged pwm channels in C with a minimum pulse width at 4us (without jitter) was easily done Jul 15 10:29:49 well we do now servo loops in the 1khz (cattle class) to maybe 10kHz (tuned+good hardware); specialized hardware like the deltatau.com controllers go up to a few hundred kHz Jul 15 10:30:01 if you need higher speeds, well, you'll need assembly and something tighter Jul 15 10:30:32 in case anybody stumbles over it: quadrature decoders in the PRU might be popular; the builtins are a tad few Jul 15 10:31:15 but the real issue isnt so much the fp bang as is the timing noise by the linux kernel Jul 15 10:31:50 and PRU code is much easier to make run at precise cycle times Jul 15 10:31:51 PRU is rock solid Jul 15 10:32:37 right.. now my faint wishes for that thing would be fp and a decent C compiler. Jul 15 10:32:37 it all depends on your code, but with C, jitter < 1us is easily achievable Jul 15 10:32:47 mhaberler, there is a compiler Jul 15 10:32:51 that's what I use Jul 15 10:32:53 well pasm Jul 15 10:32:56 right? Jul 15 10:33:04 no, it's TI's internal PRU compiler Jul 15 10:33:15 jkrinder said it's going to be free eventually Jul 15 10:33:17 aha. Tell me more about your mother ;) Jul 15 10:33:26 c'mon, really… Jul 15 10:33:49 it's the beta version, and the code it generates is wtf worthy sometimes, but you can arrange Jul 15 10:33:52 your code Jul 15 10:34:18 now that would be superb! just curious what 'eventually' will translate into Jul 15 10:34:39 is it some gcc derivate? Jul 15 10:34:50 no, it's an msp430 derivative Jul 15 10:35:12 is that a TI-grown compiler code? Jul 15 10:35:19 ti promotes msp430-gcc as the main compiler for the msp's Jul 15 10:35:34 KotH, it might as well be gcc internals Jul 15 10:35:37 I don't know Jul 15 10:35:52 TI has their own proprietary compiler too Jul 15 10:35:52 I see - you know, it's all about intellectual compatibility ;) Jul 15 10:36:00 comes with CCS Jul 15 10:36:01 tbh, PRU is not going to be hard to port to gcc/llvm Jul 15 10:36:18 now, perhaps you'll have to pay for CCS Jul 15 10:36:29 but I care not an iota for that Jul 15 10:36:54 PRU is stupidly simple to generate code for Jul 15 10:36:57 no pipelining Jul 15 10:37:25 Someone making an arduino emulator for the PRU would amuse me. Jul 15 10:37:33 so I assume this will spit out an elf binary which can be loaded/booted with rproc? Jul 15 10:37:35 SpeedEvil, no need for that :) Jul 15 10:37:50 SpeedEvil, there is a project porting arduino to linux userspace Jul 15 10:38:01 the same thing can be then compiled for the PRU Jul 15 10:38:07 panto: I know - I said it would amuse me. Jul 15 10:38:11 Not that it would be sane. Jul 15 10:38:14 hehe Jul 15 10:38:23 mhaberler, yes Jul 15 10:38:31 ah, thats how things fit together Jul 15 10:38:39 It would basically cause an explosion amongst ardiono people. Especially if combined with a board to recycle shields Jul 15 10:38:57 SpeedEvil, ehh, I don't know about the 'recycling part' Jul 15 10:39:10 it might be possible, but you'd lose all the am33xx peripherals Jul 15 10:39:16 it will have to be pure bitbanging Jul 15 10:39:44 well, that is very encouraging news - it really lowers the bar for adding PRU functions Jul 15 10:40:14 I will submit it as one of my cfps for elce :) Jul 15 10:40:16 is there some mailing list / IRC or somesuch I should monitor, or am I in the right spot here? Jul 15 10:40:30 perhaps you can come and heckle ;) Jul 15 10:40:37 mhaberler, you're in the right spot Jul 15 10:40:55 good (now parse for me: cfps, elce please) Jul 15 10:41:13 I claim MBA rights.. Jul 15 10:41:32 cfp=call for paper Jul 15 10:41:40 elce=embedded linux conference europe Jul 15 10:42:09 ah I see.. Nicholas invited me to talk about the LinuxCNC thing there, the Lugano conference in fall? Jul 15 10:42:12 * dm8tbr still lacks a ground breaking idea for a talk submission... Jul 15 10:42:45 we will likely bring a mendelmax 3d printer with a BB running LinuxCNC and driving it as a showofff Jul 15 10:43:07 mhaberler, nope http://events.linuxfoundation.org/events/embedded-linux-conference-europe Jul 15 10:43:13 dm8tbr: Have you considered a bbb powered post-hole-digger? Jul 15 10:43:18 mhaberler, perhaps your conf is about 3d printing Jul 15 10:43:49 no, it's the OSADL real time linux workshop, but I might make it to the elce Jul 15 10:43:51 SpeedEvil: I think I'd even fail at a BBB powered coffee warmer... ;) Jul 15 11:00:06 panto: would this remote proc interface also works with the TI AM33x chips which have an on-board DSP? Jul 15 11:00:25 mhaberler, not yet :) Jul 15 11:00:28 the idea is the same Jul 15 11:00:39 there is already a dsp remote proc Jul 15 11:00:59 but it's geared for omx and rpmsg which is _very_ complicated use case Jul 15 11:01:40 * LetoThe2nd smells omap4 Jul 15 11:01:42 the trick with this PRU driver is that it doesn't use queuing for the control plane Jul 15 11:01:59 instead you having the ability to do upcalls/downcalls Jul 15 11:02:10 which is something like syscalls Jul 15 11:02:22 into userland, or kernel driver land? Jul 15 11:02:31 so the host can 'downcall', which is invoke a function in the PRU Jul 15 11:02:41 and the pru can upcall, in the host Jul 15 11:02:48 kernel land for now Jul 15 11:03:16 hm, well thats a start Jul 15 11:03:33 high speed data transfer is through vrings Jul 15 11:03:40 right, saw that Jul 15 11:03:53 which is zero copy if done properly, and memory coherency is handled correctly Jul 15 11:04:01 dont you trap into the DDR sync issue then? Jul 15 11:04:22 mhaberler, no, cause the sync issue is just a hack for pruss Jul 15 11:04:28 oh my. Jul 15 11:04:33 the kernel already has dma coherency apis Jul 15 11:04:37 I use that Jul 15 11:04:39 jeesh Jul 15 11:05:19 pruss has use cases, but it's not 'right' Jul 15 11:06:05 so, when you transfer to the pru, you dma_map to the device Jul 15 11:06:18 when the pru tranfers back you dma_map from the device Jul 15 11:06:38 it's the same thing your ethernet controller, or any hardware peripheral does that uses dma Jul 15 11:07:02 that's what the kernel thinks PRU is doing anyway (some kind of smart dma) Jul 15 11:07:40 how will that pan (panto ;-?) out, remoteproc replacing pruss as 'recommended' eventually, or are these sideways? Jul 15 11:08:03 pruss is not going to be removed Jul 15 11:08:10 people use that already and is in the mainline Jul 15 11:08:44 remoteproc is complementary mechanism, which can be used to do the software defined peripheral stuff we are talking about Jul 15 11:09:50 well with this up/downcall mechanism - is that really just for loading/booting/stopping or is that a bona-fide API for applications too? I understood the latter Jul 15 11:10:09 it's a generic API Jul 15 11:11:20 hi, Jul 15 11:11:31 remember all that stuff is very new though (linux pwm driver was done on friday) Jul 15 11:11:43 I have seen that some guys were trying to implement TLV320AIC3106 on beaglebone Jul 15 11:11:44 kernel threads for RT applications pretty much will go away I think, and most of the LinuxCNC RT stuff runs in userland RT threads nowadays, so any vehicle considered must be usable from userland Jul 15 11:11:47 yes, I am aware of that Jul 15 11:11:55 so there might be rough edges, dragons, homework eating dogs, etc... Jul 15 11:12:09 Does that merged to current kernel of beagle? Jul 15 11:12:21 just doing telemetry on where things are going eventually Jul 15 11:12:45 well, I plan on doing a userland-pru bridge Jul 15 11:12:55 where the upcalls/downcalls come from userspace Jul 15 11:13:18 but I don't have a use case for that, you guys do Jul 15 11:13:45 and for it to be accepted in the kernel, it has to have a well defined API, since userspace-apis are for ever... Jul 15 11:13:58 Anybody know about TLV320AIC3106 ? Jul 15 11:14:10 the use case in the linuxcnc is to pass down the commanded position to the stepgens, and read back the current positions Jul 15 11:14:13 it's a codec Jul 15 11:14:17 yes Jul 15 11:14:17 I will bring in Charles into the loop Jul 15 11:14:23 bring him over Jul 15 11:14:32 he's a tad IRC shy Jul 15 11:14:41 And some guys were trying to add its Alsa-SoC driver to beaglebone kernel Jul 15 11:14:42 we're gentl^Wtrolls Jul 15 11:14:50 stulluk_, link? Jul 15 11:14:55 LEt me give you Jul 15 11:15:04 https://groups.google.com/forum/#!topic/beagleboard/kUYSrdY9hr0 Jul 15 11:15:28 But that FTP site is down, so I can't get it&check it Jul 15 11:16:20 3.2.0 kernel Jul 15 11:16:37 we're trying to move to more recent ones Jul 15 11:16:37 yes Jul 15 11:17:02 I know, those modifications that is done for TLV320AIC3106 gone ? Jul 15 11:17:03 you can try bring it up to date against the community kernel Jul 15 11:17:13 if it works, we'll include it Jul 15 11:17:35 panto, I am sorry I think there is a misunderstanding Jul 15 11:17:43 panto: I really appreciate the update - thanks Jul 15 11:17:54 I mean, I need those driver for TLV320AIC3106, Jul 15 11:17:55 mhaberler, np Jul 15 11:18:09 and only place I can find was beagle discussion Jul 15 11:18:13 so I need that file, Jul 15 11:18:20 stulluk_, I don't have it Jul 15 11:18:20 can you help me how to find it? Jul 15 11:18:30 Who is that sc-software then? Jul 15 11:18:42 have you tried emailing that guy directly? Jul 15 11:19:03 not tried, I thought those people are in the beagle community itself Jul 15 11:20:24 the community accepts any patch that works and is against the tip of it's kernel Jul 15 11:20:39 a drive by post is not enough Jul 15 11:21:02 Ok, so, it is likely that this driver is not in the current kernel of beagle, right? Jul 15 11:22:16 have you checked in sound/soc/codecs if that part is supported already? Jul 15 11:23:00 anyway, lunch Jul 15 11:35:45 <_SY_> hello Jul 15 12:04:38 * georgem yawns Jul 15 12:15:20 note to self: never offer a phycisist to proof read his diploma thesis ^^; Jul 15 12:15:21 mourning Jul 15 12:15:28 JIHAD, mdp! Jul 15 12:15:39 heh, hi KotH Jul 15 12:15:46 morning Jul 15 12:17:47 mourning! Jul 15 12:18:42 mourning all ;) Jul 15 12:22:37 moaning Jul 15 12:22:51 moarning indeed Jul 15 12:22:52 'urning Jul 15 12:23:15 churning Jul 15 12:23:27 butter? Jul 15 12:23:28 my review of linus git shows significant churn! Jul 15 12:23:30 burning? Jul 15 12:24:15 rome is churning Jul 15 12:28:35 i hope you enjoy the view Jul 15 12:31:24 and perhaps play some fiddle Jul 15 12:32:00 or at least play with some fiddly smd components Jul 15 12:32:03 Wish I could get my hands on an oculus rift. Maybe I could put it on and fool myself into thinking I'm some place other than a cubicle. Jul 15 12:32:15 fiddlywinks Jul 15 12:37:31 georgem: you should take a couple of days of vacation... or maybe a couple of months Jul 15 12:38:20 KotH: yeah... planning on two weeks starting next month. Its been... a while... Jul 15 14:07:10 is there an mlo that works on both BBB and BB? Jul 15 14:07:27 sorry, beaglebone, and beaglebone black Jul 15 14:09:31 bmercer, same images work on BBB & BB Jul 15 14:09:40 so, yes :) Jul 15 14:10:12 ok, and does it, by chance work on the beagleboard as well? Jul 15 14:10:19 no Jul 15 14:10:40 eventually the kernel might support it, but no, not MLO/u-boot Jul 15 14:10:52 ok Jul 15 14:10:56 that's what I thought Jul 15 14:11:07 where's the best place to get the mlo and u-boot? Jul 15 14:11:18 MLO == u-boot Jul 15 14:11:24 so u-boot mainline Jul 15 14:11:31 [kernel] ZubairLK opened pull request #50: Adds continuous sampling patch files only (3.11...3.11-continuous-adc-fixes) http://git.io/gKHUCg Jul 15 14:11:56 yes, I mean the mlo file and the u-boot.bin Jul 15 14:12:50 I think I got them from angstrom Jul 15 14:18:40 u-boot.img Jul 15 14:46:56 morning Jul 15 14:49:43 hi mranostay Jul 15 15:02:23 has anyone been able to compile qt5 for BBB ? are there any compilation notes if any one could refer to? Jul 15 15:08:17 BBB is not a Linux distribution Jul 15 15:08:22 so stuff doesn't really get compiled for it Jul 15 15:10:04 I am looking for information on configuring a usb wifi device, specifically where to set which access point it connects to and the password. can anyone point me in the right direction? Jul 15 15:13:33 systemG3000 is that beagleboard specific? Jul 15 15:14:50 this is on a beaglebone black. the methods i have found, such as to update /etc/network/interfaces or /var/lib/connman/settings do not seem to work Jul 15 15:16:36 there is a /var/lib/connman/wifi_[some id string]_managed_psk/settings that appears Jul 15 15:18:09 that showed up after I edited /var/lib/connman/settings and restarted. but in that created settings file, the SSID is just a number and not the name, and well, it doesn't connect so i have to say it doesn't work Jul 15 15:25:43 systemG3000 you need the right software which hostapd Jul 15 15:29:03 isn't that just to make it an access point? i just want it to be a regular wireless client on my wifi lan Jul 15 15:29:26 sorry for the confusion Jul 15 15:29:34 they claim it yes, but I do not found a tutorial with google Jul 15 15:30:00 you need wpa_supplicant to be a client Jul 15 15:36:26 anyone here have a beaglebone black and a Bacon Cape? Jul 15 15:36:37 smoke tests? Jul 15 15:36:39 * jkridner i do Jul 15 15:36:40 prpplague, I do Jul 15 15:38:41 hm I find nothing in the source code of conman to setup an accesspoint Jul 15 15:39:06 woglinde, I doubt it Jul 15 15:39:25 connman deals with clients Jul 15 15:40:58 panto there is tethering support for wifi Jul 15 15:41:24 woglinde, no idea Jul 15 15:41:43 connman is something that I've been avoiding for long Jul 15 15:42:12 panto I do not use it either Jul 15 15:42:26 but I was suprised Jul 15 15:42:35 that it should have this feature Jul 15 15:42:42 panto / jkridner hehe neither of you count Jul 15 15:42:52 prpplague, /me sad face Jul 15 15:43:33 panto: i greatly doubt you are interesting in compile arduino sketches for beagle Jul 15 15:43:55 hehe Jul 15 15:43:59 panto: btw, i need some tweaks to the bacone dtbo Jul 15 15:44:10 shoot Jul 15 15:46:01 i need to find a few die hard arduino guys to send a black+bacon to for evaluation Jul 15 15:46:46 time to go home Jul 15 15:46:54 till later maybee Jul 15 15:47:46 so wpa_supplicant is how i configure wifi? Jul 15 15:54:33 if you are using wpa on the router, that's how you configure security Jul 15 15:54:58 prpplague: bacone? is that a scone with bacon? Jul 15 15:55:03 things like dhcp vs static IP are addressed elsewhere Jul 15 15:57:56 mranostay: something like that Jul 15 15:58:15 mranostay: that is panto 's gee-whiz name for the educational configuration for the Bacon Cape Jul 15 15:58:42 * mranostay now knows why panto is a engineer and not in marketing :P Jul 15 15:58:44 I dub me 'he who sucketh at naming' Jul 15 16:02:10 :/ Jul 15 16:05:36 mranostay, lol, bacon scone sounds good Jul 15 16:06:54 mranostay, you can tell he's bad at naming when he continues to carry the verboten word, "bus", in his branch names Jul 15 16:09:01 heh panto is old what you expect Jul 15 16:25:57 panto: i need a couple small tweaks to the bacone, the three gpios for the 7segment need to be configured so that the direction can be set, not just configured by default as outputs Jul 15 16:26:53 err, aren't they outputs? Jul 15 16:28:06 panto: yes they are, but we need to test all aspect of the userspace-arduino code, including the code that sets the direction Jul 15 16:28:28 setting the direction is not as easy Jul 15 16:28:37 it's a more involved Jul 15 16:29:31 felipebalbi, have you gotten mmc to work on 3.11-rc? Jul 15 16:30:50 panto: with bone ? IIRC it's working, I'll re-check tomorrow Jul 15 16:30:51 prpplague, ok, I'll see what I can do Jul 15 16:30:57 panto: have been really busy with USB3 on omap5 Jul 15 16:31:10 panto: at least now I have my USB3 driver working without IRQF_ONESHOT, which is nice :-) Jul 15 16:31:36 I am at a loss at how a driver would require IRQF_ONESHOT to work :) Jul 15 16:32:04 felipebalbi, well, I have a feeling the mmc driver is racy Jul 15 16:32:21 and/or edma patches have broken again Jul 15 16:32:40 panto: quite frankly, OMAP HSMMC is SDHCI compatible Jul 15 16:33:03 panto: I have already brought hell on earth because *nobody* has realised that over the past 6 years that we have been maintaing omap_hsmmc Jul 15 16:33:17 panto: ps: I'm not the OMAP MMC maintainer, never have been Jul 15 16:33:32 felipebalbi, I know, but you're the only one I can find handy to bitch about it Jul 15 16:33:38 Hello, quick question, is it possible to use one of thesehttp://www.bestbuy.com/site/Canvio+3.0+1TB+External+USB+3.0/2.0+Portable+Hard+Drive/4668013.p;jsessionid=DA0A68137319787C6D71372BB0069A6C.bbolsp-app01-183?id=1218501058015&skuId=4668013&st=external hard drives&cp=1&lp=5 Jul 15 16:33:42 http://pastebin.com/VE1hH4pc Jul 15 16:33:45 panto: lol :-) Jul 15 16:33:49 and put my OS on it Jul 15 16:33:57 used to work, then stopped working, then it's $RANDOM Jul 15 16:34:18 I just want to use the external harddrive as my operating system Jul 15 16:34:28 is that possible or will it lag like sheesh Jul 15 16:34:44 panto: I've seen a similar report on a completely unrelated architecture about MMC Jul 15 16:34:50 panto: so maybe it's not omap_hsmmc at all Jul 15 16:35:05 panto: maybe, just maybe, Linux MMC framework sucks a li'll bit :-p Jul 15 16:35:05 perhaps they've changed something in the mmc stack Jul 15 16:36:17 panto: i think hatguy was wanting the other PWM's setup as well, but i'll check on that later Jul 15 16:36:34 felipebalbi/panto, do you have a test case that can be tried elsewhere? Jul 15 16:37:13 mdp: testcase for what my dear treacherous friend :-) Jul 15 16:37:18 lol Jul 15 16:37:29 for this supposedly racy mmc stack ;) Jul 15 16:37:32 *ahem* Jul 15 16:37:53 prpplague, panto yepp... anujdeshpande wanted them..... Jul 15 16:38:01 it's working fine for simple use on my new platform using the sdhci driver..but not anything ambitious running on it Jul 15 16:38:03 I quite the beaglebone mailing list two weeks ago, but I am still getting email -- rafts of it each day. How can I stop that? Jul 15 16:38:22 hatguy, it's exactly the same as the pwm* examples in the beagle kernel Jul 15 16:38:39 felipebalbi, I am most treacherous though, agreed ;) Jul 15 16:38:59 mdp: unfortunately, I don't have a testcase for that :-( Jul 15 16:39:22 my testcase if booting bone with the latest kernel and watching the fireworks Jul 15 16:39:42 panto: hey, what are you complaining about ? there are fireworks :-) Jul 15 16:39:50 panto: open a beer and f-ing celebrate :-p Jul 15 16:39:50 felipebalbi, can I gloat for a moment about my bcm board already booting/rooting from mmc in mainline? :) Jul 15 16:39:57 panto, ahh... ok... so we just add those of them not present in the bacon overlay from their respective individual overlays? Jul 15 16:40:02 anujdeshpande ^^ Jul 15 16:40:07 mdp: ahem, I have omap5 uevm doing that Jul 15 16:40:23 hatguy, yes Jul 15 16:40:30 panto, ok great! Jul 15 16:40:38 hatguy: thanks Jul 15 16:40:38 mdp: wait a minute, mainline vanilla ? vanilla v3.11-rc1 ? Jul 15 16:40:42 mdp: nothing else on top ? Jul 15 16:40:49 felipebalbi, could have am335x doing that if omap_hsmmc wasn't so poorly written to depend on dma support Jul 15 16:40:54 anujdeshpande, np Jul 15 16:41:10 mdp: I have been working to get rid of omap_hsmmc and switch over to sdhci Jul 15 16:41:16 mdp: quite a bit of work though Jul 15 16:41:19 smart! Jul 15 16:41:29 mdp: the thing doesn't work without DMA... Jul 15 16:41:49 yeah, unfortunately, everything is a nightmare once you have the full featured thing upstream Jul 15 16:42:09 mdp: send me a cheap ass platform, when you have time :-p Jul 15 16:42:23 felipebalbi, doesn't exist..I wonder if one will Jul 15 16:42:35 mdp: pfff, so you're supporting thin air in mainline ? Jul 15 16:42:39 mdp: dafuq!?! Jul 15 16:42:42 heh Jul 15 16:42:52 well, unless you grab a galaxy s2+ (which isn't in the .us market) Jul 15 16:43:18 felipebalbi, cheap ass platform doesn't exist ;) usual expensive ref brd Jul 15 16:43:32 mdp: K, I can take one of those too Jul 15 16:43:33 :-p Jul 15 16:43:38 anyway, gotta go Jul 15 16:43:41 it's almost 8pm here Jul 15 16:43:45 I'll use my incredible influence Jul 15 16:43:51 you guys take care Jul 15 16:43:56 cheers Jul 15 16:43:58 cya Jul 15 16:47:35 I quit the beaglebone mailing list two weeks ago, but I am still getting email -- rafts of it each day. How can I stop that? Jul 15 16:48:07 Spam filter. Jul 15 16:48:20 unsubscribe? Jul 15 16:48:35 unsubscribe conf probably went to span as alluded above Jul 15 16:48:40 spam, even Jul 15 16:50:25 Yes I could use a spam filter. But that wastes bandwith, etc. The mailing list is broken. Someone needs to fix it. Jul 15 16:50:50 Unsubscribe does not work. I followed the instructions four times. Jul 15 16:51:10 DanJ, bug google about it Jul 15 16:51:19 it's google's service isn't it? Jul 15 16:51:32 I have contacted google twice. Jul 15 16:51:36 No response Jul 15 16:56:08 so 3.11-rc oscillates between crashing and hanging Jul 15 16:58:59 bah Jul 15 16:59:01 afk Jul 15 17:01:10 panto, good enough for government work? Jul 15 17:01:24 boring, no smoke Jul 15 17:07:53 hi Jul 15 17:08:15 will beaglebone black run windows RT? Jul 15 17:18:31 sorta defeats the purpose to use an OS which costs more than the hardware Jul 15 17:19:06 well, I have MSDN access Jul 15 17:19:15 and I am linux challenged Jul 15 17:20:03 you also have Google access Jul 15 17:20:23 yeah, I searched Bing Jul 15 17:20:30 I'll try google Jul 15 17:20:56 this channel is 99.99% full of linux people..you are unlikely to every get RT help here Jul 15 17:21:05 s/every/ever/ Jul 15 17:21:12 really? Jul 15 17:21:14 wow Jul 15 17:21:19 yep Jul 15 17:21:40 I dont want help, I just want to know if it will run the OS Jul 15 17:21:53 it's just s/w...anything can run on it Jul 15 17:22:15 it will not run the OS because it does not have support from msft Jul 15 17:22:18 no drivers, etc Jul 15 17:22:26 ok, thanks max Jul 15 17:22:31 but it could ;) Jul 15 17:22:33 it's just s/w Jul 15 17:22:38 everything is s/w Jul 15 17:22:40 with access to the source code Jul 15 17:22:42 what? Jul 15 17:22:42 sure Jul 15 17:22:57 that's why I crack up when I hear a h/w person state 'we'll fix it in s/w' Jul 15 17:23:03 panto, h/w is s/w, cats and dogs living together.. Jul 15 17:24:09 mass hysteria Jul 15 17:24:19 fwiw, the question has been answered before on the beagle google group Jul 15 17:24:30 perhaps bing doesn't work as well as google for searches Jul 15 17:24:31 surprise Jul 15 17:25:29 :DS Jul 15 17:33:14 is http://beagleboard.org/linux correct with the link to the prebuilt toolchain? Jul 15 17:33:54 and why oh why would I ever untar something as root to /? Jul 15 17:34:19 jkridner, ^^^ ? Jul 15 17:36:00 bradfa, the dates on everything in .../toolchains/ is frighteningly ancient. Jul 15 17:36:51 mdp, May 2013 isn't that old Jul 15 17:36:59 but that's not what's shown on beagleboard.org Jul 15 17:37:14 right..isn't that the two weird non-tarball ones? Jul 15 17:37:14 angstrom-eglibc-x86_64-armv7a-vfp-neon-v2012.12-toolchain.gz looks like a decent choice Jul 15 17:37:19 dunno Jul 15 17:37:27 everything else that is a tar.foo is 2011 Jul 15 17:37:29 downloading ...s s ll oo ww ll yy.... Jul 15 17:37:34 mdp, yes Jul 15 17:37:39 * bradfa is confused Jul 15 17:37:51 makes you wonder about that inconsistency, eh? Jul 15 17:38:15 oh, there's the 2012.05 one, too Jul 15 17:38:17 hmmm Jul 15 17:38:32 * bradfa likes examples with armv5te Jul 15 17:38:43 exactsteps seem hard to keep up to date... Jul 15 17:38:57 such is the nature of #exactsteps Jul 15 17:39:10 mdp, it's a good irc channel, though Jul 15 17:40:40 http://marc.info/?l=linux-kernel&m=137390362508794&w=2 Jul 15 17:42:10 +1 Jul 15 17:46:01 if I want a prebuilt cross toolchain for angstrom, which will produce executables for my bbb, which one should I pick? are the 2011.03 ones really the right ones? Jul 15 17:47:06 * KotH roars Jul 15 17:47:11 * bradfa runs from KotH Jul 15 17:47:21 .o0(acheivment unlocked) Jul 15 17:47:30 mdp: reading the next mail in that thread makes me picture Linus sitting at his desk wearing a Darth Vader mask Jul 15 17:50:15 wmat, indeed Jul 15 17:51:03 wmat: that is leading to a fun day today :/........ Jul 15 17:51:57 >. Jul 15 17:52:08 >.. Jul 15 17:52:56 * bradfa is excited about better #exactsteps on sending patches, though :) Jul 15 17:53:19 notify me when it happens Jul 15 17:53:23 * wmat doubts it will happen Jul 15 17:53:36 sending patches to what? Jul 15 17:53:44 I have this convoluted guide for my own team that cites all the conflicting existing docs Jul 15 17:54:06 it's all quite inadequate Jul 15 17:54:27 bradfa, remember what we just said elsewhere about #exactsteps being outdated so fast? ;) Jul 15 17:56:24 mdp, yes Jul 15 17:56:30 good fun Jul 15 17:57:19 bradfa, out approach is to document the simple case and procedures..and review before things escape Jul 15 17:57:22 s/out/our/ Jul 15 17:57:52 especially since you will find conflicting wants from each maintainer at the detail level Jul 15 17:59:31 djlewis: yeeehah Jul 15 18:19:43 lo peeps Jul 15 18:22:51 how do i configure a usb wifi device to connect to my home wifi network? on a beaglebone black Jul 15 18:23:57 the same way as you would do it on your desktop Jul 15 18:25:15 KotH: what configuration file do i need to edit? it seems to be different for different operating systems. Jul 15 18:25:32 uh.. Jul 15 18:25:42 i dont know every os on earth Jul 15 18:26:02 <_SY_> hello Jul 15 18:26:21 echo Jul 15 18:26:33 KotH: do you happen to know how to configure wifi on the OS that the beagle bone black uses, angstrom linux? that is the essence of what i am asking. apparently i have not been clear. Jul 15 18:27:45 systemG3000: uhmm.. nope, i dont know angström, and just for reference: angström is a distro, not an OS. and you can use a ton of different distros on your bbb.... Jul 15 18:28:14 but i'm quite sure that this is answered on the internet somewhere already Jul 15 18:28:33 (at least the question seems to pop up every week or so) Jul 15 18:28:47 mranostay: gm dude Jul 15 18:28:55 if i had a means of payment, i would offer a bounty on a link to a tutorial method that works on the particular version of the distro m ine came with Jul 15 18:29:26 <_SY_> systemG3000: What sort of thing are you try to do? Jul 15 18:29:54 systemG3000: you dont have access to anything i would consider worth getting ;) Jul 15 18:30:07 _SY_: configure wifi on angström Jul 15 18:30:25 _SY_: well, i have this beaglebone black, and a wifi module that i bought from adafruit. the module seems to work, but i can't figure out how to set it up to connect to my home router. Jul 15 18:30:29 <_SY_> oh...this did come up yesterday and the day before. Jul 15 18:30:59 <_SY_> first off....have before thinking about BBB, have you connected with an RJ45 cable to the BBB? Jul 15 18:31:02 and friday Jul 15 18:31:11 i expect it's a common issue. once i figure it out i plan to document it on my blog, you'd be welcome to link to it, hopefully you could avoid having the question asked repetetively Jul 15 18:31:13 <_SY_> If not do this first and make a note of the MAC address reported by typing ifconfig Jul 15 18:31:32 <_SY_> then you can check your router to see if the MAC address appears in the Attached Devices list. Jul 15 18:31:34 systemG3000: pester koen and panto, they should know Jul 15 18:31:50 systemG3000: these are our masters of angström Jul 15 18:32:16 <_SY_> g2g, daughter needs my system to do homework Jul 15 18:32:40 _SY_: yes, i can connect to it via ethernet, i have been ssh'd in that way since the beginning Jul 15 18:33:14 systemG3000: if you have systemd you could do something like http://pastebin.com/8fbXFiL6 Jul 15 18:33:45 systemG3000: put those files on the target and reboot Jul 15 18:34:02 so systemd installs the network hotplug service Jul 15 18:34:55 <_SY_> That was fast :) Jul 15 18:35:54 (repeat) _SY_: yes, i can connect to it via ethernet, i have been ssh'd in that way since the beginning Jul 15 18:36:26 <_SY_> ok, so if you know the MAC address...do you have any WiFi security enabled in your router? Jul 15 18:36:51 <_SY_> as I'm not sure how you go about putting in WPA or WEP details into BBB. Jul 15 18:37:14 _SY_: darn! that's the part i'm most in need of! oh well Jul 15 18:37:51 <_SY_> I don't think its a BBB or Angstrom specific problem, google Linux and WPA / WEP. Jul 15 18:37:56 I have a question, canyone help me? Jul 15 18:38:26 yes, somebody can help Jul 15 18:38:43 I want to buy an external hard drive 1TB Jul 15 18:38:51 it's 3.0 backwards compatible Jul 15 18:39:00 to 2.0 I think Jul 15 18:39:13 <_SY_> Try this: http://www.enterprisenetworkingplanet.com/netsecur/article.php/3594946/Linux-on-Your-WLAN-Configure-WPA.htm Jul 15 18:39:14 can I install an operating system on that and run it off the external? Jul 15 18:39:19 http://www.catb.org/~esr/faqs/smart-questions.html Jul 15 18:39:55 mdp was that your answr? Jul 15 18:40:02 mdp, howdy!!!!! Jul 15 18:40:20 itlendedifficult, that's my suggestion to your first line Jul 15 18:40:46 mdp you confused me by using a link to how to ask a question in response to the question Jul 15 18:40:53 wmat: ping Jul 15 18:40:55 all usb3 peripherals are usb2 backward compatible..so yes, it would work with a BBB port with proper cabling Jul 15 18:41:32 my main 2 questions are, will it lag considering the data transfer rate of newer technology ext hard drives Jul 15 18:41:43 it will operate at usb2 speeds Jul 15 18:41:57 and in addition to that, would there be a benefit to it Jul 15 18:42:15 instead of installing over angstrom on the flash drive Jul 15 18:42:19 benefit versus what? Jul 15 18:42:49 performance could different between makes depending on the quality of the usb peripheral mass storage controller Jul 15 18:43:09 too many variables in this equation to solve for X Jul 15 18:43:19 joel_, hello Jul 15 18:51:18 mranostay, what happened to your bbb rs232 "cape" for uart0? Jul 15 18:51:26 can I give you money and have you ship me one? Jul 15 19:00:27 <_SY_> quiet isn't it? Jul 15 19:01:03 <_SY_> tumble weed.... Jul 15 19:02:38 <_SY_> nite all Jul 15 19:05:07 bradfa: only when you get a real camera :P Jul 15 19:05:37 mranostay, have you tested that design yet? Jul 15 19:05:39 mranostay, well, guess I'm going to wait a while :) Jul 15 19:05:56 mranostay, I also am interested in a few of those boards..except for your weird DIP use Jul 15 19:07:22 bradfa, I recall av500 herassing mranostay about the max2232 DIP footprint Jul 15 19:08:21 * bradfa likes DIP Jul 15 19:08:47 breadboards like DIP Jul 15 19:09:25 I've tried to convince mranostay that hand-soldering SMD stuff is actually easier than DIP one he accepts the different process Jul 15 19:09:34 once Jul 15 19:10:01 mdp, fair enough Jul 15 19:10:39 flux and drag is pretty darn quick IMHO Jul 15 19:10:56 maybe he resists due to the pain of placing the part Jul 15 19:11:11 i had MAX2232 samples already goddammit :) Jul 15 19:11:20 ok ok Jul 15 19:11:20 ;) Jul 15 19:14:59 but with DIP you can put stuff on perf board, you can socketize chips, etc. Jul 15 19:15:36 the context was a new pcb design Jul 15 19:15:43 not prototyping Jul 15 19:16:59 but he had DIP samples so that's what matters ;) Jul 15 19:17:09 oh Jul 15 19:17:31 mranostay, did you make that design public? I'd like to modify for the smd packages I have and do a run Jul 15 19:25:00 mdp: not really. probably simpler to just redo it :) Jul 15 19:25:04 like 4 parts :) Jul 15 19:26:14 I never do anything from scratch..too busy/lazy Jul 15 19:26:50 max2232, 5 caps, and connectors? Jul 15 19:26:55 always easier to change one part/footprint ;) Jul 15 19:27:19 especially if you already did a trimmed optimized outline for me Jul 15 19:41:29 jkridner: going to oscon? Jul 15 19:41:38 yes Jul 15 19:43:10 * mranostay hides from jkridner Jul 15 19:43:59 mdp: nice Rome reference Jul 15 19:44:31 mranostay, you shall churn with them Jul 15 19:48:13 hai guise, do you think it's possible to power a BBB using a single 7805? Jul 15 19:48:46 as in, is maximum reasonable current that 7805 can output sufficient to power the BBB? Jul 15 19:50:36 7805 gives up to 1A so yes, but why? There are better alternatives Jul 15 19:51:01 Defiant: I just happen to have a 7805 in my drawer, that's it Jul 15 19:51:24 and don't need 'perfect' for this, just robust/cheap/simple Jul 15 19:51:43 its not going to be cheap on the power side Jul 15 19:51:52 as in, power consumption? but that's ok Jul 15 19:52:57 Basically, what I'm thinking off is putting the Bone + audio/codec board inside my old (t)rusty Roland PC200 MIDI keyboard Jul 15 19:53:03 thinking *of Jul 15 19:53:35 it runs off a 9V power supply (or a 9V battery, but that won't be sufficient for BBB anyway) Jul 15 19:56:48 hi Jul 15 19:57:13 I have been having a problem loading a device tree overlay in BBB Jul 15 19:58:50 Defhammer: any more details? Jul 15 19:59:12 when I use echo $SLOTS > example Jul 15 19:59:24 what kind of overlay, any error messages/atypical dmesg output? Jul 15 19:59:25 I get "no such file or directory Jul 15 19:59:46 but when I do cat $SLOTS it works Jul 15 19:59:54 and what's example? Jul 15 20:00:09 the dtbo overlay Jul 15 20:00:22 what's $SLOTS and why are you echoing it to a file called example? Jul 15 20:00:47 example is just an example Jul 15 20:00:56 the real file is multic-7 Jul 15 20:01:07 and there's a file called multic-7 in your current directory? Jul 15 20:01:20 and the file is in /lib/firmware Jul 15 20:01:49 the dtbo file Jul 15 20:02:04 g'night Jul 15 20:03:02 Defhammer: I've never tried loading device tree overlays before, but sounds like you're possibly sending the wrong thing to the wrong place Jul 15 20:03:35 I could be but I have followed multiple examples and they tell me to do the same thing Jul 15 20:04:04 what they tell me is to put the dtbo file in the /lib/firmware dir Jul 15 20:04:05 so you're sending the dtbo name to /sys/devices/bone_capemgr./slots ? Jul 15 20:04:11 yes Jul 15 20:04:23 does that /sys/devices blah blah thing exist? Jul 15 20:04:31 yes it does Jul 15 20:04:38 I am able to use cat on it Jul 15 20:04:39 Check if you're using the correct number Jul 15 20:04:46 I did Jul 15 20:04:46 as opposed to * as in this example Jul 15 20:05:23 I did Jul 15 20:05:44 so what's the dmesg output? Jul 15 20:06:25 I put Angstrom-Cloud9-IDE-GNOME-eglibc-ipk-v2012.12-beaglebone-2013.06.17.img onto an SD card but my beagleBone still boots up the Ubuntu, that I installed once on the EMMC. How can I force it to boot from SDcard? Jul 15 20:06:56 nothing Jul 15 20:07:06 Holly: do you have the image on the second partition of the SD card? Jul 15 20:07:30 Defhammer: can you do ls -l ? Jul 15 20:07:35 without <>s of course Jul 15 20:07:49 give me a sec Jul 15 20:08:17 I think the "no such file or directory" refers to the path you're writing to in this instance, because echo doesn't read the file, it just outputs a string Jul 15 20:08:34 the card should be fine, I just flashed the image with win32 Disk Imager, which creates the ext3 and the boot sector itself Jul 15 20:08:50 brb Jul 15 20:09:22 I could try to boot it up with pressed button, but I definately do not want to mess up my ubuntu on EMMC Jul 15 20:09:39 Holly: well, I think what uboot expects is that the first partition is the FAT partition (and perhaps it needs a uEnv.txt file there, but I'm not 100% sure), and the second partition is ext2/ext3/ext4 with root filesystem Jul 15 20:10:14 Holly: get a 3.3V USB TTL serial cable if you don't have it, by the way - very helpful in dealing with uboot problems Jul 15 20:11:22 I try to move the MLO from the emmc away, which hopefully forces the BBB to boot from SD Jul 15 20:11:26 no Jul 15 20:11:27 don't do that Jul 15 20:11:52 i got the cable Jul 15 20:12:19 never a good idea, and besides, I got BBB to boot from SD (buildroot, not Angstrom) yesterday without messing with MLO Jul 15 20:12:27 I mean, deleting MLO is never a good idea Jul 15 20:13:22 ok Jul 15 20:13:22 it showes me now the FAT boot partition of ubuntu that is installed on my EMMC Jul 15 20:13:27 i am back Jul 15 20:13:32 So, anyway, you can connect your serial cable (GND/TX/RX only) to the BBB, run any sort of serial terminal on your PC, and press a key just after it starts booting, before it starts loading the kernel (you have about 1s to do that, but it's easy) Jul 15 20:13:55 ls /sys/devices 44e10800.pinmux bone_capemgr.8 fixedregulator.9 platform software virtual ARMv7 Cortex-A8 breakpoint ocp.2 soc.0 system Jul 15 20:14:20 Defhammer: and what about ls -l /sys/devices/bone_capemgr.8/slots ? Jul 15 20:15:01 ls -l /sys/devices/bone_capemgr.8/slots -rw-r--r-- 1 root root 4096 Jan 1 00:05 /sys/devices/bone_capemgr.8/slots Jul 15 20:15:38 Defhammer: so what happens if you write the name of your DTO to /sys/devices/bone_capemgr.8/slots ? Jul 15 20:16:06 kfoltman, what was Geralds solution to getting the BBB booting from SD card . . . removing MLO from the eMMC lol Jul 15 20:16:20 kfoltman, i nearly scolded him on the groups but decided not to Jul 15 20:16:43 m_billybob: well, maybe it's necessary in *some* cases, certainly wasn't in mine Jul 15 20:16:51 never necessary Jul 15 20:17:01 uEnv.txt <--- this is what it exists Jul 15 20:17:35 Holly: So, if I understand it correctly, the uboot boot script works by checking if the MMC card is plugged in, and trying to find /boot/uImage and /boot/am335x-boneblack.dtb on the second partition of format ext2 Jul 15 20:17:44 Holly: it's more complex but that's basically the general idea Jul 15 20:18:13 err this is why is exists uEnv.txt that is Jul 15 20:18:53 Holly: and yes you can override it by having uEnv.txt on the first partition, but before you start doing that, you might want to get more familiar with uboot command-line Jul 15 20:18:58 give me a sec I am going to use a example overlay Jul 15 20:20:03 kfoltman, yes, familiarizing ones self with uEnv.txt / uboot IMHO is a necessity took me a week of reading, testing before it sank in for me. but super glad I did now Jul 15 20:20:04 how can I get my serial connection to the BBB when even the Kernel isnt loaded? I can access with a terminal once the distribution loaded with SSH or serial. But how should I do your suggestion? I get an error trying to set up my com port, when nothing is connected. Jul 15 20:20:21 Holly: you can talk to uboot, which starts before the kernel Jul 15 20:20:22 Holly, uboot handles that Jul 15 20:21:03 Holly: just set the port to 115200, 8 bit, none, 1 stop bit, and you should be able to see output from uboot as soon as you release the reset button Jul 15 20:21:13 Holly: you're using beaglebone black right? Jul 15 20:21:22 right Jul 15 20:23:07 kfoltman by-the-by have you got around to netbooting yet ? Jul 15 20:23:08 m_billybob: anyway, the current set-up is almost working now - booting from the micro SD works, USB interfacing with STM32 works, audio output works (via STM32 and board's codec), MIDI works too - if I get all the sound banks onto it and perhaps make it more robust, I have a working MIDI instrument :) Jul 15 20:23:19 m_billybob: switched to SD for now Jul 15 20:23:45 USB interfacing with STM32 ? Jul 15 20:23:54 your connecting one dev board to another ? lol thats cool Jul 15 20:24:27 m_billybob: I have this STM32F4DISCOVERY dev board which has a built in audio codec and things like ADC, spare UART and GPIO... and it's harder to fry than BBB itself Jul 15 20:24:29 awesome Jul 15 20:24:49 although I've fried a similar (but F303-based) board 2 days ago *ashamed* Jul 15 20:25:04 ewps Jul 15 20:25:26 still, not as bad/expensive as if I fried the BBB Jul 15 20:25:27 it seem i got crap in dmesg Jul 15 20:25:31 I have a freescale FRDM KL25Z ive yet to toy with Jul 15 20:26:03 kfoltman whats the OSS toolchcain for STM32 look like ? I mean is there a gcc port ? and is it decent ? Jul 15 20:26:09 there is Jul 15 20:26:14 remote debugging is a little bit of pain Jul 15 20:26:30 through gdb or somethign else ? Jul 15 20:26:31 still haven't found a way to query registers without writing ugly gdb scripts Jul 15 20:26:40 gdb + st-util Jul 15 20:26:45 hmmm Jul 15 20:26:49 or gdb + openocd Jul 15 20:26:58 no BMP ? Jul 15 20:27:06 ( black magic probe ) Jul 15 20:27:09 that works too Jul 15 20:27:21 I only have the built in SWD on the discovery board Jul 15 20:27:33 I'm sure there are better options, one just needs to pay for them Jul 15 20:27:39 sure . . . Jul 15 20:27:45 you can put the BMP firmware onto the st-link µC Jul 15 20:27:46 or at least write some extra code Jul 15 20:27:50 there's no way back though Jul 15 20:27:54 dys: oh? Jul 15 20:28:10 http://embdev.net/articles/STM_Discovery_as_Black_Magic_Probe Jul 15 20:28:37 I mstill kind of new to embedded development. Most of my experience is with the MSP430. although I have some experience with Rabbit Semi, and one of the older stellaris boards from TI Jul 15 20:28:41 lots to learn . . . Jul 15 20:29:05 the BBB is eating up quite a large portion of my free times Jul 15 20:29:07 time* Jul 15 20:29:10 dys: !!!!! Jul 15 20:29:18 i think I found another problem Jul 15 20:29:41 i keep getting this in dmesg Jul 15 20:29:44 [ 111.156670] [drm:output_poll_execute], [CONNECTOR:5:HDMI-A-1] status updated from 1 to 1 Jul 15 20:30:05 thats normal i think Defhammer Jul 15 20:30:44 koen or panto could tell you for sure, but thats bnot the first time ive seen that message Jul 15 20:31:13 I have another BBB with Debian on the EMMC, same problem there, it does not want to boot up angstrom from the card. But I got an ArchLinux distribution on a SDcard that is always able to boot. Thats strange, I try to compage the uEnv of the ArchLinux distro and Angstrom distro. Jul 15 20:31:35 compare* Jul 15 20:32:01 * m_billybob boots Debian from sd Jul 15 20:32:10 angstrom still on the emmc Jul 15 20:32:55 I have had nothing but favorable results using Debian. Jul 15 20:34:22 Holly: check for the /boot directory on second partition, really Jul 15 20:34:33 kfoltman, so what are you doing with such a combination ? or can you talk about it. If anythign like me, for now, just to do it lol Jul 15 20:36:07 my uEnv of the AngstromCardDistro has just "optargs=run_hardware_tests quiet" this inside Jul 15 20:36:11 m_billybob: basically, it's a MIDI instrument - it takes MIDI (via STM32 UART), sends it via USB to BBB, then BBB does the rendering, sends audio data back to STM32 via USB, and STM32 outputs the audio data through the discovery board's cs43l22 codec Jul 15 20:36:27 m_billybob: basically, it's probably the cheapest/easiest to build hardware MIDI instrument, ever ;) Jul 15 20:37:00 Holly, technically, you *should* be able to use the same uEnv.txt file that you used to boot Debian from SD initially Jul 15 20:37:10 Holly, if you followed RCN's instructions Jul 15 20:37:37 m_billybob: well, you could probably use beaglebone's own I2S and UART, but then you need to either make a cape (more complicated) or use an existing audio cape (probably more expensive) Jul 15 20:37:57 not quite sure if angstrom uses the same zImage etc, or if any rootfs difference would hinder that though Jul 15 20:38:02 uImage Jul 15 20:38:04 :) Jul 15 20:38:13 yeah uboot doesnt care Jul 15 20:38:21 I use uImage too Jul 15 20:38:26 since i boot over a network Jul 15 20:38:28 the format is different, isn't it? Jul 15 20:38:39 ok I am back Jul 15 20:38:40 I think uImage is uncompressed and that is all Jul 15 20:38:40 or does uBoot handle zImage too? Jul 15 20:38:44 but not possitive Jul 15 20:38:54 yes it does Jul 15 20:39:00 ah ok Jul 15 20:39:02 I thought it work but it did not Jul 15 20:39:26 I think uImage uses some weird encapsulation format Jul 15 20:39:40 so cat $SLOTS Jul 15 20:39:41 that requires some linaro tools to build Jul 15 20:39:48 0: 54:PF--- 1: 55:PF--- 2: 56:PF--- 3: 57:PF--- 4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G 5: ff:P-O-L Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI Jul 15 20:39:58 kfoltman my understanding is this. uImage is uncompressed, zImage ( and this is jusrt a guess on my part ) is gziped Jul 15 20:40:13 im not 100 Jul 15 20:40:17 % sure Jul 15 20:40:20 echo $SLOTS > DM-GPIO-Test -sh: DM-GPIO-Test: No such file or directory Jul 15 20:40:47 Defhammer are you on Angstrom ? Jul 15 20:40:52 yep Jul 15 20:41:01 on the eMMC Jul 15 20:41:17 through ssh Jul 15 20:41:27 what does cat /lib/firmware/DM-GPIO-Test* say ? Jul 15 20:42:14 þíÐ88("ti,beagleboneti,beaglebone-black DM-GPIO-Test00A0fragment@0Þ­¾ï__overlay__DM_GPIO_Test_Pins(&x /470'$/:@fragment@1Þ­¾ï__overlay__helperbone-pinmux-helpeHdefaultV`okay:@__symbols__*g/fragment@0/__overlay__/DM_GPIO_Test_Pinst/fragment@1/__overlay__/helper__fixups__/fragment@0:target:0/fragment@1:target:0__local_fixups__+/fragment@1/__overlay__/helper:pinc Jul 15 20:42:20 Defhammer: you're not supposed to write to DM-GPIO-Test Jul 15 20:42:31 I did not Jul 15 20:42:43 ok so that exists Jul 15 20:42:52 Defhammer: echo $SLOTS > /sys/devices/bone_capemgr.8/slots Jul 15 20:43:26 " > DM-GPIO-Test" means "write to the file called DM-GPIO-Test" and that's definitely not what you want :) Jul 15 20:43:44 wait..... Jul 15 20:44:33 a test mechanism for gpio should already exist on angstrom Jul 15 20:45:08 Defhammer are you following Derek Molly's youtube video ? Jul 15 20:45:14 m_billybob: I guess he's trying to upload a modified overlay Jul 15 20:45:17 yes I did Jul 15 20:45:20 if not you should watch it, if so you should watch it again Jul 15 20:45:54 watch the video as you go Jul 15 20:45:59 ok Jul 15 20:46:03 brb Jul 15 20:46:46 m_billybob: I must say, a lot of this stuff is not that obvious Jul 15 20:47:11 it is for me, but ive been using Linux for years, and the concept of debugfs jus tmakes sense to me Jul 15 20:47:25 debugfs - well, I mostly use it for usbmon on the desktop Jul 15 20:47:58 what gets me, is that since im new to embedded linux, i dotn know what exists in this respect Jul 15 20:48:06 I never used debugfs before the BBB Jul 15 20:48:26 im also new to linux development Jul 15 20:48:32 well, kinda Jul 15 20:48:55 have some experience with gcc tool etc, and other linux tools, but on windows Jul 15 20:49:05 I've worked last 6 years developing software on Linux, so that's not a problem - but I didn't have to deal with cross-compiling, bootloaders and fun like that Jul 15 20:49:27 ah well ive spent the last year or so using cross tools for the msp430 Jul 15 20:49:46 forces myself to understand gcc at the command line level Jul 15 20:49:50 forced* Jul 15 20:50:08 on ARM there are several incompatible ABIs, so that makes it... more interesting Jul 15 20:50:19 * m_billybob nods Jul 15 20:50:22 but i get it Jul 15 20:50:58 for instance, following RCN's instructions for compiling uboot / luinux kernel, i knew i had to use the same toolchain Jul 15 20:51:04 which in that case was armhf Jul 15 20:51:48 armhf being hard float the other armel beign soft float Jul 15 20:52:09 but, those are debian names ive been told, but all good Jul 15 20:52:39 RCN's instructions? Jul 15 20:52:58 Robert C Nelson. he has setup instructions for Debian o nthe BBB Jul 15 20:53:15 basically he walks through compiling uboot and the linux kernel for the BBB Jul 15 20:53:29 i wish i was cool enough to have my own tree named after me :P Jul 15 20:53:36 and he has some pretty awesome setup scripts too Jul 15 20:54:00 mranostay so go grab some random distro, and port it over to the bbb Jul 15 20:54:23 spend time maintaining it, and making sure it works correctly Jul 15 20:54:27 preferably one that already has users Jul 15 20:55:48 I dont expect id use it though. Im very happy with Debian Jul 15 20:55:56 anyhow bbiab need f00d ! Jul 15 21:03:05 anyone have experience with setting up samba/swat? Jul 15 21:07:09 how can I secure my ubuntu that is on EMMC. Can I just tar the ext3 partition and copy it onto a mounted flash drive? Jul 15 21:07:33 or just dd it into a file Jul 15 21:11:35 I would love to put that EMMC distro onto a bootable SD card, by copying it onto a ext3 partition. How do I set up then the boot partition? Can I just copy the MLO and uEnv and so on from the partition of the EMMC to a bootable FAT partition on my SD? Jul 15 21:18:21 Holly: afaik, yes.. just make the partitions and fat16 + ext3 filesystems on the uSD card, then copy the files over. but I don't use ubuntu so can't say if it will boot nicely from a different device than where it was installed Jul 15 21:19:25 argh this 3g router is a P-O-S.. how crappy can these things be.. Jul 15 21:20:09 brb Jul 15 21:21:48 annoying piece of Zyxel crap Jul 15 21:24:59 im wondering if someone can clear something up for me. is this the proper method to backup the bbb to a file on my mac (via ssh)? dd if=/dev/mmcblk0 | gzip | ssh user@macip dd of=/Users/cta/Desktop/BBB_backup.img.gz Jul 15 21:25:52 i did so and passed the image onto a colleague who was unable to flash it to his board, so im trying to figure out if im going about this incorrectly (with dd) or if he is doing something incorrectly Jul 15 21:27:46 cta: looks ok to me Jul 15 21:28:09 okay, cool. thanks for that. so what is the proper way to flash that from a uSD card to another board? Jul 15 21:29:26 zcat /foo/BBB_backup.img.gz | dd of=/dev/mmcblk0 Jul 15 21:29:35 great. thanks so much! Jul 15 21:29:42 except.. hmm. it might be that the eMMC is mmcblk1 when uSD is inserted Jul 15 21:29:59 so double check the devices with lsblk for example. Jul 15 21:30:02 will do Jul 15 21:30:04 thanks Jul 15 21:36:41 i got it thanks Jul 15 21:39:40 mmcblk0 is always the media booted from Jul 15 21:46:03 kfoltman, yeah sorry lol belly semi full now. Thats pretty cool. what kind of device are you going for ? keyboard, midi guitar, midi drumset ? Jul 15 21:47:15 m_billybob: eventually, a midi drumset, as soon as I get the ADCs to behave :D Jul 15 21:47:34 cool Jul 15 21:47:38 m_billybob: but for now, just a sound module for a keyboard Jul 15 21:48:03 id like to see a write up of that someday, if you're going ot do that Jul 15 21:48:41 I eman if you feel up to writting about it Jul 15 21:48:47 I mean* Jul 15 21:49:07 I'd like to make something less hacky at some point, for now it's just a bloody mess of dev-boards and some simple stuff on stripboard (hc595 to control the character LCD and an optoisolator for MIDI In) Jul 15 21:49:31 but thats true mad scientist stuff ! Jul 15 21:49:40 thats embedded design at its best :) Jul 15 21:50:28 but, yes, it's basically a working prototype at this point, I might use it at rehearsals but might get some laughs from the bandmates :S Jul 15 21:50:39 lol Jul 15 21:51:36 still, anything's better than the Worst Piano Ever on the yamaha module I've used before Jul 15 21:51:41 I had a buddy who used to play drums who would whack away on an old cheesy midi keyboard( I used to play guitar some ) Jul 15 21:51:57 my buddy was actually a very good drummer, but at that time no drum set with him Jul 15 21:52:16 playing both keyboards and drums is fairly common Jul 15 21:53:14 can we bring up bad drummer jokes now? Jul 15 21:53:49 what you trying ot do with samba pb ? Jul 15 21:54:08 and what is swat ? that web interface for it ? Jul 15 21:54:15 simple file server, I got it working. trying to get swat editable via remote Jul 15 21:54:17 yea Jul 15 21:54:26 * m_billybob actually just setup a samba share recently Jul 15 21:54:37 very easy Jul 15 21:54:49 just trying to be lazy now, I can't find the swat conf to remove the local only editing line Jul 15 21:55:11 no idea what you mean by that Jul 15 21:55:41 From what I've seen, the GUI limits a lot of the share editing features to local only editing Jul 15 21:55:49 my BBB isn't attached to a monitor / keyboard anymore Jul 15 21:56:07 hmm why not do it by hand ? Jul 15 21:56:09 so trying to find the dumb config file to change that so I can edit it via web interface from my desktop Jul 15 21:56:35 Honestly? I'm lazy and dumb and ditzed around with the samba.conf for 3 hours last night and couldnt get it to work right Jul 15 21:56:47 Debian ? Jul 15 21:57:00 yes, well ubunut Jul 15 21:57:09 oobuntnut ok Jul 15 21:57:15 lol Jul 15 21:57:18 angstrom didn't play well with xinetd for some reasony Jul 15 21:57:20 reason* Jul 15 21:57:21 ugalabugala Jul 15 21:57:49 (remember, pretend you're talking to a 5 year old who just learned some new words) Jul 15 21:58:14 pb_ well to keep from harping, im only going ot say this once. In the context ofthe BBB, you'll probably be much happier with debian. and I'll wager sooner or later you'll end up on Debian Jul 15 21:58:21 pb_ stfu already lol Jul 15 21:58:26 you're not stupid. Jul 15 21:58:37 I tried to find a debian image last night Jul 15 21:58:47 build your own. Jul 15 21:58:55 to be honest again I didn't look to hard, and it was after a few beers and a cigar. Jul 15 21:58:56 can link you to step by step instructions. Jul 15 21:59:04 sure, toss it my way Jul 15 21:59:14 you seen robert nelsons instructions ? Jul 15 21:59:25 no, can't say I've looked though Jul 15 21:59:30 http://eewiki.net/display/linuxonarm/BeagleBone+Black Jul 15 21:59:43 you're a Linux user for some time now ? Jul 15 21:59:56 no, I used to use it ~10 years ago lightly Jul 15 21:59:59 meaning you have a few years under your belt ? Jul 15 22:00:47 Ok, well if you think about the steps he presents, and follow his instructions to the T there is no reason why you shouldnt be able to follow those well Jul 15 22:01:11 ok Jul 15 22:01:15 He leaves out a few minor details but pretty much copy paste Jul 15 22:01:21 swapping over to linux real quick Jul 15 22:01:22 do you have a linux machine to build on ? Jul 15 22:01:27 ya Jul 15 22:01:36 is it debian ? Jul 15 22:01:44 ubuntu : ) Jul 15 22:02:02 I know, I know. Jul 15 22:02:04 havent personally used ubuntu to follow his instructions but they should work . . . Jul 15 22:02:29 ok Jul 15 22:02:30 brb Jul 15 22:02:49 look, for a desktop ubuntu is fine, but im just old school i guess. Using Debian for building stuff like this just seems to make thigns much easier Jul 15 22:03:02 Ubuntu seems to like to fight "you" sometimes Jul 15 22:03:34 trust me ive had my run ins with Ubuntu and honestly wanted it to work for me but yeah . .. always fought me Jul 15 22:03:51 anyhow enough of the debian rant Jul 15 22:05:55 so let me walk you thrtough a couple of things that might make your life easier Jul 15 22:06:06 ok Jul 15 22:06:09 can you toss that link one more time Jul 15 22:06:19 these scripts and instructions of his are meant to be done as a normal user Jul 15 22:06:34 you have sudo installed and have your regular user added to the sudoers file ? Jul 15 22:06:51 http://eewiki.net/display/linuxonarm/BeagleBone+Black Jul 15 22:06:55 yes, and only user is root Jul 15 22:07:04 create a normal user Jul 15 22:07:15 adduser pb && passwd pb Jul 15 22:07:34 or whatever user name you prefer Jul 15 22:07:41 you cant do these instructions as root Jul 15 22:08:12 ok Jul 15 22:08:21 done ? Jul 15 22:08:39 yes Jul 15 22:08:45 Ok so next as root Jul 15 22:08:51 issue visudo Jul 15 22:09:01 the command Jul 15 22:09:23 command not found Jul 15 22:09:25 let me log in to my lamp server to make sure im tellignyou exactly Jul 15 22:09:29 ok Jul 15 22:09:33 visudo not found ? Jul 15 22:09:48 no Jul 15 22:09:49 sorry Jul 15 22:09:52 odd Jul 15 22:09:54 i typed in litterally what you said Jul 15 22:09:58 which version of ubuntu is this ? Jul 15 22:10:01 ah Jul 15 22:10:02 ok in it now Jul 15 22:10:31 hmm i need to install sudo myself give me a minute lol Jul 15 22:10:41 forgot i havent installed sudo on my lamp server Jul 15 22:10:48 ok Jul 15 22:11:03 any prepackaged full debian installs I should look at for the desktop Jul 15 22:11:37 I may writup and actually have been meaning to write up the install process for debian Jul 15 22:11:45 I do a bare minimal install and install only what i need Jul 15 22:11:49 and it works very well Jul 15 22:12:01 ok so your in the sudoers file now ? Jul 15 22:12:16 yes Jul 15 22:12:19 # User privilege specification Jul 15 22:12:19 root ALL=(ALL:ALL) ALL Jul 15 22:12:24 scroll down to that line Jul 15 22:12:32 ok Jul 15 22:12:41 change "root" to the normal user you just created Jul 15 22:13:01 william ALL=(ALL:ALL) ALL Jul 15 22:13:07 so somethign like that Jul 15 22:13:19 ok Jul 15 22:13:24 ctrl +x y enter Jul 15 22:13:38 exit, confirm save, and exit Jul 15 22:13:52 ok Jul 15 22:14:05 are you in X ? Jul 15 22:14:10 yes Jul 15 22:14:20 Ok herein lies the problem Jul 15 22:14:42 what you need is a regular user terminal Jul 15 22:14:53 well Jul 15 22:15:00 im in whatever ubuntu calls terminal Jul 15 22:15:04 not sure if thats xterminal or not Jul 15 22:15:13 I am not sure how that is possible while logged in as root in X, and if you can now log in via yoru regular user Jul 15 22:15:31 you can always log out Jul 15 22:15:39 of x and log back in as regular user Jul 15 22:15:52 if that doesnt work, then we're stuck Jul 15 22:15:59 ok you lost me now : ) Jul 15 22:16:07 By X do you mean xterminal Jul 15 22:16:08 log out of your desktop Jul 15 22:16:23 then log back in as regular user Jul 15 22:16:27 ok Jul 15 22:16:49 been too long since ive used X on Debian . . . Jul 15 22:20:01 all good ? Jul 15 22:20:16 seems to be Jul 15 22:20:33 ok so open up a terminal Jul 15 22:20:57 k Jul 15 22:21:17 now you need to make a directory forthe tools and source file Jul 15 22:21:22 so somethign like Jul 15 22:21:35 mkdir ~/debian_build Jul 15 22:21:47 ok Jul 15 22:21:48 dir Jul 15 22:22:06 Now you just follow his instructions BUT Jul 15 22:22:10 well Jul 15 22:22:16 cd to that directory Jul 15 22:22:19 first Jul 15 22:22:21 toss that link again Jul 15 22:22:23 forgot to save it Jul 15 22:22:30 http://eewiki.net/display/linuxonarm/BeagleBone+Black Jul 15 22:22:43 ok so for each step Jul 15 22:23:03 like the uboot steps where he tells you to cd uboot/ Jul 15 22:23:35 once dont with theuboot steps back out of that , or those directory to your base directory ~/debian_build Jul 15 22:23:39 once done* Jul 15 22:23:58 ok i did something dumb Jul 15 22:24:02 that will keep your tools directory "clean" Jul 15 22:24:03 one sec Jul 15 22:25:00 more or less is more about keeping things seperated properly .... but yeah thats my own opinion of keepign a clean directory structure Jul 15 22:26:34 now, chances are pretty good you'll have one or two of his scripts complain to you about you not having some tools installed. take your time, read the error message and install the tools it tells you to install Jul 15 22:26:41 for which you'll have to use sudo Jul 15 22:26:46 ok Jul 15 22:26:49 already getting git Jul 15 22:26:57 sudeo apt-get install Jul 15 22:27:02 err sudo* Jul 15 22:27:05 yea Jul 15 22:27:14 thats one of the few commands im familiar with :) Jul 15 22:27:25 one of my favorite commands lol Jul 15 22:27:39 that and dpkg < params > Jul 15 22:27:43 so decode what you are saying into something I understand Jul 15 22:27:48 once I get the uboot deal Jul 15 22:27:53 move it into the debian build folder? Jul 15 22:28:04 first step is install or just downloading the gcc toolchain Jul 15 22:28:18 then extracting it Jul 15 22:28:31 then setting up the path export for it Jul 15 22:28:38 he covers that Jul 15 22:28:49 secodn step is uboot Jul 15 22:28:57 git clone etc etc Jul 15 22:29:01 cd uboot/ Jul 15 22:29:10 get checkout etc etc Jul 15 22:29:35 wget http://path/touboot/patch Jul 15 22:29:43 ok Jul 15 22:29:51 getting the GCC Jul 15 22:30:14 sp once done with all those steps Jul 15 22:30:23 where it says "Linux Kernel" Jul 15 22:30:35 then go back to your base directory Jul 15 22:30:54 dont just download the Kernel source files into the uboot directory . . . Jul 15 22:31:11 erm Jul 15 22:31:13 try not to Jul 15 22:31:38 so base directory is ~/debian_build/ or whatever directory you created Jul 15 22:32:41 what kind of system are you using for this ? Jul 15 22:32:47 Core i7 ? somethign else ? Jul 15 22:32:53 how much memory etc Jul 15 22:32:59 amd phenom 8600 Jul 15 22:33:01 8 gigs Jul 15 22:33:19 ah ok this will probably take you a ffew hours. Is your internet fast ? Jul 15 22:33:23 yea Jul 15 22:33:34 you need to download like 2GB worth of stuff Jul 15 22:33:40 no biggy Jul 15 22:33:45 source files included etc Jul 15 22:33:58 yeah lol downloadign the source files takes me like 3-4 hours Jul 15 22:34:08 1.5Mbit connection here Jul 15 22:34:39 not satallite are ya? Jul 15 22:34:53 So anyhow once you have all this downloaded, and structured properly you dont have to worry about downloading anythign again Jul 15 22:35:16 although when he updates builds the scripts may want to pull in updated stuff Jul 15 22:35:21 i'm to the "U-Boot Configure and Build" Jul 15 22:35:26 dir Jul 15 22:35:36 dir ? Jul 15 22:35:40 sorry Jul 15 22:35:42 wrong window :) Jul 15 22:36:03 git clone git://git.denx.de/u-boot.git from within ~/debian_build Jul 15 22:36:32 pb_ no actually we're dsl crappy dsl from frontier.net Jul 15 22:36:48 plus we WDS wireless to our neighbor who actualy pays for the service Jul 15 22:37:01 ( I do work for them from time to time Jul 15 22:37:09 mostly tractor work Jul 15 22:37:14 anyhow . . .lol Jul 15 22:37:14 ahh ok Jul 15 22:37:20 well better then huges/skyblue Jul 15 22:37:36 id like FIOS but fat chance here Jul 15 22:37:42 hell Jul 15 22:37:50 I'm just south of austin and we can't even get fios yet. Jul 15 22:37:51 we're kind of in the boonies, we're not even on the grid Jul 15 22:38:03 we're 100% RE power Jul 15 22:38:19 ok git is done Jul 15 22:38:28 dir Jul 15 22:38:36 ~6kW woth of panels and 2200AH battery storage Jul 15 22:38:42 sorry, ignore any and all "dir" i type Jul 15 22:38:50 cd u-boot Jul 15 22:39:56 git checkout v2013.04 -b tmp ? Jul 15 22:40:12 yeah follow his instructions Jul 15 22:40:20 ok Jul 15 22:40:25 think i can manage that part Jul 15 22:40:44 its all copy pste . . . Jul 15 22:41:03 when you've done this a few times like me you'll copy paste several lines at once lol Jul 15 22:41:10 but dont do that yet Jul 15 22:41:22 ok Jul 15 22:41:25 applied patches Jul 15 22:41:36 down to the configure and build Jul 15 22:41:46 do those too Jul 15 22:41:57 just cut and copy into u-boot? Jul 15 22:42:17 I just copy paste one line at a time Jul 15 22:42:22 for these steps Jul 15 22:42:25 hrm Jul 15 22:42:33 think i did something wrong at some point Jul 15 22:42:42 /bin/bash: /home/pb/u-boot/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/arm-linux-gnueabihf-gcc: No such file or directory Jul 15 22:42:52 you're still ~/debian_build/uboot right ? Jul 15 22:43:06 yes Jul 15 22:43:23 cd .. Jul 15 22:43:35 export CC=`pwd`/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/arm-linux-gnueabihf- Jul 15 22:43:41 cd uboot/ Jul 15 22:44:20 ok when i try to run the first make command same error Jul 15 22:44:34 echo CC Jul 15 22:44:39 err Jul 15 22:44:44 echo $CC Jul 15 22:44:49 tell me what that says Jul 15 22:45:00 nada Jul 15 22:45:01 blank line Jul 15 22:45:19 i think when I wget the complier i wasn't in the debian_build folder, not sure if that matters Jul 15 22:45:23 you need to be back in your pase directory Jul 15 22:45:37 thatdoes matter Jul 15 22:45:42 ok, let me do that again then Jul 15 22:45:50 you can move the file Jul 15 22:45:53 just wget while I'm in the debian_build right Jul 15 22:46:02 oh. Duh. makes sense. Jul 15 22:46:42 mv ~/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux.tar.bz2 ~/debian_build Jul 15 22:46:57 cd ~/debian_build Jul 15 22:47:05 tar xjf gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux.tar.bz2 Jul 15 22:47:17 export CC=`pwd`/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/arm-linux-gnueabihf- Jul 15 22:47:34 just like that Jul 15 22:47:40 ok Jul 15 22:47:42 one sec Jul 15 22:47:44 done ? Jul 15 22:48:22 runnign tar Jul 15 22:48:31 I need to write up exact steps for this i guess and put it on my blogg Jul 15 22:48:53 if you need idiot friendly editing, let me know. Jul 15 22:49:00 seems there are more casual Linux users using the BBBthan hardcore linux users Jul 15 22:49:05 lol Jul 15 22:49:20 ok Jul 15 22:49:23 dotn worry i can get pretty details on instructions Jul 15 22:49:44 back into u-boot/? Jul 15 22:49:45 ok so now back into ~/debian_build/uboot Jul 15 22:50:06 make ARCH=arm CROSS_COMPILE=${CC} distclean ? Jul 15 22:50:13 and the other two Jul 15 22:50:18 once in the uboot directory yes Jul 15 22:50:23 yes all of it Jul 15 22:50:27 ;smd',sv Jul 15 22:50:34 /bin/bash: /home/pb/debian_build/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/arm-linux-gnueabihf-gcc: No such file or directory Jul 15 22:51:22 did you do the export line in ~/debian_build ? Jul 15 22:52:07 yes Jul 15 22:52:17 what does echo $CC says ? Jul 15 22:52:23 say* Jul 15 22:52:26 cd .. Jul 15 22:52:30 sec Jul 15 22:52:44 nada Jul 15 22:53:02 cd ~/debian_build Jul 15 22:53:13 export CC=`pwd`/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/arm-linux-gnueabihf- Jul 15 22:53:33 echo $CC Jul 15 22:54:40 /home/pb/debian_build/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/arm-linux-gnueabihf- Jul 15 22:54:50 cd uboot/ Jul 15 22:55:13 and carry on Jul 15 22:55:21 same error Jul 15 22:56:35 ok pastebin the results of ls -al ~/ Jul 15 22:56:51 somethign is definately wrong Jul 15 22:56:56 will do in one sec Jul 15 22:57:02 going to just go through the whole thing again Jul 15 22:57:10 make sure I did;t skip anything or shove it in the wrong dir Jul 15 22:57:22 rm -rf ~/debian_build eh ? Jul 15 22:58:19 yea Jul 15 22:58:24 nuke it from orbit Jul 15 22:58:43 this actually took me a few times to get rigth too Jul 15 22:58:53 i did it a little at a time over the course of a week in my spare time Jul 15 22:59:05 before i got it right Jul 15 22:59:18 found out the hard way doing this as root will not work Jul 15 22:59:22 Sadly, I have a lot of spare time at the moment. Biz is slow and vendors are out of everything. Jul 15 23:00:22 So if this does not work . . . you can always do this from within a virtual machine on windows ( im assuming you run widnows as your promary desktop ) Jul 15 23:00:34 and install Debian Jul 15 23:00:35 Yes I do. Jul 15 23:00:38 ok Jul 15 23:00:47 but lets give this a shot Jul 15 23:00:50 I may swap this over to debian if there is a package already there Jul 15 23:00:58 I like having a lot of pre installed junk Jul 15 23:00:59 package for what ?> Jul 15 23:01:29 sorry, i mean distro Jul 15 23:01:33 has anyone gotten fedora 19 to work on their beaglebone black? Jul 15 23:02:03 ifueko not that i have heard of you can check the beagleboard google groups Jul 15 23:02:21 seem to recall someone got fedora working early on ? but not sure Jul 15 23:02:50 m_billybob thanks Jul 15 23:03:00 sorry couldnt be of more help. Jul 15 23:03:15 fedora aside, do you know which drivers are necessary for accessing the mmc on the BBB? Jul 15 23:03:30 ok, before git uboot, do I need to make its own dir Jul 15 23:03:35 i have a custom kernel build from fedora 19 source that would work if i had a driver Jul 15 23:03:42 pb__ no Jul 15 23:03:49 debian_build pb Jul 15 23:03:57 git etc etc Jul 15 23:04:04 then switch to u-boot when he says Jul 15 23:04:04 ok Jul 15 23:04:41 ifueko well a couple kernel devs do hang out in here. that question i am unsuure of Jul 15 23:05:00 panto or koen ( not sure who else ) should be able to help you out Jul 15 23:05:08 okay Jul 15 23:05:16 I do not think either of those two are on atm though Jul 15 23:05:49 pb__ we should move to PM for this Jul 15 23:06:12 unless anyone else is interrested in this conversation ( cant see why ) Jul 15 23:06:12 sure thing. I don't think people would be to interested in our conversation. Jul 15 23:06:41 just pm me next question you have Jul 15 23:08:25 ok 3g router pissed me off so bad I replaced it with a BBB Jul 15 23:08:35 now I need to order more of them Jul 15 23:08:36 heh Jul 15 23:09:29 with BBB my 3G internet is up in under 20 secs from giving it power, with the Zyxel it was more like 2 minutes Jul 15 23:09:59 but it was a bit painful, I haven't done anything with PPP in 10+ years Jul 15 23:11:54 problem is it seems my ethernet switch / router here is fried.. lightning damage I suppose Jul 15 23:12:46 I might have to see if I can just turn the 3G router into a switch only Jul 15 23:13:21 but enough for tonight, sleep& Jul 15 23:40:17 Does the Beaglebone Black have JTAG headers? Jul 15 23:41:47 I believe so, yeah. Jul 15 23:41:48 yes Jul 15 23:41:56 20 pin jtag on the bottom Jul 15 23:41:58 Probably the unpopulated one on the bottom. Jul 15 23:42:12 yeah unpopulated Jul 15 23:43:20 lucky there is also the 6 pin serial debug interface on the top if that'll do it for you Jul 15 23:43:58 oh, that might do it for me Jul 15 23:44:11 what is it that you need to do ? Jul 15 23:44:40 have a serial console + gdb debugging Jul 15 23:44:55 the beaglebone seems to support both of those over USB so it might be a better option, and by the time i buy the extra cables, etc.. break even? Jul 15 23:45:13 hmm not sure abotu the gdb thing, im still new to embedded linux Jul 15 23:45:35 i know how to use gdbetc just not sure how that would work over the serial console Jul 15 23:45:52 me too :) i'm actually looking at bare metal development tho Jul 15 23:46:12 ah well bare metal unles using uboot you'd probably want jtag Jul 15 23:46:35 the serial console does work with uboot Jul 15 23:47:47 lucky, might be a question better asked on the beaglebone google groups Jul 15 23:48:49 err beagleboard google groups Jul 15 23:48:56 i do think both groups exist though Jul 15 23:52:49 hmm wonder how much that stm32 dev board *is* Jul 15 23:52:52 * m_billybob googles Jul 15 23:53:30 oh wow Jul 15 23:53:35 11 bux Jul 15 23:53:48 lucky: yes the black has jtag , but the connector is not populated. in general, unless you debugging some serious bootloader stuff, the average developer can simply use the uart console with a wide variety of basic tools Jul 15 23:53:58 plus shipping which brings it to $25 lol Jul 15 23:54:09 ya i'll just be using u-boot Jul 15 23:58:29 prpplague which tools ? got a list ? Jul 15 23:58:36 still learning some myself . . . Jul 16 00:00:02 m_billybob: not handy Jul 16 00:00:29 :( maybe googl will turn something up. but mainly im only concerned with debugging userland apps Jul 16 00:01:15 not even really sure what and how on linux, but i'll eventually figure it out Jul 16 00:07:45 prpplague, not populated means soldering it on? Jul 16 00:07:57 lucky: that is correct Jul 16 00:08:26 lucky: you can order one with the header already soldered on from circuitco, but we charge a premium for it Jul 16 00:09:01 is it possible to get breakpoints and similar functionality at the bare metal level and such with just the serial debug cable? Jul 16 00:09:53 lucky: no Jul 16 00:10:09 well, you can set them Jul 16 00:10:23 lucky: i am curious, why are you using beaglebone black with baremetal? seems like a waste Jul 16 00:10:31 mru: true Jul 16 00:10:34 harder to do anything when they trigger Jul 16 00:10:42 hehe Jul 16 00:10:58 prpplague, interested in porting my hobby operating system to ARM Jul 16 00:11:19 and i'll probably use it for other things too Jul 16 00:12:05 lucky: ahh **** ENDING LOGGING AT Tue Jul 16 02:59:58 2013