**** BEGIN LOGGING AT Tue Jul 03 02:59:58 2012 Jul 03 03:32:27 * _av500_ makes loud noises Jul 03 03:32:50 * mranostay calls the police Jul 03 03:33:10 * _av500_ digs in Jul 03 03:35:34 _av500_: no clocktowers nearby? Jul 03 03:48:35 <_av500_> and ancient castle Jul 03 03:48:41 <_av500_> up on a hill Jul 03 03:53:09 * ds2 drains _av500_'s moat Jul 03 03:53:42 <_av500_> it does not have one Jul 03 04:12:06 what castle doesn't have a moat? tsk tsk Jul 03 04:45:18 hi i am using beaglebone. would somebody help me? Jul 03 04:46:47 i want to use adc on android Jul 03 04:47:08 but i cannot find adc device driver in android kernel Jul 03 05:07:00 <_av500_> mranostay: one on a steep hill Jul 03 05:10:54 echo c >/proc/sysrq-trigger Jul 03 05:12:20 (don't do this) Jul 03 05:39:37 Hey Folks! I had a quick question. I have a BeagleBoard-xM and have an Ubuntu running on it right now. I wanted to access the onboard ADC and was wondering if anyone had any references/sample code to get me jump started. Jul 03 05:45:13 In fact, I am not even quite sure if the BeagleBoard-xM has an ADC onboard Jul 03 05:47:01 we need a counter for "quick questions" and every 100 we should offer a quick answer. Jul 03 05:52:02 WebcamWonder: have a look at the SRM to check if an ADC is there (and available on the expansion connector) Jul 03 05:52:40 I would assume there is at least one. Jul 03 05:55:29 aholler: There seems to be one and from the looks of it, the Linux kernel seems to have the appropriate patches too. I just can't find the mapped file in /sys/. Perhaps the Kernel I am using doesn't have the ADC support compiled. Trying to research this on Google right now but turning up very little useful info Jul 03 06:06:06 _av500_: so you live in Darmstadt? Jul 03 06:11:06 WebcamWonder: zgrep CONFIG_option_you_found_in_the_patches /proc/config.gz Jul 03 06:21:07 aholler: I checked that and it seems to be a "y" and it is confusing the heck out of me =/ Jul 03 06:21:32 s/checked that/checked that already/ Jul 03 06:23:19 Too much sleep-deprived and going to give up on this. Thanks a lot aholler though! Really appreciate it! Jul 03 06:25:30 WebcamWonder: maybe you are looking at patches for the beaglebone Jul 03 06:29:37 gah! Jul 03 06:30:06 wishs people would stop using chinese characters in their names Jul 03 06:30:18 spam filters do not like that.. Jul 03 06:38:04 Russ: a6 should have a bit more space around the mounting holes (according to the changelog) Jul 03 06:52:40 mranostay: yep Jul 03 06:53:30 koen: https://lkml.org/lkml/2012/7/3/57 Jul 03 06:56:07 aholler: thanks! Jul 03 06:56:37 not attaching it doesn't do any harm ;) Jul 03 07:00:17 but it's nice that there are people out there which even are testing panics. If they just would have used a box with a a time set to some point in the feature ;) Jul 03 07:00:49 s/feature/future/ Jul 03 07:01:45 it still makes me wonder that nobody has box a running somewhere with the time e.g. one week ahead Jul 03 07:08:22 aholler: why not morse "PANIC"? Jul 03 07:09:26 aholler: probably they had a box set into the future, but because CONFIG_FLUXCOMPENSATOR was not set, the box is not accessible anymore. Jul 03 07:09:32 av500: would be funny, but I don't think upstream would me let do that ;) Jul 03 07:10:15 they even complain about spaces after ( Jul 03 07:10:44 av500, how many people *know* morse? Jul 03 07:11:00 sos shoud be known by most people Jul 03 07:15:04 one could try to build a workload which changes the heardbeat to an SOS. Shouldn't be that hard ;) Jul 03 09:42:37 howdy! does anyone have experience developing for the dm3730's DSP? I have a project coming up that would benefit from the DSP's support Jul 03 09:43:13 I will be using linux, and it will be doing some data manipulation from the camera input Jul 03 09:45:26 can anyone recommend tools, build process, etc?.. interfacing - codec engine? Jul 03 10:08:31 Attie: yes Jul 03 10:08:34 can be done Jul 03 10:08:45 codec engine is a good start Jul 03 10:08:52 hi av500 Jul 03 10:08:55 angstrom already has CE integrated Jul 03 10:09:04 so go have a look at the CE examples and get them to run Jul 03 10:09:21 if you manage that, you can start to fill the "dummy" codec with something useful Jul 03 10:09:25 does angstrom have examples online? Jul 03 10:09:35 no Jul 03 10:09:39 there are CE examples Jul 03 10:09:49 if you install angstrom with CE they should be there Jul 03 10:09:57 oh okay Jul 03 10:10:12 you can also download the CE package from TI and look at the examples source code Jul 03 10:10:13 thanks, I'll take a look :) Jul 03 10:10:31 what kind of processing? Jul 03 10:10:41 i thought so, thanks. Jul 03 10:10:54 it's a matter of splitting the incomming stream into 4 frame buffers Jul 03 10:10:59 hmm Jul 03 10:11:01 and? Jul 03 10:11:05 why a DSP for that? Jul 03 10:11:29 the stream goes like so (in byte-terms) ABCDABCDABCD.... Jul 03 10:11:37 yes Jul 03 10:11:40 so we need to split that out into AAA BBB CCC DDD Jul 03 10:11:55 should be doable in neon Jul 03 10:12:01 yup Jul 03 10:12:03 it could be done on the ARM core, but that takes processing power away from the openCV application that will be running there Jul 03 10:12:05 its most memory limited Jul 03 10:12:26 Attie: what resolution? Jul 03 10:12:41 its 4x cameras, each 640x480 @ 15fps Jul 03 10:12:48 hmm Jul 03 10:13:02 should be doable Jul 03 10:13:08 v4l2 camera? Jul 03 10:13:15 with neon? Jul 03 10:13:20 i'm just checking that now Jul 03 10:13:31 or via ISP/CCDC? Jul 03 10:13:45 for v4l2, kernel is touching the data anyway Jul 03 10:13:55 so it could split it there already Jul 03 10:14:21 they are OVM7690 cameras Jul 03 10:14:26 or let the kernel handle raw data and split it later on in userspace Jul 03 10:14:42 Attie: and some fpga I guess to mux the images Jul 03 10:14:46 so ISP/CCDC Jul 03 10:14:49 yep indeed Jul 03 10:14:53 sorry,no idea with v4l2 Jul 03 10:15:02 maybe you could even do the split with DMA Jul 03 10:15:10 program the correct stride and offset Jul 03 10:15:11 or so Jul 03 10:15:28 i'd contemplated that... but the memory overhead gets a little scary Jul 03 10:15:44 overhead? Jul 03 10:15:45 i think i calculated close to 300MB/s to bring it in, and split it Jul 03 10:15:52 not 'overhead' but usage Jul 03 10:15:55 don't worry about memory overhead.....frames can be manipulated easily in neoan Jul 03 10:16:10 well, you need to touch the data anyway at some point Jul 03 10:16:13 i think i need to look into neon Jul 03 10:16:15 so there you can split it Jul 03 10:16:23 id not thought of it Jul 03 10:16:28 its the same mem BW for the whole frame or the 4 parts Jul 03 10:16:53 you sure about that? Jul 03 10:17:37 the camera interface takes data in, and stored it into main memory. then you need to read 1 in 4 bytes, and store to a frame buffer (4x times) Jul 03 10:18:05 u mean take only A out of ABCD? Jul 03 10:18:16 for frame / camera A Jul 03 10:18:23 B relates to a different camera Jul 03 10:18:35 yes Jul 03 10:18:49 can be done...see neon intruction..... Jul 03 10:19:05 there use diffeerent strides options Jul 03 10:19:11 ok, thanks! i'll do some reading and may come back Jul 03 10:27:25 Hi! How can I test the latest kernel (linux-omap) with BeagleBone support? AFAIK device tree plays the tune and in the master branch, the dts file has only definitions for 3 i2c busses. But only their frequences. I have found various places with patches to apply and compile, but the stuff is 3.2 specific. Jul 03 10:34:20 Attie: maybe there is a way not to commit the initial data to main memory Jul 03 10:34:40 thats what I was thinking initially Jul 03 10:34:49 get the line dumped into the DSP's memory Jul 03 10:34:59 then have the DSP split it and write out to main memory Jul 03 10:35:00 but even then, in a typical video encoding case, frame data is read/written more than once Jul 03 10:35:16 so there is memory bandwidth Jul 03 10:35:27 decoding H264 720p is much worse wrt to that Jul 03 10:35:31 and is doable Jul 03 10:35:43 of course, I have no idea what your openCV does Jul 03 10:35:49 do you have any idea what the avaliable bandwidth on a beagleboard is? Jul 03 10:35:51 but I predict that will be the bottleneck Jul 03 10:35:57 Attie: I had but forgot Jul 03 10:36:04 ok Jul 03 10:36:12 consider about 60% of theoretical Jul 03 10:36:23 (TI hates me for saying that :) Jul 03 10:37:20 to a point openCV is the customer's problem, we just need to get them pictures :-) Jul 03 10:37:43 on the other side, i'm trying not to use up all the available everythings getting them the pictures Jul 03 10:42:19 ic Jul 03 10:42:25 yegorich: ignore mainline and/or linux-omap for the next 6 months Jul 03 10:42:48 koen: you know how long that is in internet years? Jul 03 10:42:55 3.5ys Jul 03 10:47:46 av500: and that 6 months is an optimistic estimate Jul 03 10:48:12 koen: what is going on? Jul 03 10:48:25 all arm or 335x? Jul 03 10:48:26 av500: anyway, I was told to stop hating on the crappy am335x support, so I'll do that Jul 03 10:48:46 koen: <3 <3 <3 it Jul 03 10:56:39 av500: no, 3 is not less than 3 Jul 03 10:56:55 although in C, "3 < 3" is indeed < 3 Jul 03 10:57:42 koen: I can't :-( I have some i2c issue and Shubhrajyoti Datta suggested me to test the latest kernel because lots of i2c related patches were committed Jul 03 10:59:39 koen: AnilKumar submitted a patch for device tree and Tony should integrate it into devel-dt branch, but the stuff is not there yet, so I'll have to apply the patches myself and test the stuff. Jul 03 10:59:52 ola Jul 03 11:00:03 I don't understand something with wifi Jul 03 11:00:32 if I disable connman, and connect using ifup wlan0, it works Jul 03 11:01:12 when I restart connmand (after ifdown wlan0)or reboot, connmand just says ADDRCONF(NETDEV_UP): wlan0: link is not ready Jul 03 11:01:55 I don't get it, and I'd like to use dbus to configure the wifi with a configuration interface coded in python Jul 03 11:01:58 ... Jul 03 11:02:26 (connman rock on the paper, but it just sucks on the filed) Jul 03 11:02:29 field* Jul 03 11:17:08 yegorich: for the next 6 motnhs you'll only get ramdisk working as rootfs in linux-omap/mainline Jul 03 11:53:15 io is now totally dead? ;) Jul 03 11:54:51 hmm, kde 4.8.4 compiled here ;) Jul 03 12:03:00 koen, unless you use pending patches, of course Jul 03 12:12:34 what's wrong with io? :P Jul 03 12:24:09 mdp: I'll try this and we will see what is really working. Jul 03 12:24:40 mdp: what will be better to make pinmux in u-boot or via pinctrl driver? Jul 03 12:34:47 kernel Jul 03 12:35:58 /dev/mem Jul 03 12:42:49 hi all, I want to buy beagle board for learning board bringup and device drivers... Are resources available for the same ? Or it can only be used for higher level application code writing only ? Jul 03 12:43:17 no Jul 03 12:43:26 it can be used for a lot of things Jul 03 12:43:37 resources are all over the internet Jul 03 12:43:44 starting from beagleboard.org Jul 03 12:43:46 elinux Jul 03 12:43:48 google Jul 03 12:44:49 I already have a mini2440(ARM9 based).. but it does not have big community support as beagle board has.... Jul 03 12:45:45 I have googled but could not get some guide like: linux porting on beagle board.... Jul 03 12:46:07 porting ... ? what ? Jul 03 12:46:24 I want to know from scratch how the linux was ported for beagle board.. Jul 03 12:47:07 Same way as any port, I imagine. Jul 03 12:47:11 i highly doubt such a document exists since you would have to go back of several years Jul 03 12:47:18 starting from taking a vannila kernel and adding board specific code Jul 03 12:47:35 A good share of that may well have been done by TI. Jul 03 12:47:50 there is a movie coming about porting of linux on beagleboard this summer.....ice age 4:port linux Jul 03 12:47:59 I too agree to that...but beagle board being such popular board for learning should have this Jul 03 12:48:08 rkc_: Why? Jul 03 12:48:17 rkc_: that's basically copying board-sdp3*.c to board-beagle.c, fix gpios/memory and such Jul 03 12:48:26 add the mtype Jul 03 12:48:31 change Makefile/Kconfig Jul 03 12:48:46 and pray that there is no #ifdef BOARD_BEAGLEBOARD everywhere in the code Jul 03 12:48:56 And if there is, refactor it. Jul 03 12:49:13 I understand... but for a beginner like me if a step by step doc is available then it helps Jul 03 12:49:35 rkc_: But you have no need to port Linux to the BeagleBoard--it has already been done. Jul 03 12:49:48 So a tutorial on it serves no purpose. Jul 03 12:49:54 apart from that I never found any doc related to linux porting with a complete example Jul 03 12:50:09 Because porting is done rarely and by small, dedicated groups. Jul 03 12:50:22 rkc_: true, they do not exist Jul 03 12:50:40 It may be needed for the people working on low level firmware and device drivers which wants to make a shift to Linux Jul 03 12:50:55 there are enough who manage without a guide Jul 03 12:51:07 and its learning on-the-job Jul 03 12:51:22 nobody starts by porting linux to XYZ Jul 03 12:51:34 unless he worked on linux on ABC before Jul 03 12:51:38 you know that is the biggest blocker for peop;le like us to join linux community.... there's no such doc for even one example board... Jul 03 12:51:45 true Jul 03 12:51:53 but there is nobody to write them either Jul 03 12:51:58 feel free to contribute Jul 03 12:52:09 one cannot demand from a community Jul 03 12:52:41 rkc_: There is a major difference between porting Linux (a full operating system) and porting a program or a driver. Jul 03 12:52:56 The latter concept is moderately well-documented here and there across the Internet. Jul 03 12:54:39 guyz lets not go on to shooting the messenger stuff... I do use mini2440 and I do help other beginners to learn Jul 03 12:55:09 we dont shoot anybody Jul 03 12:55:12 so question is I am not equipped to write a linux porting guide else I 'd have loved to do Jul 03 12:55:14 rkc_: Who is shooting what messenger? All we are saying is the reasons what you are asking for does not exist. Jul 03 12:56:47 The Linux "community" is a large, fragmented collection of primarily highly-individualistic folk who volunteer to write things because it interests them. If something does not exist as a product of said community, it means that either (or both) no one had time for it or no one was interested in it. Jul 03 12:56:57 since you do not have a need you say its not needed.... I hope beagle board is also a learning platform for all...not only the people who take already ported kernel and use it Jul 03 12:57:12 it can be a lot of things Jul 03 12:57:20 THe way you solve this is to do it yourself, or convince someone else to give up one of their other interests or committments and do it for you. Jul 03 12:57:24 but the "product" you buy is only the hardware Jul 03 12:57:35 I'm one with a need to learn linux porting....whats wrong in that Jul 03 12:57:40 you do not buy support or SW or extensive docs Jul 03 12:57:48 rkc_: nothing wrong with that Jul 03 12:57:50 Nothing, but this is the wrong forum to look for that information. Jul 03 12:57:53 there are enough arm-boards in the kernel-tree with much less stuff than an omap. just use one of those boardfiles as a start Jul 03 12:58:13 and don't use a monster like omap Jul 03 12:58:23 For information on linux porting, I suggest you talk with a group that does porting of linux. Jul 03 12:58:41 if such a group can be identified Jul 03 12:58:49 thats the issue Jul 03 12:58:51 even I do "porting" Jul 03 12:58:51 xda - cookers Jul 03 12:59:03 but not all of linux to brand new hardware Jul 03 12:59:05 The TI developers for the BeagleBoard. Jul 03 12:59:14 there are none Jul 03 12:59:19 beagle is not a TI product Jul 03 12:59:40 av500: There are a few folk who work for TI also active in the BeagleBoard community. Jul 03 12:59:45 yes Jul 03 12:59:56 One of them does pretty regular presentations at my local hackerspace. Jul 03 13:00:06 who is that? :) Jul 03 13:00:08 Thus, TI developer--as in, a developer, from TI. Jul 03 13:00:19 There are two parts of porting.... 1) Chip manufacturer provides port for their processor 2) different board vendors provide board specific port Jul 03 13:00:20 Mmm...let me see if I can come up with the name. Jul 03 13:00:28 I need to learn 2nd one Jul 03 13:00:45 rkc_: So talk to a board vendor? ;-P Jul 03 13:00:55 rkc_: we do that all the time at $work Jul 03 13:01:01 but we dont have a guide, just experience Jul 03 13:01:21 av500: Jason Kridner Jul 03 13:01:30 jkridner... Jul 03 13:01:47 but I would not label him as a boardporter Jul 03 13:02:08 No, but he was involved in it. Jul 03 13:02:18 av500: then you are my man... pls help me understand how to go about it... Jul 03 13:02:39 I think phh did a nice job explaining it a while ago. Jul 03 13:02:56 rkc_: sadly I have to $work :) Jul 03 13:03:54 :-( Jul 03 13:04:15 but irc is not the place to get a turorial Jul 03 13:04:26 ask specific questions and they might get answered Jul 03 13:04:39 asking "how do I port?" gets you nowhere Jul 03 13:04:47 Agree Jul 03 13:06:11 rkc_, You might want to try "Write linux porting guide" here: http://aws.amazon.com/mturk/ Jul 03 13:06:42 well Jul 03 13:06:47 no need to mock him Jul 03 13:08:03 well thx jsabeaudry... I appreciate the link ;-) Jul 03 13:08:07 Oh, now I have seen everything, av500 getting offended at a joke on this channel ha! Jul 03 13:08:27 well, I did not want you to have an incomplete experience here Jul 03 13:08:48 lol Jul 03 13:09:29 ok... so there are multiple beagle configurations availale Jul 03 13:09:41 which one should suit me.. Jul 03 13:09:48 get the XM Jul 03 13:10:18 any specific reason for this... Jul 03 13:10:27 it has the most Jul 03 13:11:02 does it have any revision ...like rev c... Jul 03 13:11:33 yes, but you will get the latest Jul 03 13:12:35 does xM come with any LCD...3.5" ? Jul 03 13:12:54 rkc_, not out of the box Jul 03 13:13:04 no lcd Jul 03 13:13:58 what about beaglebone... Jul 03 13:14:01 rkc_: There are LCDs you can buy for the xM, but it does not come with one. Jul 03 13:14:07 That even less so. Jul 03 13:16:41 Does beagle board support openocd for HW jtag? Jul 03 13:17:14 the other way round Jul 03 13:17:20 does openocd support the beagle board Jul 03 13:17:30 I think it does Jul 03 13:17:39 what did google say? Jul 03 13:17:58 I have one which I use with ARM9 mini2440 board Jul 03 13:18:03 http://www.google.de/search?sourceid=chrome&ie=UTF-8&q=openocd+beagleboard Jul 03 13:18:45 But I guess A8 is a high end AP so my Jtag Hw might not support it Jul 03 13:18:56 what hw? Jul 03 13:19:01 Literally the first result for "beagleboard openocd" is http://elinux.org/BeagleBoardOpenOCD Jul 03 13:19:01 we cannot tell Jul 03 13:19:36 rkc_: If there is one site other than Google that will help you the most with what you are trying to do, it is http://elinux.org. Jul 03 13:20:47 agmlego: thx; I already have it in my bookmarks :-) Jul 03 13:21:21 rkc_: Most, if not all, your questions regarding embedded Linux, on the BeagleBoard or other platforms, are probably already answered there. Jul 03 13:23:18 agmlego: I have it in bookmarks... but I never browsed it extensively.... after your remarks I'm certainly going to use it most often Jul 03 13:25:41 e Jul 03 13:25:53 f Jul 03 13:26:37 av500: I have the cheapest of them all...its here: http://www.olimex.com/dev/index.html Jul 03 13:32:53 hi...am i connected still ? Jul 03 13:33:01 looks like yes Jul 03 13:49:02 one could write a book "Harry Porters" ;) Jul 03 13:49:22 s/Harry/Hary Jul 03 14:03:57 hairy? Jul 03 14:04:19 hail the porter Jul 03 14:11:21 the longer the beard the better the porter ;) Jul 03 14:42:06 koen: I've realized I've always misinterpreted the '-c' of MKUBIFS_ARGS. I'll just take the largest for Narcissus config files. Jul 03 15:15:09 has anybody here had experience with mixing high and full speed usb devices on a bbxm? does the high speed device slow down to full speed? Jul 03 15:16:41 usb is, despite the name, a point-to-point link Jul 03 15:17:06 a hub multiplexes multiple downstream endpoints onto its upstream link Jul 03 15:17:29 the downstream links can run at different speeds Jul 03 15:17:43 there is a kernel-option you can play with Jul 03 15:17:54 if you really have problems Jul 03 15:17:55 the transaction translator stuff? Jul 03 15:18:00 yes Jul 03 15:18:04 not applicable Jul 03 15:18:31 the only thing connected to the host controller is a high-speed hub Jul 03 15:19:07 right Jul 03 15:20:38 of course a slow device will eat more of the shared link between host and hub to do the same job compared to a fast device Jul 03 15:20:47 bobsickle: and wothout knowing the device, nobody could really answer. low-speed stuff usually are mice or keyboards, they are that slow that a speed degratation of the hs-bus shouldn't be measurable Jul 03 15:21:12 s/bus/stuff/ Jul 03 15:22:43 ok, I basically want to know whether attaching a : you have my condolences Jul 03 15:22:47 argh Jul 03 15:22:50 putty fail Jul 03 15:22:59 I am sorry for your loess Jul 03 15:23:03 -e Jul 03 15:23:53 ok, I basically want to know whether attaching a MCP2210 usb-to-spi chip (full speed usb at 12mbps) will affect the speed of a foo-yip uvc camera Jul 03 15:24:42 try and find out Jul 03 15:25:33 yeah I read about the transaction controller stuff but I swear I've read elsewhere that attaching a slower device will make everything run slow Jul 03 15:25:46 does it work on your pc? Jul 03 15:25:50 easy test Jul 03 15:26:20 I haven't actually got the usb-spi yet Jul 03 15:26:35 I'm designing a peripheral board Jul 03 15:26:53 so I'm totally open to suggestions here Jul 03 15:27:51 where peripheral == 12 servos, 2 motors, 16 GPIO, 6 analog in Jul 03 15:33:26 so why do you need usb2spi? Jul 03 15:33:31 the panda *has* SPI already Jul 03 15:33:52 I'm using a bbxm because of its dimensions Jul 03 15:35:02 I'm doing a new controller for these http://robotics.ee.uwa.edu.au/eyebot/ Jul 03 15:35:03 xM has SPI, I thought. Jul 03 15:35:37 and I'm trying to make it easily modular, so the interface to the IO board I'm making must be usb Jul 03 15:35:59 I know this sounds roundabout, but there is method to my madness Jul 03 15:36:20 well, usb is fine too Jul 03 15:36:30 saves you the hassle of pinmux and level shifters :) Jul 03 15:39:24 yeah the last guy who tried what I'm doing did all the IO on a gumstix expansion board. By the time they worked out the bugs in it, the COM had been discontinued Jul 03 15:40:02 yay university students! Jul 03 15:40:15 (I'm one too btw) Jul 03 15:41:12 ooher, I might be able to avoid the problem altogether with an FT2232H Jul 03 16:36:57 hey Jul 03 16:37:02 how do I reset the journalctl ? Jul 03 16:38:09 howdy, I have a question regarding I2C on beagle Board xM trainer board... :) can anyone assist :) Jul 03 16:40:33 waltermixxx: ask, dont ask to ask Jul 03 16:41:11 "quick questions" are trendy ;) Jul 03 16:42:25 okie doke... :) Jul 03 16:43:47 is I2C working by default on the xM trainer board by default, or do I have to recompile the kernal to get it working? I suspect it is working, so it can read the little eprom on expansion cards, but is it fully accessible Jul 03 16:44:19 I'm wondering how I would read data from it... Jul 03 16:44:39 i will have a look at the nunchuck example and see if it answers my questions. :) Jul 03 16:44:55 i guess I was wondering if anyone has experience with it :) Jul 03 16:46:11 Hey everyone! I wanted to try a first example with beaglebone, and I was looking for a tutorial about how to make a blink program with the onboard LED, but I couldnt find any. Does anyone know where can I find one? Jul 03 16:46:28 are there any professional embedded linux engineers in here? Jul 03 16:46:46 i think everything I need is in the nunchuck example... I will paruse it first :) Jul 03 16:47:07 but it would be nice to know if anyone has already gone through it :) Jul 03 16:47:09 cheers Jul 03 16:50:15 SmashLink: blinking a LED is something that can be googled Jul 03 16:51:17 youtube also have a few video's on beaglebone and blinking leds. Jul 03 16:51:55 this dude is awesome: http://www.youtube.com/watch?v=z6b4zlh0IrE Jul 03 16:51:57 there are literal thousands of howtos on this Jul 03 16:52:02 *literally Jul 03 16:52:04 he has several tutorials... Jul 03 16:53:37 i may pick up a beaglebone as well ( I have a beagle board xM currently, which rocks...) I like the hackability of it, and the communitee around it appear to be more Hacker based? :) Jul 03 16:54:14 refering to the beaglebone that is :) miss placed modifyer... (grammer et all) Jul 03 16:54:16 hacker based rather than? Jul 03 16:55:45 not sure, I get a good hacker vibe from the beagle bone community ... I think the beagle board folks may be a bit more serious? but that is an impression, not a fact and not meant to upset anyone :) Jul 03 16:56:03 wont upset anybody Jul 03 16:56:10 having both I think would be cool :) Jul 03 16:56:10 and the crowd is mostly compatible Jul 03 16:56:23 lol :) i think you are right Jul 03 16:56:36 either way both platforms rock... Jul 03 16:56:46 certainly :) Jul 03 16:58:20 SmashLink should have no issues finding resources for beaglebone. :) and here is a good place to ask questions should one need help...( assuming one has done some googling and reading first..me included....which I did shortly after I asked my question... :) Jul 03 16:58:28 yes, it's impressive how many computation power is needed to make leds blink ;) Jul 03 16:59:44 well it's the start, once one knows one can, then linking them to a webserver is the next step, that's where the computational power comes in...multiple socket connections, monitoring different things.. :) Jul 03 17:01:01 all in one package vs arduino and computer combination :) Thats why I love this trainer xM add on board... arduino built in ( incase it's needed ... ) :) Jul 03 17:02:26 where would I post a picture of my handy dandy beagleboard xM with Trainer xM board on my home made plexy-glass base? :) Jul 03 17:02:58 I guess i could use flicker then post a link to it :) Jul 03 17:03:44 I've seen many many tutorials on how to blink an external LED, but none of how to make the onboard one working... well, actually, i've seen one written in C, but I don't know how to compile C in the beaglebone yet Jul 03 17:04:00 I will check this video, thanks waltermixxx Jul 03 17:04:39 this guy has lots of tutorial video's one built upon the last Jul 03 17:05:27 so watch them in order, they are pretty long, but very informative... :) Jul 03 17:07:07 oh, damn, I didn't check the cloud9 examples... i'm gonna do this right now Jul 03 17:07:15 Great video, btw Jul 03 17:07:31 * djlewis anxiously awaits pizza delivery Jul 03 17:10:50 hey all, is there anyone else running debian on their beagle board out there right now? Jul 03 17:11:45 i'm getting errors on running the blinked.js example, you know anything about this? It says it can't find the resource 'bonesript' Jul 03 17:12:41 jmonk, 24/7... need something? Jul 03 17:13:00 just have a wierd issue where i can't get my console to go over the serial port Jul 03 17:13:15 works fine with other distributions i've run on it, but not squeeze Jul 03 17:13:23 seems to be independent of kernel Jul 03 17:13:36 /etc/iniitab should be enough.. http://elinux.org/BeagleBoardDebian#Serial_Ports Jul 03 17:13:56 and as long as it's also in the bootargs.. console=ttyO2,115200.... Jul 03 17:14:07 yeah thats what i have Jul 03 17:14:29 and i tried both ways on your link (despite the fact i'm running squeeze) Jul 03 17:14:51 is it possible i did something somewhere else to screw it up? Jul 03 17:15:27 there really isn't anywhere it can be messed up... specially if it's in that file... it's not defined twice or anything? Jul 03 17:15:39 hmm, didn't check for that Jul 03 17:15:42 give me a second Jul 03 17:15:45 and it's O as omap and not 0 as in zero? Jul 03 17:16:02 oh, really? Jul 03 17:16:57 maybe i typed it wrong Jul 03 17:17:14 (it's an easy mistake that's made a lot on the mailing list..) Jul 03 17:18:04 that might have done it, i'm in the middle of a couple things, but hopefully when they are done I won't have any more issues Jul 03 17:18:44 so in the boot args its an O as well not a 0? Jul 03 17:19:17 yeap, it's O in both... think tty Omap #port number.. Jul 03 17:21:02 that worked great, thanks Jul 03 17:21:37 no problem. ;) Jul 03 17:22:40 i seem to get these io error after intense writing/reading for a while, you thinks its likely i have a faulty sd card a few weeks after it being brand new? Jul 03 17:23:27 nah, ubuntu/debian can be a little rough on sd cards... are you using ext3/4 or btrfs? Jul 03 17:23:35 ext3 Jul 03 17:24:05 enable noatime in fstab.. Jul 03 17:24:15 will do Jul 03 17:24:53 that'll help a little... for most of my systems, i bypass the sd card fully, and just run the main os on an external usb sata drive.. Jul 03 17:25:17 i've been thinking about that, but i don't have a spare usb drive / sata-usb converter Jul 03 17:25:23 in the long term i may order one Jul 03 17:26:03 here's my beagleboard xM and trainer xM on my plexi-glass base :) http://www.flickr.com/photos/66577016@N00/7495573410/in/photostream Jul 03 17:26:23 ah, you can usually get a small laptop sata and usb-convert off geeks for $30ish. ;) but there's probally other tricks to limit the writes on sd cards, i just don't ever use them.. ;) Jul 03 17:27:26 i think it will be less of an issue after i finish installing everything i want on my system Jul 03 17:27:37 more reading less writing Jul 03 17:30:21 rcn-ee: how many beagle boards do you run? Jul 03 17:37:12 hello Jul 03 17:37:23 Icemela, greetings Jul 03 17:37:34 yes jmonk : i am running Debian 6 on my xM Jul 03 17:37:44 when I delete the uboot file from the card and then put it back on the board it does not load the kernel anymore Jul 03 17:37:49 (thanks to rcn-ee) Jul 03 17:37:50 8 are currently up, running 24/7, (differnet variations of different models) got another 4ish waiting for replacement parts (harddrives) and a new powersupply design.. Jul 03 17:37:51 and I put back the same file Jul 03 17:37:53 what it could be? Jul 03 17:38:13 rcn-ee: wow, do they all do different things? Jul 03 17:38:27 moi_: me too now thanks to rcn-ee Jul 03 17:38:51 they mostly are set up for load/stress testing... Jul 03 17:39:34 so rebuilding things like gcc, building kernels on rcn-ee.net, etc.. Jul 03 17:39:51 Icemela, could be that the file was corrupted during the transfer Jul 03 17:40:55 just copy an paste from windows Jul 03 17:41:01 is there another way to do it? Jul 03 17:41:09 I did it from linux also Jul 03 17:41:12 same problem Jul 03 17:41:18 rcn-ee: is it better to have them non-cross compiled or are those just the best stress tests you find? Jul 03 17:41:40 just copy and paste same file no changes at all Jul 03 17:42:04 Icemela, how do you know it does not load the kernel anymore? Jul 03 17:42:37 because it says "Uncompressing Linux... done, booting the kernel." and stops there Jul 03 17:43:22 I was changing the u-boot.img for u-boot.bin, but I put the back the u-boot.img Jul 03 17:43:27 and now it does not load anymore Jul 03 17:43:49 it has to be the first thing on the card Jul 03 17:43:58 i believe Jul 03 17:44:19 that sounds familiar Jul 03 17:44:36 rcn-ee : sometimes i get a kernel panic with squeeze armel 3.2.21-x13 http://pastebin.com/KULSFGGd Jul 03 17:45:05 what can cause not to work anymore if I put the same file back? Jul 03 17:45:08 Since i've added vm.min_free_kbytes = 8192 it seems more stable.... Jul 03 17:45:34 Icemela its the first thing the board looks for Jul 03 17:45:58 so when you moved it it modified it Jul 03 17:46:20 what did I modified when I move it Jul 03 17:46:27 and how can I get it working again? Jul 03 17:46:42 Icemela: rebuild to boot partition Jul 03 17:47:45 you mean format the boot partition and copy the files again? Jul 03 17:48:51 correct Jul 03 17:49:09 [A Jul 03 17:49:15 the microsdcard slot is on a dumb place on the beaglebone, i have accidentally disconnected the sdcard while removing a usbdevice... Jul 03 17:49:29 do you know what exacly is change, cause thats like saying if a computer is not working format the computer and install windows again Jul 03 17:50:04 very common with windoze Jul 03 17:50:27 its not the same Jul 03 17:50:39 what exacly is corrupted when you remove the u-boot and put it back? Jul 03 17:50:42 the board is looking for the files to be placed in a specific order Jul 03 17:51:13 oh ok that makes more sence jmok Jul 03 17:51:23 *jmonk Jul 03 17:51:57 and the only easy way to fix it is to get rid of them all and put them all back on Jul 03 17:51:58 so I would have to remove all the files and put it back in order "MLO, u-boot, env Jul 03 17:52:13 yeah Jul 03 17:52:24 I only have 3 files boot partition Jul 03 17:52:26 i think only th MLO, u-boot ordering and being first really matters Jul 03 17:52:35 but i'm not an expert, i think env can be wherever Jul 03 17:53:02 it's less error prone if MLO is first. ;) right after formating Jul 03 17:55:35 I just did that, didn't change much, is anyway to see what the board sees, when I put the SD card, because something is different Jul 03 17:55:38 but I dont know what it is Jul 03 17:55:46 I know you said to put in that order Jul 03 17:56:05 but I just format and put it in MLO u-boot env.txt Jul 03 17:56:10 but same problem Jul 03 17:58:17 is weird I don't understand what the board sees when it looks for the boot partition Jul 03 17:58:22 Icemela, can you pastebin your serial log? Jul 03 17:58:28 sure Jul 03 17:58:41 i think you are missing a file Jul 03 17:58:43 $ cp MLO /mnt/sda1 Jul 03 17:59:03 cp uImage /mnt/sda1 Jul 03 17:59:08 uImage Jul 03 17:59:15 http://pastebin.com/ytpEBqbv Jul 03 17:59:49 MLO u-boot.bin uenv.txt uImage Jul 03 17:59:56 Icemela, and the contents of your uEnv.txt Jul 03 18:00:05 MLO loads u-boot, u-boot reads uenv.txt, loads uImage Jul 03 18:00:18 it been on the ext3 partiton Jul 03 18:00:24 uImage Jul 03 18:00:37 is always in /ansgtrom/boot Jul 03 18:00:40 i think it has to be on the boot partition. Jul 03 18:00:45 ? Jul 03 18:00:48 it was not there before Jul 03 18:00:51 and it was working Jul 03 18:00:55 ok Jul 03 18:01:05 all I change was u-boot Jul 03 18:01:11 nothing else Jul 03 18:01:16 and stoped working Jul 03 18:01:46 Icemela, well one of those u-boot changes might have changed the boot process and your uEnv.txt doesn't factor that.. Jul 03 18:02:05 best to keep a backup that is always working :) and make an image of the sd card... that you can restore any time :) Jul 03 18:02:54 initially it looks like you just aren't correctly directing the serial port console.. Jul 03 18:03:00 waltermixxx: agreed Jul 03 18:03:24 I have a back up image Jul 03 18:03:31 that I downloaded from there Jul 03 18:03:37 ok :) Jul 03 18:03:38 I'm just trying to understand it Jul 03 18:03:52 why I can not change the u-boot Jul 03 18:04:30 you can change it all you want... but something changed in u-boot, so you'd have to change uEnv.txt to fix that.. Jul 03 18:05:19 yes but putting the same u-boot file back why it does not load Jul 03 18:05:26 ? Jul 03 18:05:41 I put MLO u-boot and env.txt Jul 03 18:05:46 and it would not load anymore Jul 03 18:05:49 well, that's new info .;) Jul 03 18:05:50 the same original files Jul 03 18:06:03 that was the first question :) Jul 03 18:06:29 I put it back with out making any changes Jul 03 18:06:33 restore the entire boot partition from your original files, and carefully retrace your steps... also humour me and put the uImage on the boot partition :) Jul 03 18:06:41 sorry went home for lunch, didn't have the full scroll back... Jul 03 18:06:57 do you have a monitor hooked up to the hdmi port? Jul 03 18:07:24 dvi-d port with hdmi connector Jul 03 18:07:26 yes I do Jul 03 18:07:39 I had done this before and same problem Jul 03 18:07:42 many times Jul 03 18:08:03 thats why I came here to see if there was something I'm missing Jul 03 18:08:10 on the keyboard, did you try ctrl-alt F1 to see if you get a login prompt? Jul 03 18:08:13 on the display? Jul 03 18:08:27 it would not display anything on the monitor anymore Jul 03 18:08:28 i'd tar up your rootfs partition, reformat the whole card and then install MLO/u-boot etc.. Jul 03 18:09:15 yes I can do that and get it back working, I just wanted to change the u-boot so I can read the camera, I though there was a way to do it Jul 03 18:09:26 yes start from scratch from your backup, and retrace your steps along the way... I had to many times trying to get a handle on how it worked... but as you can see I'm not quite there... :) Jul 03 18:10:16 > there is not much steps just replace the u-boot :) Jul 03 18:11:54 if you have your sd card, remove the u-boot, put the sd card on the board take it out and put the uboot back, does it work? Jul 03 18:13:10 does this help: http://elinux.org/BeagleBoard#U-Boot_booting Jul 03 18:13:23 they discuss the process there, perhaps there is some insight? Jul 03 18:14:57 MLO u-boot.bin uenv.txt uImage on the fat partition should definitely work, try it if you haven't already Jul 03 18:15:13 i think the recent u-boot can handle uImage on the ext3, but older ones don't Jul 03 18:15:58 I had use the old one, and when I had to change the uImage, I change it on ext3 Jul 03 18:16:08 cause on boot didn't make a difference Jul 03 18:16:44 but has anyone removed the u-boot and put it back same file and it did work? Jul 03 18:17:53 lots of times.. (in place upgrading of MLO/u-boot.img).. Jul 03 18:19:54 and you did it through linux? Jul 03 18:19:57 or windows? Jul 03 18:20:47 why would i do it on windows? I usually do it on the target over the ethernet.. I'm too lazy to walk downstairs and pull the sd card out.. Jul 03 18:21:06 lol Jul 03 18:21:35 where does it show how to do that? Jul 03 18:22:43 mount the partition... cd /mnt/boot ; rm MLO, cp /new/MLO ./MLO ; rm u-boot.img; cp /new/u-boot.img u-boot.img; sync; reboot... Jul 03 18:23:42 cool thanks rcn-ee_ I will load the back up files and do that Jul 03 18:23:52 from now on :) Jul 03 18:24:40 the only thing that could stand i that way... if your using a pre xm board with nand and MLO/u-boot is in nand.. Jul 03 18:25:00 then changing the files doesn't guarentee anything. ;) Jul 03 18:25:23 you could always setup the pre xm to chainload a u-boot off the sd card Jul 03 18:25:38 I'm using the xm A3 Jul 03 18:25:42 rcn-ee: been there, done that. Jul 03 18:25:49 I think is the same as you have Jul 03 18:25:59 djlewis, nand erase.chip solves that. ;) Jul 03 18:26:11 thanks for the notes :) Jul 03 18:27:36 but then what would i use the nand for ;) Jul 03 18:31:58 djlewis, everything but getting in the way of bootloader upgrades. ;) Jul 03 18:51:55 * djlewis looks forward to reorganizing his workshop/lab/ham shack and getting back into some project'n Jul 03 18:55:13 djlewis: that's a fight against entropy... Jul 03 18:55:34 * mru thought projecting was a fight against mercator Jul 03 18:55:48 XD Jul 03 18:56:23 * dwery hates working with all the different datums people can come up with... Jul 03 18:57:34 rcn-ee what commands do you use to connect to the board over ethernet Jul 03 18:58:52 ssh in directly to the board, or ssh -X to the pc next to it and fire up gtkterm to access it serialy.. Jul 03 18:59:30 and if it's dead in the water, ping the network power relay to reboot it ;) Jul 03 19:00:31 I got the board running again, just trying to figure out how to mount the fat32 partition cause it does not show on the board Jul 03 19:01:29 as root: "fdisk -l" will print the partitions then it's "mkdir -p /mnt/boot/" "mount /dev/mmcblk0pX /mnt/boot" Jul 03 19:04:02 yes got there so far good Jul 03 19:04:36 I have on my ubunto desktop the new u-boot.img Jul 03 19:04:54 and using serial Jul 03 19:05:04 to comunicate with the board Jul 03 19:06:07 how would I transfer from ubuntu desktop to the board now? Jul 03 19:07:21 i'm guessing you might not have the ssh keys shared yet so... i'd just fire up apache on your ubuntu machine, copy the file to /var/www and then download it from the board.. Jul 03 19:08:51 oh ok , I will get the ssh running it would be esier that way :) Jul 03 19:09:16 both are pretty easy.. sudo apt-get install apache2, then copy file, then wget. ;) Jul 03 19:11:01 I connected via ssh Jul 03 19:11:15 so to transfer the file via ssh how you do it? Jul 03 19:12:21 i don't do it to often: here's a guide: https://help.ubuntu.com/community/SSH/TransferFiles Jul 03 19:12:28 oh ok thanks :) Jul 03 19:12:48 you just need to make sure you copy your public key to the beagle so that i'll accept it.. Jul 03 19:12:50 just curious cause seems like a great way to transfer a file to the board instead of removing the card Jul 03 19:33:16 Oh yes, scp is definitely a huge upgrade from swapping a sd card Jul 03 19:47:48 anyone heard from denix? Jul 03 19:47:52 http://cimss.ssec.wisc.edu/goes/blog/wp-content/uploads/2012/06/120629-30_g13_ir_derecho_anim.gif Jul 03 19:49:17 Crofton|work: am i missing something? Jul 03 19:49:56 denix lives near Washington, which was hit by the storm Jul 03 19:50:08 I was in a field with some tents when it went through Jul 03 19:50:13 it was "exciting: Jul 03 19:50:21 oh right Jul 03 19:50:37 * mranostay wonders if his home state got hit Jul 03 19:51:06 which is? Jul 03 19:51:34 wow did Ohio get covered completely Jul 03 19:51:41 yeah Jul 03 19:51:45 not sure how bad Jul 03 19:52:56 mdp, how was the storm? Jul 03 19:55:56 Crofton|work: looks like NEO escaped most of it Jul 03 19:56:57 well the worst ofi t Jul 03 21:10:15 hello Jul 03 21:10:25 ? Jul 03 21:10:54 anyone there? Jul 03 21:11:47 nope... but ask your question anyways.. ;) Jul 03 21:22:11 I am having a hard time compiling the kernel using the instructions on the beagleboard web site. The how-to says start with openembedded to get the patches, and then go back to the kernel building. I am getting errors with the openembedded command 'MACHINE=beagleboard ./oebb.sh bitbake virtual/kernel' Jul 03 21:22:54 Is there another how-to I am missing? Jul 03 21:24:13 I want to add I2S audio communication to MCBSP1, I'd love to do it from user space, but when I try to access MCBSP1 from user space using mmap(), I get a Bus Error. Jul 03 21:28:34 samuel, for something like that, you might just want to ping the email list, as most people this time of night are on holiday in the us.. Jul 03 21:35:03 What is this chat line for? Jul 03 21:35:14 What e-mail list? Jul 03 21:43:41 samuel, https://groups.google.com/forum/?fromgroups#!forum/beagleboard Jul 03 21:44:05 samuel, the chat is for when people are on, but you probally aren't going to get a quick answer today.. late in the day.. Jul 03 21:44:50 rcn-ee: it is night? Jul 03 21:45:52 well it's 9:45 GMT so europe is in night.. and most of the us is finding cold beer's right now. ;) Jul 04 00:59:25 Hello Jul 04 01:00:05 I was wondering, if by any chance, there was a way to use XCode on a mac to develop for Beagle bone. Jul 04 01:00:16 Can anyone shine some light on this? Jul 04 01:00:57 * agmlego hands PyroAVR A flashlight. Jul 04 01:01:36 ...... I get it. Funny, I like that. But seriously, can I develop for BeagleBone in XCode? Jul 04 01:02:29 I have no idea. What language(s) do you want to develop in? Will XCode compile for the ARM on the BeagleBoard? Are there Linux runtimes for the languages you want to use ported for ARM? Jul 04 01:02:40 You need to provide more information. Jul 04 01:03:36 I would like to develop in C, any one of it's many variants, even..... Shoot, I never thought about that bit..... I assumed you simply needed a ".hex" file........ Jul 04 01:04:16 Well, yes, you do. Jul 04 01:04:23 But you know what a hex file is, right? Jul 04 01:04:31 I am having quite a difficult time with cloud 9..... Jul 04 01:04:33 Literally compiled code for a given processor. Jul 04 01:04:34 yes I do Jul 04 01:04:46 it's a file encoded in Hexadecimal Jul 04 01:05:01 code* Jul 04 01:05:04 Well, actually, you do not need a hex file in this case. Remember that the bone is *not* a microcontroller. Jul 04 01:05:13 true, ok Jul 04 01:05:14 It runs a full operating system. Jul 04 01:05:19 also true Jul 04 01:05:30 So anything that runs on Linux (on ARM) should work on the bone. Jul 04 01:05:48 then what do I need to have, optimally? I have had zero luck so far on making anything Jul 04 01:05:55 And thus, anything that XCode can compile for ARM, using Linux libraries, will run on the bone. Jul 04 01:06:04 PyroAVR: Have you tried Python? Jul 04 01:06:09 I've read everything that I can find.... nothing good. Jul 04 01:06:21 Also, *what* have you tired? Preferably with links to failed tutorials. Jul 04 01:06:38 no, I can't stand scripting languages. I've never gotten very good at those....... Jul 04 01:07:01 Now might be the time, but that is a different discussion. Jul 04 01:07:10 I am an Arduino expert and also am rather experienced in Java (with Processing project) Jul 04 01:07:14 What types of issues are you having? Preferably with full error text. Jul 04 01:07:19 true, I'll look into that Jul 04 01:07:22 Java should work fine on the bone. Jul 04 01:07:32 There is, I believe, a JVM written for ARM. Jul 04 01:07:40 I have no error text, that's my problem. Writing code is not my issue Jul 04 01:07:47 OK...? Jul 04 01:07:53 I am trying to get away from Java, actually Jul 04 01:08:07 It's getting an editor to run on my computer Jul 04 01:08:24 Is there anything wrong with a simple text editor? Jul 04 01:08:34 Or something like Eclipse? Jul 04 01:08:37 I am running a 1.2gHz G4 iMac... if that helps Jul 04 01:08:51 no! a simple editor is what I want! Jul 04 01:08:56 Note that i have exactly no experience with mac stuff. Jul 04 01:09:00 I tried eclipse....... it was alright Jul 04 01:09:03 OK, so use a text editor? Jul 04 01:09:06 slow, though Jul 04 01:09:23 yeah, then I have no way of compiling, that has worked so far, anyway Jul 04 01:09:42 I have nothing that has run yet. Jul 04 01:10:06 OK, but remember, your mac and the bone have substantially different processors, so you actually need to set up a cross-compilation toolchain. Jul 04 01:10:19 Unless you compile your code on the bone itself. Jul 04 01:10:41 Where would I put the code that I make in a text editor? I understand that, but I don't think I have that, unless gcc-4.0 can cover that..... Jul 04 01:11:04 GCC can be set up to cross compile, but 4.0 is *ancient* Jul 04 01:11:18 You should be able to SSH into the bone. Jul 04 01:11:33 There you will find an entire Linux filesystem. Put the code anywhere it makes sense to. Jul 04 01:11:42 I tried going to 192.168.7.2:3000 like I am supposed to, but then, when cloud9 loads, I can't run my code. I can only run the example ".js" files Jul 04 01:11:53 I know.... so is my computer Jul 04 01:12:16 and, how do I get that to work? I have had no luck with that either..... Jul 04 01:12:33 Port 3000 does not look like an ssh port...usually, SSH runs on port 22. Jul 04 01:12:47 oh wait...... the whole "screen -ls..." thing? I can do that Jul 04 01:12:50 Open a terminal and try 'ssh root@192.168.7.2' Jul 04 01:12:55 yeah, ok Jul 04 01:13:04 No, no, though that could work if you are using the serial link. Jul 04 01:13:18 But I as assuming the bone is connected to your LAN. Jul 04 01:13:33 ah, no Jul 04 01:13:38 is that my problem Jul 04 01:13:40 ?* Jul 04 01:13:53 I would be vey far off, in that case Jul 04 01:13:59 Well, it *would* be difficult to connect over the network to something not on the network, right? Jul 04 01:14:06 true Jul 04 01:14:20 I am using USB-ethernet right now to serial connect Jul 04 01:14:21 So, if you are connecting over serial, things will be a little different. Jul 04 01:14:24 using screen Jul 04 01:14:29 on a mac Jul 04 01:14:31 I suggest just putting the bone on the LAN. Jul 04 01:14:36 running 10.4.11 Jul 04 01:14:42 ok, I'll give that a shot Jul 04 01:14:48 Then you can use SSH, and Cloud9 might work better. Jul 04 01:14:52 ok Jul 04 01:14:56 one more thing Jul 04 01:15:39 Can you use the Cloud9 online, without the bone? I thought that was the whole point of having an online editor........ Jul 04 01:15:59 I have no idea. Jul 04 01:16:04 * agmlego has never used Cloud9. Jul 04 01:16:16 oh, what do you recommend? Jul 04 01:16:29 I do most of my work on the beagleboard xM or the pandaboard es. Jul 04 01:16:39 Neither of which currently have Cloud9. Jul 04 01:16:39 I would prefer anything else Jul 04 01:16:42 oh Jul 04 01:16:45 darn Jul 04 01:16:52 I just use Python, Java, or C on the device itself, like any other Linux box. Jul 04 01:17:02 Just treat the bone as a little Linux computer. Jul 04 01:17:12 Ignore Cloud9 entirely if it is unsuitable. Jul 04 01:17:47 ok, is there a good way to compile cross processor using gcc on a mac? I don't have an active and up-to-date linux box that I trust to try it the linux way.... Jul 04 01:18:04 It is, I am trying to get around it, with no luck..... Jul 04 01:18:19 That is an excellent question to ask the internet at large. Jul 04 01:18:30 true Jul 04 01:18:40 but I can't do that, per-se Jul 04 01:18:46 how do you compile? Jul 04 01:18:49 Neither do i have the experience with old macs (or indeed macs in general) nor with old versions of GCC to be able to answer intelligently on that. Jul 04 01:18:57 I use GCC on the box itself. Jul 04 01:19:27 Or, I use the cross-compilation toolchain I have set up on one of my debian boxes, using gcc 4.7.1 Jul 04 01:19:30 my bone has only the cloud 9 ide...... what would I install on it to do what you are talking about? Jul 04 01:19:45 ok, I can do wither of those things Jul 04 01:19:50 Your bone is running a full version of Linux, a distribution called Angstrom. Jul 04 01:19:57 That is what is on the microSD card. Jul 04 01:20:01 I know that Jul 04 01:20:12 You *should* be able to just SSH into it, and use the tools there. Jul 04 01:20:13 I can install things as normal then? Jul 04 01:20:18 oh really? Jul 04 01:20:18 I think it comes with gcc. Jul 04 01:20:23 Sure, using opkg. Jul 04 01:20:28 Yes! Jul 04 01:20:29 ok, I'll put it on the net, then Jul 04 01:20:44 wow, I fell like an idiot now, thanks a ton! Jul 04 01:20:50 feel, sorry Jul 04 01:20:51 No problem. Jul 04 01:21:47 but, now that I have options, and a few free moments...... could I use "make in a terminal, on my computer to do this as well Jul 04 01:21:49 ? Jul 04 01:22:41 If you have the right commands in your Makefile to use a cross-compilation toolchain, sure. Jul 04 01:22:55 awesome, thank you so much! Jul 04 01:23:10 Or, set the Makefile up to scp the source code to the bone, then ssh in and compile it there. Jul 04 01:23:36 ok, sounds good! thanks! Jul 04 01:23:54 Good luck. Jul 04 01:24:03 I'll need it.... Jul 04 01:24:17 Just remember that the bone is not an Arduino. Jul 04 01:24:23 That should help matters considerably. Jul 04 01:24:25 I know Jul 04 01:24:34 I figured it was quite different Jul 04 01:24:57 It is, as I said, considerably more like programming for any regular desktop box. Jul 04 01:26:14 yeah, I got that message. I did tons of research on that before I bought one, but the resources online ran dry really fast.... I just didn't seem to be able to get into that part of it, so I kept thinking simpler to see if that would work better Jul 04 01:26:29 Thank you again, I'll be right back. Jul 04 01:26:32 Well, glad I could help. Jul 04 01:26:42 Feel free to stop by if you have further questions. Jul 04 01:26:48 I will! Jul 04 01:27:16 Do not necessarily look around for me, though. While I am always online, I am not necessarily always active, and others can answer as well or better than I. Jul 04 01:27:24 Oh, is the bone's CPU supposed to get hot? Jul 04 01:27:37 Warm to the touch, not hot. Jul 04 01:27:49 If you can comfortably rest your finger on it for a while, it is fine. Jul 04 01:28:01 If it is warmer than that, there may be something wrong. Jul 04 01:28:03 Yeah, I've used there IRC channel thingys a lot, I know what to look for. Thanks Jul 04 01:28:08 ok, good to know Jul 04 01:28:14 Making sure. Jul 04 01:28:30 PyroAVR: Never sure as to the experience level of folk here--a whole lot have this as their first IRC channel. Jul 04 01:29:36 I understand completely. I am a "wannabe developer" so I made sure to familiarize myself with the usual things in the developer world. Jul 04 01:29:53 Excellent! Jul 04 01:30:01 You are, sadly, an exception. Jul 04 01:30:13 ? Jul 04 01:30:24 what do you mean? Jul 04 01:30:26 Most of the time, we get questions like, "tell me how to port Linux to the beagleboard" Jul 04 01:30:40 oh my..... Wow, I feel really bad for you Jul 04 01:30:56 basically, folk who have not read the link in the topic, or have used IRC before, or know anything. :-/ Jul 04 01:31:50 even I could figure that out........ I mean, I've done pretty much everything there is (in general) to do in the friendly computer world, so I have plenty of experience there........ Jul 04 01:32:01 Yeah, most do not. Jul 04 01:32:16 glad to know, however, that I have somewhere to go for help...... Jul 04 01:32:24 I have to bandy about ESR's guid eot asking questions the smart way a lot. Jul 04 01:32:34 Well, that is why this channel exists. ;-P Jul 04 01:33:02 no one I actually know, who I can talk to face to face can help me, so...... Jul 04 01:33:21 This is wonderful to have as a rescource Jul 04 01:33:26 PyroAVR: Any hackerspaces near you? Jul 04 01:33:27 exactly Jul 04 01:33:35 sadly, no Jul 04 01:33:39 or I just ported android.. how do I install a driver Jul 04 01:33:40 I REALLY wish there was Jul 04 01:33:42 Ah, fair enough. Jul 04 01:33:48 thurbad: Oh, yeah, that too. Jul 04 01:33:59 PyroAVR: Find a group of like-minded folk and start one? Jul 04 01:34:10 I was actually going to start one........ Jul 04 01:35:01 But, in little old rochester, one (or many) highschool freshmen do not simply begin a hackerspace and expect it not to get complained about Jul 04 01:35:21 or just run out of funds/people/etc. Jul 04 01:35:22 PyroAVR: Which Rochester? Jul 04 01:35:32 Rochester, New York Jul 04 01:35:51 perhaps once not so little..... Kodak, Xerox, Bausch and Lomb..... Jul 04 01:35:51 ;0 Jul 04 01:35:57 that one Jul 04 01:36:15 Rochester institute of Technology? Jul 04 01:36:28 Yessir. Jul 04 01:36:33 Awesome Jul 04 01:36:34 And actually, there is a hackerspace Jul 04 01:36:41 that's where I'm going Jul 04 01:36:44 my ex-president of robotics club Jul 04 01:36:44 really!? Jul 04 01:36:47 joined it Jul 04 01:36:52 noice Jul 04 01:36:54 yeah I'm not sure where it is Jul 04 01:36:56 MABL labs? Jul 04 01:37:04 I think that's the one Jul 04 01:37:06 something like that Jul 04 01:37:07 I have some friends there Jul 04 01:37:26 Yeah, I go to thier new "robo-camp" which has tons of help Jul 04 01:37:33 Squidwrench, in Poughkeepsie. Jul 04 01:37:37 he was like 3 credits short and he was doing it after works Jul 04 01:37:44 really, it's a guided course, butif you already know everything Jul 04 01:37:47 Nothing else listed on hackerspaces.org. Jul 04 01:37:52 Nice Jul 04 01:38:02 huh..... Jul 04 01:38:14 PyroAVR: #squidwrench, on freenode. Jul 04 01:38:21 ;-P Jul 04 01:38:22 ok, cool Jul 04 01:38:32 I'll be there sometime Jul 04 01:38:58 Note that I literally just pulled that off hackerspaces.org--I am much closer to Rochester, MI. Jul 04 01:39:12 So, i3detroit, All Hands Active, and OmniCorp Detroit. Jul 04 01:39:14 oh, ok. Jul 04 01:39:19 wows Jul 04 01:39:26 Mostly i3 though. Jul 04 01:39:34 mordern companies, eh? Jul 04 01:39:44 all of ours are going out of business Jul 04 01:39:45 Companies? Jul 04 01:39:53 No, these are hackerspaces. Jul 04 01:40:01 yeah, er, not companies.... der Jul 04 01:40:05 Not corporate-sponsored or anything liek that. Jul 04 01:40:10 ok, I am confused Jul 04 01:40:23 I got it now, however Jul 04 01:40:24 PyroAVR: I listed the three hackerspaces nearest me. Jul 04 01:40:30 OK. Jul 04 01:40:31 ok, good Jul 04 01:41:27 My computer is incapable of handling more than one page at a time, so I can't visit hackerspaces.org right now Jul 04 01:41:38 but, I'll look in a sec. Jul 04 01:42:03 for now, let me hook up my bone, and I'll be back (active) later Jul 04 01:42:34 Incapable of handling more than one page at a time...? Jul 04 01:42:51 Might be time for either a new computer, or a new operating system. Jul 04 01:52:31 PyroAVR: In general, there are these hackerspaces in New York, some may be more suitable than Squidwrench: http://hackerspaces.org/wiki/New_York Jul 04 01:54:40 PyroAVR: Specifically, Interlock Rochester might be suitable...http://hackerspaces.org/wiki/Interlock_Rochester Jul 04 01:59:54 PyroAVR: Looks like Interlock is your best bet. http://interlockroc.org/ Jul 04 02:12:52 yeah, really time for a new one. I am getting one soon. With LINUX! thanks for the tips on hackerspaces Jul 04 02:13:02 I am back, btw Jul 04 02:13:24 I hooked up the bone, did what you recommended, and, nothing..... Jul 04 02:15:33 It appears as if though it is not even on the network, because as soon as I disconnect the USB, the "RN/DIS gadget" goes away..... Jul 04 02:19:50 Well, yeah. Jul 04 02:20:00 But does it grab a DHCP lease from your router? Jul 04 02:20:09 Try connecting to *that* IP address. Jul 04 02:20:30 yes it does Jul 04 02:20:34 I did. Jul 04 02:20:39 I have a time capsule.... Jul 04 02:21:03 and it somehow managed to aquire 192.168.7.1 Jul 04 02:21:37 but, when I disconnect USB, it disappears.... which makes me think it's not actually on the net Jul 04 02:21:44 LAN, that is Jul 04 02:23:31 Well, are you powering it other than the USB connection? Jul 04 02:23:56 so, for me, that's *ssh root@192.168.7.1* and it comes up with "password" which is nil, and then I get the beaglebone-root~# prompt.... Jul 04 02:24:13 yes sir. I have a 5v 2a power supply Jul 04 02:24:30 OK, so you *can* ssh into the bone. Jul 04 02:24:35 yes I can Jul 04 02:24:42 over USBserial.... Jul 04 02:24:43 So what is the problem again? Jul 04 02:24:46 Ah. Jul 04 02:24:56 What IP address does the bone pick up from the router? Jul 04 02:25:18 once I disconnect from USB, the bone disappears. 192.168.7.1 Jul 04 02:25:31 standard address, I think Jul 04 02:26:00 bone *should* actually ask for a DHCP lease. Is your router seeing it do that? Jul 04 02:26:08 I don't know Jul 04 02:26:11 honestly Jul 04 02:26:14 OK, can you check? Jul 04 02:26:32 it shows up as 192,168,7,1 in system prefs./network Jul 04 02:26:44 On the mac. Jul 04 02:26:44 but, no luck after I disconnect USB Jul 04 02:26:50 correct Jul 04 02:26:51 yes, that is expected. Jul 04 02:26:59 Because that is the bone connected over USB. Jul 04 02:27:13 and ethernet Jul 04 02:27:16 Log into the router and go to the page that lists the DHCP leases or clients. Jul 04 02:27:21 I can't Jul 04 02:27:25 Why not? Jul 04 02:27:25 It's not mine Jul 04 02:27:33 So? Jul 04 02:27:39 I am not exactly living on my own Jul 04 02:27:44 So? Jul 04 02:27:49 So ask the owner to. Jul 04 02:27:51 I am a freshman in high school Jul 04 02:27:54 And? Jul 04 02:27:56 ok Jul 04 02:28:13 I can't do so easily, but hold on a second please Jul 04 02:28:21 OK. Jul 04 02:29:47 (never use your age or stauts as an excuse. you are further ahead than many will ever be, and further behind as well. irc is nice because it helps remove such class divisors and shows people as people) Jul 04 02:29:52 *status Jul 04 02:33:35 and on the flip side, never use your extensive "experience" and many years in the industry as proof that you're right about something Jul 04 02:33:43 especially not if you're the one asking for help Jul 04 02:34:13 * mru is reminded of the guy the other day who had "over 20 years" linux experience Jul 04 02:35:20 mru: Well, that was where I was going with the status thing (and the age thing, really). Jul 04 02:35:25 It works both ways. Jul 04 02:40:35 Hello? Jul 04 02:40:38 ok, good Jul 04 02:40:48 Sorry, but this is going to be a while Jul 04 02:41:11 I agree with you in your statement of class separation Jul 04 02:41:44 I'll have more to say in a few miutes Jul 04 02:41:57 OK. Jul 04 02:46:24 ok, I have a list of the in-use IP's, I'll try ssh on each of the unknown ones. Jul 04 02:47:13 There you go. Jul 04 02:48:06 now, if it says "connection refused", what should I do?> Jul 04 02:48:20 Then that means that host is not runnign an SSH client. Jul 04 02:48:26 Move on to the next. Jul 04 02:48:44 ok, I have tried all of the unknown ones, and no luck Jul 04 02:48:53 Try the known ones too? Jul 04 02:49:01 ok Jul 04 02:49:49 nothing Jul 04 02:51:16 Hmm...is the bone set up by default to use DHCP? Jul 04 02:51:25 I think so. Jul 04 02:51:33 Check. Jul 04 02:51:35 I have no idea what the defaults are Jul 04 02:51:43 If not, ssh in throught he USB connection and make it so. Jul 04 02:51:50 how would I check that? Jul 04 02:51:55 Fortunately for you, those are well documented online. ;-P Jul 04 02:52:09 ok, wait a sec, and I'll look for them Jul 04 02:53:48 has anyone here tried arago yet? Jul 04 02:54:37 No idea what that is. Jul 04 02:56:22 PyroAVR: I am probably going to go sleep soon, so either ask the channel at large for further help, or try to hit me up tomorrow. Jul 04 02:56:36 ok, I will do so. Jul 04 02:56:42 Good night, sir. Jul 04 02:56:43 it appears to be a linux distro targeted towards Ti arm chips, I've just heardabout it myself Jul 04 02:56:44 (nearing 2300 here, and I have been working 60-70 hour weeks of late) Jul 04 02:56:58 oh my you poor thing Jul 04 02:57:09 :( Jul 04 02:57:16 good luck then.... Jul 04 02:57:19 Well, at least I get paid hourly, so the overtime has been amazing. Jul 04 02:57:28 yes, that is good! Jul 04 02:57:28 Doing great things for paying off student loans. Jul 04 02:57:42 yeah, I'll be there in a few years **** ENDING LOGGING AT Wed Jul 04 02:59:58 2012