**** BEGIN LOGGING AT Thu Oct 24 02:59:58 2013 Oct 24 04:14:15 what VIDEO_CARDS= should i set for a bbxm? Oct 24 05:26:51 <_av500_> ? Oct 24 06:58:42 hi! Oct 24 06:58:53 <_av500_> +1 Oct 24 06:59:52 mooo Oct 24 08:57:37 Hi guys I have a question regarding BBB, I want to try boot BBB in the same way as Beagleboard, do I need to connect the board with the debug pin on the board? Oct 24 08:58:36 what is "the same way"? Oct 24 08:58:40 gm koth Oct 24 08:58:45 hoi woglinde Oct 24 08:58:50 wie geht's wie stehts? Oct 24 08:59:00 koth how is the weather in scotland? Oct 24 08:59:24 perfect! Oct 24 08:59:32 like see the console Oct 24 08:59:33 it rains so little it's almosst sunny! Oct 24 08:59:45 not like the steps showed on the web Oct 24 08:59:46 winterscomin: connect a serial cable Oct 24 09:00:11 debug serial pins on the board? Oct 24 09:00:45 yes Oct 24 09:00:54 KotH hm no he needs ftdi Oct 24 09:00:56 3.3v Oct 24 09:01:19 for beagle xm and beagle you did only need the serial-header connector Oct 24 09:01:27 Thanks BTW where can I find the BBB linux tree? Oct 24 09:01:30 and normal serial console on host Oct 24 09:01:55 http://circuitco.com/support/index.php?title=BeagleBone_Black_Serial Oct 24 09:02:10 winterscomin: read the documentaton of the bbb, it's all written there Oct 24 09:02:16 woglinde: right... Oct 24 09:02:30 https://github.com/beagleboard/kernel Oct 24 09:02:30 woglinde: i've not slept enough to answer simple questions, appearantly Oct 24 10:07:36 HAI Oct 24 10:08:09 Can anyone tell me the operating temperature of beagle bone black? Oct 24 10:09:40 <_av500_> finally we can be realtime: http://www.eetimes.com/document.asp?doc_id=1319873 Oct 24 10:09:52 <_av500_> JOVIN: mine is lukewarm Oct 24 10:15:51 Hello, does BeagleBoard xM run XBMC and TVHeadend? Oct 24 10:16:18 _av500_: what's new about armv8-R? Oct 24 10:16:55 BBxMQuestion: let me ask you a questions: why should it not run? Oct 24 10:17:01 thanks Oct 24 10:18:03 I made a mistake buying BBB for that Oct 24 10:18:11 for XBMC Oct 24 10:18:29 didn't know Oct 24 10:18:33 xbmc runs on the bbb as well Oct 24 10:18:44 Hello, if i rename the MLO file on my BBB, then power it down, will i be able to power it back up and name the MLO file back to its correct name or am i stuffed? Oct 24 10:18:57 BBxMQuestion: what you are asking for is high performance video decoding Oct 24 10:19:03 BBxMQuestion: that's a different question Oct 24 10:19:19 jjc: if you have to ask that, then probably not Oct 24 10:19:23 to run on BBB I will need android? Oct 24 10:19:27 jjc: if you dont need to ask it, then yes Oct 24 10:19:28 yeah i thought so, just making sure Oct 24 10:19:58 BBxMQuestion: to run your pc, do you need android Oct 24 10:20:01 but it will not show video on BBB right Oct 24 10:20:11 no Oct 24 10:20:15 ok Oct 24 10:20:30 video does not show BBB ? Oct 24 10:20:37 sorry for my english Oct 24 10:20:42 the bbb is a computer like any other too Oct 24 10:20:54 read the datasheet, the system manual and stuff Oct 24 10:21:02 I can't run xbmc by default Oct 24 10:21:14 what is "by default"? Oct 24 10:21:20 pacman -S Oct 24 10:21:25 xbmc Oct 24 10:21:26 if you mean it^s not installed on the angström on the emmc, then yes Oct 24 10:21:30 rotfl Oct 24 10:21:40 there aint no pacman on angström Oct 24 10:21:46 how come that the internal mmc is id 0 if there is no external plugged but otehrwise its id 1 ?? who invented that ?? Oct 24 10:21:49 arch I mean Oct 24 10:22:01 rob_w: auto id asignment of the kernel Oct 24 10:22:05 rob_w: it's fucked up Oct 24 10:22:18 definitly Oct 24 10:22:52 also .. how can i boot internally if there is a sdcard plugged but without proper partitioning ? Oct 24 10:22:59 does not only xM runs XBMC on angström? Oct 24 10:23:08 runs also BBB? Oct 24 10:23:18 as i said, the bbb is a computer Oct 24 10:23:21 treat it as such Oct 24 10:23:42 rob_w: there is a way... but i dont know from the top of my head Oct 24 10:23:43 I made a mistake installing arch linux then maybe Oct 24 10:24:06 i mean a way beside recompiling u-boot with a different env Oct 24 10:24:10 and it does not run with debian? Oct 24 10:24:26 BBxMQuestion: the distro has no influence on whether it runs a certain software or not Oct 24 10:24:35 rob_w: do you know if there is a way to restore the MLO file without reflashing? Oct 24 10:24:35 rob_w: as i said, i dont know Oct 24 10:25:48 BBxMQuestion: what is important to know is, that the graphics "card" of the bbb is not intended for HD video decoding Oct 24 10:25:53 now if I run xinit /usr/lib/xbmc/xbmc.bin then earlier I got xbmc without acceleration, then later with new Arch Linux I got only mouse without xbmc screen Oct 24 10:25:57 on BBB Oct 24 10:25:58 BBxMQuestion: there the xm is better equipped Oct 24 10:26:18 BBxMQuestion: you are new to linux, are you? Oct 24 10:26:26 yes Oct 24 10:26:41 and I want to learn Oct 24 10:26:59 I learn myself Oct 24 10:27:00 then learn that every component of linux is exchangable Oct 24 10:27:09 and a distro is just a package of components Oct 24 10:27:20 choosing one distro does not mean some things work and some doesnt Oct 24 10:27:33 it just means you might exchange some stuff so it gets working Oct 24 10:27:47 try to figure out why something doesnt work instead of switching from one distro to another Oct 24 10:28:16 all the google I found that xbmc on BBB can't run because theres no video acceleration Oct 24 10:28:22 but if it can run Oct 24 10:28:31 then I found wrong info Oct 24 10:29:09 on store it shows video accelearation its because I have buying it Oct 24 10:29:24 I mean I wanted it Oct 24 10:29:40 and not xM Oct 24 10:29:44 read what i wrote above Oct 24 10:29:46 because price is not big Oct 24 10:32:05 I have not read: what is important to know is, that the graphics "card" of the bbb is not intended for HD video decoding Oct 24 10:32:25 and xbmc not show video then? Oct 24 10:32:36 for that reason Oct 24 10:33:52 when I was buyint it I was hoping to run xbmc Oct 24 10:34:12 thats the reason I was buying it Oct 24 10:34:22 I will try then Oct 24 10:34:49 no accel stuff with xbmc Oct 24 10:35:05 and no movies? Oct 24 10:35:12 movies will work Oct 24 10:35:19 just menu not? Oct 24 10:35:22 but not gpu supported Oct 24 10:35:32 only software Oct 24 10:35:44 and so it might not be fast enough Oct 24 10:35:48 for some profiles Oct 24 10:35:56 and resolutions Oct 24 10:36:02 till later Oct 24 10:36:04 it is slow on menu only then? Oct 24 10:36:14 any idea of operating voltagte Oct 24 10:36:16 ?? Oct 24 10:36:30 sorry operating temperature Oct 24 10:37:05 of beagle bone black Oct 24 10:37:32 it was so slow that I decided not to browse the xbmc menu Oct 24 10:38:12 it can be not slow? Oct 24 10:38:40 JOVIN: as av500 said: luke warm Oct 24 10:38:52 BBxMQuestion: for it to be fast you need acceleration in the gpu Oct 24 10:38:58 what is luke warm? Oct 24 10:38:58 BBxMQuestion: the bbb does not have that acceleration Oct 24 10:39:00 driver Oct 24 10:39:12 no Oct 24 10:39:24 JOVIN: the bbb Oct 24 10:39:42 can you specify the range exactly? Oct 24 10:39:53 BBxMQuestion: it's afaik not a driver issue, but a hardware issue Oct 24 10:40:00 will it work between -40'C to 80'C?? Oct 24 10:40:01 JOVIN: it's written in the specs Oct 24 10:40:32 and xM does not have that issue? Oct 24 10:40:34 the operating temperature range of the board is not in the spec Oct 24 10:40:51 BBxMQuestion: afaik the bbxm has a gpu that supports acceleration Oct 24 10:40:57 JOVIN: assume comercial Oct 24 10:41:48 on the store site BBB is with video acceleration :) Oct 24 10:42:01 I made a mistake Oct 24 10:42:05 buying it Oct 24 10:42:12 happens to the best Oct 24 10:42:29 but it is cheap Oct 24 10:43:18 no big problem Oct 24 10:47:48 jjc, what u mean ? Oct 24 10:56:53 i mean i renamed the MLO file to get the BBB to boot off the uSD, I now want to rename the MLO file back to MLO but i have no way of doing it Oct 24 10:57:38 i've made changes on my BBB and id rather not reflash the eMMC and have to redo it all Oct 24 10:58:13 rob_w: so if you or anyone knows a way to do it then that would be great Oct 24 10:59:46 mount it? Oct 24 11:01:09 KotH: BBB doesn't seem to want to boot without MLO file having the correct name Oct 24 11:01:53 jjc: sorry, cannot help you there Oct 24 11:02:04 * KotH doesnt own a bbb and knows next to nothing about it Oct 24 11:02:17 is cubieboard2 better than BB xM? Oct 24 11:02:24 jjc: ask later again Oct 24 11:02:32 jjc: probably next week when the trolls are back home Oct 24 11:02:42 KotH: okay will do Oct 24 11:03:08 does cubieboard2 have android or it was removed completely? Oct 24 11:03:58 I need to search for that question Oct 24 11:03:58 jjc, can you boot from sd and mount the emmc? Oct 24 11:04:41 Crofton: i'm not sure, could you point me towards instructions for that? Oct 24 11:04:54 Crofton: i'm very new to BBB/linux in general Oct 24 11:06:06 koth hm no for beagle xm exist a driver for gpu Oct 24 11:06:45 Crofton: e.g. i do not know how to boot to the SD card without flashing the emmc, as I understand it if you hold down the boot button at power on it writes the contents of the uSD to the emmc. is that incorrect? Oct 24 11:06:48 BBxMQuestion you know android uses the linux kernel Oct 24 11:07:21 jjc only when the image on the sdcard does it Oct 24 11:07:41 user button tells the device to boot from sdcard and not from emmc Oct 24 11:08:09 woglinde ahh okay, so i need an image that doesn't write to the emmc Oct 24 11:10:43 woglinde: yes. but isnt the bbb's gpu quite limited? Oct 24 11:10:52 woglinde: or am i mixing things up? Oct 24 11:18:11 KotH hm if I remember correctly the dsp was limited Oct 24 11:18:28 otherwise look up the sgx and it specs up yourself Oct 24 11:18:36 i really need to bribe a couple of ti guys to give me a bbb and xm Oct 24 11:18:45 no chance Oct 24 11:18:52 i have chocolate Oct 24 11:18:55 hm Oct 24 11:19:08 do not know if jkridner loves chocolate Oct 24 11:19:20 nope Oct 24 11:19:26 unfortunately i have not met him yet Oct 24 11:19:38 i dont know whether he will come to edinburgh Oct 24 11:23:52 koth okay the sgx is from 2005 Oct 24 11:30:36 does xM will run USB Sata adapter? Oct 24 11:30:57 and CD disc? Oct 24 11:31:05 or dvd Oct 24 11:32:40 it's the reason I have buyed BBB by mistake and not xM Oct 24 11:34:24 with grammar errors Oct 24 11:36:46 just need to know if it will support usb sata adapter Oct 24 11:37:20 yes Oct 24 11:51:20 seems ddd works just fine on my beagle board in gentoo now that ive got it installed Oct 24 11:51:28 time for some shuteye Oct 24 12:04:43 mark4 hehe Oct 24 12:05:43 woglinde, beagle should convert their "authorized/supoorted" distro to gentoo. get rid of that pile of crap ubuntu linux for people who cant learn linux Oct 24 12:05:51 /me hides Oct 24 12:07:29 mark4 as I said working kernel and you can install gentoo suse redhear or debian based stuff Oct 24 12:07:38 redhead even Oct 24 12:09:26 well the "Fedora" images i downloaded refused to boot. the ubuntu image i have will run ddd but it goes into a infinite "waiting for gdb" mode Oct 24 12:09:35 mark4, if it helps them to learn enough linux to switch to some more demanding distro later, whats wrong with tehm using ubuntu Oct 24 12:10:02 gentoo isnt a "it just works (tm)" distro like ubuntu which means "it works" Oct 24 12:10:11 if it takes them the fear of touching linux, let them :) Oct 24 12:10:42 ogra i think anyone NUBS coming to linux would be better served by going through a single install of gentoo following the handbook than using ubuntu or anyother debian based distro Oct 24 12:10:51 getnoo is an awesome learning distribution Oct 24 12:11:03 * ogra_ strongly disagrees Oct 24 12:11:04 tho. maybe after that they should try arch Oct 24 12:11:10 gentoo isnt a beginner distro Oct 24 12:11:20 ogra have you ever run gentoo? Oct 24 12:11:32 i ran debian for abou 3 years before i found gentoo Oct 24 12:11:38 ubuntu is a great entry poin, if people recognize they want more they will move on Oct 24 12:11:51 i learned more about using linux on my first ever gentoo isntall than i ever could have learned using debian Oct 24 12:11:53 mark4, yes, i find it awful Oct 24 12:12:07 ogra it has some requirements for patience Oct 24 12:12:24 being source based everything is compiled which MIGHT make it not a good permantnt daily driver Oct 24 12:12:30 it has some requirements of knowing what you do, which most newcomers dont have Oct 24 12:12:38 but dive in and LEARN LINUX by following its handbook Oct 24 12:12:46 they need to get along with their first baby steps ... ubuntu helps there Oct 24 12:12:51 ogra when i did my first install i was a total nub Oct 24 12:12:59 i had more confidence in linux after doing it Oct 24 12:13:16 but i wont argue this with you im too tired lol i pulled an all niter :P Oct 24 12:13:31 ogra actually ubuntu babies them Oct 24 12:13:40 i.e. they cant possibly learn a damned thing using it Oct 24 12:13:47 but anyway i really have to crash lol Oct 24 12:13:48 nite :) Oct 24 12:13:55 ubuntu gives them something thats gives them a fast and easy success Oct 24 12:14:00 <-- happy to be able to FINALLY debug my arm forth kernel! Oct 24 12:14:04 which encourages to move on Oct 24 12:14:34 running into frustrating issues with compiling stuff all the time isnt really encouraging for a beginner Oct 24 12:35:24 Hi, does anybody here know of an image for the beaglebone black which doesn't write to the eMMC and just runs off the uSD card? Oct 24 12:43:45 jjc, for example fedora Oct 24 12:45:54 e-ndy thank you, it really doesn't matter what is is just as long as it doesn't flash the eMMC Oct 24 12:51:12 jjc, http://dl.fedoraproject.org/pub/alt/stage/20-Beta-TC5/Images/armhfp/ Oct 24 12:51:31 ubifs not compatible on u-boot and Linux on beaglebon variant board. Oct 24 12:51:44 Do anyone know this kind of stuff? Oct 24 12:52:10 jjc, for bbb are VFAT images and don't forget copy files from /usr/share/uboot-beaglebone/* to /boot/uboot (mmcblk1p1) Oct 24 12:52:27 e-ndy thank you very much Oct 24 12:52:42 jjc, and rename uEnv.nnnnnnnnnnnnnnnn file to uEnv.txt Oct 24 12:53:26 jjc, and keep in mind, that a lot of stuff will not work as beaglebone support not yet landed in kernel upstream Oct 24 12:53:48 e-ndy so it doesnt matter which one i pick, as long as its a VFAT image? all i need to do is mount the eMMC and change a file name Oct 24 12:55:45 jjc, i did it all on beaglebone as in angstrom is kernel with usb support and on usb stick i downloaded xz image and 'xzcated' to /dev/mmcblk1 Oct 24 12:56:39 mounted mmcblk1p3 and to /some/where and mmcblk1p1 to /some/where/boot/uboot Oct 24 12:57:19 jjc, and copied /some/where/usb/share/uboot-beaglebone/* to /some/where/boot/uboot Oct 24 12:57:43 e-ndy okay cheers Oct 24 13:11:50 did anybody configure the tps to actually power the rtc LD0path while having a battery setup ? Oct 24 13:52:34 join olimex Oct 24 13:58:03 is it possible to backup a BBB using winSCP? Oct 24 13:58:39 i recommend rsync (via ssh) Oct 24 13:59:08 i'll look into it ty Oct 24 14:02:14 desaster will it let me create an image of the BBB eMMC for use on other BBBs? Oct 24 14:02:47 jjc no Oct 24 14:02:55 it simply copies the files Oct 24 14:04:13 what is the easiest way to make an image of the eMMc then? woglinde desaster Oct 24 14:04:21 (and preserves all file attributes, thus makes for a good backup) Oct 24 14:04:41 but that's more generic linux thing, maybe for BBB a raw image is easier Oct 24 14:05:59 im going to need to set up 5+ BBBs in the same way as the original, an image seems the easiest way Oct 24 14:08:05 dd. Oct 24 14:10:27 I just wanted to know about BB xM that today I was asking Oct 24 14:10:54 that it has video acceleration thats all Oct 24 14:10:59 you wouldn't reccomend this? http://elinux.org/BeagleBone_Black_Extracting_eMMC_contents Oct 24 14:11:26 Sure, you could try that too. Oct 24 14:11:44 alright cheers Oct 24 14:12:25 Damn, Panto isn't around. Oct 24 14:12:49 <_av500_> he's in serious business Oct 24 15:15:18 hi Oct 24 15:15:46 I am new in this solution... Oct 24 15:16:01 and I need to know some information Oct 24 15:16:52 never ask to ask, just ask Oct 24 15:16:58 is possible connect dh22 sensor ? and see the value in a web server ? Oct 24 15:17:11 Yes and yes. Oct 24 15:17:22 <_av500_> and yes Oct 24 15:17:24 rule n°?: it's software, everything is possible Oct 24 15:17:25 i don't know how to work beagleboard Oct 24 15:17:34 <_av500_> das: correct Oct 24 15:17:43 <_av500_> HW runs SW, film at 11 Oct 24 15:17:48 zaffo: And this is where the learning happens. Oct 24 15:17:51 I know very well arduino... but I approch beagle board Oct 24 15:17:58 <_vicash_> Hello BBB users, is there a recommended LCD cape/attachment for the BBB that works really well ? Does it need to be connected to the HDMI port ? How does the Angstrom software adjust to using a non-HDMI LCD screen attachment ? Oct 24 15:19:33 Beagleboard have the i2c bus ? and is possible to comunicate with other board like arduino ? Oct 24 15:19:53 did you read the TRM ? Oct 24 15:20:49 zaffo: Yes and yes, again. Oct 24 15:25:10 Hi, if i try to use this method to back up the BBB, USR3 LED does not light up during boot and so it seems to hang, andy ideas why? http://elinux.org/BeagleBone_Black_Extracting_eMMC_contents Oct 24 15:26:15 serial console helps Oct 24 15:27:20 hm I should write a book switching from arduino to bbb for dummies Oct 24 15:27:59 woglinde is there anything i can do without a serial cable? Oct 24 15:28:35 hi jjc. I wrote that page. Oct 24 15:28:59 when you say the LED doesn't light, what phase are you at? Oct 24 15:29:07 @jkridner this is convenient Oct 24 15:29:07 woglinde: yes. yes, you should! Oct 24 15:30:05 @jkridner after i extract the contents of the zip to the uSD, insert it into the BBB and power it up, USR0, 1 and 2 all come on solidly as if it were booting normally however USR3 does not light up at all Oct 24 15:30:08 jjc: what is the blink pattern of USR0? Oct 24 15:30:26 @jkridner currently not blinking, just solid on Oct 24 15:30:43 USR*0* is solid on? Oct 24 15:30:53 @jkridner correct Oct 24 15:30:55 none of the other LEDs are changing either? Oct 24 15:31:20 do you still have the uSD inserted? Oct 24 15:31:24 @jkridner yep Oct 24 15:31:34 @jkridner to both of those questions Oct 24 15:31:51 k, that likely means that you are in the phase of u-boot loading the kernel and that is what fails. Oct 24 15:32:03 where can I get some example or doc for todo this ? Oct 24 15:32:54 zaffo: did you start with http://elinux.org/Interfacing_with_I2C_Devices ? Oct 24 15:33:01 @jkridner any recommendation for a fix? Oct 24 15:33:08 zaffo try to start here http://circuitco.com/support/index.php?title=BeagleBoneBlack Oct 24 15:33:57 zaffo: BeagleBone vs. BeagleBoard wouldn't be so different: http://romillys-robots.blogspot.com/2011/11/i2c-links-arduino-and-beagleboard.html Oct 24 15:34:06 zaffo: +1 to woglinde Oct 24 15:34:20 jjc: serial cable would help.... Oct 24 15:34:27 try booting without the uSD first. Oct 24 15:34:50 @jkridner it boots fine without the uSD, i've got a serial cable on order Oct 24 15:34:53 I'm curious as to what you have on the uSD now and what you mean by you extracted the contents of the zip. Oct 24 15:35:06 jkridner hm hm shouldn't circuitco add this links too Oct 24 15:35:06 you might have overwritten the kernel that was on the uSD card... Oct 24 15:35:11 or the uenv.txt... Oct 24 15:35:24 or any files, such as MLO, u-boot.img, etc. Oct 24 15:35:28 jkridner: no I am new.. I want to explore beagleboard.. and compare this with arduino... I need some power for instruction.. I need to make a web server for manage a appliance for monitoring room Oct 24 15:35:43 woglinde: perhaps, but google provides them fairly quickly. Oct 24 15:35:57 @jkridner i formatted the uSD, extracted the contents of the zip and then copied and pasted them to the uSD card Oct 24 15:36:03 jkridner most people arent cable to use google Oct 24 15:36:21 at least the new users popping in here Oct 24 15:36:21 woglinde: Are those really the people we qwant playing with embedded systems? Oct 24 15:36:23 having a set of basic to tutorials is definitely desired, but I think fleshing out connecting sensors, etc. is probably higher priority than connecting MCUs via I2C. Oct 24 15:36:28 jkridner: are you in edinburgh? Oct 24 15:36:33 KotH: No. :( Oct 24 15:36:42 I decided to take a bit of a break from travel. Oct 24 15:36:50 ok Oct 24 15:37:01 would have been nice to *finally* make it to ELC-E, but this was not to be the one. Oct 24 15:37:08 MF-Rome took it out of me. Oct 24 15:37:24 you should have stayed in europe ;) Oct 24 15:37:28 jjc: you can't just run the eMMC contents from the uSD like that. Oct 24 15:37:42 you'd need to reformat the uSD to have that work. Oct 24 15:37:50 and adjust the uEnv.txt too. Oct 24 15:38:26 i want to make an image of the eMMC, not run it off the uSD Oct 24 15:39:19 @jkridner my current situation is that i have 1 BBB set up and i need to set up ~5 more exactly the same, i would like to have an image that i can then write to the other BBs Oct 24 15:39:27 well, if you got the zip files, isn't that the image of the eMMC you want? Oct 24 15:39:51 are you following the wiki instructions for turning the extractor into a flasher? Oct 24 15:40:06 are you targeting a different board than the original? (you don't want to damage your master) Oct 24 15:41:03 jjc: btw, how big is your BeagleBoneBlack-eMMC-image-XXXXX.img file? Oct 24 15:41:07 @jkridner http://elinux.org/BeagleBone_Black_Extracting_eMMC_contents are the instructions I am following Oct 24 15:41:09 ok at this moment I need documentation how to start (step by step) with beagleboard Oct 24 15:41:34 jjc: exactly what step are you at? Oct 24 15:41:37 jkridner i dont have that img file yet, its what im trying to get Oct 24 15:41:41 don't you have the .img file already? Oct 24 15:41:44 oh. Oct 24 15:41:59 jkridner nope, its failing to boot on the initial putting the uSD card in step Oct 24 15:42:05 so, you are at the "You'll notice USR0" step? Oct 24 15:42:10 k. Oct 24 15:42:11 jkridner yep Oct 24 15:42:15 got it. Oct 24 15:42:32 can you pastebin the directory listing of the uSD card? Oct 24 15:44:04 jkridner never used pastebin before but sure i'll give it a try Oct 24 15:44:17 jkridner there's only 6 files on there Oct 24 15:44:18 k. pastebin.com is one option. Oct 24 15:44:37 sounds right.... just want to make sure their sizes are reasonable and they aren't under any odd directory. Oct 24 15:44:55 serial cable would make this easy, but I think we can figure out what is going on without one. Oct 24 15:45:13 * muriani just booted up his old rev. C3 beagle the other day Oct 24 15:47:11 all the fun stuff has moved on to xM and bone :( Oct 24 15:47:54 jkridner http://pastebin.com/hsMECqML Oct 24 15:48:20 muriani: ole-C3 is still rather useful! Oct 24 15:48:41 unfortunately, I don't boot them often. :( Oct 24 15:49:00 * jkridner feels kick to refresh the default image for old boards. Oct 24 15:50:22 jjc: k, that looks pretty good. Oct 24 15:50:40 how old is your BeagleBone Black software image? Oct 24 15:51:11 if we were able to mark the uSD as bootable and hold down the BOOT button on power up, we could remove any software dependencies on the main board. Oct 24 15:51:20 jkridner 4th September 2013 Oct 24 15:51:24 I think all of versions respect the uEnv.txt on the uSD. Oct 24 15:52:04 how long did you wait with the 3 LEDs on? Oct 24 15:52:15 jkridner probably around 5 minutes Oct 24 15:52:20 k. Oct 24 15:52:25 should only take about 30 seconds. Oct 24 15:52:42 jkridner yeah i just wanted to leave it enough time Oct 24 15:52:58 let me give you some new contents for uEnv.txt to try to debug. Oct 24 15:53:13 jkridner alright sounds good Oct 24 15:55:49 fyi http://git.denx.de/?p=u-boot.git;a=blob;f=include/configs/am335x_evm.h is a good reference to understand what is going on during u-boot. Oct 24 15:56:08 jkridner i've just seen that the uSD is a logical drive instead of primary, could that have something to do with it? Oct 24 15:56:14 jkridner ty Oct 24 15:57:17 jjc: replace all of uEnv.txt with this one line: uenvcmd=load mmc 0 0x80200000 uImage;run findfdt;run loadfdt;setenv bootargs;bootm $0x80200000 - 0x81FF0000 Oct 24 15:57:35 oops, typo Oct 24 15:57:37 I mean: uenvcmd=load mmc 0 0x80200000 uImage;run findfdt;run loadfdt;setenv bootargs;bootm 0x80200000 - 0x81FF0000 Oct 24 15:58:23 okay lets see how this goes Oct 24 15:59:02 jkridner oh do i need to hold the boot button this time, it seemed to make no difference before Oct 24 15:59:11 we could add a line to do something with the LEDs to show that the command is running too. Oct 24 15:59:18 shouldn't need to. Oct 24 15:59:22 okay Oct 24 16:00:46 jkridner same issue still Oct 24 16:00:53 no USR3 Oct 24 16:02:36 k. Oct 24 16:02:42 let's make sure uenvcmd is running... Oct 24 16:03:45 https://github.com/beagleboard/meta-beagleboard/blob/master/common-bsp/recipes-bsp/u-boot/u-boot-denx/0011-am335x_evm-HACK-to-turn-on-BeagleBone-LEDs.patch has the patch that turns on the LEDs Oct 24 16:05:03 try this line: uenvcmd=gpio clear 53;load mmc 0 0x80200000 uImage;run findfdt;load mmc 0 0x81FF0000 ${fdtfile};setenv bootargs;bootm 0x80200000 - 0x81FF0000 Oct 24 16:05:21 "gpio clear 53" should turn the USR0 LED off. Oct 24 16:05:55 put that line in uEnv? Oct 24 16:06:04 I forgot to use 'load mmc 0 ... ${fdtfile}' Oct 24 16:06:11 yes, into the uEnv.txt on the uSD. Oct 24 16:06:17 in place of all the other contents Oct 24 16:06:21 okay Oct 24 16:07:19 so it should read: uenvcmd=gpio clear 53;load mmc 0 0x80200000 ${fdtfile} uImage;run findfdt;load mmc 0 0x81FF0000 ${fdtfile};setenv bootargs;bootm 0x80200000 - 0x81FF0000 Oct 24 16:08:02 or a semicolon after the first ${fdtfile}? Oct 24 16:08:48 oh... Oct 24 16:08:49 thanks. Oct 24 16:09:15 there shouldn't be a ${fdtfile} in the first load Oct 24 16:09:20 it should be: uenvcmd=gpio clear 53;load mmc 0 0x80200000 uImage;run findfdt;load mmc 0 0x81FF0000 ${fdtfile};setenv bootargs;bootm 0x80200000 - 0x81FF0000 Oct 24 16:09:30 I was saying I'd forgotten it in my *original* suggestion. Oct 24 16:09:39 ahhhh Oct 24 16:09:40 okay Oct 24 16:09:55 by doing 'run loadfdt', it would probably try to load it from the eMMC. Oct 24 16:10:44 to simplify even further: uenvcmd=gpio clear 53;load mmc 0 0x80200000 uImage;load mmc 0 0x81FF0000 am335x-boneblack.dtb;setenv bootargs;bootm 0x80200000 - 0x81FF0000 Oct 24 16:11:21 still 3 seds Oct 24 16:11:23 *leds Oct 24 16:11:30 i'll try this solution Oct 24 16:12:09 so, USR0 doesn't turn off? Oct 24 16:12:15 nope Oct 24 16:12:28 * jkridner wonders if uEnv.txt is didn't get read for some reason. Oct 24 16:13:29 probably best solution is to hold the BOOT button when you apply power, but you'll need to mark the uSD as *BOOTABLE*. the BeagleBone Black can do that if you boot from eMMC first. Oct 24 16:13:52 uh oh Oct 24 16:13:55 hang on Oct 24 16:15:03 okay nm Oct 24 16:15:10 crisis averted Oct 24 16:15:34 thought i might have just been changing the file on the pc not the uSD Oct 24 16:15:58 turns out the windows was just directly behind it so showed up when i took the uSD out Oct 24 16:16:48 i'll try running the most recent one again Oct 24 16:18:47 yeah currently if i hold the BOOT button with the uSD in i get no lights at all Oct 24 16:19:17 did you wait for a while? Oct 24 16:19:27 at *LEAST* 30 seconds. Oct 24 16:19:47 holding the boot button for 30 seconds? Oct 24 16:19:48 also, you need to be holding the button *when you apply power*. after that, you can release it. Oct 24 16:19:56 okay Oct 24 16:20:03 no, waiting for LEDs to light at least 30 seconds. Oct 24 16:20:04 yes i was holding when applying power Oct 24 16:20:19 i'll try again and leave it for a few mins to make sure Oct 24 16:20:21 perfect. Oct 24 16:22:48 jkridner yeah it's been around 2 minutes since the BOOT button start and still no lights on at all Oct 24 16:23:42 k. what does it do w/o the BOOT button now with the updated uenv.txt? Oct 24 16:25:32 * jkridner plans on leaving for lunch soon Oct 24 16:25:33 jkridner i've left it for about the same time and it's still showing the same 3 solid lights, same as before Oct 24 16:26:03 boot without the uSD and let's make sure the card is bootable and the uEnv.txt is readable. Oct 24 16:26:06 * jjc plans on leaving work soon Oct 24 16:26:21 if you boot w/o the uSD, you should be able to mount it by inserting after the fact. Oct 24 16:26:54 it should show up as /dev/mmcblk1, ie. 'mount /dev/mmcblk1p1 /mnt' should mount the 1st partition of it. Oct 24 16:27:11 sorry this has been such a pain. very surprised it didn't "just work". Oct 24 16:27:22 * jkridner is motivated to fix the instructions Oct 24 16:27:37 jkridner so am i, it seemed so easy Oct 24 16:27:48 [kernel] RobertCNelson pushed 1 new commit to 3.12: http://git.io/D6f5zQ Oct 24 16:27:48 kernel/3.12 2a28d74 Robert Nelson: 3.12: update to latest mainline... Oct 24 16:30:40 mount: /dev/mmcblk1p1: can't read superblock Oct 24 16:30:52 is the error it returned to me when i tried that Oct 24 16:31:43 jkridner would you like to continue this now or tomorrow? Oct 24 16:33:11 The following packages have unmet dependencies: g++-4.6-multilib-arm-linux-gnueabi : Depends: g++-4.6-arm-linux-gnueabi (= 4.6.3-1ubu ntu5cross1.62) but it is not installable << afte I tried to install g++-4.6-multilib-arm-linux-gnueabi Oct 24 16:35:05 jkridner i'm extremely appreciative of your help but I'm afraid I have to go now or fairly soon, I will be around here 9am - 5:30pm GMT tomorrow Oct 24 16:35:18 jjc perhaps tomorrow Oct 24 16:35:28 jjc: see you tomorrow then Oct 24 16:35:44 jkridner later, thanks again Oct 24 16:36:49 hung at two leds sounds liek the boot process isnt completing. Oct 24 16:38:01 maybe obvious but meh, ive had tha thappen to me a couple times after compiling new kernels - forget what it was exactly Oct 24 16:44:55 Hello Oct 24 17:43:14 Is there any beaglebone black distro image that supports egalax touchscreens out of the box? Oct 24 17:43:33 Really not looking to get into the world of kernel patching/recompiling if I can avoid it :/ Oct 24 17:51:24 egalax support should be standard, unless they dropped it from the kernel at some point Oct 24 17:55:34 we're using egalax touchscreens on a frankenstein 2.6.32 kernel (I believe I pulled the egalax support out of 2.6.38) Oct 24 17:58:40 From googling, in order for people to get it working, they have to comment out some kernel code that uses usbtouchscreen, to allow for a custom compiled driver to make it work? It's odd Oct 24 17:58:54 This isn't just for BBB, this is for linux in general to work with the egalax. Oct 24 17:59:32 hello, do you know if beaglebone black has user led error codes? I have user 2 and user 3 lit constant Oct 24 18:02:30 thurgood: What was required to get them running off a stock installation? Oct 24 18:02:47 Plug it in, and you have a /dev/input/* already there? Oct 24 18:04:39 yeah I'm doing it from the console without X so I had to write the interface for the event file Oct 24 18:05:40 Yeah, I'm not getting the /dev/input/whatever, which again, from googling, means that the kernel either doesn't have a driver for it, or the driver isn't recognizing that it's a touchscreen so isn't making it an input device Oct 24 18:06:23 does dmesg say anything about egalax? Oct 24 18:06:46 I don't think it does, let me boot the thing and double check. lsusb does say it's egalax though. Oct 24 18:09:32 Negative Oct 24 18:09:32 nothing Oct 24 18:11:18 I see "[ 139.851751] usb 1-1: Manufacturer: eGalax Inc." Oct 24 18:11:20 when I plug it in Oct 24 18:11:21 but that's it Oct 24 18:13:39 ewwwwwwwwwwwwwwwwwww USB Oct 24 18:14:56 yeah well, these don't come with anything but USB :/ Oct 24 18:18:36 use a SPI or I2C controller Oct 24 18:19:27 I'd rather not hack apart the monitor if I can avoid it Oct 24 19:08:41 dcschelt: http://learn.adafruit.com/adafruit-guide-excellent-soldering/common-problems Oct 24 19:10:34 re Oct 24 20:19:15 Does anyone know the spec's on the mounting holes for the BBB? Oct 24 20:20:19 checked the SRM yet? Oct 24 20:20:53 Not sure where that is. Link? Oct 24 20:21:12 beagleboard.org Oct 24 20:22:07 Talk to me like I'm five. Not finding it. Oct 24 20:22:14 http://circuitco.com/support/index.php?title=BeagleBoneBlack has all you want Oct 24 20:27:34 Excellent. Found it in BBB_SRM.pdf pg 115. Thanks! Oct 24 20:28:33 jo mark4 Oct 24 20:28:39 hi Oct 24 20:28:48 got up about 3/4 of an hour agao lol Oct 24 20:29:05 am about to start debugging my arm forth kernel FINALLY lol Oct 24 20:29:28 except my binary is not built for the BB so its elf headers specify a load address the BB does not like Oct 24 20:29:47 and for the life of me i cant remember where gcc puts its linker scripts so i can looksee where the correct load address is :) Oct 24 20:29:56 my code is not C its arm asm Oct 24 20:31:03 and that for you needed ddd? Oct 24 20:31:41 re Oct 24 20:31:56 recompile it or something Oct 24 20:32:15 its asm. i have a custom link script Oct 24 20:32:41 ddd is so i can debug it. i can do that even without fixing the load address, Oct 24 20:33:15 i.e. even tho strace blah pules at a certain point in the initialization in my code. ddd blah runs right past it Oct 24 20:33:29 and now? Oct 24 20:36:44 well im fixing my MAKEOPTS= in make.conf Oct 24 20:36:54 -j20 on my beagle board because im using distcc Oct 24 20:37:05 but im adding a -k3 to limit the load avg Oct 24 20:37:05 whooo playing with makeopts Oct 24 20:37:41 when i first extracted the stage 3 i did an emerge -uDN world and it compiled everything EXCEPT gcc. Oct 24 20:38:20 gcc would not compile so.. i put gcc on hold, emerged uDN world everything else. then installed X and windowmaker and vnc. Oct 24 20:38:36 everything except gcc is now up to date. oh i also of course installed ddd/gdb Oct 24 20:39:08 i unmasked gcc and with an up to date system i am hoping that gcc will compile fine but the -j20 is problematical with gcc Oct 24 20:39:19 because for alot of that build it refuses to distribute Oct 24 20:39:34 so all 20 jobs run locally. plays havoc with my load avg lol Oct 24 20:39:55 hm sorry Oct 24 20:39:55 re Oct 24 20:40:06 looks like my wifi is a bit flanky Oct 24 20:40:07 so i asked and -j20 -k3 would stop make from spawning new jobs if the load avg is abve 3 Oct 24 20:40:16 oh lol u disconnected Oct 24 20:40:19 what wifi card is it? Oct 24 20:40:27 intelfoo Oct 24 20:40:39 intel is usually rock solid. what wifi router is it? Oct 24 20:40:48 some old one Oct 24 20:40:56 but kernel logs says is my card Oct 24 20:41:12 anyway i was saying -j20 woks great until gcc refuses to distribute. so adding -k3 prevents make from spawning new jobs if the load avg goes above 3 Oct 24 20:41:43 why you need -j20? Oct 24 20:41:51 you may need the mem too Oct 24 20:42:01 otherwise calloc might fail Oct 24 20:42:07 because i am distributing to my laptop which has 8 threads and to my desktop which has 12 Oct 24 20:42:32 okay but this does not solve your forthproblem Oct 24 20:42:42 no. Oct 24 20:43:09 ddd WORKS - i tested it before i went zzz Oct 24 20:43:38 so now im just relaxing with my second cup of coffee waiting for my eyes to focus and my brain to kick in lol Oct 24 20:43:58 and waiting for gcc to compile? Oct 24 20:43:59 man it was a $*^&$*(&Y! getting this beagle board running on gentoo Oct 24 20:44:11 naw i can debug while that is running in the background Oct 24 20:44:16 i expect that to take a few hours Oct 24 20:44:19 hm i would have done it in some hourse Oct 24 20:44:24 hours Oct 24 20:44:50 hm damn forget to set passwd in my ubuntu image Oct 24 20:47:10 ubuntu image on your beagle board? Oct 24 20:47:50 you can edit /etc/shadow and paste in your root line from your desktop then change it if yu like once logged in Oct 24 20:48:09 just mount the flash card and edit /mnt/beagle/etc/shadow and /etc/shadow Oct 24 20:48:12 fixt Oct 24 20:48:17 lol Oct 24 20:48:25 etc/passwd is enough Oct 24 20:48:45 I know what I am doing Oct 24 20:49:10 erm ubuntu does not use shadow? Oct 24 20:49:11 wtf Oct 24 20:51:03 it does, pretty sure Oct 24 20:51:18 and I'm pretty sure woglinde_ knows what he's doing too :) Oct 24 20:51:26 lol i do not doubt it :P` Oct 24 20:52:38 Qt has announced Qt Enterprise Embedded (aka Boot to Qt)....should be some exiting times. I remember trying out the previous Qt X-server-less option qws or something. Oct 24 20:53:26 qt is not an operating system any more than firefox is Oct 24 20:53:32 or internet expunger Oct 24 20:53:43 qt rockz Oct 24 20:53:47 qt is good Oct 24 20:53:50 but its not an OS lol Oct 24 20:54:06 both qt and kde are VERY good. Oct 24 20:54:30 kde is more focused on desktops Oct 24 20:54:47 with qt you can write guiless apps Oct 24 20:56:19 mark it is enough to edit etc/passwd and remove the x after the first : on root line Oct 24 20:56:31 than root does need any passwd Oct 24 20:56:35 +not Oct 24 20:57:31 okay enough fro today Oct 24 20:57:36 have to go up early Oct 24 20:57:38 good nite Oct 24 21:01:06 Qt isn't meant to be an OS. But boot to Qt is awesome if you want an embedded linux app to work as a POS or device dedicated to running one app like a display interface. Oct 24 21:02:44 where does gcc hide its linker scripts? Oct 24 21:35:02 how could I read a pulse duration in BBB javascript? Oct 24 21:39:52 simple counter function to measure the interval, what range of period are you looking to work with? Oct 24 21:44:53 trying to use it with an hc-sr04 Oct 24 21:45:17 I have no idea what that is Oct 24 21:45:44 <_av500_> ultrasonic Oct 24 21:46:18 take a look here, http://www.ti.com/lit/ds/symlink/am3358.pdf Oct 24 21:46:32 I have to calculate the width of the signal in time Oct 24 21:46:48 <_av500_> not calculate Oct 24 21:46:50 <_av500_> measure Oct 24 21:46:59 true, Oct 24 21:47:22 other then an input circuit, all you have to do is count the cycles between you activated vs nonactivated states Oct 24 21:47:31 your* Oct 24 21:47:42 <_av500_> doing that from user space and javascript might be not feasible Oct 24 21:47:53 <_av500_> i mean you can count but it can be way off Oct 24 21:47:57 <_av500_> what time res do you need? Oct 24 21:48:03 that data sheet will tell you what range of frequencies the BBB can support Oct 24 21:49:37 I see, well I really have no idea on what the resoluion is as I coudnt be able to try it yet, I need to measure rough distances so +- 2,5cm Oct 24 21:49:46 <_av500_> https://www.google.com/search?q=hc-sr04+linux Oct 24 21:50:31 so that makes it around +-145us resolution Oct 24 21:50:48 <_av500_> kernel driver or PRU Oct 24 21:51:29 <_av500_> https://github.com/Teknoman117/beaglebot/tree/master/hcsr04-demo Oct 24 21:51:31 <_av500_> like herre Oct 24 21:56:39 thnx saw that one, PRU method seems nice but I'd like to use javascript as I'll use it in a webpage :( Oct 24 21:57:07 do you think that 'd do?: http://beagleboard.org/Support/BoneScript/attachInterrupt/ Oct 24 22:03:36 <_av500_> it will work Oct 24 22:03:43 <_av500_> but I bet the accuracy will be awful Oct 24 22:04:14 <_av500_> so, I think it wont really "ork" Oct 24 22:04:16 <_av500_> work Oct 24 22:04:18 <_av500_> Orc! Oct 24 22:06:42 lol Oct 24 22:07:04 but how could I calculate the width of the signal with this function? Oct 24 22:07:14 or measure :P Oct 24 22:08:47 Log the timestamp when the interrupt is triggered for a rising edge, then record a timestamp when the interrupt is triggered for a falling edge. Oct 24 22:08:51 <_av500_> get the wallclock time Oct 24 22:08:53 <_av500_> remember it Oct 24 22:08:57 <_av500_> get it again Oct 24 22:08:59 The difference will be your pulse widtrh, plus any latency. Oct 24 22:09:01 <_av500_> do simple math Oct 24 22:09:20 Really, really standard, basic stuff here... ;-P Oct 24 22:12:20 jeezz.... seriously such a shame.. I'll go cry in a corner Oct 24 22:12:30 thnx guys Oct 24 22:12:41 Heh, no problem. Oct 24 22:12:48 It is often the simple shit that is the hardest. Oct 24 23:12:41 * georgem_home activates wife shield Oct 24 23:19:46 <_av500_> on your arduino? Oct 24 23:32:34 heh Oct 25 00:06:45 In Yocto: Anyone know why putting a custom defconfig file in my layer is not being used? It should according to the Yocto docs.. Oct 25 00:07:17 even a *.cfg fragment does not get used ... **** ENDING LOGGING AT Fri Oct 25 02:59:58 2013