**** BEGIN LOGGING AT Wed Mar 19 02:59:58 2014 Mar 19 03:01:27 prpplague: I see. Do you have any books to suggest for running SPI/displaying something? I see that running this SPI display would take some time then >.> Mar 19 03:04:13 SeanMark: most embedded linux books will discuss how to use SPI interfaces Mar 19 03:06:03 prpplague: I see. to the books! thanks.. Hopefully, after this day I would display something Mar 19 03:06:27 SeanMark: good luck, you will need it! Mar 19 03:06:31 * prpplague wanders off Mar 19 03:25:35 hello? Mar 19 03:38:27 exit Mar 19 05:01:29 how do i learn about what the .dts files are doing to set up the spi bus on the BBB? Mar 19 05:01:54 like what does this mean in the pinctrl-single,pins section? 0x150 0x30 /* spi0_sclk, INPUT_PULLUP | MODE0 */ Mar 19 05:42:51 k-man: 0x150 is the address offset of the pin, 0x30 sets the mode for that pin Mar 19 05:43:09 just google something like "BBB device tree overlay" to learn that stuff Mar 19 05:43:15 there's a lot of information Mar 19 05:44:13 hype_, ok thanks Mar 19 05:45:39 <_Aqua> if I get now led's but the power led on the BBB when connecting a 5" tft lcd, would that indicate that I don't have a sufficient power supply? Mar 19 05:45:46 <_Aqua> now/know Mar 19 05:46:34 probally Mar 19 05:46:45 unless the thing is a hard short Mar 19 05:47:59 <_Aqua> nah, all seems wired fine. it's only when I connect the CS pin from the lcd to the bone that it does this, without that, I can initialize the screen fine, just can't put anything out to it. Mar 19 05:48:27 LCDs can draw a ton of power unfortunately Mar 19 05:48:52 <_Aqua> yeah, shoulda figured that. I only have a 2amp hooked upto the bone. Mar 19 05:49:09 watch the limits on power draw Mar 19 05:49:12 check the SRM Mar 19 05:49:39 <_Aqua> well, appreantly other's have this lcd working on the bbb. So I think I should be okay. Mar 19 05:49:46 check draw using a bench power supply Mar 19 05:50:19 *shrug* LCDs are boring Mar 19 05:56:02 hype_, ok thanks Mar 19 06:05:41 hype_, so in that example, how does one know that the spi0_sclk is at offset 0x150? is that documented somewhere? I seem to be having trouble findind that Mar 19 06:06:13 RTFM Mar 19 06:08:15 k-man: there is a useful table by selsinork here: http://www.element14.com/community/thread/23952/l/pinmux--enabling-spi?tstart=0 Mar 19 06:08:26 hiiii, I am planning to submit a project prposal for GSoc 2014 My Topic Is "BB Embedded Server For Wireless Sensor Networks" How was it? Mar 19 06:08:30 you just have to subtract 0x800 from the pinmux offset Mar 19 06:08:49 to get the correct offset to use in the device tree overlay Mar 19 06:09:57 thanks for the link Mar 19 06:11:37 very iluminating Mar 19 06:12:09 I am planning to submit a project prposal for GSoc 2014 My Topic Is "BB Embedded Server For Wireless Sensor Networks" How was it? Mar 19 06:12:52 what kind of wireless? Mar 19 06:12:55 and what kind of sensors? Mar 19 06:14:21 now,iam not decided sensor and wireless, Mar 19 06:15:05 we can use this server for many applications Mar 19 06:15:56 so what will make your proposal stand out? what is it going to deliver that will help people? Mar 19 06:17:43 i prefare in the field of agriculture,survailance etc Mar 19 06:19:19 jaseel: soil moisture sensing? Mar 19 06:20:57 temperature,soilmoisture,humidity,wind speed etc Mar 19 06:21:43 This allows the user to monitor the operation of the WSN remotely, to periodically download the sensed data, and to change the operation mode of the network Mar 19 06:24:26 I prefer 2.4 ghz RF communication between sensors and server Mar 19 06:26:32 how is that beagle centric? Mar 19 06:26:42 and why do you need a Beagle to do that? Mar 19 06:30:15 i want a linux based system thats why i selected bb Mar 19 06:30:53 iam doing in embedded linux Mar 19 08:09:50 any BeagleBoard GSoC Mentor Present here? Mar 19 08:11:00 jaseel_GSoC_Aspi: maybe look over in #beagle-gsoc Mar 19 08:29:13 No luck for the SPI TFT display -.- I am almost to the verge of giving up this job >.> Mar 19 08:30:10 come on! it can't be that difficult! Mar 19 08:30:13 it's just spi Mar 19 08:30:28 you can only misconfigure it in 3 ways Mar 19 08:32:43 KotH: I wanted a 'java' job. then an employer gave me this job. I thought might as well push myself. I was not expecting that everything is foreign to me. -.- Mar 19 08:33:10 welcome to the real world Mar 19 08:33:40 First job and already see myself quitting -,- starting ot hate the real world. ha~ Mar 19 08:33:46 now you should know, why people look at java programmers like they were little children ;) Mar 19 08:35:10 (at least them ebedded folks do) Mar 19 08:35:41 (as java folks seem to do the same in turn, as we are only doing cute embedded nonsense, as we all know) Mar 19 08:35:51 http://static1.fjcdn.com/comments/Trying+to+decide+if+that+s+a+guy+or+a+girl+_de56e753ef1e239c9997009baea41ba7.jpg Mar 19 08:37:32 I thought java programming and embedded has a small gap. I now feel that gap is waaaaaay big Mar 19 09:08:32 SeanMark_: the problem is rather that programming, as it is thaught at university (or school in general) is extremely detached from both hardware and reality. most people get only hit by reality when they graduate. you got hit by reality and hardware Mar 19 09:10:34 SeanMark_: to properly do embedded stuff you need to know exactly how hardawre works. punny VM like abstractions wont cut it...especially if you assume you have infinite memory or an infintely fast cpu Mar 19 09:11:30 (yes, i have seen these kind of "simplifications" more than once from java programmers) Mar 19 09:12:03 KotH: true, I never seen a micro controller during my undergrad years. I was like surprised that this stuff actually exists. All was on programming web, java, c and so on. Mar 19 09:14:41 I wasn't warn of the gap between programming and embedded systems. I feel sorry for the employer for trusting too much. >.> Mar 19 09:15:22 have you talked to him? Mar 19 09:16:45 nope, I work home base. The employer is in Germany. I was applying for a 'java' job and then he offered me this job. Which is kinda rare and cool since I would work with actual hardware. Mar 19 09:17:53 I was like 'Hey, how hard could it be? I graduated in computer science. This stuff would be easy.' << dead wrong. hahaha Mar 19 09:40:32 lol Mar 19 09:40:40 please dont give up Mar 19 09:41:07 it is a goid chance to learn something few other people know Mar 19 09:43:29 SeanMark_: you'll manage, just stay on the ball Mar 19 09:52:39 Thanks, guys. True, I live in a region that micro controllers doesn't exist. hahaha. learning this bbb would make my resume stand out Mar 19 09:57:52 good evening sir... Mar 19 09:59:02 Please reply Mar 19 10:09:14 good morning (UGT) Mar 19 10:25:31 hi should i ask my question here? Mar 19 10:25:40 yes Mar 19 10:25:48 assuming it is about the beagleboard Mar 19 10:28:27 i have a BBB with preload os on its emmc and i want to connect through ethernet, should i set static ip for connecting to it? i use ubuntu 12.04LTS Mar 19 10:30:15 actually i don't have usb cable Mar 19 10:31:33 Milad: are you connecting the BBB to a LAN or are you using an ethernet cable to connect it to a laptop? Mar 19 10:32:08 directly to the laptop Mar 19 10:33:38 then you'd need to run a DHCP server on your laptop Mar 19 10:34:03 or you have both go into APIPA mode and try to find the board IP by sniffing/scanning Mar 19 10:36:09 the easiest way to do the former might be to turn on some "Internet Connection Sharing" feature on the laptop's ethernet port Mar 19 10:36:34 Milad, The USB cable may be worth trying to find as it sets up a usb network with a known IP (192.168.7.2) Mar 19 10:37:13 uhm, why not set a static IP instead of guessing/scanning/sniffinf? Mar 19 10:38:08 mazzoo, you would need to connect to the BBB to set the static IP in the first place Mar 19 10:38:16 mazzoo: [ ] you understood my APIPA reference Mar 19 10:38:33 thank u for your answer. i know how to do it with windows but i'm using linux whould u plz help how to do it on ubuntu Mar 19 10:38:36 hmm, keyboard, mouse, screen? Mar 19 10:38:52 lcd chipsee Mar 19 10:39:20 Milad: network manager has this feature. recent versions of ubuntu should have that. Mar 19 10:40:20 tbr no, what is APIPA? Mar 19 10:41:08 so there's not a solution without dhcp? Mar 19 10:43:02 anyone here works with chipsee expantion 7 inch lcd? i didn't find a refrence manual in their web i need to know what's their os installed? Mar 19 10:44:40 Milad: http://en.wikipedia.org/wiki/Link-local_address Mar 19 10:46:39 is there any command for this feature in linux or i should try net manager? Mar 19 10:51:38 tsk... Mar 19 10:51:58 * tbr was about to recommend: ping6 ff02::1%eth0 -c2 -n |sed "s/64\ bytes\ from\ //"|sed "s/:\ icmp_seq=.*/\%eth0/" Mar 19 11:24:21 hello all together! :) I am currently implementing my own OS on a BeagleBone (white). I have some problems with malloc - after 2 - 3 times I only get null pointers. So I have no space in the heap left. Mar 19 11:25:08 In my linker script I set the size of the heap to 0x00F0 0000 - so it should be enough to allocate ~20 KByte Mar 19 11:25:50 I have the feeling, that the heap is mapped into the SRAM (~64 KByte) Mar 19 11:26:21 How can I tell my linker script to use the external DDR0 bank for my heap? Mar 19 11:27:54 well, the linker can generate a map fil Mar 19 11:27:58 then you see where it mapped what Mar 19 11:28:04 do you setup DDR? Mar 19 11:28:27 gnu linker documentation has info how to place sections Mar 19 11:28:30 MEMORY { SRAM: o = 0x402F0400 l = 0x0000FC00 /* 64kB internal SRAM */ L3OCMC0: o = 0x40300000 l = 0x0000CE00 /* 64kB L3 OCMC SRAM */ M3SHUMEM: o = 0x44D00000 l = 0x00004000 /* 16kB M3 Shared Unified Code Space */ M3SHDMEM: o = 0x44D80000 l = 0x00002000 /* 8kB M3 Shared Data Memory */ RAMEXC: o = 0x4030CE04 l = 0x00000100 /* interrups exception mapping */ DDR0: o = 0x80000000 l = 0x40000 Mar 19 11:28:35 uhhh Mar 19 11:28:37 pastebin please Mar 19 11:28:46 that is my memory section in the linker Mar 19 11:28:58 pastebin please Mar 19 11:29:32 ` Mar 19 11:29:33 ? Mar 19 11:30:13 https://www.google.com/search?q=pastebin Mar 19 11:31:04 sorry Mar 19 11:31:06 http://pastebin.com/nN14CGun Mar 19 11:32:10 i am new to this kind of code :/ Mar 19 11:32:21 we all are at some point Mar 19 11:32:40 :) Mar 19 11:33:23 is this the correct gnu linker documentation? http://sourceware.org/binutils/docs-2.21/ld/ Mar 19 11:33:32 where did you please the heap section? Mar 19 11:34:04 i haven't jet created a section :/ shall I just add a new section like this Mar 19 11:34:32 http://pastebin.com/AQ8tUvQg Mar 19 11:34:38 also, try to get a map file Mar 19 11:35:00 just add it to SECTIONS Mar 19 11:35:20 .heap > DDR0 Mar 19 11:35:23 should be enough? Mar 19 11:35:31 try Mar 19 11:35:36 okay Mar 19 11:35:36 as said, get the map file Mar 19 11:35:43 that will tell you what the linker did Mar 19 11:35:49 okay Mar 19 11:36:17 how can I get the map file? Mar 19 11:36:51 https://www.google.com/search?q=ld+generate+map+file Mar 19 11:37:05 I did that 15ys ago, I forgot :) Mar 19 11:37:12 hehe :D Mar 19 11:37:18 great - thanks for you quick help! :) Mar 19 11:39:41 he - I have found a *.map file in my debug folder Mar 19 11:39:44 :) Mar 19 11:40:02 http://pastebin.com/ynUwpqww Mar 19 11:40:05 looks like this :) Mar 19 11:40:27 I think that looks good :) Mar 19 11:44:23 and where is the heap? Mar 19 11:45:25 not there jet Mar 19 11:45:34 I currently implementing the stuff ;) Mar 19 11:45:35 ^^ Mar 19 11:49:08 Okay - I have tried it with .heap > DDR0, but it is not in the map file Mar 19 11:50:15 stefan____: what libc is that? Mar 19 11:51:11 I have found a linker info file with the following information: http://pastebin.com/BvPQ5Pq2 Mar 19 11:53:03 Hey there, I'm trying to use a ramdisk to boot with Android, along with a zImage of the kernel. When I boot with bootz (with the addresses) it said "Wrong Ramdisk Image Format Ramdisk image is corrupt or invalid". Did some digging around and it seems it's missing the u-boot header. Is "mkimage -A arm -T ramdisk -C none -d ramdisk.img uramdisk.img" the correct command to add this (paying attention to the compression mode)? ramdisk.i Mar 19 11:54:01 hedz09: your line got cut off after "compression mode)? ramdisk.i" Mar 19 11:54:02 @mazzoo good question - give me a second Mar 19 11:54:35 mazzoo: shoot, here's what's missing: ramdisk.img is actually ramdisk.cpio.gz Mar 19 11:55:31 stefan____: btw: keep in mind that you need to set up the DDR controller correctly before you can use DDR memory Mar 19 11:55:48 stefan____: either your kernel or the bootloader you are using has to do that work Mar 19 11:57:08 @KotH: okay - thanks for the info - I will have a look Mar 19 11:57:26 stefan____: that map file doesnt seem to be generated from the GNU linker Mar 19 11:57:47 stefan____: just boot via u-boot, and you have propper initialized DDR Mar 19 11:58:10 TI ARM Linker PC v5.1.1 Mar 19 11:58:17 stands in the fiel header Mar 19 11:58:38 well I have to do it bare metal Mar 19 11:58:53 stefan____: but you're using GNU tools, no? Mar 19 11:59:11 stefan____: may i ask why you develop your own kernel? Mar 19 12:00:10 Hehe - well I am a student and I have to implement my own OS Mar 19 12:00:29 mazzoo: I'm trying to port Ubuntu Touch to the BBB; their support says I need to pass use packed ramdisk but I'm unsure how to add the u-boot header. Any thoughts? Mar 19 12:00:33 sounds like fun :) and a lot of work ^^' Mar 19 12:00:55 and we have to start from zero Mar 19 12:01:01 yeah :) Mar 19 12:01:22 I am using the tools from the CCS 5 ;) Mar 19 12:01:35 that sounds like masochism ^^' Mar 19 12:01:48 a little bit Mar 19 12:01:59 but you learn alot about the basics Mar 19 12:02:06 how everything works and so on :) Mar 19 12:02:26 * KotH nods Mar 19 12:02:34 i am afk Mar 19 12:02:39 i come back later Mar 19 12:03:04 have fun Mar 19 12:03:06 und en guete Mar 19 12:03:46 hedz09: at first glimpse it looks right, also try -C gzip Mar 19 12:07:03 mazzoo: ok, thanks :) Mar 19 12:10:48 i ssh'd into me bbb. How can i open another virtual terminal while i compile in the other one? Mar 19 12:11:34 or do i have to open another terminal on host and ssh again? Mar 19 12:11:38 yes Mar 19 12:11:56 bonsaikuh: ssh from a 2nd terminal, or run sth like screen in the console (before starting compilation) Mar 19 12:12:04 or you run your stuff inside `screen` Mar 19 12:12:18 what does screen do? Mar 19 12:12:31 # whatis screen Mar 19 12:12:31 screen (1) - screen manager with VT100/ANSI terminal emulation Mar 19 12:12:52 okay will look into it Mar 19 12:13:07 bonsaikuh: it allows to mux between multiple terminals. also remains as a session if u dis/reconnect ssh Mar 19 12:13:09 #beagle, teaching unix basics since 1975 Mar 19 12:13:26 KotH: c'mon, _and_ irc Mar 19 12:13:31 screen is later than 75 Mar 19 12:13:34 :) Mar 19 12:13:54 and suddenly i feel young again... nice Mar 19 12:14:01 thx, old ppl Mar 19 12:14:31 remember, kill 9 -1 is for last resort Mar 19 12:15:11 when you absolutely positively want to crash every pid you started Mar 19 12:16:41 that's killall5 Mar 19 12:17:04 not to be confused with killall Mar 19 12:17:14 especially not on a *BSD Mar 19 12:19:24 ha, I don't even have screen on this box Mar 19 12:19:49 use the power of apt-get install! Mar 19 12:19:57 but you have to shout it loud, to be effective! Mar 19 12:19:58 not usually needed on desktops though Mar 19 12:20:12 yeah, I'm installing it anyway Mar 19 12:20:14 * KotH has it on all his desktops Mar 19 12:20:51 Hey, as long as you're handing out wisdom, how do I install mc on a netbsd box I have a user account on? Mar 19 12:21:14 I never bothered to ask the owner, and it's been 17 years since I got the account Mar 19 12:21:56 there are two ways: you gain root access and instal it from the repo, or you download the mc sources and compile it yourself and install it into your home Mar 19 12:22:10 well, nobody uses mc anymore Mar 19 12:22:17 I love mc Mar 19 12:22:36 you are old, and new to unix. you are the odd one here ;) Mar 19 12:22:49 only people who remember nc love mc Mar 19 12:23:08 I have an ATT 7300, I have 30 years of slight exposure to Unix Mar 19 12:23:11 and only those who have not gotten confident with the unix shell need to use mc instead of what the shell provides directly Mar 19 12:23:35 whoa.. you're really old! Mar 19 12:23:36 mc just makes it a lot easier to toss files around Mar 19 12:24:21 hmm, I wonder if I can uucp from my 7300 to the bbb Mar 19 12:24:42 that would be a blogworthy waste of time Mar 19 12:25:22 uucp still exists, although hardly anyone uses it Mar 19 12:25:42 afaik a friend of mine still uses it to get his mails Mar 19 12:26:30 my webserver running ubuntu server does have screen installed Mar 19 12:26:45 I don't recall doing that, maybe it's in the distro Mar 19 12:27:45 KotH: I use mc Mar 19 12:28:48 av500: that proves that you are not confident with the unix shell yet Mar 19 12:29:01 i am back :) Mar 19 12:29:02 it proves typing sucks Mar 19 12:29:02 nonsense Mar 19 13:17:24 well guys - now i am finally back :) back to my question again: how can I find out if the GNU linker is used? Mar 19 13:18:14 by knwoing your buildsystem Mar 19 13:18:48 stefan____: or reading $(strings image.elf) Mar 19 13:19:56 that only works if he is building an elf image Mar 19 13:23:06 mhm Mar 19 13:23:38 the output format of the project is eabi (ELF) Mar 19 13:23:55 i can switch the compiler Mar 19 13:24:05 stefan____: don't u have sth like a Makefile? Mar 19 13:24:11 from TI v5.1.1 to GNU v4.7.3 Mar 19 13:24:29 nope - not yet Mar 19 13:24:40 we had no time to set up a makefile Mar 19 13:33:04 we are planning to make one Mar 19 13:33:07 :) Mar 19 13:39:03 a makefile takes an hour or so to write from scratch if you dont know anything about it ^^' Mar 19 13:39:09 do it now and save hours in the future Mar 19 13:39:54 yeah we know Mar 19 13:39:55 ;) Mar 19 13:40:16 it is on our todo for the next week :) Mar 19 13:41:25 stefan____: "Ja morgen, ja morgen, fang i a neus leben an!...." :-) Mar 19 13:42:12 genau! Mar 19 13:42:38 hehe :D Mar 19 13:42:43 Hello, I would like to know if the Debian image for the BeagleBone Black also has support for the TLV320AIC3106 codec chip? Mar 19 13:43:04 you can speak german? ;) Mar 19 13:43:23 nope, we speak our own language here Mar 19 13:45:11 =) Mar 19 13:45:27 I am just suprised about the german. Mar 19 13:45:41 to be precise: austrian german Mar 19 13:46:13 Guest95123: do you know if the Angstrom image did? the kernel that ships is almost the same. Mar 19 13:46:33 you are right Mar 19 13:46:54 jkridner: yes the Angstrom image has that support Mar 19 13:47:38 philenotfound: stefan____ does not speak your language, he is from dornbirn ;) Mar 19 13:48:01 lol^^ Mar 19 13:48:24 you know where Dornbirn is, right? ;) Mar 19 13:48:35 Guest95123: then, yes, you'd find it in the Debian image as well in all likelihood. Mar 19 13:49:00 thank you for the anwser Mar 19 13:49:53 stefan____: we all know about vorarlberg and how things that god seperated by a mountain, men should not connect with a tunnel ;) Mar 19 13:50:29 ooh, Dornbirn Mar 19 13:51:54 As this moment i'm using the Debian in my BeagleBone black, now we are busy to develop an own embedded board with the AM3352 @ 600Mhz(because of the price) the rest would nearly be same as the BBB, would it be possible to use the Debain image? Mar 19 13:52:15 Guest95123: sure Mar 19 13:52:23 Guest95123: at most you have to adjust kernel + DT Mar 19 13:52:32 Guest95123: the rest should stay the same Mar 19 13:52:52 lost connection :( Mar 19 13:53:01 Do you know where Dornbirn is? Mar 19 13:53:27 yes Mar 19 13:53:53 now, how does that help you write a makefile? Mar 19 13:54:04 It doesn't Mar 19 13:54:10 Its just small talk :) Mar 19 13:54:27 Before I write the makefile I want to fix the thing with the heap Mar 19 13:54:47 I have added now .heap > DDR0 in the SECTIONS of my linker script as we have discussed in the morning, but the map file does not contain the heap :( Mar 19 13:56:10 This is the linker script: http://pastebin.com/PcrnrrN8 and here the map file: http://pastebin.com/bZhrPVzc Mar 19 13:56:13 any idea? Mar 19 13:56:33 thanks Koth, but would the speed of 600Mhz not be a problem? Mar 19 13:57:20 Guest95123: depends on your application Mar 19 13:57:26 KotH mentioned that I have to configure the MMU first, right? Mar 19 13:57:27 Guest95123: software doesnt mind if it runs slower Mar 19 13:57:33 Guest95123: the use might, though ;) Mar 19 13:57:38 user* Mar 19 13:58:12 stefan_____: there is somewhere a documentation what you have to configure to get an cortex-a8 system booting Mar 19 13:58:20 Having a issue with my BBB. I am trying to get ubuntu ARM up and running. I have the image on my micro sdcard and I did push the boot button. I can not get the BBB to boot all 4 blue LEDS are on. Mar 19 13:58:28 KotH: No problem, there will not be an display attached to it, only an text to speak engine will be installed Mar 19 13:59:28 stefan_____: in minimum: memory subsys (including cache and sdram), MMU (TLB, memory protection and such), power managment (if not working properly by default) Mar 19 14:00:05 MikeS: have you connected a serial cable? Mar 19 14:00:15 I think you mean the chapter "Initialization" of the AM335x Technical Reference Manual, right? Mar 19 14:00:32 The amount of compile errors I get today indicate that certain Graphics SDKs can only be used with certain kernel versions. Any way to find the good combinations? Mar 19 14:00:45 MikeS: ubuntu arm is not really supported here, we have angstrom and/or debian Mar 19 14:00:53 there is #ubuntu-arm though Mar 19 14:01:34 @KotH thanks for the hint - I will have a closer look on the mentioned stuff and try it again Mar 19 14:01:43 If I fail I will come back xD Mar 19 14:01:47 Thank you all very much Mar 19 14:01:49 stefan_____: i dont know where it's written. i've never cared much about that part Mar 19 14:01:58 hehe :) Mar 19 14:02:07 Thanks anyway :) Mar 19 14:02:10 for a NOOB in Linux and BBB what flavor is good to start with Mar 19 14:02:20 MikeS: chocolate Mar 19 14:02:40 huh? chocolate? Mar 19 14:02:47 yes, chocolate flavor Mar 19 14:03:24 i think raspberry is a better flavor for beginners Mar 19 14:03:58 depends Mar 19 14:04:04 you dont learn linux with an rpi Mar 19 14:04:08 I never ate one Mar 19 14:04:29 if a new person wants to get answers to simple questions without being mocked an RPI has a better taste Mar 19 14:04:39 MikeS: depending on what you want to do with the BBB you will need some serious linux knowledge Mar 19 14:05:07 MikeS: BBB does not hide its complexity from you. it will not wrap it's sharp edges in cotton. Mar 19 14:05:13 MikeS: no matter what linux distro you use Mar 19 14:05:33 MikeS: btw: same goes for rpi. just with the differnece that standard rpi distro hides from you that it's a linux Mar 19 14:06:02 MikeS: and as soon as you want to do something the makers of the rpi distro didnt intend, you are on your own Mar 19 14:06:19 MikeS: very much how apples iOS works Mar 19 14:07:06 lol ios Mar 19 14:07:10 A different question, is in the Debian kernel for BBB possible to connect an USB cd-rom player? Mar 19 14:07:10 well Mar 19 14:07:12 no Mar 19 14:07:16 rpi runs Linux Mar 19 14:07:21 rasbian or whatever Mar 19 14:07:29 thats much like running debian on BBB Mar 19 14:07:33 nothing is hidden Mar 19 14:07:51 Guest95123: sure. the driver should be there Mar 19 14:07:53 debian on rpi is just like using cli ubuntu Mar 19 14:08:07 lol, cli ubuntu Mar 19 14:08:08 its all linux Mar 19 14:08:23 av500: indeed Mar 19 14:08:38 one day, i will take everyones X11 and wayland away. just to see how people react Mar 19 14:09:41 KotH: i had a gf from vbg once, so i may understand some dorabira Mar 19 14:14:07 KotH: thank you. Mar 19 14:23:15 KotH: little quetion about the speed, because the processor used is max 600Mhz, will did being detected by the system, or must I changed this in the kernel or DT? Mar 19 14:27:39 Guest95123: I guess some code checking SoC ID will stop early, or setting up PLLs nor alike. and likely already in u-boot or meminit Mar 19 14:27:51 s/nor/or/ Mar 19 14:28:48 mazzoo: tank you for the reply Mar 19 14:56:15 Guest95123: i dont know Mar 19 14:57:57 Hi Iam working on BeagleBone black, I would like to make power suspend/resume work, I have cross-compiled uImage-dtb.am335x-boneblack, zImage, pie.elf, but when I type echo "standby" > /sys/power/state , I get echo "standby" > /sys/power/state , if somebody tells me why? Thans! Mar 19 14:59:10 when I type echo "standby" > /sys/power/state , I get echo "standby" > /sys/power/state , Mar 19 14:59:17 don't understand that Mar 19 14:59:21 des__: where are you typing it? Mar 19 15:03:34 I get "no such device": http://pastebin.com/4Zyj9K2S Mar 19 15:03:48 I wonder if I loaded the M3 firmware. Mar 19 15:06:38 has the Debian image support for resume . wake? Mar 19 15:08:10 Guest95123: don't think so Mar 19 15:09:03 LetoThe2nd: also not possible to add? Mar 19 15:09:33 of course its possible Mar 19 15:09:40 I guess nobody looked into it Mar 19 15:09:45 not a priority Mar 19 15:10:59 ok thanks Mar 19 15:11:35 I just tried, but get the error that the permission denied Mar 19 15:12:43 try as root? Mar 19 15:12:52 Guest95123: hint: think about what sudo executes actually, means: which part of the command line. Mar 19 15:14:06 no the same error is given Mar 19 15:14:25 when doing what where? Mar 19 15:16:39 at root level i type: sudo echo mem > /sys/power/state Mar 19 15:16:56 If someone knows how to use pie.elf? Thanks! Mar 19 15:17:43 des__: probably with eat.elf Mar 19 15:20:39 does the c3 have PRUSS Mar 19 15:28:26 the c3 does not have PRUSS Mar 19 15:29:46 different CPU Mar 19 15:40:18 In 'BB-BONE-PRU-01-00A0.dtbo' there seem to be 2 different statements for the same pin. Mar 19 15:40:20 fragment@0 { Mar 19 15:40:20 target = <0xdeadbeef>; Mar 19 15:40:20 __overlay__ { Mar 19 15:40:20 pinmux_pru_gpio_pins { Mar 19 15:40:20 pinctrl-single,pins = <0x1a4 0xf>; Mar 19 15:40:21 linux,phandle = <0x2>; Mar 19 15:40:21 phandle = <0x2>; Mar 19 15:40:22 }; Mar 19 15:40:22 pinmux_pru_pru_pins { Mar 19 15:40:23 pinctrl-single,pins = <0x1a4 0x25>; Mar 19 15:40:23 linux,phandle = <0x1>; Mar 19 15:40:24 phandle = <0x1>; Mar 19 15:40:33 use pastebin please Mar 19 15:40:38 bonsaikuh: please use a pastebin Mar 19 15:40:41 some of us are on real typewriters Mar 19 15:40:47 er, teletypes Mar 19 15:41:13 too much noise, my TTS is going crazy! Mar 19 15:41:40 av500: with you, i wouldnt be surprised if you'd really use a teletype... a fully mechanical one Mar 19 15:42:26 sorry, didnt know about that Mar 19 15:42:59 np Mar 19 15:43:02 but spread the word! Mar 19 15:43:36 what do the two lines "pinctrl-single,pins = <0x1a4 0xf>" and "pinctrl-single,pins = <0x1a4 0x25>" do? There seem to use the same pin? Mar 19 15:43:48 Where is the usage of the User LED0 and 1 defined on the beagleboard xM-Rev C with debian? I had a look in the uEnv.txt but cant find a reference Mar 19 15:43:59 in uenv? Mar 19 15:44:07 uenv is for the boot loader Mar 19 15:44:32 I guess they are used a heartbeat signal or something like that Mar 19 15:44:46 GPIO 149 and 150 Mar 19 15:48:12 ah, board-omap3beagle.c Mar 19 15:51:10 Andy1978: yes Mar 19 15:51:16 legacy board files .) Mar 19 15:53:06 is is possible to use these without changing the kernel src? Mar 19 15:59:41 ah, I think here: http://elinux.org/EBC_Exercise_10_Flashing_an_LED_-_xM_WhiteBone#Flashing_the_user_LEDs Mar 19 16:31:09 Hi, I have built the 3.13.5 and booted it on my bbb. I am missing /dev/input/event0. When I boot the old kernel and cat cat /sys/class/input/event0/device/name I get 'tps65217_pwr_but'. Is this enabled by a specific driver or something in the dtb? Mar 19 17:25:14 does anyone know what units the temperature is shown in BANDGAP_CTRL ? Mar 19 17:25:36 0.5 deg centigrade above zero seems plausible but I want confirmation Mar 19 17:34:25 mazzoo: how did you read the bandgap sensor? Mar 19 17:34:44 has anyone run Supervisor on Angstrom? Mar 19 17:39:29 n-st: just accessing the register Mar 19 17:40:56 mazzoo: can you give me a hint on how to do that? i can only seem to find posts indicating that the sensor is unreliable, but no code to actually use it... Mar 19 17:41:42 let me try that from u-boot Mar 19 17:45:37 n-st: http://pastebin.com/P8G8RkKC Mar 19 17:47:36 HTH, sorry, AFK now... Mar 19 18:06:41 I can't seem to get my BBB on the internet through the eth0 interface, it was working through angstrom but I bricked it by updating and now I've got debian off of the usd card, and it can't connect Mar 19 18:06:58 any thoughts? Mar 19 18:10:41 Is it set to dhcp on eth0? For that matter, does it have an eth0, or is the kernel module perhaps not loaded? Mar 19 18:11:12 pjustice: would eth0 be under /dev? Mar 19 18:11:54 no Mar 19 18:12:47 pjustice: it's there in my ifconfig, and I also tried updated /etc/network/interfaces Mar 19 18:12:59 pjustice: I also tried making it static with no luck Mar 19 18:13:11 what's in /etc/network/interfaces? Mar 19 18:13:19 mazzoo: not sure if you're back yet -- i'm trying to read the register on debian, but i can't seem to enable the sensor... Mar 19 18:13:20 physical lights are on and it was working an hour ago with angstrom Mar 19 18:13:33 mazzoo: http://pastebin.com/pmieJSms prints 0x20\n0x20 Mar 19 18:13:49 so it looks like the sensor just refuses to turn on... Mar 19 18:14:05 http://pastebin.com/2KLZm0QZ Mar 19 18:19:02 and it shows "up" and with the static address in ifconfig? Mar 19 18:19:18 yup Mar 19 18:20:17 I presume that static ip/netmask/gateway is sane for your lan Mar 19 18:20:31 yeah Mar 19 18:20:41 how are you trying to access it? Mar 19 18:21:08 I've tried ssh directly and also just through the usb ethernet interface and trying to ping out Mar 19 18:23:04 did a hard boot and now it seems to be working on the static interface Mar 19 18:23:27 did you down/up the interface after editing the interfaces file? Mar 19 18:26:33 no I just called reboot Mar 19 18:26:44 trying dhcp but that's still not working Mar 19 18:27:35 nope now its working just got a different address Mar 19 18:27:36 someone here yesterday was talking about overly short timeouts in one of the dhcp clients Mar 19 18:27:58 very weird, in the end I don't think I did much of anything...just went in circles a bit Mar 19 18:28:05 I hate that Mar 19 18:37:16 the bandgap control register ignores all changes i write to it and stays at 0x20... Mar 19 18:37:22 what am i doing wrong? http://pastebin.com/tviFzUUR Mar 19 18:56:16 are you intending to have different values for MMAP_OFFSET and the upper part of the BANDGAP address? Mar 19 18:56:19 c vs e Mar 19 19:30:12 pjustice: i can't quite follow you... Mar 19 19:31:31 pjustice: oh, that! yes, that's intentional, as per mazzoo's snippet: http://pastebin.com/P8G8RkKC Mar 19 20:42:09 Hi guys, the irc chat box in http://beagleboard.org/chat doesn't work properly Mar 19 20:42:41 i mean, it loads up and connects, but there's no place where you can send a message Mar 19 20:45:06 Hey guys, I'm a GSOC applicant and hoping to do some work with Beagle Boards. In particular I'm hoping to either construct some code examples to compliment any documentation that needs to be written. In addition I was also thinking about doing the Debian integration also mentioned on the idea page. I was wondering if any of you could offer any insight into any of these projects Mar 19 20:45:46 EnvelopeHolder: me too Mar 19 20:46:48 EnvelopeHolder: not the debian integration, but something on IO side Mar 19 20:47:03 probably the pyBBIO Mar 19 20:47:43 I don't have a lot of experience with python I'm more of a ruby guy myself Mar 19 20:49:36 i don't use python except for random hacks, but i'm good in C++, and i have good experience in arduinos, and robotics Mar 19 20:51:32 jkridner: hi Mar 19 20:52:09 kiran_mathew: Do you know anything about the existing Ruby libraries for beagleboard, I can write Debian scripts, but I'm not sure what they would want us to include. Mar 19 20:53:07 kiran_mathew: What robotics experience do you have? Mar 19 20:53:18 EnvelopeHolder: I've never used ruby, sorry. I usually stick to python when i need a scripting language Mar 19 20:53:48 EnvelopeHolder: python- above medium I'd say Mar 19 20:54:48 EnvelopeHolder: robotics- i've built quad rotors, an aligator-inspired bot, a mechanical hand, and other random stuff Mar 19 20:58:56 EnvelopeHolder: I read the description for your project, and it seems easy enough. Good luck ! Mar 19 20:59:39 kiran_mathew: Thanks! I hope you get in too, maybe we can do some packaging discussions. Take care. Mar 19 20:59:53 EnvelopeHolder: May the force be with you Mar 19 21:02:27 Actually, since I'm here can someone explain cross compiling to me? Mar 19 21:03:35 EnvelopeHolder: cross compiling is basically compiling for another archietecture Mar 19 21:04:41 EnvelopeHolder: example, when you write an android app and your desktop running an x86 archietecture compiles the sorce code into instructions for an ARM CPU Mar 19 21:05:52 EnvelopeHolder: got it ? Mar 19 21:06:21 kiran: So if I write some C I should also include some information so it can compile on any architecture. Yeah the concept is straightforward. Mar 19 21:06:54 kiran: Does gcc need any additional information to compile when we port it to other architecture? Mar 19 21:07:18 kiran_mathew: android is not always arm Mar 19 21:07:40 jacekowski: true, but that was just an example Mar 19 21:07:56 jacekowski: i didn't think of the exceptions Mar 19 21:08:08 + android is actually java Mar 19 21:08:10 well, dalvik Mar 19 21:08:28 jacekowski: you can use NDK Mar 19 21:09:06 you still need java/dalvik Mar 19 21:09:28 it may be just enough to load and execute NDK part Mar 19 21:09:31 but you can't avoid it Mar 19 21:09:44 jacekowski: ofc. Mar 19 21:10:04 jacekowski: consider any non - x86 cpu then Mar 19 21:10:15 arduino- perfect example Mar 19 21:11:06 EnvelopeHolder: the normal gcc compiler won't compile it for a different archietecture Mar 19 21:11:14 <_av500_> EnvelopeHolder: please join Mar 19 21:11:18 <_av500_> EnvelopeHolder: please join #beagle-gsoc Mar 19 21:29:05 n-st: you open /dev/mem readonly Mar 19 21:29:20 n-st: sorry still afkish Mar 19 21:29:33 mazzoo: shouldn't 'r+' open it for reading and writing? Mar 19 21:30:27 am no python guru, but in C I'd say "wb" Mar 19 21:31:11 (actually I'd not even use fopen in C :) Mar 19 21:32:03 + usually means append, no? Mar 19 21:33:16 mazzoo: 'w' would truncate the file. not sure that's what i want ;) Mar 19 21:34:13 you do. its a dev driver, not a file Mar 19 21:36:25 mazzoo: w+b doesn't work either... Mar 19 21:37:32 hmm, lookup some python /dev/mem register access example Mar 19 21:39:58 uhm, that's where i got the code from originally... Mar 19 21:42:28 did/can u try in u-boot? Mar 19 22:01:34 Hi, does anybody have some experience with providing internet to the beaglebone via Windows 8.1? Mar 19 22:01:50 BBB question. I have my img on a 16 gig micro SD and only 100 MB is being shown. What do I need to do to make it all visable? Mar 19 22:02:34 I tried Derek Malloy's video (http://derekmolloy.ie/beaglebone/getting-started-usb-network-adapter-on-the-beaglebone/) but I'm having issues Mar 19 22:03:14 Mikes - what do you mean only 100 MB is being shown? Mar 19 22:03:27 The image should be bigger than 2 GB Mar 19 22:03:49 there should be 2 partitions .. one FAT one ext I think Mar 19 22:04:00 you've probably only seen the boot FAT partition :) Mar 19 22:04:20 especially if you're looking in windoze Mar 19 22:04:24 correct only the fat partation how do I see the all of it. Mar 19 22:04:37 <_av500_> see where? Mar 19 22:04:40 <_av500_> on your PC? Mar 19 22:04:46 <_av500_> you wont on windows Mar 19 22:05:04 Soif i plug it into the bbb i will see all of it? Mar 19 22:05:25 the img on the sd says this Mar 19 22:05:48 <_av500_> yes Mar 19 22:05:49 26.9 MB free of 94.7 MB Mar 19 22:05:59 <_av500_> thats the FAT partition Mar 19 22:06:09 -sigh- Mar 19 22:07:00 so my plan is this. Mar 19 22:07:10 boot with the sd card Mar 19 22:08:03 i tried to update the img and got message not enougth free space. Mar 19 22:08:17 * veremit wonders what else you'd do with an SD card ... frame it and .... ok stop that. Mar 19 22:08:22 veremit or @_av500_ Do you guys have any experience with sharing internet with the beaglebone black in windows 8.1? Mar 19 22:08:31 <_av500_> no Mar 19 22:08:35 buy a router? Mar 19 22:08:36 :p Mar 19 22:08:38 haha Mar 19 22:08:38 <_av500_> I alsways plug mine into my router Mar 19 22:08:39 thanks Mar 19 22:08:49 <_av500_> life is too short to share internet Mar 19 22:09:17 <_av500_> MikeS__: what is the issue? Mar 19 22:09:27 <_av500_> to update the image you rewrite the whole card Mar 19 22:09:31 making a BBB into a router is not for the feint hearted .. especially wen you can buy an arm router for $30 anyway Mar 19 22:09:47 tested and everything Mar 19 22:09:56 <_av500_> i guess its more about sharing win8.1 wifi with the BBB Mar 19 22:10:01 I'm not trying to make it into a router, I just want to update things via opkg without needing an actual router Mar 19 22:10:03 Yeah, it is Mar 19 22:10:14 <_av500_> no idea Mar 19 22:10:17 <_av500_> im still on XP Mar 19 22:10:19 you're not using the USB? Mar 19 22:10:24 I am using the USB Mar 19 22:10:26 when i do a sudo update and then a sudo upgrade and sudo dist-upgrade guess that now the correct way? Mar 19 22:10:31 thought it 'saw' internet through the USB? Mar 19 22:10:37 It should, yeah Mar 19 22:10:45 <_av500_> MikeS__: what os? Mar 19 22:10:51 But there are some things that need configuring first Mar 19 22:11:18 I.e., to specifically share the Wi-fi connection with the beaglebone connection and set up default gateways and DNS Mar 19 22:11:21 <_av500_> what distro Mar 19 22:11:25 Hello, the following link is broken http://www.beagleboard.org/uploads/u-boot_beagle_revb.tar.gz does any have this source and can share it? Mar 19 22:11:32 yeah you don't wanna do that with Windows. You Just Don't. Mar 19 22:11:43 <_av500_> bisla: you can use mainline uboot Mar 19 22:11:47 Internet Connection Sharing was always a mess Mar 19 22:11:52 <_av500_> no need for random tarballs Mar 19 22:12:00 yeah... Mar 19 22:12:14 Windows is NOT a routing OS Mar 19 22:12:30 I'm also considering connecting an ethernet directly to my laptop and bridging my wi-fi connection Mar 19 22:12:31 img is BBB-eMMC-Flasher-debian-7.3.2012-03-04-2gb.img Mar 19 22:13:04 should never use an 'uploads' URL .. lol .. thats always temporary Mar 19 22:13:09 I am trying to look at the source that can play an audio tone as described here ,http://code.google.com/p/beagleboard/wiki/BeagleBoardDiagnostics i.e. Audio Tone on Speakers. I do not see this code on mainline uboot source Mar 19 22:13:20 I've tried using Ubuntu, but it won't hold the connection with the Beaglebone Mar 19 22:13:22 <_av500_> MikeS__: so you are running debian? Mar 19 22:13:27 <_av500_> and what is the isse= Mar 19 22:13:30 <_av500_> issue? Mar 19 22:13:35 <_av500_> debian is work in progress Mar 19 22:13:41 <_av500_> dist-upgrade might not work at all Mar 19 22:14:32 what distro would work. Mar 19 22:14:35 veremit, what host OS do you use? Mar 19 22:14:48 <_av500_> MikeS__: does it not work? Mar 19 22:14:52 want to use as a amateur radio device Mar 19 22:14:56 <_av500_> yes Mar 19 22:14:58 gentoo, debian occasionally 'doze XP Mar 19 22:15:00 <_av500_> so, use debian Mar 19 22:15:09 <_av500_> just dont dist-upgrade Mar 19 22:15:11 <_av500_> just use it Mar 19 22:15:18 for embedded .. ALWAYS linux. Mar 19 22:15:26 yeah, I know Mar 19 22:15:29 no when I try to install fldigi getting that there is no enougt diskspace. Maybe i misunderstand but Mar 19 22:15:33 It's just hard to choose a distro Mar 19 22:15:44 <_av500_> ah Mar 19 22:15:51 <_av500_> understood Mar 19 22:15:53 want to have the devivce boot to the micro usb with all the proframs loaded on the card. Mar 19 22:16:12 Does it work out of the box with debian and/or gentoo? Mar 19 22:16:26 (i.e., internet access and ssh) Mar 19 22:16:33 <_av500_> MikeS__: what is the output of df -h Mar 19 22:16:39 MikeS .. you can run the OS from internal eMMC and format the card blank. Mar 19 22:17:07 although .. persuading angstrom to do anything useful ... *mutters* Mar 19 22:17:32 yeah...I still don't understand why it comes with angstrom Mar 19 22:17:42 history. mostly. Mar 19 22:18:02 only relatively recently have other distro's seriously supported ARM platforms Mar 19 22:18:20 before it was a bit .. specialised I suppose. Mar 19 22:18:51 <_av500_> patches and help welcome Mar 19 22:18:55 android has helped a bit Mar 19 22:19:22 Do you know if debian and gentoo provide ssh access and internet connection out of the box? Mar 19 22:19:38 internet and ssh are essentially built-in to most linuxes Mar 19 22:19:40 Or where I can find a tutorial on setting it up? Mar 19 22:19:43 <_av500_> I guess gentoo can be made to provide anything Mar 19 22:19:56 gentoo is the linux toolbox Mar 19 22:20:13 <_av500_> the swiss army orchestra Mar 19 22:20:16 but its not a particularly easy distro Mar 19 22:20:20 indeed av500 Mar 19 22:21:09 So....debian would be best to get up and running? Mar 19 22:21:13 (quicly) Mar 19 22:21:15 *quickly Mar 19 22:21:24 I call ubuntu the 'windows' of the linux world .. big installer, emphasis on GUI .. not too flexible/powerful/scary :) Mar 19 22:21:46 I'm using debian quite a bit lately .. a reasonable balance Mar 19 22:22:15 works 'out-of-the-box' with a good degree of flexiblity Mar 19 22:22:54 I've been putting LXDE on a few ARM systems recently Mar 19 22:23:13 not hard when you just "apt-get install lxdecore" etc. :) Mar 19 22:23:44 you've got the full debian repositories of apps to play with Mar 19 22:31:00 trying to past my terminal in here Mar 19 22:31:29 <_av500_> pastebin Mar 19 22:31:31 <_av500_> .com Mar 19 23:01:35 wait, fldigi is NOT an embedded tool Mar 19 23:09:31 I should imagine not ... Mar 19 23:09:45 are there sources available to build it? Mar 19 23:10:52 are there is a binary and there is a tar archive Mar 19 23:10:56 ah** Mar 19 23:11:45 why run it on the beagle if you have a laptop/etc in the shack!? :p Mar 19 23:12:11 surely you have a logging program already?! Mar 19 23:21:52 MikeS___, if you want to install much in the way of X apps, you probably need to run the thing off an sd card, not out of its on board flash Mar 19 23:46:45 my dmesg gets filled up with messages like: [14556.621215] [drm:output_poll_execute], [CONNECTOR:5:HDMI-A-1] status updated from 2 to 2 Mar 19 23:46:51 is there some way to prevent that? Mar 19 23:48:14 change the debug level for drm .. think its set high by default Mar 19 23:48:26 drm.debug=X in the kernel command line Mar 19 23:48:34 try 'cat /proc/cmdline' see what its set to Mar 19 23:48:50 probably need to edit a uEnv.txt in /boot Mar 19 23:49:03 7 Mar 19 23:49:16 yeah thats pretty high lol .. you could even remove it Mar 19 23:49:24 ok Mar 19 23:50:04 thanmks Mar 19 23:50:09 np Mar 19 23:53:59 ah, quiet dmesg again :) Mar 20 00:50:28 hello! I'm curious about how easy it is to get ubuntu on beaglebone black Mar 20 00:50:58 and if it's able to run plex client on top of ubuntu (as opposed to as it's own operating system like on raspberry pi wit rasplex) Mar 20 00:57:28 Filesystem Size Used Avail Use% Mounted on /dev/mmcblk0p2 1.6G 433M 1.1G 30% / none 4.0K 0 4.0K 0% /sys/fs/cgroup udev 248M 4.0K 248M 1% /dev tmpfs 50M 288K 50M 1% /run none 5.0M 0 5.0M 0% /run/lock none 249M 0 249M 0% /run/shm none 100M 0 100M 0% /run/user /dev/mmcblk0p1 96M 72M 25M 75% /boot/uboot /dev/mmcblk1p1 Mar 20 01:25:18 need some help. I currently have ubuntu arm on my BBB. I am able to get it to boot to the ubuntu here is my question. is it ok to have the BBB boot from the microsd? if so I would like to have the program that I would like to run on the SD card with the boot. When i do a df-l i am not sure I see all of the 16 gig for the microsd. is ther ea easay way to verify the microsd card? Mar 20 02:30:18 did you try grow_partition.sh? Mar 20 02:30:50 http://elinux.org/BeagleBoardUbuntu#BeagleBone.2FBeagleBone_Black **** ENDING LOGGING AT Thu Mar 20 02:59:58 2014