**** BEGIN LOGGING AT Wed Feb 22 02:59:59 2012 Feb 22 03:39:46 i'm learning oe angstrom, i typed bitbake systemd-image. now how can i clean/remove systemd-image. Feb 22 03:41:56 i suppose it's stupid but i dont yet understand all. Feb 22 03:42:22 may be i'm stupid too Feb 22 04:09:36 for now it will be rm -rf build/* Feb 22 04:51:33 I want to build angstrom-2010, but fetch ftp://invisible-island.net/ncurses/5.7/ncurses-5.7-20110108-patch.sh.bz2 failed, Can any one give me valid link of the source package? Feb 22 07:56:41 ot: how does one escape '[foo]' on github wiki Feb 22 07:58:18 by running away? I assume you have tried \[ and [[ Feb 22 08:05:26 yup Feb 22 08:18:04 maybe html-letters will help Feb 22 08:18:18 &foo; Feb 22 08:18:46 &slash; or / Feb 22 08:19:08 uups, no bracketleft -right is what you need Feb 22 08:20:16 trying to program the bone in wiki markup? is .js not good enough now? Feb 22 08:24:08 the next generation scada system programed using .js will be funny ;) Feb 22 08:29:07 sorry boss, a web-spider just went through our system, which made some funny things with our machines Feb 22 08:30:06 aholler: just wait a few more years until all the kids know is Objective-J or the like Feb 22 09:08:28 hello friends...I am using beagle board which i boot from sd/mmc card with kernel image and file system.MMC card is made bootable correctly. I had already boot beagle board,mounted the file system and worked with it,It was working properly. But suddenly due to some unknown reasons, Now as I setup the hardware and try to boot the beagle board it shows following statements and repeatedly shows it.Looks like u-boot is not booting properly Feb 22 09:08:52 der 1.5.0 Beagle xm >> This two statements are repeatedly shown by the beagle board,it doesn't boot...please help me out... Feb 22 09:09:24 what did you change? Feb 22 09:09:55 nothing.... Feb 22 09:10:44 i dont know...it was sudden behaviour Feb 22 09:11:07 Looks like it gets reset repeatedly Feb 22 09:13:17 have a 2nd card to try? Feb 22 09:14:04 no...i tried with 2nd card too...but it doesnt work.. Feb 22 09:15:18 what is the power supply? Feb 22 09:15:38 5 v dc Feb 22 09:16:42 i had already boot from same sd card..and was working properly.. Feb 22 09:16:54 pastebin the full boot log Feb 22 09:17:55 sorry...i dont get what u said.. Feb 22 10:41:51 hi, Feb 22 10:43:27 omap3 DQS ,Why not high impedance ? Feb 22 13:17:44 hi Feb 22 13:18:07 Hello everyone Feb 22 13:19:52 I am a newcomer and I dont know how can I state my problem and how I being answered?! Feb 22 13:20:23 amin_: in short: just ask as precisely as possible. if someone knows, he/she/it will answer. Feb 22 13:22:29 LettoThe2nd: thanks. I'll try.. Feb 22 13:24:56 I ordered a beagleborad-xm and it will be in my hand in nex week. Shortly, my question is that how can I execute my codes on the board? Feb 22 13:25:37 like on any linux computer Feb 22 13:26:12 av500: exact steps provided already on beagleborad.org? Feb 22 13:26:24 shh Feb 22 13:27:08 amin_: are you familiar with programming computers? Feb 22 13:27:14 av500: if I dont use linux, is there any solution? I mean If I dont use OS, how can I access to the different parts of the board in my code? Feb 22 13:27:17 gcc runs natively. Feb 22 13:27:29 amin_: if you dont use an OS, buy an arduino Feb 22 13:28:09 what is arduino? Feb 22 13:28:15 av500: don't want more folks in the Linux club? Feb 22 13:28:16 is it a simple microcontroller? Feb 22 13:28:22 amin_: yeah... Feb 22 13:28:23 yes Feb 22 13:28:33 geared towards people who don't know how to program yet. Feb 22 13:28:33 the beagle is not a simple microcontroller Feb 22 13:28:58 yeah, a BeagleBoard/xM/Bone is a full computer. Feb 22 13:29:10 typically running Linux. Feb 22 13:29:18 Bone has "StarterWare" as well. Feb 22 13:29:35 jkridner_: once upon a time, people also thought of z80/6502/68ks as full computers ;) Feb 22 13:29:39 jkridner: Feb 22 13:29:50 LetoThe2nd: you confuse CPU with device Feb 22 13:29:58 I was on a call with a customer using StarterWare yesterday. wow. Feb 22 13:30:05 av500: right, i did. mea culpa. Feb 22 13:30:06 jkridner_: wow Feb 22 13:30:14 I could not find startware for DM3730 Feb 22 13:30:31 I don't think there is starterware for the xM (DM3730). Feb 22 13:30:38 shouldn't it be pronounced StartWhere? Feb 22 13:30:40 starterware exist for AM3359 Feb 22 13:30:49 there is puppybits, but it is also a bit advanced in it out-of-box-experience. Feb 22 13:30:55 and u-boot, of course. Feb 22 13:30:59 and mlo Feb 22 13:31:16 yeah, StarterWare exists for AM3359. Feb 22 13:31:50 and for AM3358? Feb 22 13:31:57 LetoThe2nd: is that a comment about the people using it or the software itself? Feb 22 13:32:35 if I were to name something geared for people that don't know how to program it would be Scratch and then the related Mindstorms NXT-G language…not C-like Arduino sketches Feb 22 13:33:28 jkridner_: neither. isn't it the thing that comes with current bones called "sdk", or is that again something different? Feb 22 13:33:47 while avoiding syntax errors is nice, textual languages add few barriers to starter learning. you should really see how an 8 year old can take to an Arduino. Feb 22 13:34:04 it is something different. Feb 22 13:34:14 the "SDK" is Linux-based. StarterWare is non-OS. Feb 22 13:34:43 * av500 wonders is no-os is the same kind of fad as no-sql Feb 22 13:34:46 if Feb 22 13:34:51 http://processors.wiki.ti.com/index.php/StarterWare Feb 22 13:35:12 it is not where i'd start. Feb 22 13:35:18 I'd rather teach people to use Linux... Feb 22 13:35:35 av500, I vote for no s/w Feb 22 13:35:52 so, I'd point amin_ to http://www.beagleboard.org/~arago/education/presentations/Learning_Linux_Tops_Down.pdf Feb 22 13:36:03 mdp: you'd vote for no-bama as well :) Feb 22 13:36:08 lol Feb 22 13:36:14 jkridner_: http://dominion.thruhere.net/koen/images/capeviewer.png Feb 22 13:36:29 koen: get a job! Feb 22 13:36:43 sweet. we can still use colors to reflect the live values of the pins too. :) Feb 22 13:37:06 the DVI cape should have a 720x576 pixel matrix with live color values Feb 22 13:37:29 koen tried that one already. Feb 22 13:38:19 jkridner_: https://github.com/koenkooi/bonescript/commits/capeviewer Feb 22 13:42:45 Dear freind, finally I dont know I should forget no OS or there is a solution? Feb 22 13:43:36 why not use an os? Feb 22 13:43:46 you are free to program the omap3 on the beagle without OS Feb 22 13:44:02 amin_: on xM, I'm not aware of a simply no-OS option. I've vote for learning Linux. Feb 22 13:44:18 There are some great embedded Linux books, including the Embedded Linux Primer. Feb 22 13:44:18 ok jkridner Feb 22 13:44:47 can I customize linux? I mean i need to my kernel is small Feb 22 13:44:50 the learning curve is steep, but the pay-off is large as well. Feb 22 13:45:00 jkridner_: btw: are you coming to embedded world next week? Feb 22 13:45:01 depends on what you call small... Feb 22 13:45:07 why small? Feb 22 13:45:13 ~2MB is certainly possible. Feb 22 13:45:17 the smallest beagle has 128MB Feb 22 13:45:23 yeah, I'll be at Embedded World. Feb 22 13:45:47 when? Feb 22 13:45:59 jkridner_: cool, time to poke all you guys then ;) Feb 22 13:46:30 jkridner: I designed embedded system by powerpc, microblaze witout os Feb 22 13:46:31 I bought one of those pre-paid SIM cards.... I should have my german telephone number around here somewhere. Feb 22 13:46:50 but TI Processor is my first experience Feb 22 13:47:18 TI has a huge variety of processors. Feb 22 13:47:35 you might find MSP430s very suitable. Feb 22 13:47:36 just depends on what you need... Feb 22 13:47:56 DM3725 or DM3730 are my final points and I will not use thier graphical properties. Feb 22 13:47:57 this class of processor is great for running Linux/Android/QNX/etc. Feb 22 13:49:21 jkridner : do you know aboy sys/bios? Feb 22 13:49:30 amin_: dsp stuff Feb 22 13:49:52 amin_: if you designed no-os stuff before, then you will succeed on the omap3 too Feb 22 13:50:06 at one point, there was an attempt to host it on ARM as well, but I'm not aware of any nicely packaged solution to run it on the ARM. Feb 22 13:51:56 why starterware exist for AM3359 but no for DM3730? Feb 22 13:54:23 different target markets. Feb 22 13:54:52 everybody on DM3730 loves Linux Feb 22 13:55:40 I dont need Mulrimedia feature of it, I just need its speed. Feb 22 13:56:03 then go on Feb 22 13:59:06 av500: what do you mean? Feb 22 14:00:06 koen: that capeviewer png, does this mean you have a DCAN cape? Feb 22 14:00:56 amin_: well, what do you need answered still? Feb 22 14:02:27 thanks av500, Feb 22 14:03:31 I will back my freinds Feb 22 14:05:40 jwinnebeck: yes Feb 22 14:06:00 hmm Feb 22 14:06:18 This is something built or designed or something that can be bought? Feb 22 14:06:55 jwinnebeck: google for the text in the graphic :) Feb 22 14:07:44 hmm I didn't think there were any actual production capes yet Feb 22 14:07:48 just the DVI one which is coming Feb 22 14:08:07 koen: may I send you another patch for the new layer? You remain the one who pulls, isn't? Feb 22 14:08:44 yes, yes Feb 22 14:08:57 great, thx Feb 22 14:10:25 OK so it's time for me to ask a question about an elephant in the room in regards to my beaglebone. I'm surprised to see that DHCP doesn't work out of the box (I've used several systemd images, including one I built on Monday) Feb 22 14:10:45 I'm still new to systemd, but there is a sysv init script for "busybox-udhcpc" Feb 22 14:11:30 however, this script is odd, it runs udhcpc only if /proc/cmdline contains "ip=dhcp". However, the system is booting into "runlevel 1" and in runlevel1, that script doesn't even run Feb 22 14:12:32 So in my uEnv.txt for uboot I put ip=dhcp and kernel does DHCP on boot, which is not that great. However as udhcpc isn't running, nothing is renewing the lease and eventually IP address is lost and bone goes offline Feb 22 14:12:54 I can run udhcpc manually, or manually do ifup -a and that will run it Feb 22 14:13:09 But is it expected that something will run it automatically? Feb 22 14:13:36 jwinnebeck: when I connect an ethernet cable, dhcp just works on all my beaglebones Feb 22 14:13:49 I have the cable in on boot, but that shouldn't matter? Feb 22 14:13:54 no Feb 22 14:14:02 Actually I HAVE to, because bone doesn't boot without ehternet plugged in Feb 22 14:14:05 if I get an Oops when doing 'modprobe -r smsc95xx && modprobe -r musb-hdrc && modprobe -r omap2430', is that considered a bug? If I put some sleeps in between, it works much better. Feb 22 14:14:15 jwinnebeck: RMA your bone Feb 22 14:14:25 Well it's because of ip=dhcp in uEnv Feb 22 14:14:29 which I have now Feb 22 14:14:40 kernel won't start init until DHCP lease is had Feb 22 14:14:41 but it kinda feels like a module should have cleaned up properly when the modprobe call returns Feb 22 14:14:47 it's not a hardware defect Feb 22 14:15:08 But I did that because the busybox script already on the bone looked for it in proc cmdline so I thought maybe that's what I was supposed to do Feb 22 14:15:22 koen: are you using the systemd image or the "cloud9" one? Feb 22 14:15:27 both Feb 22 14:15:31 hmm Feb 22 14:15:45 * jkridner_ is very confused by the 0002-f_rndis... patch and the fact that in my kernel tree it seems that this code has been commented out by David Brownell since 2008. Feb 22 14:15:56 Let me unplug and replug the cable and see if the ifup scripts run Feb 22 14:16:26 see if it f's anything up Feb 22 14:16:53 koen: does your /proc/cmdline have ip=dhcp in it? Feb 22 14:17:11 no Feb 22 14:17:18 I don't use the in-kernel dhcp Feb 22 14:17:23 Well unplugging and plugging in the cable didn't make it do anything, but the kernel did see the link state change. Feb 22 14:17:33 I'll try reverting my dhcp kernel thing Feb 22 14:17:51 If the busybox script in angstrom checks for it in one place, maybe it checks for it elsewhere that I don't know Feb 22 14:19:25 that script isn't used Feb 22 14:19:38 it's not because the runlevel is 1 when I boot Feb 22 14:19:48 there is an S## script in a higher RC Feb 22 14:19:54 I forget which because I'm trying to reboot Feb 22 14:20:05 But apparently halt doesn't work, and neither does reboot Feb 22 14:20:11 It's never worked for me... Feb 22 14:20:15 this is weird Feb 22 14:20:47 I see "Stopped /mnt/boot" then nothing after that... But I am on the serial console. I should get messages to taht all the way to the end Feb 22 14:20:53 oh wait it actually did reboot Feb 22 14:21:00 it just took a very long time Feb 22 14:22:15 hi Feb 22 14:22:43 Well then, I turn off kernel dhcp and it still got an address, that's good Feb 22 14:22:47 but udhcpc isn't running Feb 22 14:23:05 koen: is that expected? Does systemd somehow manage the leases? Feb 22 14:23:22 systemd (mis)manages most everything Feb 22 14:23:37 Yeah I'm starting to learn these things Feb 22 14:23:53 jwinnebeck: in angstrom you can if ifupdown, connman or networkmanager to do your networking, it depends on the image which one is used Feb 22 14:23:57 So I took out kernel DHCP and it boots and DHCPs which is good, it is what I want, and bootup is far faster now Feb 22 14:24:34 Well ifupdown only runs scripts when the interfaces change, in a typical system I thought it runs a dhcp client which stays resident Feb 22 14:24:35 * dwery loves capeviewer Feb 22 14:24:38 which I don't see Feb 22 14:24:43 jwinnebeck: http://www.towertech.it/en/products/hardware/tt3201-can-cape/ is in production Feb 22 14:24:46 ifup really does to DHCP which is good Feb 22 14:25:24 But you can't just dhcp once Feb 22 14:28:24 hmm my image has a bunch of connman* installed, so that must be what I am using Feb 22 14:32:36 ok connmand is running, so hopefully it is doing DHCP renews Feb 22 14:34:17 since you are on the topic: anyone know to prevent a dhcp renewal on ifup if an interface is configured as static in /etc/network/interfaces? Feb 22 14:35:10 tasslehoffwrk: well ifup just runs a series of scripts Feb 22 14:35:21 the script normally reads that file and skips dhcp if it's listed static Feb 22 14:35:32 but don't know what scripts angstrom is using Feb 22 14:35:33 if it's statically configured, dhcp should stay the hell away from it Feb 22 14:35:49 Well dhcpc normally doesn't look at /etc/network/interfaces Feb 22 14:35:55 but I guess mr poettering doesn't believe in static configuration Feb 22 14:35:57 the ifup script does that, if I understand it properly Feb 22 14:38:23 I tried out pump and udhcpc, but both of them "steal" my static IP by failing when trying to renew the lease on a static ip Feb 22 14:38:57 why would you run a dhcp client if you have a static configuration? Feb 22 14:39:50 mru: I'm trying to figure out how to avoid running it by tracking down why ifup is trying to start it Feb 22 14:41:56 when I write a static interfaces file I kill the dhcp client, but on next reboot it comes back, and I haven't figured out how to prevent it Feb 22 14:42:10 So there exists an opkg "connman-plugin-udhcp" but not installed and also an older version though. But DHCP is working so far Feb 22 14:42:18 I wish there was some kind of connman status thing Feb 22 14:42:28 I guess I just need to wait for my lease to expire and see if I go offline Feb 22 14:43:02 why don't you two simply swap configs? you seem to be having opposite problems Feb 22 14:43:12 :) Feb 22 14:43:42 Hahaha yeah Feb 22 14:43:58 * tasslehoffwrk must go pickup the kids in kindergarden, but will read any clever replies later Feb 22 14:44:07 What I find interesting is that I don't have any if-up.d scripts but ifup does stuff, so it must be connman "replaces" the scripts? Feb 22 14:44:20 hi i have beagleboard b7 and angstrom 2.6.32, so i use usb otg port which is connected to externally powered usb hub via usb mini B (pin4 and pin5 short circuited) cable. But i cant see usb devices.. even if loading g_ether or g_zero modules after boot up, i cant see. But when i plug out and plug in cable, then modules automatically been loaded, and i can see usb devices. So in this case whats the problem? Feb 22 14:46:21 btw, i tried to adding usb otg's adresses to uEnv.txt .. It also does not affects.. Feb 22 15:23:15 GSoC site seems to be down: http://google-opensource.blogspot.com/2012/02/google-summer-of-code-2012-is-on.html Feb 22 15:32:54 How to access gpio of beagleboard (ubuntu 10.04 installed) Feb 22 15:33:10 using C programming Feb 22 15:39:43 Anyone managed to install librxtx on the bone? Feb 22 15:40:42 * av500 has a groundhog moment Feb 22 15:44:42 RXTX again... Feb 22 15:44:55 I'm telling you all, free yourselves from RXTX Feb 22 15:45:07 and use RTSCTS Feb 22 15:45:19 jwinnebeck, How do you do serial comm from java Feb 22 15:45:42 InputStream is = new FileInputStream( "/dev/ttyUSB0" ); Feb 22 15:46:01 and use stty Feb 22 15:46:21 Sounds like a hack, but I've used RXTX a lot, and it's certifiably shitty Feb 22 15:46:29 and the stty hasn't failed me Feb 22 15:47:05 I agree that it doesn't settle well with me... Feb 22 15:47:23 I'm usually very by the book Feb 22 15:47:25 av500 if you have a time for reading and may be replying this, I would appreciate.. Feb 22 15:47:33 jwinnebeck, I'll take your advice, I'll build my own stuff, it just seems like reinventing the wheel to write a lib generating events from the serial port in 2012 Feb 22 15:47:33 i have beagleboard b7 and angstrom 2.6.32, so i use usb otg port which is connected to externally powered usb hub via usb mini B (pin4 and pin5 short circuited) cable. But i cant see usb devices.. even if loading g_ether or g_zero modules after boot up, i cant see. But when i plug out and plug in cable, then modules automatically been loaded, and i can see usb devices. So in this case whats the problem? Feb 22 15:47:40 jsabeaudry: poke woglinde to add rxtx to meta-jave Feb 22 15:47:46 java* Feb 22 15:47:52 jsabeaudry: there is nothing to build Feb 22 15:48:02 It's 2-3 lines of code Feb 22 15:48:17 Now I'm assuming you don't need to twiddle RTS/CTS and all of that Feb 22 15:48:35 jwinnebeck, I don't, I just need to read the port and act on the data received Feb 22 15:48:35 If you do, then mabye it's worth figuring out how to get RXTX to work and compiled Feb 22 15:48:43 OK then you aren't reinventing anything Feb 22 15:48:47 RXTX gives you an InputStream Feb 22 15:48:55 In reality what I do is support RXTX and Linux directly Feb 22 15:49:03 and use an interface to obtain an InputStream Feb 22 15:49:21 for Linux it is just one line to run stty and one line to open the dev file Feb 22 15:49:29 then it's just an InputStream from there, just like RXTX Feb 22 15:49:30 jwinnebeck, Ah interesting, then I guess I can hack a library built on RXTX and just give it the fileinputstream Feb 22 15:49:31 juhsis: sorry, I have been banned from commenting on OMAP3 and MUSB Feb 22 15:49:47 Oh you aren't writing your own code? It's a lib already using RXTX? Feb 22 15:49:58 juhsis: and .32 is quite old Feb 22 15:50:03 If that's true then of course you need to weigh how hard it is to get in there Feb 22 15:50:41 i know but, it is more stable and easily works for me.. Feb 22 15:50:50 On Windows or elsewhere I just put in the implementation that gets the stream from RXTX Feb 22 15:50:54 for your definition of "works" Feb 22 15:51:27 what is the correct defintion of "works" ? Feb 22 15:51:49 i mean the universal one? Feb 22 15:51:50 whatever works for you :) Feb 22 15:52:11 but stating a problem and saying it works at the same time I find amusing Feb 22 15:52:13 i tried 3.0.14+ but, my program's fps decreases from 30 to 5 Feb 22 15:52:28 increase CONFIG_FPS in the kernel Feb 22 15:52:37 av500: thats usually the case, there are cases where one guy said I have a problem and then said nvm it "works" Feb 22 15:52:39 * av500 has a groundhog moment Feb 22 15:52:54 av500: did you see your own shadow? Feb 22 15:53:01 jsabeaudry: http://pastebin.com/v958TxFy Feb 22 15:53:03 the point being that only stating the problem can lead to "works" solution : Feb 22 15:53:11 Taht's the code I use Feb 22 15:53:15 av500 i mean process time of my program Feb 22 15:53:47 juhsis: I know, we have been there before Feb 22 15:54:02 it is image processing project, it process 30 frames /sec in 2.6.32 but 5 frame/sec in 3.0.14+ Feb 22 15:54:05 but since you are unwilling to find out why your SW is slower, yes you are stuck with .32 Feb 22 15:54:10 yes, I know Feb 22 15:54:18 hmm ok. Feb 22 15:54:31 actually i only have this problem in 2.6.32 Feb 22 15:54:38 jsabeaudry: so obviously this only works for "simple" things where you just need to send and receive bytes, and you don't need any wonky timeout stuff beyond what Java already gives you, and also that you don't need to twiddle the serial lines up and down. If you had to change baud rate in the middle, you could do another stty call, but then it really does start to look like a hack Feb 22 15:54:55 so i wonder if it is a problem which has no solution or a known problem.. Feb 22 15:55:08 the best way for " fast" code is assembly Feb 22 15:55:24 :) Feb 22 15:55:27 juhsis: does it work .14? Feb 22 15:55:30 juhsis: does it work with .14? Feb 22 15:55:33 jwinnebeck, I guess my needs are pretty elementary, I'll see if I can KISS and not use any lib Feb 22 15:55:53 jwinnebeck, Thanks for the input Feb 22 15:56:00 3.014? yes it works after setting uEnv.txt with adresses of usb otg port Feb 22 15:56:10 Yeah like I said I've used RXTX a lot, and I spent more pain making sure its so and jar are in the right place and in classpath, etc etc and plus the random bugs in RXTX and their shitty (polling) input stream, etc etc Feb 22 15:56:10 and of course after loading g_ether module Feb 22 15:56:12 adresses? Feb 22 15:56:28 g_ether.host_addr=16:0F:15:5A:E1:21 Feb 22 15:56:28 g_ether.dev_addr=16:0F:15:5A:E1:20 Feb 22 15:56:42 so, it has been fixed Feb 22 15:56:47 in later kernels Feb 22 15:56:49 in 3.0.14+ yes Feb 22 15:57:14 so you can backport stuff to .32 or you can try to run with a newer kernel Feb 22 15:57:16 is it means no solution for this in 2.6.32? Feb 22 15:57:27 of course, backport the right fix Feb 22 15:57:40 And to use RXTX in a closed source project is a little scary because due to the limited enumeration capabilities in it, you have to revert to importing their class to construct it manually, although only a single line it goes against the "GPL exception" in the library so it might force your code to be open source Feb 22 15:58:14 and how many lines does it have? Feb 22 15:58:18 (just curious) Feb 22 15:58:25 which one? Feb 22 15:58:30 uEnv.txt? Feb 22 15:58:34 what? Feb 22 15:58:49 you asked how many lines does it have? Feb 22 15:59:26 juhsis: yes, but not you :) Feb 22 15:59:35 aah ok, sory :) Feb 22 16:00:07 who did you ask? Feb 22 16:00:23 you Feb 22 16:00:38 oh... um how many lines in what Feb 22 16:01:00 I didn't get that you were talking to me Feb 22 16:03:39 kkeller, jkridner_: (untested) http://dominion.thruhere.net/koen/angstrom/beaglebone/0001-gpio-check-exported-gpios-first-before-trying-to-re-.patch Feb 22 16:04:09 av500: ? Feb 22 16:04:36 koen sweet… I'll try out this afternoon Feb 22 16:05:58 jwinnebeck: I just wanted to know how large that rxtx thing is Feb 22 16:06:01 it doesn't fix the problem you're having, but it will give more clues on the failure more :) Feb 22 16:06:15 av500: oh I don't know, it's pretty large in C and Java code Feb 22 16:06:22 I don't know how many lines it has Feb 22 16:06:26 but the C code is pretty bad Feb 22 16:06:35 ic Feb 22 16:06:36 exactly… a simple console message will go a long way Feb 22 16:06:46 av500: 36kiB compressed arm binary Feb 22 16:07:04 koen: well, a hello world is huge these days :) Feb 22 16:08:53 well there is 500k of C code wow Feb 22 16:09:01 one of the files is 164kb and 6010 lines Feb 22 16:09:08 I love 6010 line C files Feb 22 16:10:18 the thing is that it's riddled with ifdefs because it works on windows and wince and macos and linux and unix*1000... Feb 22 16:10:51 hmm there is a file called "i2cimp.c" in addition to serial, parallel and rs485 Feb 22 16:11:10 rs485 you don't see that often... but how is rs485 that different other than voltages and speeds Feb 22 16:12:05 rs485 defines the electrical layer Feb 22 16:12:23 Yeah Feb 22 16:12:31 Well this RXTX has an "RS485Port" class Feb 22 16:12:38 which is different from serial port Feb 22 16:13:10 and it offers different methods? Feb 22 16:13:26 it's hard to tell from the C code right away Feb 22 16:13:57 it almost looks like a copy/paste from the RS232 Feb 22 16:14:08 who'd have thought :) Feb 22 16:14:09 But the classes are not related by inheritance Feb 22 16:14:24 there is a new method "setRS485PortParams" Feb 22 16:14:43 koen: is the check necessary? I have no issue with adding correctness to code, but I want to know if there were unanticipated side effects. Feb 22 16:14:53 But that method takes speed, data bits, stop bits, and parity Feb 22 16:15:04 thats so unusual :) Feb 22 16:15:07 I know :) Feb 22 16:15:15 except that RS485 I thought is restricted to 9600 bps Feb 22 16:15:21 no Feb 22 16:15:34 oh I'm thinking of J1708 Feb 22 16:15:51 RS485 is just the signaling physical layer Feb 22 16:15:54 jkridner_: kkeller problem was that the pgio was already used by the kernel, with my patch you get better error logging in the console Feb 22 16:16:06 but the default speed for RS485 in RXTX is 9600 Feb 22 16:16:13 "...A message is composed of up to 21 characters, unless the engine is stopped and the vehicle is not moving in which case transmitters are allowed to exceed the 21 byte max message length..." Feb 22 16:16:19 jkridner_: since it avoids a common cause of errors: re-exporting a gpio Feb 22 16:16:33 and every RS485 I've seen is 9600 but my experience is limited to J1708/J1587 Feb 22 16:16:40 gpios have export restrictions? Feb 22 16:16:41 k. thanks. Feb 22 16:16:47 What I find interesting is that there is a "I2CPort" class in RXTX Feb 22 16:16:50 mru: some are not allowed in Iran Feb 22 16:16:51 bitbanged missile guidance? Feb 22 16:17:02 is there any way to assign an application to be owner, rather than just all of userspace? Feb 22 16:17:04 prpplague: http://www.gif.tv/#/giftv-1212-baconsizzle Feb 22 16:17:30 av500: hehe blocked Feb 22 16:17:31 jwinnebeck: DMX512 is RS485 with 250kbaud Feb 22 16:17:48 and my RS485 parts from TI arrived today :) Feb 22 16:17:59 ha, well I don't know DMX512 Feb 22 16:18:02 jkridner_: kkeller and I worked out the error and then set out to improve error reporting for future users Feb 22 16:18:04 my world is small Feb 22 16:18:05 prpplague: imaging bacon, sizzling Feb 22 16:18:20 av500: and what is up with the quote from J1708 on message length? Feb 22 16:18:26 jkridner_: although it does mean more people will find out that I am responsible for messing up their app :) Feb 22 16:18:31 That's .... true but relevant to what? Feb 22 16:18:53 av500: hehe Feb 22 16:19:39 jwinnebeck: I found it amusing Feb 22 16:20:00 like the ECUs starting to exchange gossip while the vehicle is stopped Feb 22 16:20:17 hah yeah well the annoying part about J1708 is that when the engine is off ther eis NO limit to the message length Feb 22 16:20:26 And there's no message length in the frame Feb 22 16:20:28 jkridner_: with out this, a failed export just ends up as a undefined path during the writeFileSync() in the fs.js file Feb 22 16:20:36 the frame ends when there's an 11ms pause or whatever the length is Feb 22 16:20:45 jwinnebeck: ok, so I find it now amusing and stupid Feb 22 16:20:47 So to be per the spec you need to have a buffer of infinite size Feb 22 16:21:16 jwinnebeck: I know people talking on the phone that expect the same from me :) Feb 22 16:21:17 Although in practice it's not an issue, and it's no different from something like HTTP/SMTP and such that dont' really have a message length Feb 22 16:21:51 av500: DMX is the protocol used for controlling lights and animitronic displays and such, yes? Feb 22 16:22:18 yes Feb 22 16:22:26 you just need to set a reasonable "largest message" that you ever care to expect to read and stick to it Feb 22 16:23:06 av500: do you work in this area? or some other reason you mentioned dmx? Feb 22 16:23:55 no Feb 22 16:23:59 oh ok Feb 22 16:24:01 I plan to play with it Feb 22 16:24:01 i was just curious Feb 22 16:24:12 SilicaGel: it's also a famous actor/musician Feb 22 16:24:21 ever sincE I saw that youtube thing with the halloween house that sings michael jackson's "Thriller"... I have been interested in taht stuff, slightly Feb 22 16:24:51 thanks for posting the gif.tv link, I've never heard of this site, and now my whole friggin day is shot Feb 22 16:24:55 I decided I don't want to spend that much $ on it though so instead I bought about 15' of EL wire and plan to recreate that singing house in an 8.5 x 11 picture frame Feb 22 16:24:58 I can't stop lauging Feb 22 16:25:20 av500: https://plus.google.com/115547683951727699051/posts/C4ALVny7j5Q Feb 22 16:25:20 jwinnebeck: same here, but I thought I ruin somebody else'S too Feb 22 16:25:48 koen: yep Feb 22 16:26:26 wow I read that whole page yesterday and I didn't see the goatse! Feb 22 16:26:37 wow canonical! Feb 22 16:27:03 https://tbe.taleo.net/NA3/ats/careers/requisition.jsp?org=CANONICAL&cws=1&rid=217 Feb 22 16:27:17 they need it more than ever Feb 22 16:27:37 "Candidates must have a proven track record in producing stunning concepts and converting these into final artworks" Feb 22 16:27:42 kkeller, koen: thanks. I'll either apply the given patch and test it or accept a git merge request. Feb 22 16:27:45 well there's not much more stunning than goatse Feb 22 16:27:50 and final Feb 22 16:27:56 that's true Feb 22 16:28:11 maybe it was his final artwork before he left :) Feb 22 16:28:49 I bet he works for the prague public transit org nowadays Feb 22 16:28:57 and btw, since when do people "talk" by touching each others fingertips? Feb 22 16:29:06 jkridner_: I can test this afternoon if you wish… I have several test cases already set up (Just have to go out for several errands) Feb 22 16:29:07 Since ET you insensitive clod Feb 22 16:29:08 ET: yes, *you* do Feb 22 16:29:10 you racist Feb 22 16:29:17 or speciest Feb 22 16:29:20 whatever it is Feb 22 16:29:27 I prefer specialist Feb 22 16:29:56 speaking of old stuff, I wonder if... Feb 22 16:30:01 hmm nope Feb 22 16:30:16 I used to use mirc years ago you could slap people with trouts Feb 22 16:30:21 kkeller: thanks. I'll look for your ack before applying to master. Feb 22 16:30:23 apparently pidgin can't /slap Feb 22 16:30:30 * av500 slaps jwinnebeck with a huge trout Feb 22 16:30:35 oh no!!! :) Feb 22 16:30:46 or did you cheat with a /me Feb 22 16:31:08 it's hard to be a racist since all living humans belong to the same hominid subspecies Feb 22 16:31:16 jwinnebeck: maybe he created an irssi alias, but does it really matter? Feb 22 16:31:25 slapped is slapped Feb 22 16:31:33 Yes, mru, it does obviously. There's no slap as authentic as the original one Feb 22 16:41:20 the original woudl ahve said "about a bit" Feb 22 16:41:24 it slaps you about a bit with a large trout Feb 22 16:43:03 hello Feb 22 16:46:18 I have a question Feb 22 16:46:25 about memory Feb 22 16:46:42 data group DQ and DQS Feb 22 16:48:07 I use Agilent 9000 Test DDR, it was found that the DQ DQS no Hi-z state Feb 22 16:48:33 thanks Feb 22 16:49:26 ask Gerald on the mailing list Feb 22 16:49:28 I want to ask what reason is this cause Feb 22 16:52:17 I config SDRC_DATA0 1 ......register, enable input , disable pull up and pull down Feb 22 16:53:04 ask Gerald on the mailing list Feb 22 16:54:05 ok, Feb 22 16:54:08 av500: ever considered a career as a parrot? Feb 22 16:54:26 been there, done that Feb 22 16:54:31 been there, done that Feb 22 16:54:49 :) Feb 22 17:32:25 Hello, I'm looking to purchase a BeagleBoard-xM, and I was wondering if anyone here could provide some insight into the required hardware to setup the proper enviroment. Is a separate monitor/mouse/keyboard really required for testing/development? Feb 22 17:33:23 * mranostay yawns Feb 22 17:47:11 ah my mug is in a few ELC photos I see Feb 22 17:47:26 at least i have proof that i went :) Feb 22 17:48:17 * koen checks http://www.flickr.com/photos/13825348@N03/sets/72157629428790651/ Feb 22 17:49:18 I spot Tartarus in the first one Feb 22 17:49:36 heh Feb 22 17:49:45 * prpplague looks for a good picture to add spock into Feb 22 17:49:54 only my back! Feb 22 17:49:56 hehe zach Feb 22 17:51:04 heh, there's one of Russ Feb 22 17:51:15 http://www.flickr.com/photos/13825348@N03/6773574904/in/set-72157629428790651/lightbox/ Feb 22 17:51:30 was about to say, koen Feb 22 17:51:32 Marc_, You don't NEED a monitor, keyboard or mouse so long as you don't want to use any of those. I made a list (it's a bit old now) of what I got: http://www.bradfordembedded.com/2011/01/it-s-alive-the-beagleboard-xm-that-is/ Feb 22 17:51:40 and mdp and mranostay Feb 22 17:51:46 Tartarus, mdp, mranostay, me Feb 22 17:52:14 slightly to the left, galak? Feb 22 17:52:22 yes Feb 22 17:52:32 and reaperofsouls Feb 22 17:53:06 reaperofsouls? Feb 22 17:53:11 and sakoman to the far left Feb 22 17:53:12 jeremy Feb 22 17:53:15 mranostay: jeremy Feb 22 17:53:55 So, of the 6000 shots of beckyb, none online? conspiracy! Feb 22 17:54:09 private collection :) Feb 22 17:54:51 isn;t becky in http://www.flickr.com/photos/13825348@N03/6773574904/in/set-72157629428790651/lightbox/ ? Feb 22 17:54:56 Tartarus, proof to mgmt that we were there…*whew* Feb 22 17:55:20 mdp: that is what i was thinking as well :) Feb 22 17:55:23 Ah, true Feb 22 17:55:27 Just all of the closeups Feb 22 17:55:46 I think even dsaxena is in there Feb 22 17:55:48 Thanks bradfa for the great link. I'm looking to run the board off of minicom on a Linux desktop (to cut costs) and I wasn't sure if it was possible. Feb 22 17:55:53 mranostay, we just have to explain the amount of time spent in the "Champagne Room" Feb 22 17:56:02 Marc_, Yes, definitely possible, that's how I run my xM Feb 22 17:56:23 Awesome, I really appreciate bradfa, thank you for the help, I think I'll definitely purchase an xM now. Feb 22 17:56:47 koen, I think I see Waldo in that one now! Feb 22 17:57:03 Marc_, Just be aware, I think the power supply I have listed in my blog post is no longer available. Feb 22 17:57:16 mdp: charity event for wayward women? :) Feb 22 17:57:30 HR has no humor Feb 22 17:57:35 like Legal Feb 22 17:57:43 * mranostay should dress up as Waldo for the next conference Feb 22 17:58:19 Thanks bradfa, I believe we have a suitable power-source available. Feb 22 17:58:24 Take care! Feb 22 17:58:33 we went to a AA baseball game some time back and there was a guy dressed like Waldo wandering about….kept switching seats at the field Feb 22 17:58:56 had the proper glasses and everything, really, his intention was to be real Waldo Feb 22 18:00:15 mdp: luckily "champagne room" is only a loaded term in the us Feb 22 18:00:42 heh Feb 22 18:01:06 I'm easily amused too Feb 22 18:01:10 koen: "luckily"? you guys are missing out :P Feb 22 18:02:21 as long as you take your vitamines Feb 22 19:02:37 What is the best way to ensure that my webcam is working? I have a Logitech C110 and a dmesg shows that the driver is present and the device is being registered. Feb 22 19:41:20 How easy is it to write an OS for Beagle*? Feb 22 19:41:52 ask, how difficult is it to write linux.. :) Feb 22 19:41:56 probably not harder than anything else ? Feb 22 19:42:21 I get the impression (I'm not super knowledgable) that ARM is a bit easier than x86 Feb 22 19:42:35 but I've no real experience with that Feb 22 19:42:38 I just use Linux :) Feb 22 19:42:43 djlewis: The thing is that I want to write an ARM OS, and I am not aiming for a Linux competitor Feb 22 19:42:55 of course once you get past the architecture, a lot of the OS is common Feb 22 19:42:56 with my present knowledge base, given the choice I'd pick x86 to bring up to an os Feb 22 19:42:58 like process management Feb 22 19:43:27 <_av500_> what is an ARM OS? Feb 22 19:43:46 <_av500_> opposite of LEG OS? Feb 22 19:44:02 _av500_: An OS running on an ARM processor, in this case the ARM Cortex-A8/A9 Feb 22 19:44:52 djlewis: But osdev requires asm, and no sane person would consider writing x86 ASM Feb 22 19:45:04 <_av500_> the_student: you need a few lines of asm Feb 22 19:45:05 LegOS ... that's Legolas's brother, right? Feb 22 19:45:36 _av500_: But ARM asm is atleast half-sane Feb 22 19:45:59 <_av500_> that all nice Feb 22 19:46:02 <_av500_> thats Feb 22 19:46:28 <_av500_> but it wont help you much to write an os Feb 22 19:46:38 can we ask Gerald on the list? Feb 22 19:47:36 _av500_: I also don't have to bother with being compatible with all those weird and legacy combinations Feb 22 19:48:18 <_av500_> you are writing a toy os for yourself Feb 22 19:48:25 <_av500_> you dont have any legacy Feb 22 19:48:33 <_av500_> to care for Feb 22 19:48:48 I was talking about legacy hardware Feb 22 19:48:56 you don't want ISA support? Feb 22 19:49:20 Not really Feb 22 19:49:51 Neither do I want to have to mess around with the nasty x86 tables either Feb 22 19:50:24 there's nastiness everywhere Feb 22 19:50:34 ARM is wrong endian…that's ugly Feb 22 19:50:44 <_av500_> lol Feb 22 19:50:48 ARM is Bi-endian Feb 22 19:51:00 <_av500_> no, ISO9660 is Feb 22 19:51:14 the_student: put that in quotes :) Feb 22 19:51:32 the_student: arm hasn't been bi-endian for a long time Feb 22 19:51:42 and I've worked on BE IXP too :) Feb 22 19:51:49 So it's 6502 endian? Feb 22 19:51:57 it's little endian Feb 22 19:52:15 there is a mode where _data_ accesses are big endian Feb 22 19:52:26 instructions are always LE Feb 22 19:52:39 everything is simpler if you just stick with the full LE mode Feb 22 19:52:44 there's the "quotes" I wanted Feb 22 19:53:33 armv5 had full bi-endian support Feb 22 19:53:43 this was deprecated and made optional in armv6 Feb 22 19:53:48 and it's gone in v7 Feb 22 19:55:12 Although I am used to big-endian, little-endian seems practical for my uses Feb 22 19:55:52 for most uses it doesn't matter at all Feb 22 19:56:42 if data needs to be read or written in the "wrong" byte order, there are fast byte-reverse instructions for that Feb 22 19:56:51 it's highly unlikely that this will be a bottleneck Feb 22 19:57:23 <_av500_> some people have principles Feb 22 19:57:35 <_av500_> and wont write on OS for the wrong endiannes Feb 22 19:58:16 So if ARM is LE, then that means the vast majority of processors out there are LE Feb 22 19:58:22 since x86 is LE Feb 22 19:58:27 <_av500_> yep Feb 22 19:58:28 and sparc is sort of dead Feb 22 19:58:38 that's the only BE arch I know about Feb 22 19:58:45 except PPC... I can't remmeber Feb 22 19:59:03 right, and there's only a couple ppcs around Feb 22 19:59:09 That's great, some of the stuff I'll interface is meant for the PDP-11 series Feb 22 19:59:13 they aren't used anywhere Feb 22 19:59:28 like freebsd Feb 22 19:59:44 isn't xbox 360 ppc? Feb 22 19:59:46 does ARM require aligned reads/writes? Feb 22 20:00:03 <_av500_> not any more Feb 22 20:00:16 thurbad: Kinda Feb 22 20:00:16 hmm OK so is it more like x86 where misalignment is OK but at a penalty? Feb 22 20:00:24 _av500_: no? Feb 22 20:00:30 * _av500_ would rather discuss important stuff like java uart access than endianness in 2012 Feb 22 20:00:41 Java UART access? Feb 22 20:00:46 not RXTX again! :) Feb 22 20:00:51 _av500_, microkernel? Feb 22 20:01:19 risc versus cisc? Feb 22 20:01:21 I'm looking at Java PRU access right now Feb 22 20:01:35 trying to figure out the best way Feb 22 20:01:43 thurbad: 3.2 GHz PowerPC Tri-Core Xenon Feb 22 20:02:19 *ahem*…that's Power(™) Feb 22 20:02:24 the PC is gone Feb 22 20:02:44 <_av500_> jwinnebeck: wire the PRU to be a uart and use RXTX :) Feb 22 20:02:54 oh come on Feb 22 20:02:59 don't make me throw up Feb 22 20:03:00 jkridner_: arm can do unaligned accesses since v6 Feb 22 20:03:21 <_av500_> mru: arm took out all the fun out of arm Feb 22 20:03:25 but do they result in what is expected? Feb 22 20:03:28 k. Feb 22 20:03:48 _av500_: What do you mean? Feb 22 20:03:55 does it even do it in v4/v5 code? Feb 22 20:04:07 <_av500_> next thing you know, arm will run windows... Feb 22 20:04:26 the_student: _av500_ means that it has become easy to program on ARM and therefore not as fun a challenge. Feb 22 20:04:36 mru: Isn't that required for Thumb? Feb 22 20:04:44 jkridner: k Feb 22 20:04:53 the_student: no Feb 22 20:05:34 mru: I thought it was required since Thumb is 16-bit, not 32-bit Feb 22 20:05:43 jkridner_: on v6 and up, unaligned accesses behave exactly as expected Feb 22 20:05:52 <_av500_> the_student: registers are still 32bit Feb 22 20:06:00 the_student: thumb _instructions_ are 16-bit aligned Feb 22 20:06:16 so yes, a 32-bit thumb2 instruction can be misaligned Feb 22 20:06:34 and that's a cause of a host of nasty bugs, both in sw and hw Feb 22 20:06:37 _av500_: Sure, since thumb isn't really a separate instruction set Feb 22 20:07:02 but then again thumb2 is only in (some) v6 and later Feb 22 20:07:07 And why do you seem so negative to the Win-ARM idea? Feb 22 20:08:10 <_av500_> oh, i am not Feb 22 20:08:26 <_av500_> win on arm has the same use as linux on netbooks Feb 22 20:08:31 <_av500_> make intel reduce chip prices Feb 22 20:08:44 <_av500_> like it forced m$ to reduce XP prices Feb 22 20:08:56 And make Vista less crappy Feb 22 20:09:06 win 7 prices are up again Feb 22 20:09:41 <_av500_> thurbad: yes, linux on netbooks is dead :) Feb 22 20:10:02 <_av500_> joe the plumber did not grok it Feb 22 20:10:26 yeah I have to install linux myself after paying for the windows license on a new netbook :/ Feb 22 20:11:55 joe the plumber doesn't really understand windows or mac either but it comes with preconfigured shortcuts ~.~ Feb 22 20:12:48 AFK Feb 22 20:12:52 Bye Feb 22 20:12:53 What really gets me is the people who can use a computer and NOT realize it's mac or windows or Linux Feb 22 20:12:56 in some cases Feb 22 20:13:23 <_av500_> why? Feb 22 20:13:30 I had a friend that grduated with a CS degree that didn't know if she had a mac or a pc Feb 22 20:13:33 then there are some that can see the difference but then assume they can't do anything at all, like it's mac now so they forget how to move windows Feb 22 20:14:11 <_av500_> my wife does not realize when i leave the pc running linux Feb 22 20:14:15 thurbad: *facepalm* Feb 22 20:14:18 <_av500_> she clicks the firefox icon as before Feb 22 20:14:23 _av500_: exactly... so Feb 22 20:14:26 desktop OS's are fairly similar as long as you're a superficial user Feb 22 20:14:34 well if there ar epeople that can't tell linux from Windows, then why is Linux a non-starter on desktop? Feb 22 20:14:43 <_av500_> jwinnebeck: office Feb 22 20:14:59 this was back in the days before firefox.. when netscape was still its own company Feb 22 20:15:07 OK you can get office on wine Feb 22 20:15:21 or open office Feb 22 20:15:31 I tend to use open office most of the time Feb 22 20:15:32 I Switched to OOo on Windows Feb 22 20:15:38 MS Office is totally gone Feb 22 20:15:40 thurbad: what do they teach in CS i wonder Feb 22 20:15:46 it's not as good, but it's not $500 either Feb 22 20:15:57 For what I do as a home user it's perfectly fine Feb 22 20:16:02 I really only use calc Feb 22 20:16:17 <_av500_> oh, and printer drivers Feb 22 20:16:22 I can probably count on one hand the number of times I used Word in the last decade at home Feb 22 20:16:33 <_av500_> and scanner drivers Feb 22 20:16:37 <_av500_> stuff my dad needs Feb 22 20:16:53 And now I use google docs instead Feb 22 20:16:56 I only have Office because I occasionally do consulting that requires Access... ick Feb 22 20:16:57 <_av500_> heck, even i boot windows to scan Feb 22 20:17:05 gdocs fixes a lot of the problems I've had with office for a long time Feb 22 20:17:34 it's collaborative and versioned Feb 22 20:17:39 gdocs has been flowcharting than standard office Feb 22 20:18:05 I've been very dissapointed in MS Office's lack of innovation for a long time Feb 22 20:18:22 Office 2003 isn't THAT different from Office now Feb 22 20:18:34 they add a little useful thing now and then but still Feb 22 20:18:35 not on the level of Visio.. but it's good enough for most of the things I need use it for Feb 22 20:18:51 Visio is one tool that's been hard to replace Feb 22 20:19:02 But I also "hate" it Feb 22 20:19:05 it seems to be a time suck Feb 22 20:19:07 except for the changed UI, which was unnecessary Feb 22 20:19:11 although there's nothing better Feb 22 20:19:35 I mean there hav ebeen improvements, like in Excel they added the highlighing of cells used in a formula Feb 22 20:19:41 and easier conditional formatting Feb 22 20:19:51 but that's all they did in like 3 years between a release? Feb 22 20:20:04 Office is a horrible suite they need a whole paradigm shift Feb 22 20:20:23 collaboration... also more introduction of WYMIWYG concepts Feb 22 20:20:39 which HTML and LaTeX have figured out years before Office even existed Feb 22 20:20:55 I think visual paradigm is a nice tool that can do most everything Visio can ,and then some but not cheap Feb 22 20:20:59 and even to this day you have people that spend 60 minutes going through a document and bolding and coloring things one line at a time Feb 22 20:21:12 then Word gets all screwed up Feb 22 20:21:19 and they fight against it to fix it Feb 22 20:22:40 I really hate when word starts trying to 'fix' my formatting Feb 22 20:22:52 latex ftw Feb 22 20:23:01 or lately: plain text ftw Feb 22 20:23:05 ha Feb 22 20:23:13 never learned LaTex Feb 22 20:23:29 I think "everyone" should learn LaTeX Feb 22 20:23:41 for the same reason "everyone" should learn LISP Feb 22 20:23:47 although I don't really know LISP that well :) Feb 22 20:23:58 latex and winword are opposites Feb 22 20:24:11 winword is the epitome of wysiwyg Feb 22 20:24:18 latex is the epitome of wymiwyg Feb 22 20:24:58 Although I could say learning proper HTML/CSS is about the same Feb 22 20:25:10 I've seen word open documents differently than they appeared when they were saved.. that's not fun Feb 22 20:25:26 it's the same concept. Define the semantics of the text and style based on that rather than the style of the text without context Feb 22 20:29:53 latex is imho a must for every document with more than 10 lines, if it can't be html or plain ascii. ;) Feb 22 20:30:04 haha Feb 22 20:30:14 well years ago I always thought HTML was a better word processor than Word Feb 22 20:30:27 and I would use Dreamweaver as a word replacement in the early 200s Feb 22 20:30:28 2000s Feb 22 20:30:34 everyone can open HTML Feb 22 20:30:41 and HTML can do everything Word can do and more Feb 22 20:31:06 and so that's another reason I "like" gdocs in that it appears that the docs are just HTML Feb 22 20:31:09 I've used html as a replacement for something like a wiki. Feb 22 20:31:25 And since HTML is text-based that enables proper version control and collaboration (3-way merge) Feb 22 20:31:29 not as something someone should write texts with Feb 22 20:32:07 Well I wouldn't try a book in HTML Feb 22 20:32:12 but I also wouldn't write a book in Word either Feb 22 20:32:16 I would use LaTeX Feb 22 20:32:34 txt2tags is nice too Feb 22 20:32:44 So I don't really find Word useful for anything outside of my professional life where Word is expect Feb 22 20:32:51 and actually the majority of my work documents are really wiki Feb 22 20:33:05 But I have to use Outlook/Word with outsiders Feb 22 20:33:17 I usually use Google Docs with outsiders Feb 22 20:33:30 latex -> pdf ;) Feb 22 20:33:30 they at least they can handle those Feb 22 20:33:31 * woglinde wonders sometimes if jwinnebeck is a woman Feb 22 20:33:56 Yeah my big problem with gdocs is the fact I don't like to store private data in cloud, including word stuff Feb 22 20:34:10 aholler: so emacs or vim? :) Feb 22 20:34:16 woglinde: why would you think I am one gender or another? Feb 22 20:34:35 talking so much Feb 22 20:34:43 heh Feb 22 20:34:56 that is sexist and totally unacceptable Feb 22 20:34:58 woglinde: since you are here, you don't happen to have JNA in meta-java, do you? I didn't find it Feb 22 20:35:07 And I do talk a lot Feb 22 20:35:07 koen: are you alive? Feb 22 20:35:30 some blame it on too much caffiene Feb 22 20:35:30 I have a lot of qualities that are those typically associated with women Feb 22 20:35:35 latex is the way to go. Its just too bad about the syntax Feb 22 20:35:43 I also have a lot of qualities that men typically have Feb 22 20:35:50 I'm actually the one who drinks too much caffeine, not him. Feb 22 20:35:56 Well I really use Lyx when I do latex Feb 22 20:36:14 I used to do latex in vim... Feb 22 20:36:30 Maybe one thinks lyx is cheating ,but it's still "what-you-mean" instead of "what you see" Feb 22 20:36:48 in that lyx doesn't have formatting commands Feb 22 20:36:51 * mranostay is on a health kick. limiting caffeine and alcohol Feb 22 20:37:03 of course ELC screwed that up last week :) Feb 22 20:37:16 what I need from latex are usually not more than 10 tags or such. everything else can be found in l2kurz Feb 22 20:37:56 jwinnebeck send patch Feb 22 20:38:17 mru: now every time you say something troll-like i hear it in a accent :) Feb 22 20:39:07 * mdp imagines a troll's accent Feb 22 20:39:12 woglinde: well I don't think I need it yet Feb 22 20:39:23 than why you asked me Feb 22 20:39:43 well it is suprisely british Feb 22 20:39:54 was thinking about using it for PRU but there is already JNA for ARM, I might just use that Feb 22 20:39:59 if I do end up using JNA Feb 22 20:40:22 SilicaGel and I are working on it Feb 22 20:40:26 <_av500_> JNA is JNI for ARM? Feb 22 20:40:34 JNA is a "replacement" for JNI Feb 22 20:40:37 av500 no Feb 22 20:40:45 jan is jni with lower overhead Feb 22 20:40:46 it eliminates the need for you to write a JNI wrapper around C code and call C code directly Feb 22 20:40:48 ups Feb 22 20:40:55 like python-c foo Feb 22 20:40:57 or so Feb 22 20:41:04 that's definitely not true woglinde. JNA has more overhead (3x direct or 30x standard) Feb 22 20:41:12 JNA is implemented on top of JNI Feb 22 20:41:23 I meant the overhead of writing the c stubs foo Feb 22 20:41:27 JNA is more like P/Invoke from C# Feb 22 20:41:29 * _av500_ proposes JNO in top of JNA Feb 22 20:41:48 just use c++ ;) Feb 22 20:42:03 JNA is basically a "generic" wrapper of C code written in JNI to remove the need for custom JNI code Feb 22 20:42:17 jwinnebeck no I meant using lib functions directly in python Feb 22 20:42:40 oh yeah I don't know about python-c Feb 22 20:42:58 JNA is definitely less overhead for development but more overhead for CPU Feb 22 20:43:04 learn more python Feb 22 20:43:24 cpu's getting faster and faster Feb 22 20:43:28 na, python is broken by tabs Feb 22 20:43:39 dont use tabs Feb 22 20:43:42 Yes CPUs are getting faster, maybe we are on 2 different conversations :) Feb 22 20:43:53 .o(woman) Feb 22 20:43:54 and you will have to search tons of bugs through testing which is a total fail Feb 22 20:44:06 aholler o.O Feb 22 20:44:14 groovy > python Feb 22 20:44:15 maybee wrong debugging technic? Feb 22 20:44:29 is it flame war day? :) Feb 22 20:44:35 there is even springpython Feb 22 20:44:37 searching errors through debugging is wrong too Feb 22 20:44:38 * woglinde runs Feb 22 20:44:41 Well someone started it earlier with emacs vs vi Feb 22 20:44:46 but emacs is an operating system Feb 22 20:44:49 vi is a text editor Feb 22 20:45:30 init=/usr/bin/emacs ? :) Feb 22 20:45:36 this became clear when I tried to bitbake angstrom and automake failed to compile because it was trying to use emacs to COMPILE something Feb 22 20:45:50 emacs is a compiler now apparently Feb 22 20:47:31 hm lisp introduced many nice programming features Feb 22 20:47:55 also emacs was started by RMS Feb 22 20:47:56 besides brackets Feb 22 20:48:06 for those that helped me out yesterday, I did manage to get a USB Bluetooth dongle working on beagleboard xm running android. Thanks a bunch! Feb 22 20:48:11 and I can't use a software from someone who doesn't know how to shower or get a haircut Feb 22 20:48:23 TonyB what was the solution? Feb 22 20:48:54 jwinnebeck jesus didnt know about haircut too Feb 22 20:49:12 seriously? Feb 22 20:49:16 i suspect showers were hard to come by to. Feb 22 20:49:30 at least when you walk overwater Feb 22 20:49:37 https://www.google.com/search?q=richard+stallman&hl=en&prmd=imvnso&tbm=isch&tbo=u&source=univ&sa=X&ei=0FRFT_DWG4mIgwfFwNCaBA&ved=0CFMQsAQ&biw=1164&bih=845 Feb 22 20:49:37 lol Feb 22 20:49:41 that's the face of emacs! Feb 22 20:49:50 The .config file was getting changed by omap3_beagleboard_android_defconfig even after I was using make menuconfig. So everything that I was changing with make menuconfig was being over written. Feb 22 20:50:13 TonyB yes Feb 22 20:50:16 hehe Feb 22 20:50:25 I can't say too much though he also worked on GCC Feb 22 20:50:33 damn android build foo Feb 22 20:50:55 I had to edit the omap3_beagleboard_android_defconfig to eventually get btusb to load. Feb 22 20:51:28 no docs to support what I am saying, but it works Feb 22 20:53:56 btw. python is like perl, a language to friggle something fast together but not for real usage. for real stuff you want a static typed language where the compiler already finds errors. Feb 22 20:54:19 aholler your design errors? Feb 22 20:54:21 I... disagree with that Feb 22 20:54:28 or multithreading errors? Feb 22 20:54:33 get real Feb 22 20:54:53 After getting into code for things like Trac, I see that Python is perfectly fine for real projects Feb 22 20:54:55 for errors you writes test anyway Feb 22 20:55:00 it's not my personal choice, but there is nothing wrong with it Feb 22 20:55:21 hm ahollers tries to troll nice Feb 22 20:55:22 the dynamic vs static is like mac vs pc or emacs vs vi Feb 22 20:55:32 woglinde: next fail. it's almost impossible to write tests for every possible program flow Feb 22 20:55:51 aholler: that's how I feel about python too Feb 22 20:56:42 hm I wrote stuff in python faster than in java and works Feb 22 20:57:03 with how many lines? 100? 200? Feb 22 20:57:04 and python has the better serial line bindings Feb 22 20:57:05 haha Feb 22 20:57:14 oh no Feb 22 20:57:18 not RXTX again Feb 22 20:57:22 ;) Feb 22 20:57:26 every conversation keeps coming back to RXTX Feb 22 20:57:28 I swear man Feb 22 20:58:33 I wonder if some of those neato java text to speech libraries I was playing with on linux/x86 would work on bone with McASP Feb 22 20:58:42 I don't know if there's native stuff involved. Probably is. :( Feb 22 20:58:50 SilicaGel it is Feb 22 20:59:04 It is what? Neat? or native? Feb 22 20:59:25 native Feb 22 20:59:30 oh Feb 22 20:59:32 I don't know waht I used now Feb 22 20:59:35 let me look Feb 22 21:00:03 btw you could use dbus for transmitting it to your speech service Feb 22 21:00:18 and have to suck in libmatthew? :( Feb 22 21:00:27 ;) Feb 22 21:00:44 at least it's not RXTX... Feb 22 21:00:58 in our project we runs the dbus service on side and java client on other side for communication Feb 22 21:01:07 dbus service written in python Feb 22 21:02:15 * SilicaGel curses at the am335x trm ... again Feb 22 21:02:17 my usual anti-python-example: http://fpaste.org/cirt/ Feb 22 21:02:19 I :heart: dbus Feb 22 21:02:36 I used to have a palm pre, and the way they used the dbus on that was just fabulous Feb 22 21:02:36 aholler anti-php example? Feb 22 21:03:16 where in bloody hell is IMEM0 mapped into the global address space Feb 22 21:03:20 aholler no option parser used you are out Feb 22 21:03:28 ups argparser Feb 22 21:03:30 since 2.7 Feb 22 21:04:07 does python still have that GIL? Feb 22 21:04:07 go and teach trolls Feb 22 21:04:50 aholler sure make your c++ apps nobody can maintain Feb 22 21:05:06 pruramarea = (unsigned int *) prussdrv.pru0iram_base; Feb 22 21:05:08 great Feb 22 21:05:10 where the hell is THAT Feb 22 21:05:29 yeah back to pruss Feb 22 21:05:34 I'm sorry Feb 22 21:05:34 SilicaGel: the top of the prussdrv.c sets everything up Feb 22 21:05:46 the header has just a bunch of offsets Feb 22 21:05:50 all magical Feb 22 21:07:14 PRU0IRAM_PHYS_BASE 0x01C38000 Feb 22 21:07:32 okular sucks ass, I need a better pdf reader for linux. Feb 22 21:08:54 I think I asked this yesterday but didn't get an answer... what does ./oebb.sh update do, is it the same as for each dir in sources do git pull --rebase? Feb 22 21:08:55 Nice Feb 22 21:08:56 that's wrong. Feb 22 21:09:09 it's in the wrong place. Feb 22 21:09:26 It's at 0x43a03400 Feb 22 21:09:36 SilicaGel: it doesn't matter Feb 22 21:09:51 if you notice everything is subtracted from the PRU0BASE or whatever it is Feb 22 21:09:55 koen: do you have a PDF of your ELC talk? Feb 22 21:10:08 so the absolute addresses are there, but the prussdrv.c code only ever looks at the offsets Feb 22 21:10:11 jkridner: do you have a PDF of your ELC talk? Feb 22 21:10:16 why it's dont that way I don't know Feb 22 21:10:27 I sent in the .pptx, but I'll get you a PDF. Feb 22 21:10:56 hi wmat Feb 22 21:12:26 yeah but it has to be wrong. my program didn't get to IRAM0. Feb 22 21:12:49 jkridner: thx Feb 22 21:12:56 woglinde: hi Feb 22 21:13:15 most of the ELC2012 presentations are up on elinux.org now, btw Feb 22 21:13:17 jkridner: I tested the code from koen - it did not work. Failed one test case Feb 22 21:14:41 video? Feb 22 21:14:42 and the video is out now Feb 22 21:15:04 http://video.linux.com/categories/2012-embedded-linux-conference Feb 22 21:16:06 wow, that was quick for the video turn around Feb 22 21:16:29 wmat: greetings btw Feb 22 21:16:37 prpplague: greetings Feb 22 21:16:58 wmat: do i need to add a link for my slides on elinux? Feb 22 21:17:19 prpplague: nope, I took care of it Feb 22 21:17:34 http://elinux.org/ELC_2012_Presentations Feb 22 21:17:36 can we link to my resource page instead? Feb 22 21:17:41 sure Feb 22 21:17:48 * prpplague edits Feb 22 21:19:24 wmat: i'd like people to go to the resource page just so they are aware there is additional support material Feb 22 21:20:48 prpplague: sounds good Feb 22 21:24:34 did Free Electrons film the talks again? Feb 22 21:25:05 wmat: yea they did the filming, but did it for LF iirc Feb 22 21:28:48 cool, thanks Feb 22 21:33:08 For some reason I thought that https://github.com/Angstrom-distribution/meta-ti/commit/d04a83f7ee7d4a5f51aebc97f444b1f0c19fb0a0 would get into my checkout, but I notice the setup-scripts repo at git://git.angstrom-distribution.org/setup-scripts has a layers file actually pointing to git://git.angstrom-distribution.org/meta-texasinstruments Feb 22 21:33:20 So does koen have his own branch or something? Feb 22 21:33:30 its the same Feb 22 21:33:47 name only differs Feb 22 21:33:48 oh man I'm really trying here with git, I better go back to my RTFMing Feb 22 21:34:11 I did a git fetch and git pull and didn't get the latest stuff Feb 22 21:34:14 at least based on git log Feb 22 21:34:22 I thought I was starting to get it Feb 22 21:34:26 git rebase Feb 22 21:34:29 hm let me see Feb 22 21:34:47 OK I will read up on rebase soon Feb 22 21:34:52 https://github.com/Angstrom-distribution/meta-ti Feb 22 21:35:04 hm Feb 22 21:35:33 http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/meta-texasinstruments/ Feb 22 21:36:41 Well here is what I did. I followed the directions at http://www.angstrom-distribution.org/demo/beaglebone/ on how to use git and bitbake to do systemd-image Feb 22 21:36:47 this was awhile ago, a month or 2 now Feb 22 21:36:51 I made simple changes Feb 22 21:36:57 I learned that with git is safe to commit Feb 22 21:37:11 yes nearly Feb 22 21:37:16 so I watned to check out the updates, so I did a git branch xyz, git checkout xyz, git commit -a xyz Feb 22 21:37:19 git checkout master Feb 22 21:37:25 then I did git pull Feb 22 21:37:35 do pull --rebase Feb 22 21:37:37 I figured I would get the latest code now Feb 22 21:37:37 anytime Feb 22 21:37:46 Yeah I thought --rebase only matters if you have commits Feb 22 21:37:51 depends what you pulled Feb 22 21:37:52 you todl me rebase so I did rebase almost always Feb 22 21:38:08 but when I made a branch, effectively I tagged what I had on my disk at that time, right? Feb 22 21:38:08 you can do git fetch Feb 22 21:38:19 and manuanlly select the branch to rebase Feb 22 21:38:33 and yesterday I mastered rebase --onto Feb 22 21:38:58 which lets you merge only a specific range patches Feb 22 21:38:58 Well what I wanted to do is take my version on disk, with my mods, and freeze them. I think I did that properly Feb 22 21:39:09 but git log HEAD..FETCH_HEAD still shows a bunch Feb 22 21:39:14 and get log shows older stuff Feb 22 21:39:31 but I'm also on meta-texasinstruments and not meta-ti Feb 22 21:39:38 I don't think they are the same although you said they were? Feb 22 21:39:51 whats git branch -r saying? Feb 22 21:40:15 rebase does fast-forward if you don't have selfmade commits Feb 22 21:40:23 a lot of stuff, but the first line is origin/HEAD -> origin/master Feb 22 21:40:33 Yeah aholler: it did say it was fast forwarding when I did it the first time Feb 22 21:40:36 let me check something Feb 22 21:40:43 git rebase remotes/origin/HEAD Feb 22 21:41:01 ok my meta-ti is up to date Feb 22 21:41:13 it's just not inclusive of this patch: https://github.com/Angstrom-distribution/meta-ti/commit/d04a83f7ee7d4a5f51aebc97f444b1f0c19fb0a0 Feb 22 21:41:17 because I'm on a different repo Feb 22 21:42:05 you might clone it on your pc and clone it on the beagle from the pc. so you can use gitk or something similiar Feb 22 21:42:10 so it's the setup-scripts git that has me stumped but I didn't make a branch there Feb 22 21:43:24 OK I have some sort of weird branch that's why Feb 22 21:43:32 I wonder if I made that branch Feb 22 21:43:42 git branch Feb 22 21:43:43 there is master and oe-core local and I'm on oe-core Feb 22 21:43:46 shows your local Feb 22 21:43:48 branches Feb 22 21:43:49 Yeah Feb 22 21:43:51 I got that Feb 22 21:43:55 git branch -r remotes one Feb 22 21:43:59 git branch -a all Feb 22 21:44:21 Did oebb.sh create this branch? Feb 22 21:44:24 I don't think I did it Feb 22 21:44:26 maybee Feb 22 21:44:35 in the setup-scripts, I decided a different approach, I did git commit myself Feb 22 21:44:36 I dont use it Feb 22 21:44:43 I update all with git pull --rebase Feb 22 21:44:48 I still haven't figured out what oebb.sh update does and if that's what I really want Feb 22 21:45:00 I thought it would git pull --rebase everything in layers.txt Feb 22 21:45:02 and I hate this google repo tool Feb 22 21:45:13 layers.txt this is a bitbake thing it's NOT a git thing, right? Feb 22 21:45:23 yes Feb 22 21:45:26 even though it's a reference to a bunch of gits Feb 22 21:46:59 ok I switch to master branch and git pull --rebase and it fast forwarded me Feb 22 21:47:05 so I or the oebb script created this branch Feb 22 21:47:12 and since it wasn't attached to the remote, there was nothing to pull into it Feb 22 21:47:23 my interpretation so far Feb 22 21:47:33 but now my commit is on oe-core branch :( Feb 22 21:47:54 these are the changes woglinde had me make for meta-java. Feb 22 21:48:12 OK I'll just port that back in and screw this oe-core branch whatever it is Feb 22 21:48:49 sure Feb 22 21:49:00 local branches should be short living Feb 22 21:49:22 jwinnebeck, btw, have you seen the post on oracle comparing the java performance on arm and subsequent comments by Xerces? Feb 22 21:49:26 well local branches, when I do "git branch" this is equivalent to svn cp right? It's effectively making a tag for me? Feb 22 21:49:47 jsabeaudry btw xerces is xrandby Feb 22 21:49:51 jsabeaudry: I saw an oracle blog post that was more or less an advertisement for their JVM saying it's way faster than openjdk Feb 22 21:49:56 here on freenode Feb 22 21:49:58 no way Feb 22 21:50:01 what the heck Feb 22 21:50:06 is everyone who is anyone on freenode? Feb 22 21:50:11 yes Feb 22 21:50:14 I've been using xerces for years Feb 22 21:50:16 jwinnebeck, mostly yes Feb 22 21:50:16 besides me Feb 22 21:50:24 This is why I love IRC Feb 22 21:50:26 uhm not this xerces Feb 22 21:50:35 one fiber cable == 60ns delay . .. Feb 22 21:50:35 oh? Feb 22 21:50:44 xerces, the Apache xml parser? the one merged into JDK? Feb 22 21:50:46 xerces is a common name in sweden Feb 22 21:50:51 oh Feb 22 21:51:03 I didn't know that Feb 22 21:52:46 so then not http://xerces.apache.org/ Feb 22 21:53:23 hm didnt look up if he wrote it Feb 22 21:53:28 but I bed not Feb 22 21:54:37 hm xerces has same ammount of commits like llvm Feb 22 22:02:21 http://www.disinfo.com/2012/02/mythbusters-banned-from-discussing-rfid-by-visa-and-mastercard/ (TI element) Feb 22 22:03:58 haha Feb 22 22:16:02 just keeps the innocent folk from knowing about it Feb 22 22:20:18 what's the story behind that? They can ping the rfids without you knowing and then do tracking of some sort based on that? Feb 22 22:20:26 what is the distance? Feb 22 22:21:00 several hundred feet Feb 22 22:21:47 wow Feb 22 22:21:49 nothing new btw. Feb 22 22:21:56 since last ccc congress Feb 22 22:22:00 I've heard the concept but... Feb 22 22:22:06 so this is very practical for tracking who enters and leaves a store Feb 22 22:22:10 for example Feb 22 22:22:17 yes for example Feb 22 22:22:23 Maybe it is time to buy a tinfoil wallet Feb 22 22:22:28 sleep well knowing that the credit card companies are hard at work battling evil hackers Feb 22 22:23:11 so really what it means is that someone can figure out who is around them within 100m in an automated way Feb 22 22:23:18 But what information do they get? Feb 22 22:23:30 can they get actual names or clear info, or do they just get some opaque hash Feb 22 22:23:58 if it's a hash then they can tell that person A is the same as person A later but not immediately who person A is (unless they figure it out) Feb 22 22:24:13 the only wireless card I ever carry is a london underground card Feb 22 22:24:19 and it doesn't have my name associated with it Feb 22 22:24:38 my mastercard debit hard has "payexpress" or whatever it's called Feb 22 22:24:43 but you can tap the terminal and pay with it Feb 22 22:24:43 there are howto's on how to remove the chip Feb 22 22:24:51 must be an american thing Feb 22 22:25:02 But you are supposed to get within just a few millimeter Feb 22 22:25:06 and I've never used it once Feb 22 22:25:20 however, that distance could just be because of the power Feb 22 22:25:27 i think it is getting mandatory in the US to put a chip in your pet. Feb 22 22:25:33 they are saying with higher power transmission they can go farther..? Feb 22 22:25:37 mru, it probably wouldn't be hard to associate a name with your underground card if you keep it for long periods of time Feb 22 22:25:45 djlewis: I've never heard of that Feb 22 22:25:53 Russ: I only use it a few times a year Feb 22 22:26:04 since I don't live in london Feb 22 22:26:11 ah, there is that Feb 22 22:26:27 I'm not particularly concerned Feb 22 22:26:34 I was going to mention, if you scanned a credit card somewhere that had a reader for london underground cards too, they could associate the two Feb 22 22:26:41 just look at what target is doing Feb 22 22:26:47 if someone wants to when I'm in london, they're better off monitoring irc traffic Feb 22 22:26:52 there's a good chance I've told someone about it Feb 22 22:28:56 \\ Feb 22 22:31:05 it starts getting evil, if your local shops are starting tracking based on your rfid's you carry around Feb 22 22:32:19 is that really that evil? Feb 22 22:32:19 if you're a regular customer somewhere, they'll recognise you regardless Feb 22 22:32:29 I mean they also can use the security camera to do the same Feb 22 22:32:32 probably better than rfid Feb 22 22:32:43 facial recognition software is almost a commodity now Feb 22 22:33:06 and every major store around here in the US at least has a camera pointing at the door Feb 22 22:33:10 besides, it's nice when you can simply order "the usual" at the pub Feb 22 22:33:15 easily defeated by a hat and glasses Feb 22 22:33:20 jwinnebeck, most are such low quality, good luck Feb 22 22:33:23 and they can determine a LOT more information about you such as gender and race and a guess at socioeconomic status Feb 22 22:33:37 It's irrelevant if it is perfect Feb 22 22:33:43 it's irrelevant if it is defeated Feb 22 22:33:51 you don't need a 100% participation rate for market research Feb 22 22:33:53 facial recognition doesn't really work Feb 22 22:34:14 m:i Feb 22 22:34:19 mru: forget that how when they start pouring when you walk in the door :) Feb 22 22:34:31 * mranostay used to drink more than he does now Feb 22 22:34:37 Well even if you think it doesn't work, then it will soon and be better and easier than rfid Feb 22 22:34:50 So getting paranoid about rfid tracking is not that useful Feb 22 22:34:56 koen and jkridner - FYI sent you an email at your beagleboard.org addresses... Feb 22 22:35:05 that must be why those hipster stick-on mustaches are so popular now Feb 22 22:35:05 I say that assuming the RFID isn't so stupid that you can get names and credit card numbers from it Feb 22 22:35:28 jay6981: stick-on, bah! real men _grow_ one Feb 22 22:37:02 jay6981: they are? Feb 22 23:18:51 wow, the PRU has a mode for the GPIO pins where it can clock bits in/out ... which is neat ... but it only works with 28 bit words .... which makes it useless. Feb 22 23:18:56 I wonder what the hell it is intended for Feb 22 23:19:39 i guess maybe it can do 16 bits, so ou can shift in/out 16 at a time...maybe Feb 22 23:19:53 kkeller? Feb 22 23:20:01 hmmm Feb 22 23:20:49 ds2 huh? Feb 22 23:21:25 kkeller, trying to figure out ifyou are the ken Feb 22 23:21:29 SilicaGel: did you ever get the PRU working? Feb 22 23:21:36 yeah Feb 22 23:21:38 I have it running code! Feb 22 23:21:43 sweet Feb 22 23:21:53 loaded through a uio_pruss that I had to modify beacuse the addresses are all f***ed up Feb 22 23:21:55 ds2 I am Ken Keller Feb 22 23:21:56 i guess you found the assembler? Feb 22 23:22:01 actually Feb 22 23:22:05 the kernel module is fine, i said that wrong Feb 22 23:22:08 uio_pruss.ko is fine Feb 22 23:22:15 ds2 but there are several of us around in the world :) Feb 22 23:22:17 what isn't fine is prussdrv which is the userspace library. Feb 22 23:22:32 who needs userspace? Feb 22 23:23:01 I agree Feb 22 23:23:14 with a brain as powerful as mine, I prefer to execute everything in the kernel Feb 22 23:23:19 wasn't there some problem with pru clocks not being setup right? Feb 22 23:23:39 the latest angstrom kernel fixed up with bitbake is pretty darned close Feb 22 23:23:45 it's correct for setting up the power domain and the clocks Feb 22 23:23:52 it has one problem still Feb 22 23:23:54 SilicaGel: I thought you said the kernel was wrong? Feb 22 23:23:58 with the reset state? Feb 22 23:24:03 yes Feb 22 23:24:06 that's the one problem Feb 22 23:24:27 but you just said "what isn't fine is prussdrv" Feb 22 23:24:33 so there are 2 things wrong :) Feb 22 23:24:38 oh Feb 22 23:24:39 well yeah Feb 22 23:24:41 haha Feb 22 23:24:50 my brain assumed somebody else would fix the reset problem :D Feb 22 23:25:01 jay6981: see http://groups.google.com/group/beagleboard/browse_thread/thread/874bfed6fd714b26 starting at HOWEVER Feb 22 23:25:10 is the only problem with the prussdrv the addresses not being right for sitart? Feb 22 23:25:12 sitara? Feb 22 23:25:26 is there a way to get those values without just magically knowing you are on sitara and how the PRUs are mapped into memory? Feb 22 23:25:49 yeah, the addresses are not right. Actually, it's the offsets that aren't right. Feb 22 23:26:08 but that is because that code is for omap? Feb 22 23:26:09 So what I did was told it the correct offsets. So the pruss_base is correct, i tlearns that Feb 22 23:26:13 yeah Feb 22 23:26:14 meaning, it was right for someone at some time? Feb 22 23:26:25 right. Feb 22 23:26:27 for a different pru Feb 22 23:26:30 yeah so is there a way to make that code right for both people? Feb 22 23:26:35 you know the old PRUs only had 512 BYTES of DMEM Feb 22 23:26:41 where we now have 8K of DMEM per PRU Feb 22 23:27:02 apparently the address map (all the offsets) were significantly different on the davinci that all this code was written for Feb 22 23:27:20 well hm Feb 22 23:27:50 the only way I can think of to make it right for everybody is to have a couple of tables that you use instead of #defines to define the memory map, then have the software somewhere read REVID (assuming it can find it!) to figure out which pru it's on. Feb 22 23:27:54 We'r eon PRU v2 Feb 22 23:28:36 Either that, or we suggest listen guys, modify uio_pruss to do all this work for us, and give us separate mmappable pages for DMEM0, DMEM1, DMEM2, IMEM0, IMEM1 Feb 22 23:28:43 them mach-* figures out where all those things are Feb 22 23:28:49 To be honest, I think taht'd be the cleanest solution Feb 22 23:28:55 I would think so Feb 22 23:29:02 then userspace doesn't care Feb 22 23:29:04 **AND** Feb 22 23:29:18 if you did it taht way, it could return the correct length through /sys/uio/maps/map* for those things Feb 22 23:29:24 so then what do you think is the appropriate solution for US (since we are not maintainers/committers of the TI code) Feb 22 23:29:32 so your user space code could easily figure out not only where, for example, IMEM0 is, but exactly how long it is !!! Feb 22 23:29:45 Yeah I sort of expected taht when reading the docs Feb 22 23:29:49 it's almost like the uio driver goes half way Feb 22 23:29:59 it maps out some areas but not all Feb 22 23:30:13 I don't know. I kind of think we should take uio_pruss.c and build it externally, and not use theirs. But you know how that goes. We fork it, it becomes our problem forever. Feb 22 23:30:38 Maybe we should just live with it, and have the prussdrv userspace library handle all of this, including figuring out what mach we're on Feb 22 23:31:09 that'd suck though; a lot of the point of these userspace drivers and UIO architecture is you don't have to know all of that. You just mmap hunks of memory, all you have to know is what to expect to be there. Feb 22 23:32:31 i think your original idea was better Feb 22 23:32:43 yeah. Feb 22 23:32:54 I can't really propose something to the community though that drastically changes the interface of uio_pruss Feb 22 23:32:56 there are enough TI people around you should be able to work with Feb 22 23:32:56 THOUGH Feb 22 23:32:57 you know Feb 22 23:32:59 what I could propose Feb 22 23:33:14 is to take uio_pruss which adds maps 0, 1, 2... and just add ADDITIONAL mappings to them. Feb 22 23:33:20 That wouldn't break backward compatibility with any existing code at all Feb 22 23:33:51 There's no harm in having say 8 mmap entries per evt instead of 3 is there? Feb 22 23:34:02 no except if the upstream adds more maps Feb 22 23:34:25 It somewhat annoys me that the 3 maps that are there now are duplicated once per event. Feb 22 23:34:58 Sacha Baron Cohen Banned From Oscars... Developing... Feb 22 23:35:03 oh man Feb 22 23:35:11 that means the most beautiful actress in the world, isla fisher, won't be there either Feb 22 23:40:14 it's getting real late I better go Feb 22 23:40:16 tomorrow... Feb 22 23:48:44 yeah, home & Feb 23 00:27:27 hi Feb 23 01:03:01 so how do I get a patch into the official angstrom distribution? Feb 23 01:07:02 you get koen drunk, then slip a usb stick with the patch into his pocket Feb 23 01:07:32 is he the guy? Feb 23 01:07:50 Is he easy to get drunk? Feb 23 01:08:00 If this happens often, it could be quite expensive Feb 23 01:08:19 depends on who pays for the beer Feb 23 01:08:58 wait, wait, now I think you're screwing with me. If somebody else buys the beer, I have no argument that the beer TASTES better .... but it doesn't get you drunk faster!!! Feb 23 01:10:03 well, the goal is to get koen drunk without paying too much, right? Feb 23 01:10:08 netherlands, use a cake ;) Feb 23 01:10:18 so you get jkridner to buy the beer (or shots) Feb 23 01:11:35 right, that's the goal. At least based on the premise that he won't let you put something into his pants unless you get him drunk first. Feb 23 01:11:36 Will he? Feb 23 01:12:16 that might depend on your gender Feb 23 01:12:28 ok, so I need a female agent. Feb 23 01:12:34 This is getting very complicated. Feb 23 01:12:45 adding some hw to the green cake might have good results too ;) Feb 23 01:12:48 then again, he has a gf so even that will require him being drunk Feb 23 01:13:02 unless I get her drunk instead Feb 23 01:13:09 that might be cheaper Feb 23 01:13:33 I don't know, haven't met her Feb 23 01:14:48 a nice layout to keep a makerbot busy might help too. Feb 23 01:14:57 mru: are we talking about taking advantage of koen ? :) Feb 23 01:15:14 bribing ;) Feb 23 01:15:42 Hmmmmmmm Feb 23 01:17:50 no Feb 23 01:18:12 I think the "get him drunk" plan is dfinitely "taking advantage," not "bribing" Feb 23 01:18:28 Bribing is however another route. That may be cheaper than getting him drunk. Feb 23 01:19:13 .oO( unless "green cake" means bribery? I didn't understand that bit ) Feb 23 01:19:35 * mranostay pictures koen waking up the next morning "I SIGNED WHO'S GPG KEY?" Feb 23 01:20:16 green cake is a cake with some stuff which is legal in the netherlands but almost nowhere else Feb 23 01:21:25 don't know if he likes that, but I assume the effect is better than with beer Feb 23 01:22:18 legal in california with dr. prescription Feb 23 01:22:43 and widely available in most places, legal or not Feb 23 01:23:07 -/* no comment */ Feb 23 01:24:41 oooohhhhh no wonder I didn't get the reference Feb 23 01:34:19 but I'm just making fun about the netherlands. Feb 23 01:34:58 actually I like how easy they handle many things other countries have problems with. Feb 23 01:35:24 bummer they are banning tourist from the coffee houses Feb 23 01:35:38 you know it was one too many idiot tourist :) Feb 23 01:45:27 it's weird that they'd ban touists but not locals Feb 23 01:45:37 that kind of thing wouldn't fly in the US, I don't think Feb 23 01:56:15 hello Feb 23 01:57:14 Hello, I am wondering if anyone knows of a place to find a 4" lcd that works with the beaglebone? Feb 23 02:00:26 jkridner: sorry I didn't respond earlier, but you can send me or post yourself your presentation in whatever format it's currently in Feb 23 02:00:33 jkridner: http://elinux.org/ELC_2012_Presentations Feb 23 02:03:18 wmat: too tired to lug a tv this year? :D Feb 23 02:04:05 heh Feb 23 02:04:16 family obligations kept me home Feb 23 02:05:10 sad i missed it Feb 23 02:05:34 i'm really hoping to make elce this year Feb 23 02:14:24 :) Feb 23 02:18:13 tv's are quite light these days Feb 23 02:28:11 sweet accident center lane Feb 23 02:28:58 can't ever be in the carpool lane can it :) Feb 23 02:49:54 not the sizes he usually lugs Feb 23 02:59:12 what did they give away at the closing ceremony at ELC2012? **** ENDING LOGGING AT Thu Feb 23 02:59:58 2012