**** BEGIN LOGGING AT Sun Mar 18 02:59:59 2012 Mar 18 04:41:23 Hi could someone help me to debug my ethernet connection to beagle-XM? I have set up the beagle to have a static IP of 192.168.1.100, and it is connected to the ethernet port of my laptop running Ubuntu. but when I try to ping the board IP, i get an error that the "network is unreachable" Mar 18 04:41:49 I have run ifconfig on the board and it shows the correct IP Mar 18 04:42:43 do i need to do some special settings on my laptop? Mar 18 04:50:17 hi all Mar 18 05:02:21 govind: Did you change your laptop to the same subnet mask and give it an ip? Mar 18 07:46:36 Hi there Mar 18 07:47:04 I'm a new user of BeaagleBoard and I need assistance Mar 18 07:47:54 what `s your problem? Mar 18 07:49:09 can we make "Don't ask to ask" the topic? Mar 18 07:49:13 Ok, please assist. I'm able to format my 2Gb SD card using the mkcard.txt that create a boot partition of 75 MB and an Angtrom partition of 3.5 GB. Bassically, here's what I,do : 1- Copy the MOL (1 file) to the boot partition 2- Copy the u-boot.img (1 file) to the boot partition 3- Untar the Angstrom-Beagleboard-.tar.bz2 to the Angstrom partition (no error) 4- Unmount the SD card, plug it into the Beagleboot and powerup and I get th Mar 18 07:51:13 Im sure im doind something stupid Mar 18 07:51:28 I got a Beatleboard SRM Mar 18 07:54:07 well? Mar 18 08:00:22 elok: what is the serial output of your board. please use a _pastebin_ Mar 18 08:01:54 I'm a newb in Linus so, I use hyperterminal to do this? Mar 18 08:02:26 Your sure I'm not missing a file in the process? Mar 18 08:09:22 hello? Mar 18 08:21:18 C'mon please, could someone at least that those 4 step are correct? :/ Mar 18 08:21:42 *at least confirm that those Mar 18 08:22:02 it sounds right, but you'll need to connect something to the serial port of your board to see what really happens Mar 18 08:23:02 The serial is connected Mar 18 08:23:13 Ill copy the last lines Mar 18 08:24:48 Hit any key to stop autoboot: 0 Mar 18 08:24:52 Usage: Mar 18 08:24:56 mmcinit - init mmc card Mar 18 08:24:58 Mar 18 08:24:59 Mar 18 08:25:01 PLEASE use a pastebin! Mar 18 08:25:04 ** Unable to use mmc 0:1 for fatload ** Mar 18 08:25:15 oups sry Mar 18 08:25:28 What is pastebin? Mar 18 08:25:52 2 sec gotta google it Mar 18 08:27:13 http://pastebin.com/eaFrwHBk Mar 18 08:27:15 Is that it? Mar 18 08:29:03 (interesting tool, pastebin I mean) Mar 18 08:29:17 looks like uboot can't find the kernel Mar 18 08:29:47 Yeah, I can understand that much =/ Mar 18 08:30:46 That Kernel, it's on the 2nd partition of the SD card, or on the chip of the Beagleboard? Mar 18 08:34:06 which BB do you have? classic or XM? Mar 18 08:35:07 BeagleBoard SRM I think (the one without Ethernet port) Mar 18 08:36:24 never worked with that. you'll want to make sure you boot off the SD card and not the NAND though. Mar 18 08:39:42 NAND = booting from the chip? Mar 18 08:40:07 If it's the case, well the chip cannot boot itself (been like this since I got the board) Mar 18 08:48:43 Oh well, Guess I'll have to come back tomorrow =/ Mar 18 08:49:21 I'm sick, with cough medicine, its late, and 8 bit futurama is on Mar 18 08:49:26 8 bit futurama is awesome Mar 18 08:49:41 8 bit futurama? :P Mar 18 08:49:55 second half of reincarnation episode Mar 18 08:50:17 http://www.youtube.com/watch?v=MIceH8elvCs Mar 18 08:51:06 Never really watched Futurama. Guess I'm too old :P Mar 18 08:51:11 oh, wait, there is a third part Mar 18 08:51:26 anime superhero style Mar 18 08:52:04 the first part was 30's cartoon style Mar 18 08:54:33 Btw, I'll ask again, anyone here at ease with the BeagleBoard SRM (The one without Ethernet Port)? Mar 18 08:54:39 I got massive problem with mine Mar 18 08:57:49 could you try and install a known good complete image on a SD card? Mar 18 08:58:05 something like a validation image Mar 18 08:59:43 Ok, need advice on that, which image so you suggest? Mar 18 09:00:18 http://www.angstrom-distribution.org/demo/beagleboard/ Mar 18 09:02:08 I'm actually using the files : Mar 18 09:02:28 MOL 29-Jan-2012 14:54 42K Mar 18 09:03:05 u-boot.img 29-Jan-2012 14:54 321K Mar 18 09:03:27 u-boot.img 29-Jan-2012 14:54 321K Mar 18 09:03:42 and Angstrom-Beagleboard-demo-image-glibc-ipk-2011.1-beagleboard.rootfs.tar.bz2 11-Jan-2011 11:18 169M Mar 18 09:10:46 Oh well, I'll come back tomorrow to seek advice Mar 18 09:10:51 It's getting like here Mar 18 09:10:53 G'nite! Mar 18 12:51:19 hi Mar 18 16:43:38 Where can I find how Angstrom manages memory, on C5 how much NAND is used, how are nonvolatile variables stored in NAND, could I wear out NAND by sorting a large file for instance. Mar 18 16:53:11 it's all standard linux Mar 18 17:03:52 And Koen, what is your favorite reference for this aspect of standard embedded Linux? Mar 18 17:14:34 how can I assign a static IP to the beaglebone? Mar 18 17:18:46 starter: that depends entierly on the OS you run on it Mar 18 17:20:13 angstrom's distribution is running on the beaglebone Mar 18 17:21:36 how can I assign a static IP on angstrom distribution? Mar 18 17:23:55 did you look at /etc/network/interfaces yet? Mar 18 17:26:25 I have just started to use linux, what is the command to look at it? Mar 18 17:30:41 look at what? Mar 18 17:30:57 <_av500_> things Mar 18 17:31:50 what is the command to assign a static IP on angstrom distribution? Mar 18 17:37:36 starter: any linux editor will do, nano, vim, emacs, ed, ... Mar 18 17:38:00 I am looking at interfaces now by nano Mar 18 17:38:47 how can I define the static IP inside the interfaces? Mar 18 17:39:47 http://lmgtfy.com/?q=man+interfaces&l=1 Mar 18 17:40:15 thank you Mar 18 17:41:20 ah first lmgtfy link of the day Mar 18 17:41:26 someone is hungover? :P Mar 18 19:45:00 greetings, I try to compile gstreamer DSP plugins for BBrevC4 according to http://elinux.org/BeagleBoardUbuntu, During compilation I see lines like: /tmp/cc5UWALF.s:3698: Error: selected processor does not support `rev r3,r3' Mar 18 19:45:58 I have no idea what gives an identification for compiler - to tell that this processor does not support dspbridge. Mar 18 19:48:17 looks like I have proper settings for tidspbridge in the kernel (3.2.8) - I can insmod this. Mar 18 19:51:51 Hello, I am trying to run Ubuntu 11.04 on BB. using http://cdimage.ubuntu.com/releases/11.04/release/ubuntu-11.04-preinstalled-netbook-armel+omap.img.gz Mar 18 19:52:32 after first boot ubuntu starts and after reset boot partition is gone. Mar 18 19:53:09 there was 74MB partition and 2.6GB partition but after first reset.. it seems to be merged! Mar 18 19:53:17 became 3.9GB .. Mar 18 19:53:27 and cannot boot anymore. Mar 18 19:53:40 anybody can help me? Mar 18 19:54:42 uboot setting is http://pastebin.com/VcRCR0sp Mar 18 19:56:15 and the console message is http://pastebin.com/y88hHzVg Mar 18 19:59:35 this is more concise one.. for uboot env.. http://pastebin.com/9Mj4wDzh Mar 18 20:00:38 at first run.. ubuntu says that it is going to check the partitions.. Mar 18 20:00:52 maybe at that time it changes something.. Mar 18 20:01:16 how can i fix this :( Mar 18 20:07:20 any idea? .... Mar 18 20:07:43 pilote: I have no idea - these logs show nothing special Mar 18 20:07:56 just maybe your card lost partitions? Mar 18 20:08:21 but it happens repeatedly.. Mar 18 20:08:33 repeatedly so ? Mar 18 20:08:36 it was not like this with angstrom Mar 18 20:08:52 it starts? Mar 18 20:09:06 yes i can see startup screen of ubuntu. Mar 18 20:09:32 with some messages checking blahblah.. and check partitions .. Mar 18 20:09:42 but after black screen comes.. Mar 18 20:09:58 but i can get login prompt on the serial comm. Mar 18 20:10:25 i couldn't do it. after i read something that i have to reboot one time. Mar 18 20:10:37 tried reboot. then not able to boot. Mar 18 20:10:45 this happened 2 times. Mar 18 20:12:24 i am going to try with ubuntu 10.10.. again... Mar 18 20:27:26 does anybody know where I should extract modules-beaglebone.tgz? I have seen the directory where modules go but I cannot remember anymore Mar 18 20:30:48 never mind Mar 18 20:34:43 /lib/modules/3.x.y/ Mar 18 21:00:52 I want to assign beaglebone to a static IP. I changed iface eth0 inet dhcp to iface eth0 inet static; address 192.168.1.105; netmask 255.255.255.0; gateway 192.168.1.1 ; where ; indicates the next line. After that I do '/etc/init.d/networking restart', but IP hasn't changed. what do I do wrong? Mar 18 21:07:50 i want to install mplayer in my beaglebone how can I do this? what is the package manager that it uses? Mar 18 21:09:18 Default beaglebone runs the angstrom distro which uses opkg Mar 18 21:09:53 but it can run all kinds of things Mar 18 21:09:55 even qnx Mar 18 21:09:58 opkg? thanks Mar 18 21:10:09 hrm i wonder if you can get vonage attached to a sip telephone Mar 18 21:10:13 yeah mine is running angstrom Mar 18 21:11:54 status: what is a good and small video player that I can install on my beaglebone using opkg? I tried opkg install mplayer but it could not find the package Mar 18 21:15:10 never mind I had to do a opkg update Mar 18 21:15:21 then it could find the package Mar 18 21:16:00 Oh good Mar 18 21:47:57 I want to assign beaglebone to a static IP. I changed iface eth0 inet dhcp to iface eth0 inet static; address 192.168.1.105; netmask 255.255.255.0; gateway 192.168.1.1 ; where ; indicates the next line. After that I do '/etc/init.d/networking restart', but IP hasn't changed. what do I do wrong? Mar 18 21:51:14 starter: I can't directly help but I know there is a blog post on setting a static IP if you google beaglebone static ip. Maybe it will be helpful Mar 18 21:51:50 , Mar 18 21:52:33 II read the posts on blogs and does the same things, but it does not work :( Mar 18 21:52:54 I just finish building angstrom using systemd-image option then I wanted to look at beaglebone platform code and went to arch/arm/mach-omap2/ looking for board-am335xevm.c but could not find it. There were only a bunch of header files in that directory Mar 18 21:52:57 see the gigamegablog post using connman? Mar 18 21:52:59 have things moved around? Mar 18 21:54:44 II also read that blog too Mar 18 21:55:10 I just wonder if I need to do something else, addition to that Mar 18 21:57:02 do I need to write su -s before executing the commands? Mar 18 21:57:56 for example: do I need to write su -s before "nano /etc/network/interface" ? Mar 18 22:01:07 for the ubuntu examples, I see that sudo is written before it, but for angstroms distribution I could not find the correct code, I tried to put su -s before the command but it does not accept the usage. does any body knows how I can type "sudo nano /etc/network/interfaces" for angstroms distribution? Mar 18 22:08:52 If you are logged in as root, then you don't need to preface any commands (i.e. sudo, su). Type in 'whoami' and if you are root, then you are good to go. Mar 18 22:12:53 jstearns74: thanks Mar 18 22:24:07 I just finished building angstrom using systemd-image option then I wanted to look at beaglebone platform code and went to arch/arm/mach-omap2/ looking for board-am335xevm.c but could not find it. There were only a bunch of header files in that directory Mar 18 22:24:08 have things moved around? actually I cannot find board-am335xevm.c anywhere in the kernel directory but I know the kernel did build just fine and I am using the uImage on my beaglebone without issues Mar 18 22:25:00 as you guys can see I am running Linux beaglebone 3.2.9+ #1 Sun Mar 18 02:00:41 EDT 2012 armv7l GNU/Linux Mar 18 22:25:06 which should be the latest Mar 18 22:28:24 :D Mar 18 22:29:48 The only thing I can find is /kernel/arch/arm/mach-omap2/include/mach/board-am335xevm.h :-( Mar 18 22:30:03 no .c Mar 18 22:46:14 then you did something wrong :) I've arch/arm/mach-omap2/board-am335xevm.c Mar 18 22:47:24 do you have the same kernel as me? 3.2.9+ ? Mar 18 22:48:08 this is so strange because my arch/arm/mach-omap2/ is full of header files and no .c files at all Mar 18 22:48:20 I am sure I did not delete them myself Mar 18 22:49:52 The only thing I did was to make sure that I deleted the setup-scripts directory so I could start completely from scratch Mar 18 22:49:55 then did MACHINE=beaglebone ./oebb.sh config beaglebone MACHINE=beaglebone ./oebb.sh update MACHINE=beaglebone ./oebb.sh bitbake systemd-image Mar 18 22:50:04 and that is it Mar 18 22:50:45 it built me MLO, u-boot, uImage, rootfs then I formatted my SD Card put everything back and it worked without issues Mar 18 22:51:12 then I went and looked inside arch/arm/mach-omap2/ and only saw headers files in there Mar 18 22:51:14 maybe it's because of rm_work Mar 18 22:51:28 rm_work? Mar 18 22:51:37 look at your conf/local.conf for something like INHERIT += "rm_work" and comment it out Mar 18 22:52:45 MACHINE=beaglebone ./oebb.sh bitbake -c cleansstate virtual/kernel && ./oebb.sh bitbake -c patch virtual/kernel Mar 18 22:53:34 ok I found the line but what does INHERIT += "rm_work" do? Mar 18 22:53:47 then look for that .c file, (modify it?) and do kernel build bitbake virtual/kernel Mar 18 22:54:03 taking rpi hype to new altitudes: http://thepiratebay.se/blog/210 Mar 18 22:54:08 aka is it april already? Mar 18 22:54:45 rm_work = "To help conserve disk space during builds you can add the following statement to your local.conf file. Adding this statement deletes the work directory used for building a package once the package is built." Mar 18 22:56:09 lol, flying rpi Mar 18 22:56:52 mru: you really think they will ship in april? :P Mar 18 22:57:09 :) Mar 18 22:57:23 april 2013? Mar 18 22:57:46 ok yeah forgot the year part of that Mar 18 22:59:14 well, I use that quite often "as I said, I'll do it in april", "damn, but it's april already!" "I didn't said this april, did I?" Mar 18 23:00:28 ynezz: ok I am giving it a try. This is crazy though, how could I possibly have figured that out by myself? Mar 18 23:01:54 well it's "sane default", because otherwise we often see "damn, where's my 32GB?" Mar 18 23:02:20 disks are cheap (tm) Mar 18 23:02:41 well, but at least the kernel's source code should not be deleted that is not sane to me Mar 18 23:02:44 and if you're planning to use something, in some stage it's good to read something about it also... Mar 18 23:03:54 ynezz: I know but there is only so much one can learn/read/retain in a certain amount of time. I got information overload already Mar 18 23:04:22 the grow grapes instead :) Mar 18 23:04:29 s/the/then/ Mar 18 23:04:49 lol that will be my next move if this doesn't work out Mar 18 23:04:49 oh silly reading the manual :) Mar 18 23:04:56 ynezz: good idea, then you can make wine Mar 18 23:05:05 and get drunk Mar 18 23:05:05 better yet, grow barley and make beer Mar 18 23:05:09 of course, that I wouldn't eat it! Mar 18 23:05:32 did anyone installed QNX on beagleboard? Mar 18 23:05:43 sure, works fine Mar 18 23:06:00 at least after hacking the bsp a bit Mar 18 23:06:06 xD Mar 18 23:06:10 mru: beer > wine Mar 18 23:06:22 drive by irc Mar 18 23:06:58 OrlandoT: and to interpret the kernel source, you would need to parse TRM, which isn't 5 pages either :p Mar 18 23:07:03 yes works but i cant use its display on hdmi port Mar 18 23:07:21 worked for me Mar 18 23:07:26 wasn't easy to configure Mar 18 23:07:30 but it can be done Mar 18 23:07:52 qnx, what license is that? Mar 18 23:07:53 because, its resolution setted for 7inch display. and i tried to change on bsp but didnt find anywhere about resolution configuration Mar 18 23:08:06 could you help me about that? Mar 18 23:08:33 ynezz: it's free to use non-commercially Mar 18 23:08:39 most of it is closed source Mar 18 23:08:52 some of the lowlevel bits you get the source so you can tweak as needed Mar 18 23:10:13 mru: could you share your experiences about resolution? where i need to change? its really hard. i couldnt find it. Mar 18 23:10:20 I don't remember Mar 18 23:10:46 :/ do you have bsp backup? Mar 18 23:11:10 I messed around with that stuff at a client's office Mar 18 23:11:12 don't have a copy Mar 18 23:12:29 there's a config file somewhere with the display timings Mar 18 23:12:59 qnx is quite customisable so I can't really speculate where it might in your system Mar 18 23:14:28 did you make changes in bsp to get the screen working? im asking this for see my path Mar 18 23:15:25 I really can't remember the details Mar 18 23:15:32 it's over a year since I messed with it Mar 18 23:16:22 ok thanks Mar 18 23:44:04 more boris i see Mar 18 23:55:02 ynezz: NOTE: Tasks Summary: Attempted 108 tasks of which 105 didn't need to be rerun and all succeeded. Mar 18 23:55:43 ynezz: but now there is absolutely nothing in the kernel directory Mar 18 23:55:55 :( Mar 19 01:42:31 ynezz: I did a MACHINE=beaglebone ./oebb.sh bitbake virtual/kernel and now the kernel source is back but still no .c in arch/arm/mach-omap2/ Mar 19 01:48:10 jay6981? Mar 19 01:48:13 dwery? Mar 19 01:48:45 Bueller? Mar 19 01:50:53 My PRU debugger is ON ITS WAY Mar 19 01:50:53 http://www.autofrog.com/~chrisp/Projects/prude/prude.png Mar 19 01:51:07 what, you write buggy code? Mar 19 01:51:47 noooooooooooo Mar 19 01:51:59 SilicaGelly: here I'm Mar 19 01:52:01 but i'm making a debugger to allow you to single step and set breakpoints anyway Mar 19 01:52:06 whoa! Mar 19 01:52:09 I haven't done the data memory Mar 19 01:52:13 or the instruction memory yet Mar 19 01:52:21 it's ncurses so you can run it on the bone Mar 19 01:52:26 come on, that pic comes from the marketing dept! Mar 19 01:52:31 it really doesn't work well if you have an 80x24 screen though, too many damned registers Mar 19 01:52:34 haha no i made it Mar 19 01:52:40 you rock. Mar 19 01:52:48 what's funny is before yesterday I didn't know how to write anythng in ncurses Mar 19 01:53:00 no one else in the world has something like that Mar 19 01:53:13 good, then maybe it will be useful Mar 19 01:53:19 sell it to TI :D Mar 19 01:53:21 ncurses isn't that hard Mar 19 01:53:30 no, it's just kind of manual Mar 19 01:53:44 you could use something like cdk on top of it Mar 19 01:53:46 it would be easier f I usd the panel library but i sorta thought that'd just be one more dependency peopl would have to install Mar 19 01:53:53 cdk?? I'm not familiar with taht one Mar 19 01:54:14 huh neat. Mar 19 01:54:51 if only you can add real time instruction decoding... Mar 19 01:54:56 yeh Mar 19 01:55:08 I was for now going to just say you have to have pasm generate a listing file, then I was going to parse said listing file Mar 19 01:55:18 that would more closely approximate a kind of 'source level' debugging anyway Mar 19 01:55:21 yes Mar 19 01:55:33 the pasm listings do preserve things like comments Mar 19 01:55:47 and the format for code lines seems regular from the little test programs I have written so far Mar 19 01:55:50 but doing it in realtime means I can change the istructions :D Mar 19 01:55:58 oh man that'd be crazy haha Mar 19 01:56:28 how does it work? you snoop the regs in a loop? Mar 19 01:56:35 yeah. Mar 19 01:57:12 one PRU at a tme though Mar 19 01:57:20 and maybe you can load the code with an Fx key? Mar 19 01:57:30 Yeah i was thinking about that too. Mar 19 01:57:38 Right now I'm using the UIO though Mar 19 01:57:41 compile - hit - run Mar 19 01:57:44 so I open up the first UIO "event" Mar 19 01:57:48 which makes me deeply troubled Mar 19 01:57:56 Can I do that ? I don't know Mar 19 01:58:13 i mean, for this to be useful, you have to also be running your actual program I think (the C side of your UIO program) Mar 19 01:58:24 uhm Mar 19 01:58:49 I think 2 programs can have the same /uio device open at the same time and since my debugger does't read the events at all it should be fine Mar 19 01:58:53 I'll find out soon enough :) Mar 19 01:59:04 If it doesn't work, my backup plan is going to be to mmap /dev/mem HAHA Mar 19 01:59:07 don't forget to tell ka6sox, he will be delighted Mar 19 01:59:39 mmap always works Mar 19 02:01:03 heh Mar 19 02:01:18 it's a pru debugger Mar 19 02:01:22 real men use mmap Mar 19 02:01:22 so I named it "prude" Mar 19 02:01:26 :-) Mar 19 02:01:43 wouldn't prudb be the logical name? Mar 19 02:01:53 that sounds like a database! Mar 19 02:02:08 oh, you mean like gdb is gdb Mar 19 02:02:10 hrmmmmmmmmmmmmm Mar 19 02:02:26 perhaps Mar 19 02:02:43 ever heard of the ladebug debugger? Mar 19 02:02:59 haha no. What does it debug? LaTex ? Mar 19 02:03:10 no, came with tru64 Mar 19 02:03:48 I wonder if I should add the event registers / INTC stuff Mar 19 02:04:11 one thing about doing this with ncurses is that it doesn't really resize down too well because I didn't implement any kind of clipping Mar 19 02:04:27 i think if I used the panel library it would clip Mar 19 02:06:50 we all have huge screens, right? ;) Mar 19 02:07:46 yep Mar 19 02:08:09 if it doesn't run in 80x24 it's useless Mar 19 02:08:27 :( Mar 19 02:25:06 ok Mar 19 02:25:12 i'm pushing what i have so far out on to github Mar 19 02:25:48 let me say it again: great work! Mar 19 02:27:33 man i still don't git git Mar 19 02:27:42 # modified: README Mar 19 02:27:44 ok great Mar 19 02:28:05 it might be confusing at times Mar 19 02:28:11 yeah Mar 19 02:28:17 does 'commit' not commit everything that's modified? Mar 19 02:28:23 maybe that's the problem Mar 19 02:29:10 git add to mark files for commit, then git commit Mar 19 02:29:23 or git commit -a to commit all modified files Mar 19 02:29:26 http://book.git-scm.com/ Mar 19 02:29:32 oh -a Mar 19 02:29:35 ahhhhhhh Mar 19 02:29:48 git push Mar 19 02:29:52 ooooh good there's a pdf of the git book Mar 19 02:29:56 very good, thank you Mar 19 02:30:01 I shall put this on my touchpad Mar 19 02:30:12 that will allow me to read it during boring meetings Mar 19 02:30:27 SilicaGelly: yea, progit is the bible for git Mar 19 02:30:39 SilicaGelly: best to read that, and to do some practice repos Mar 19 02:31:14 SilicaGelly: took me about 3 months to really get comfortable using git, coming from svn/cvs Mar 19 02:35:53 prpplague: don't mention CVS in here :) Mar 19 02:35:55 haha Mar 19 02:36:37 * prpplague must have missed the joke Mar 19 02:49:38 ok. got to get to sleep now Mar 19 02:49:51 well you don't have to sleep Mar 19 02:49:56 it is a myth really Mar 19 02:50:17 mranostay: did i miss a joke or something? Mar 19 02:53:52 prpplague: no not really Mar 19 02:54:08 i just remember how bad CVS is/was Mar 19 02:54:16 ahh **** ENDING LOGGING AT Mon Mar 19 02:59:58 2012