**** BEGIN LOGGING AT Mon Oct 14 02:59:58 2013 Oct 14 04:49:37 I wnat to change MAC adress for BBB , i think it is stored in eprom , may i know in which eprom and its adress details Oct 14 04:54:36 If i write an ALSA application to Produce a playback,on which pin it will be available? Oct 14 04:54:45 of BBB?? Oct 14 04:56:42 BBB audio output is sent out through McASP0. In a stock BBB w/o any cape the audio is sent to the HDMI connector. Oct 14 04:57:16 I wnat to change MAC adress for BBB , i think it is stored in eprom , may i know in which eprom and its adress details Oct 14 04:57:31 if you have a TV with an HDMI input you will hear the audio on that. Oct 14 04:59:09 Thanks for replying.But i dont want to connect to HDMi,Instead want to connect to Stereo codec (TLV320 and max9860). Oct 14 04:59:30 so,how this can be done? Oct 14 05:00:04 you'll have to build a board to connect to the McASP0 pins on P9 Oct 14 05:00:30 then you'll have to modify the DT fragments to enable the proper drivers Oct 14 05:00:48 why not just buy the audio cape? Oct 14 05:00:50 wait what? there is analog audio available from the BBB Oct 14 05:01:09 N2TOH: if you hook up a codec Oct 14 05:01:14 such as the audio cape. Oct 14 05:01:16 oh Oct 14 05:01:26 stock BBB only outputs digital audio thru the HDMI Oct 14 05:01:40 * N2TOH will just continue to use the USB sound device Oct 14 05:01:50 probably easiest. Oct 14 05:02:21 I don't need super compactness just good audio Oct 14 05:46:19 Hi ALL, I want to connect LDR sensor to P9 header 48 pin (analog input) in BBB, to access that GPIO pin i did not find any file in /sys/devices/platform folder Oct 14 05:46:56 could some one help out ant tell folder name and respecitive file to access the GPIO P9 header in BBB Oct 14 06:15:59 Mr.google is no help on this one, what do I need to do to insure I'm using the bash shell in angstrom? Oct 14 06:17:05 " /bin/bash Oct 14 06:17:28 Hi ALL, I want to connect LDR sensor to P9 header 48 pin (analog input) in BBB, to access that GPIO pin i did not find any file in /sys/devices/platform folder Oct 14 06:18:23 N2TOH: and Mr google is useful Oct 14 06:18:45 try ps - p $$ Oct 14 06:18:51 try ps -p $$ Oct 14 06:20:21 or echo $0 Oct 14 06:22:58 it says -bash Oct 14 06:23:25 other factors include the USB serial console being grumpy Oct 14 06:26:02 http://pastebin.com/wpD1GtUj Oct 14 06:26:27 that pastebin is the errors I get when trying to compile some code Oct 14 06:35:51 Hi ALL, I want to connect LDR sensor to P9 header 48 pin (analog input) in BBB, to access that GPIO pin i did not find any file in /sys/devices/platform folder Oct 14 06:36:17 Guys please help out on this, tell me contact whom can i approach Oct 14 06:39:31 what type of sensor? Oct 14 06:40:14 you could try this https://github.com/nomel/beaglebone/tree/master/gpio-header Oct 14 06:40:32 N2TOH he aksed this queston yesterday a couple of times Oct 14 06:41:12 woglinde, as I have asked several times about the qmake make problem I am still resolving Oct 14 06:41:28 I have to reboot bbiab Oct 14 06:45:29 WTH! putty used to let me connect to the BBB Oct 14 06:52:29 http://www.devttys0.com/2013/10/reverse-engineering-a-d-link-backdoor/ Oct 14 06:52:33 classy, real classy :D Oct 14 06:52:51 d-link again? Oct 14 06:53:34 hm looks like the server has to many connections Oct 14 06:53:51 you dosed it Vaizki Oct 14 06:54:07 are you implying my hyperlink may have acquired a musty smell from being a bit OLD? Oct 14 06:55:52 if I could read it I could tell you Oct 14 06:56:08 ah now it works Oct 14 06:57:00 tl;dr version - d-link firmware has a backdoor in it so that with a special user-agent string in http you can bypass all auth Oct 14 07:06:19 N2TOH did you solved qmake now? Oct 14 07:06:28 by installing g++? Oct 14 07:07:00 no, I should do that next, the current thing is why the USBtty has stopped wotking Oct 14 07:12:20 it's installed already and I'm updating it now Oct 14 07:20:22 updating? Oct 14 07:20:25 gm das Oct 14 07:21:13 moin' Oct 14 07:24:23 I'm going to call it a night as I'm not making any progress and need sleep Oct 14 07:31:50 http://pastebin.com/Agmsfn14 Oct 14 07:39:06 florian can you have a look again on planet.linuxtogo.org Oct 14 07:53:57 panto: around? Oct 14 08:05:50 hi! Oct 14 08:09:49 hi rotti Oct 14 08:17:05 is someone running a windowmanager/desktop environment on a BBB? if so, which one is small and usable? lxde? xfce? ...? Oct 14 08:17:35 Why not X11? Oct 14 08:18:13 just plain X11? isn't at least a windowmanager needed? Oct 14 08:18:42 with xdm Oct 14 08:18:50 is the faster Oct 14 08:19:15 but i never tried on the BBB Oct 14 08:19:30 if i get it right, xdm is just for logging in... Oct 14 08:19:31 is just IMHO Oct 14 08:20:04 i remember that on openbsd there is x11 with xdm by default Oct 14 08:20:35 is sufficient you see what run it as default window manager system Oct 14 08:21:36 lxde would be ~500mb (including the xserver, libs etc).... i guess, i'll keep the console with gpm :D Oct 14 08:23:11 http://www.openbsd.org/cgi-bin/man.cgi?query=fvwm&sektion=1 Oct 14 08:23:46 rotti try blackbox Oct 14 08:23:48 or awesome Oct 14 08:23:58 3343 KB Oct 14 08:24:27 but chromium and firefox will eat ram anyway Oct 14 08:24:43 won't use them... Oct 14 08:25:08 i'm not an expert at vim, so i'd like to use another editor.... Oct 14 08:29:59 o.O editors? Oct 14 08:30:19 just something like geany... Oct 14 08:31:31 what has that todo with windowmanager? Oct 14 08:32:36 well, some WM is needed... of course, i can launch just X11 which would be enough... but if i want to move a window... ;) Oct 14 08:33:23 Rotti depending on the distro you are using you will have a "default" window manager. what distro are you using ? Oct 14 08:33:42 debian Oct 14 08:34:12 there was no X etc installed... Oct 14 08:37:11 I see. well that's more a question to the debian guys what they support because that's really what will limit your choices and usability (HW acceleration would be nice right) Oct 14 08:37:11 o.O Oct 14 08:37:48 fvwm works.... it is a 'bit' ugly, but that's okay Oct 14 08:43:00 back Oct 14 08:45:09 hi! I am desperately trying to find out where modules are modprobed on boot on the BBB. If I look in the /etc/modprobe.d/ and /etc/modules-load.d/ I see a couple of things listed there but these are not all. are there any other locations to look for? Oct 14 08:45:36 maybe /etc/modules? Oct 14 08:46:47 Rotti: there is no /etc/modules :( Oct 14 08:49:56 Rotti: sorry there is /etc/modules but I don't see the g_multi listed anywhere inside Oct 14 08:50:12 jo panto Oct 14 08:50:18 hi woglinde Oct 14 08:50:45 LetoThe2nd, would you believe I have a postcard bought a few months ago and I just haven't had the time to send it Oct 14 08:51:38 Anguel: sorry, no idea... Oct 14 08:55:53 panto thats normal Oct 14 08:56:54 Anguel: so g_multi is getting loaded but you don't know why? Oct 14 08:57:19 build in Oct 14 08:57:20 Vaizki: right, I don't find what makes it load Oct 14 08:57:47 udev rules or something? Oct 14 08:58:40 Vaizki: yes, I also thought about that and now I am looking if I can find out Oct 14 08:59:19 first I would check lsmod Oct 14 09:04:53 woglinde: what to look for there exactly? g_multi is loaded Oct 14 09:07:57 /usr/bin/g_ether*.sh Oct 14 09:08:59 Anguel: that was for you Oct 14 09:09:21 keesj: thanks, will look at it immediately Oct 14 09:18:22 keesj: thank you very much, would not have found it :) that's complicated :) Oct 14 09:19:33 can i build code for BBB with arm-none-linux-gnueabi-gcc compiler? Oct 14 10:18:09 can any one help out boot the beaglebone black from SD card Oct 14 10:18:41 can any one help me how to boot the beaglebone black from SD card Oct 14 10:49:00 write image to card Oct 14 10:49:08 boot with button pressed Oct 14 10:49:10 enjoy Oct 14 10:56:17 Does anyone have an idea why this image https://github.com/Angstrom-distribution/meta-ti/blob/master/recipes-misc/images/cloud9-image.bb brings up the USB storage (g_multi module) while the one it is based on https://github.com/Angstrom-distribution/meta-ti/blob/master/recipes-misc/images/ti-hw-bringup-image.bb does not load the USB storage? Oct 14 10:56:35 what might be the package that makes the difference? Oct 14 10:57:06 a wonderfull JIHAD everyone! Oct 14 10:58:49 * dm8tbr goes on a birthday-jihad Oct 14 10:59:20 birthday? Oct 14 10:59:37 * KotH hands dm8tbr a chocolate-bomb-cake Oct 14 11:06:17 hiho koth Oct 14 11:06:27 lilo woglinde_ Oct 14 11:07:02 jo mru Oct 14 11:11:18 heyo woglinde! Oct 14 11:12:36 Anguel grep is your friend Oct 14 11:12:56 anybody there? Oct 14 11:13:22 that's a stupid question Oct 14 11:13:23 here? Oct 14 11:13:26 no, not really Oct 14 11:14:22 mru: keep in mind, that andrew_001 comes from a culture that might treat the question of asking if anybody is there as a general greeting Oct 14 11:14:40 woglinde: I don't really have an idea what to grep in this case :) Oct 14 11:15:03 mru: at least they are known to put The Doubt as the most important question in their lifes Oct 14 11:15:06 i need some help regarding the toolchain. Oct 14 11:15:18 i am new BeagalBoneBlack a have my old lib wich is build on arm-2009q1 for beagleBoard-xm, now i want to shift my project from BB-xm to BBB , here i have build os with 'arm-2009q1' compiler, then with same compiler i have compiled the c app code with but this output is not exiculated on Board. Waht can i do for this ? Oct 14 11:15:30 Anguel start with g_multi Oct 14 11:15:34 andrew_001: The Toolchain does not exist. specify which one _you_ are using Oct 14 11:15:36 than with insmid Oct 14 11:15:40 ups insmod Oct 14 11:16:04 andrew_001: also "does not work" is not an error description Oct 14 11:16:10 arm-none-linux-gnueabi (beagle-board-xm) Oct 14 11:16:34 that's a binary format specifier, but not a toolchain Oct 14 11:16:43 it's not even that Oct 14 11:16:52 oh.. jup, it's not Oct 14 11:16:55 andrew_001 recompile it with the new toolchain and had you written a bb file for you lib you would not have the hassle now Oct 14 11:17:53 i have compiled code with new toolchain it works no any error, when i exicute the code there is no any output on terminal Oct 14 11:18:08 woglinde: ok, i'll try. I see that ti-hw-image.bb already brings in the scripts through "gadget-init", though there seems something still missing to activate them or so Oct 14 11:19:14 code build with the old compiler arm-none-linux-gnueabi-gcc the out put is "$./testcompiler: No such file or directory" Oct 14 11:20:21 dynamic loader mismatch Oct 14 11:20:37 andrew_001: http://thecodelesscode.com/case/71 Oct 14 11:20:57 while same code build with new compiler gcc-linaro-arm-linux-gnueabihf-4.7-2013.04-20130415_linux then out put is $./testcompiler "Hello World...!" Oct 14 11:21:32 andrew_001: just compiling with the "right" compiler does not help. the libraries, including ld.so must match Oct 14 11:21:41 andrew_001: if they dont, then you are screwed Oct 14 11:21:58 andrew_001: hence a toolchain referes to the complete build environment, and not just the compiler Oct 14 11:22:04 then i have tried to include the lib which is precompiled with arm-none-linux-gnueabi-gcc then output is "$./testcompiler" Oct 14 11:22:27 andrew_001: integrate your application in your build environment you used to build the OS for your board, then try again Oct 14 11:22:40 i have build kernal modules firmware all with same compiler as the code Oct 14 11:22:42 andrew_001: anything else will just lead to frustration Oct 14 11:22:57 *sigh* Oct 14 11:23:08 you know the difference between a kernel module and a user space application? Oct 14 11:23:28 what did u mean to integrate the code in build envirnment? Oct 14 11:23:29 or let me ask a simpler question: do you know how a unix like system works in general? Oct 14 11:23:35 kernel modules are magic Oct 14 11:23:50 mru: black chocolate magic? Oct 14 11:23:59 koth haha nice Oct 14 11:24:49 i mean to say envirnment toolchain for everything is same. is there any role of file system in running the applications? Oct 14 11:25:03 uhm oh Oct 14 11:25:20 andrew_001 please do not tell me you get money for coding Oct 14 11:25:38 no there is none. Oct 14 11:27:32 shuld i change the file system ar any part of it? Oct 14 11:28:10 andrew_001: i'm pretty sure that the toolchain for your bbxm and your bbb are not the same Oct 14 11:28:22 B'coz everything else is build by me only the fs is as it is as downloaded Oct 14 11:28:23 andrew_001: unless you made sure yourself that they are exactly the same Oct 14 11:28:43 andrew_001: and i know that because you downloaded the root fs Oct 14 11:28:47 but then how can the keral will exicute build by old toolchain? Oct 14 11:29:00 there's no such thing as The Toolchain for each board Oct 14 11:29:02 13:23 < KotH> you know the difference between a kernel module and a user space application? Oct 14 11:29:23 yes Oct 14 11:30:11 acording to my understanding toolchain is just related to ARM core and not to board Oct 14 11:30:47 same toolchain is used for diffrent boards with diffrent processors hre the arm-core is same. Oct 14 11:31:20 now there comes version of libc ld-loader and compiler into play Oct 14 11:31:23 your understanding is not 100% correct Oct 14 11:31:39 sometimes assembler too Oct 14 11:31:41 Beagle-board, Beagle-board-xm,PandaBoard,Gumstix OVERO com, all having same toolchain Oct 14 11:31:49 no Oct 14 11:32:15 andrew_001: ok, correction: your understanding is wrong Oct 14 11:32:23 i am using same toolchain for all these board and working very well Oct 14 11:32:32 right YOU Oct 14 11:32:42 you are using the same _compiler_ Oct 14 11:32:44 so its your toolchain Oct 14 11:32:51 yes Oct 14 11:32:55 you are not using the same _toolchain_ Oct 14 11:33:00 ? Oct 14 11:33:06 koth? Oct 14 11:33:23 woglinde: compiler is a subset of the class toolchain, but not the toolchain itself :) Oct 14 11:33:40 woglinde: though i have no idea how to explain that at the moment :( Oct 14 11:33:48 and i should be doing layout instead... Oct 14 11:34:28 andrew_001: you might want to talk to mru over a beer on this topic. if he is in a good mood he will explain you what it all means... but he wont do it on irc Oct 14 11:34:50 ohhhhhh Oct 14 11:35:10 koth what is a toolchain? Oct 14 11:35:56 woglinde: die kombination aus allem was du zum builden verwendest. compiler, libc, ... inklusive deren konfiguration Oct 14 11:36:48 right Oct 14 11:37:19 lets say I build an image for Beagle-board, Beagle-board-xm,PandaBoard,Gumstix OVERO com with this toolchain Oct 14 11:37:44 and than compile a program/lib with this toolchain Oct 14 11:37:55 will it run on Beagle-board, Beagle-board-xm,PandaBoard,Gumstix OVERO com? Oct 14 11:38:30 yes Oct 14 11:39:51 now I have a new image for a new board which was compiled with a diffrent toolchain Oct 14 11:40:03 will my programm run? Oct 14 11:40:43 if you bild code with old toolchain then it dos't Oct 14 11:40:49 .o(besides we assume not to link against beside libc) Oct 14 11:41:09 andrew_001 wrong Oct 14 11:41:11 woglinde: there is still ld.so Oct 14 11:41:13 it depends Oct 14 11:41:16 woglinde: unless you go fully static Oct 14 11:41:48 yes offcourse it is static Oct 14 11:41:53 o.O Oct 14 11:43:01 in "the toolchain" do you include its configuration? Oct 14 11:43:19 for the purpose of this question, yes Oct 14 11:43:26 generally: not necessarily Oct 14 11:43:31 mixing gcc/glibc versions is generally fine as long as they use compatible configurations Oct 14 11:44:27 the "no such file" error happens if the name of the dynamic loader is different Oct 14 11:44:42 mixing gcc and glibc versions is like mixing water and acid: do it wrong and you will have boiling acid in your face Oct 14 11:44:46 and the default was changed about a year and a half ago Oct 14 11:44:47 iirc Oct 14 11:45:06 koth I am still thinking about the sixth host Oct 14 11:45:27 * KotH reallises he doesnt remember how actually the binary loading happens in detail Oct 14 11:47:46 woglinde: i'd say core dump Oct 14 11:48:05 woglinde: but not sure Oct 14 11:48:21 mru: what would you say is the 6th unwelcome guest? Oct 14 11:48:27 hm Oct 14 11:48:36 yes core dump Oct 14 11:48:41 that would fit Oct 14 11:48:46 KotH: nfc Oct 14 11:53:31 koth nice stripes by the way Oct 14 11:53:46 stripes? Oct 14 11:54:17 13:53 <@elenril> and i like my bikesheds with red stripes Oct 14 11:54:26 .o0(coincidence?) Oct 14 11:55:19 no the codeless stuff Oct 14 11:57:24 ah.. Oct 14 11:57:30 it's recommended reading :) Oct 14 12:00:33 160 GPIOs: https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXino-MICRO/open-source-hardware Oct 14 12:00:38 the Bone killer! Oct 14 12:01:58 :P Oct 14 12:02:11 killer again Oct 14 12:03:10 these are not the bones that get killed. it is the flesh around it Oct 14 12:05:03 but I do spend a little time on the a13's from olimex Oct 14 12:06:50 but I do spend a little time on the a13's from olimex Oct 14 12:08:38 Are there any protoboards in the works that allow for the debug cable to be connected as well? Oct 14 12:10:26 my provisioning scheme: http://paste.ubuntu.com/6235625/ Oct 14 12:10:28 :| Oct 14 12:14:22 exosyst: debug cable for serial or jtag? Oct 14 12:14:42 keesj, The cable that comes out of the header for serial Oct 14 12:16:46 http://boardzoo.com/index.php/beaglebone-black/bone-rs232.html like this? Oct 14 12:22:23 oh fuck, forgot to save /etc before reformatting Oct 14 12:23:26 keesj, No because the cable sticks out of the serial header which ruins any clearance for most capes Oct 14 12:24:51 hmm perhaps just two headers would solve theproblem Oct 14 12:25:33 e.g. to make the dauther board be a little higher Oct 14 12:27:38 like https://www.sparkfun.com/products/9280 but with more pins Oct 14 12:35:36 How can i recieve and send data via TDM (using MCASP0 ,i have disabled HDMI) ? I cannot find any TDM file in /dev directory as I2C do.Without any such file how can i access or open TDM(MCASP0) ? For I2C i2c-0 and i2c-1 are there.. Oct 14 12:36:24 re Oct 14 12:43:28 yeah that could work cheers Oct 14 12:53:54 keesj, Thanks for the suggestion - I'm just gonna hope there's no weird attenuation/degradation issues Oct 14 12:53:59 I bought these http://www.logicsupply.co.uk/beaglebone/phf-2x23/ Oct 14 12:56:02 what I did was to solder the serial header on the ohter side and most here sugest to add a serial header on the other side. Oct 14 12:56:18 I try to use the BBW as much as possible Oct 14 12:57:46 http://www.flickr.com/photos/57762795@N02/9156033307/ mounting the header on the other side Oct 14 12:58:30 hmm useless pic.. Oct 14 13:07:12 keesj: what mpu rate do you get using usb for the power Oct 14 13:15:58 the reason I ask is I read at one point that the bbb cannot achieve full 1 GHz MPU rate on USB power but cannot recall what the actual speed was on USB power Oct 14 13:25:12 thurgood: the system reference manual does give some numbers on that Oct 14 13:25:28 'k Oct 14 13:58:55 the RCN images have the bootloader on the boot partition, so I only need to set the first partition bootable for it to work, right? Oct 14 13:59:06 /dev/sdb1 * 2048 133120 65536+ e W95 FAT16 (LBA) Oct 14 13:59:51 ^ fdisk Oct 14 14:00:09 pssst dont tell the others Oct 14 14:00:25 the other images have the bootloader on the first parition too Oct 14 14:00:29 ok Oct 14 14:00:51 I had to completely wipe this sd-card and reconstruct the partitioning Oct 14 14:00:54 yes, only the first partition needs to be bootable Oct 14 14:01:09 and then I dd'd the first partition Oct 14 14:01:27 and that should have the bootloader in it, right? Oct 14 14:01:45 otherwise someone needs to tell me how to write the bootloader Oct 14 14:02:27 yes the bootloader goes on there Oct 14 14:02:51 does "dd if=/dev/sdb1" capture the bootloader? Oct 14 14:03:28 boot records are black magic to me so I've been trying to ignore it as long as it worked Oct 14 14:03:34 but apparently it has stopped working Oct 14 14:04:29 sdb1 'may' be your boot partition Oct 14 14:05:19 may be a hard drive... depends on your system configuration Oct 14 14:05:33 well, yes Oct 14 14:05:41 sdb is the sd-card Oct 14 14:06:10 just making sure, some people see a tutorial an take it for gospel :P Oct 14 14:06:22 I'm kind of proud of myself that I haven't managed to wipe my hard drive, but I indeed haven't Oct 14 14:07:38 when I put the sd-card into the beagleboard (xM Rev. C1) and power it up, D5 lights up, and nothing else happens Oct 14 14:07:45 do you have a serial connection functional on your board? Oct 14 14:07:53 nope ): Oct 14 14:08:14 ... get one, it'll save you lots of time Oct 14 14:08:35 I forgot it at home Oct 14 14:08:48 putting in a known-good sd-card makes it boot Oct 14 14:08:56 so the problem should be with the sd-card Oct 14 14:09:44 you don't need to use dd for the boot partition on the xM as far as I remember Oct 14 14:10:06 just copy the files from the known good card since you have one Oct 14 14:10:40 the order of placement doesn't matter on the xM... I think Oct 14 14:10:53 well... the boot image I copied onto it is also known-good Oct 14 14:11:00 the one on the other sd-card is old Oct 14 14:11:12 (I compiled my own kernel) Oct 14 14:11:29 yeah but if the partition size was different and you used dd it could hose some files Oct 14 14:12:27 the partition size for the boot partition is the same, and dd didn't complain about running out of space Oct 14 14:12:31 is the custom kernel only on the new card? Oct 14 14:13:02 I already have 4 boards running with the custom kernel Oct 14 14:13:28 just checking Oct 14 14:13:29 I just had to wipe this sd-card and do the partitioning manually because it's smaller than the others Oct 14 14:15:51 may not be able to do much more without the usb-serial cord Oct 14 14:16:04 I'll see if I can find one Oct 14 14:16:06 brb Oct 14 14:25:05 admin found... something weird Oct 14 14:26:08 I am concerned Oct 14 14:31:06 ? Oct 14 14:32:08 what commmand do you use for the serial connection? Oct 14 14:32:55 I use minicom to open the serial port Oct 14 14:33:15 yeah, I think I just got minicom to work Oct 14 14:33:32 this usb thing blocks the power port :| Oct 14 14:33:46 yessss Oct 14 14:33:50 I have a console Oct 14 14:34:02 lol bootloop Oct 14 14:34:10 or not? Oct 14 14:34:15 how are you powering? Oct 14 14:34:24 with the mini-usb Oct 14 14:34:45 yeah looks like it's booting successfully with the good sd-card Oct 14 14:34:48 probably not powerful enough for the xM to consistently boot Oct 14 14:34:51 yep, got a login prompt Oct 14 14:35:24 but if you've got it working with one card, I guess it's possible :P Oct 14 14:35:57 right Oct 14 14:36:27 with the other sd-card it's just a bit of crap on the terminal and otherwise nothing Oct 14 14:37:06 if you get a bunch of garbled text then nothing it's probably MLO Oct 14 14:37:18 and there's no internal mmc on the beagleboard or anything to boot from afaik Oct 14 14:37:21 MLO? Oct 14 14:37:50 yes, you do have MLO on the boot partition, right? Oct 14 14:37:58 if not copy it on Oct 14 14:38:06 what is MLO >_> Oct 14 14:38:11 that's the first stage bootloader Oct 14 14:38:54 how do I check if it's there? Oct 14 14:39:11 should be a regular file on your boot partition Oct 14 14:39:29 should be able to see it in just about any machine you stick it into Oct 14 14:39:46 ok Oct 14 14:40:18 as soon as the sd card reader decides it wants to cooperate Oct 14 14:46:55 or as soon as I've found a new sd card reader I guess! Oct 14 14:47:37 there is a file called MLO on the boot partition. Oct 14 14:48:06 regular file, 48K Oct 14 14:50:40 It has to be the first file copied on an empty boot partition Oct 14 14:51:06 it *should* be the first file since I dd'd the whole boot partition from an image Oct 14 14:51:44 Ok Oct 14 14:51:54 it seems like it starts on block 2048 Oct 14 14:52:02 not sure if that requirement is the same on an xM... but it's easy enough to reformat that partition and manually copy the files Oct 14 14:52:03 which is correct, that's the start of the partition Oct 14 14:52:23 um... how did you partition the drive? Oct 14 14:52:30 fdisk Oct 14 14:52:45 and you started at block 0? Oct 14 14:52:49 no? Oct 14 14:52:58 I started at block 2048 Oct 14 14:53:16 that's the minimum, and that's the same in all the images Oct 14 14:55:33 partitioning: http://paste.ubuntu.com/6236219/ Oct 14 14:55:44 (it's sdc now because new card reader) Oct 14 14:56:23 you should be able to start lower than that Oct 14 14:57:29 it's the same on the original image Oct 14 14:57:37 and all other sd-cards I'm using Oct 14 14:57:42 and fdisk won't let me go lower Oct 14 14:58:05 I never had problems with the 2048 boundary and you at least need the first block for the MBR Oct 14 14:58:56 I never put an MBR onto this sd-card Oct 14 14:59:19 that may be a newish restriction, I know that gparted started adding that a few years ago Oct 14 14:59:22 http://pastebin.com/yBLdcSn7 Oct 14 14:59:27 not since I ran badblocks in destructive mode anyway Oct 14 15:00:08 tell me more about MBR Oct 14 15:00:13 honestly: http://en.wikipedia.org/wiki/Master_boot_record is just the first block containing parition information Oct 14 15:00:18 okay Oct 14 15:00:22 partitions... Oct 14 15:00:37 so setting the first partition bootable is enough to have the MBR part covered? Oct 14 15:01:17 or do I need to put anything from uboot into the mbr? Oct 14 15:02:33 to be sure you need more work e.g. follow http://elinux.org/BeagleBoardBeginners for formatting your card. Oct 14 15:02:46 uboot is loaded by MLO from file... so no Oct 14 15:02:58 thurgood: how does MLO get loaded? Oct 14 15:03:45 hrm Oct 14 15:03:57 by firmware on the board Oct 14 15:03:57 why is my partition marked as fat16 Oct 14 15:04:05 shouldn't it be marked fat32? Oct 14 15:04:17 fat16 works if it's small enough Oct 14 15:04:28 65MB I think Oct 14 15:04:42 well Oct 14 15:04:49 actually Oct 14 15:05:08 it is probably a problem that the type flag and the fs don't actually agree Oct 14 15:05:31 I doubt it matters even if you mark it minix swap Oct 14 15:05:38 ok Oct 14 15:05:55 yeah, it's marked fat16 on the original image Oct 14 15:06:11 but I'm not familiar with uboot at all :) Oct 14 15:06:30 I use fat 16 regularly, as longs as the boot MLO can read it it's good Oct 14 15:07:12 hrrm Oct 14 15:07:33 so I don't need boot-code in the mbr act? Oct 14 15:07:37 actually* Oct 14 15:08:23 (the elinux.org page doesn't mention it anyway) Oct 14 15:09:07 the classic was more restricted on MLO's placement Oct 14 15:09:37 let's just start over Oct 14 15:09:42 no, just MLO and u-boot on a properly formatted FAT partition. If you are using BBB you also need to press the button while booting to load MLO from the SD-card Oct 14 15:09:53 I'll grab a new sd-card and wipe it Oct 14 15:10:42 this sd-card currently boots in the bb Oct 14 15:11:10 zero'ing the first 100MB should sufficiently wipe it, right? Oct 14 15:11:12 BeagleBoard BeagleBone or BeagleBoneBlack :P Oct 14 15:11:19 beagleboard xM rev c1 Oct 14 15:11:57 okay, this is also one of the 3904MB sd-cards Oct 14 15:12:59 dd away! Oct 14 15:13:05 numberfive ~ # dd if=/dev/zero of=/dev/sdc bs=1M count=100 Oct 14 15:13:19 105MB copied Oct 14 15:14:51 still not sure why you're using dd for the boot partition Oct 14 15:15:11 because it's easiest? Oct 14 15:15:16 I can do it without dd Oct 14 15:15:35 just drag the 4 files into a fresh partition Oct 14 15:16:22 new partitioning: http://paste.ubuntu.com/6236317/ Oct 14 15:16:27 that look good? Oct 14 15:16:38 MLO, uboot.bin boot.scr and uImage ... depending on your uboot version Oct 14 15:16:55 I'll need the uEnv.txt as well Oct 14 15:16:58 and it's a zImage Oct 14 15:19:44 formatted fat16 / ext4 Oct 14 15:20:48 copying MLO, u-boot.img, initrd.img, zImage, and uEnv.txt Oct 14 15:21:32 actually Oct 14 15:21:41 I'll just copy everything from the boot image Oct 14 15:21:49 I copied MLO first, and now everything else Oct 14 15:22:58 and now copying rootfs Oct 14 15:24:06 I generally don't bother with the rootfs until I know it will boot through the bootloader portions Oct 14 15:27:02 hah! Oct 14 15:27:05 it boots! Oct 14 15:27:11 I guess the dd messed me up somehow. Oct 14 15:27:55 oh, this is interesting Oct 14 15:28:01 the sd-card had its write lock on Oct 14 15:28:12 cool write lock bro Oct 14 15:30:49 aaand we have a second boot Oct 14 15:31:00 this time with the original sd-card I was having trouble with Oct 14 15:31:14 all I did was mkfs.msdos and copy shit over again Oct 14 15:32:07 so it was either the fat32 I had on it before, or the dd Oct 14 15:32:16 let's try! Oct 14 15:34:27 formatted to fat32 Oct 14 15:34:30 still boots Oct 14 15:34:32 ¯\_(ツ)_/¯ Oct 14 15:34:51 mystery solved.... OR IS IT? Oct 14 15:35:30 thanks for the help everyone (: Oct 14 15:35:36 if it works it works :P Oct 14 15:35:41 well Oct 14 15:35:47 now it has to work for 5 more boards Oct 14 15:35:54 so we'll see! Oct 14 15:36:54 augh. of course for testing the issues with board 5 I just grabbed the sd-card for board 6. Oct 14 15:37:00 another set of host keys lost forever. Oct 14 17:20:49 got my new BBB and hav Oct 14 17:21:50 got my new BBB and having problems connecting via serial over usb - is the BBB capable to do this or do i NEEd an USB TTL cable? Oct 14 17:23:34 the latter Oct 14 17:26:14 mikelavas, yes the bbb supports serial via USB. I have mine working but now it seems to have gotten fussy Oct 14 17:26:30 it worked out of the box for me Oct 14 17:26:46 /dev/ttyACM0 Oct 14 17:27:08 on my ubuntu 12.04 PC Oct 14 17:27:47 bbb needs ttl Oct 14 17:27:54 bbw not Oct 14 17:28:40 woglinde: there's also the usb gadget serial interface Oct 14 17:28:49 and I think mikelavas is referring to that Oct 14 17:30:15 I keep getting fatel error when I try to open the connection via putty from my Ubuntu workstation Oct 14 17:30:24 so i'll need one of these http://circuitco.com/support/index.php?title=BeagleBone_Black_Accessories#Serial_Debug_Cables Oct 14 17:30:49 putty on ubuntu? I know it exists, but... Oct 14 17:31:07 panto: yes... i actually understand the postcard thing :) Oct 14 17:31:20 mikelavas: if you want to use the debug serial port, yes. Oct 14 17:31:53 mikelavas: you could also use the serial interface over the included USB cable Oct 14 17:31:55 Fruit aye, but how will the the usb gadget serial interface show you kernel messages if the kernel not boots Oct 14 17:32:03 I also just got my BBB. I tried following the "getting started" instructions online yet the BBB is not being recognized, instead I get an unknown USB device message. I am running windows 7 and I installed the drivers. Oct 14 17:32:35 gadgy install a sane os, where it works out of the box Oct 14 17:33:06 Fruit usb serial gadet works for u-boot, sadly not for kernel messages Oct 14 17:33:17 woglinde: true Oct 14 17:33:25 woglinde: but I don't know what mikelavas needs Oct 14 17:33:35 me neither Oct 14 17:33:50 wanted only to hint that you might get problems Oct 14 17:34:59 i'm currently writing some BSD drivers for the board and the board is keep freezing at boot up just want to check what's going on. but hey, i think i have a micro hdmi - hdmi cable in the house… somewhere… this should word? Oct 14 17:35:25 mikelavas hm dont know if bsd can initalize it Oct 14 17:36:25 lol, I figured someone would say that. I was just trying to avoid going through all the trouble of setting up a new OS if there was an easier way Oct 14 17:36:56 gadgy dont know what you want to do else Oct 14 17:37:15 so setting up a linux is not such a bad idea Oct 14 17:38:06 yeah, you are probably right. I have been meaning to for ages anyways. I guess I now have the excuse I have been waiting for. Thanks :P Oct 14 17:38:42 it works even as a virtual machine under windows 7 Oct 14 17:39:00 besides you dont have a atom proc and lacking ram Oct 14 17:39:23 wait it works with a virtual machine? Oct 14 17:39:36 Now I feel dumb... Oct 14 17:39:42 so the included usb cable will only work with the included angstrom linux? so i'll better go for the adafruit Oct 14 17:40:19 mikelavas: it also works with my debian linux Oct 14 17:40:26 and it might work in bsd too Oct 14 17:40:38 however, that would require usb gadget support in your kernel Oct 14 17:40:45 gadgy I meant a linux Oct 14 17:41:06 gadgy besides that you can emulate a classic beagle with qemu Oct 14 17:42:18 okay thanks, Ill give those a shot Oct 14 18:18:31 i have my Black up and running, all updated, i find myself really anxious to "experiment", because it's 45 minutes-ish to flash and another hour or so to run the opkg upgrade. is there a recipe for making an image of what i now have, so i can get back to this point quicker? Oct 14 18:19:07 dd if=/dev/sdcard of=file bs=1M ..oposite of flashing it Oct 14 18:19:26 <_av500_> unflashing it Oct 14 18:21:27 maxinux: i'm not running on the sdcard at the moment, i don't think. there's not one in there… isn't the if the "input file". if i'm snapshotting the running system to the sdcard, shouldn't the sdcard by the of? Oct 14 18:21:48 you can mount the mmc from a computer Oct 14 18:22:46 so just treat it like a usb drive? and dd from it to a host computer? Oct 14 18:22:50 yeah Oct 14 18:23:45 ok… that makes sense. then how do i turn that around? flip the if and of and all is good? which begs… "why the emm sdcard flasher thing" ? Oct 14 18:24:59 is it just a convenience for when you don't have a computer around that can mount the device as a usb drive? Oct 14 20:07:38 hi i am a newbie Oct 14 20:07:41 quick question Oct 14 20:07:55 i am trying to get ubuntu running on BBB Oct 14 20:08:10 I have been able to get it booted up and login as root Oct 14 20:08:19 i am trying to get the desktop running Oct 14 20:08:25 but that's not my question right now Oct 14 20:08:39 when it boots up Oct 14 20:08:51 it displays a little bit outside the monitor range Oct 14 20:08:56 which is TV in my case Oct 14 20:09:02 actually I have tried both of the TVs Oct 14 20:09:15 in both cases when it starts up Oct 14 20:09:28 for example the penguin displays half on the top right corner Oct 14 20:09:39 the text prompting me to login is half as well Oct 14 20:23:55 I have a BBxM Rev C running Ubuntu 12.10 and want to set the pin mux. What is the best way to do this? Oct 14 20:31:24 shaw that's probably overescan on your tv... but he's gone Oct 14 20:36:01 radconjon: you need to give a little more info, which kernel you're sing for starters Oct 14 20:36:44 using Oct 14 20:38:19 what is a good first timers project on a beagle bone black? Oct 14 20:46:07 make an LED blink Oct 14 20:47:29 turn it on Oct 14 20:47:29 Hey, can someone help me here Oct 14 20:47:29 Im new and I just flashed ubuntu on to my bbb Oct 14 20:47:29 using these instructions Oct 14 20:47:29 http://circuitco.com/support/index.php?title=Ubuntu_On_BeagleBone_Black Oct 14 20:47:40 I dont have an extra display or anything Oct 14 20:47:45 Im trying to ssh into it Oct 14 20:47:51 but it says its the wrong password Oct 14 20:47:54 any solutions Oct 14 20:51:45 joubin: which version of ubuntu? Oct 14 20:53:10 <77CAAGN8P> hi, I have problems with the BBB to connect to an OPEN Wifi, both under Ubuntu or Debian. Oct 14 20:53:24 and what username/pw did you try Oct 14 20:53:58 Hey sorry. Im Joubin. The website kicked me Oct 14 20:53:58 Im using ubuntu 13.04 Oct 14 20:54:11 sigmapi_: what username/pw did you try Oct 14 20:54:22 I tired all of the listed on that page Oct 14 20:54:28 ubuntu / ubuntu Oct 14 20:54:33 ubumtu / temppasswd Oct 14 20:54:35 etc. Oct 14 20:54:45 However, I didnt try flashing it to the device like it says Oct 14 20:54:52 is that why? Oct 14 20:56:11 did you try the temppwd pass listed? Oct 14 20:56:40 yeah Oct 14 20:56:56 what IP are you trying to connect to? Oct 14 20:57:12 so I connected it to my machine via ethernet Oct 14 20:57:17 and it created a 169 ip address Oct 14 20:57:22 I can ping it Oct 14 20:57:24 and I can ssh Oct 14 20:57:27 it just says wrong password Oct 14 20:57:50 <77CAAGN8P> did you try to connect as root? with PW root Oct 14 20:58:05 yes. I did root instead of ubuntu Oct 14 20:58:09 and still no Oct 14 20:58:12 ubuntu, generally has a random root pw Oct 14 20:58:27 well, root isnt usually active via ssh on ubuntu Oct 14 20:59:38 sigmapi_: you did remove the sd and reboot? Oct 14 20:59:52 no. I didnt flash the device Oct 14 20:59:54 is that why? Oct 14 21:00:13 oh.. you're running from the sd card? Oct 14 21:00:19 yes thurgood Oct 14 21:00:28 sorry, I missed that part Oct 14 21:01:03 are you sure it's booting the ubuntu image? Oct 14 21:01:14 no. im not Oct 14 21:01:20 that makes sense Oct 14 21:01:29 there is already an image there so Im probably booting that that Oct 14 21:01:54 Do you know of a way to boot into the sd withough having to flash the device? Oct 14 21:02:32 thurgood - sorry for delay, trying a compile after changing beagle .h uname -r yields 3.7.10-x13 Oct 14 21:04:23 sigmapi_: not offhand, but you can probably do so with modifications to uEnv.txt on the sd boot partition. Oct 14 21:05:14 So, I just took the sd out and booted the device. Oct 14 21:05:21 it supplies a 192 address Oct 14 21:05:27 that the default os did Oct 14 21:05:42 so, it makes me think that I was booting to the sd since it was giving a 169 address Oct 14 21:06:09 is it 192.168.7.4? or something like that? Oct 14 21:06:25 thurgood: yes Oct 14 21:06:39 that's the one angstrom has been using lately Oct 14 21:06:52 ok Oct 14 21:06:55 here is the main issue Oct 14 21:06:59 I want to do apt-get Oct 14 21:07:04 is that possible on that os Oct 14 21:07:08 not 100% indicitive, but pretty good indicator Oct 14 21:07:35 angstom uses opkg rather than apt/apt-get Oct 14 21:07:49 angstrom even Oct 14 21:07:50 opkg install apache Oct 14 21:07:53 is that a thing ? Oct 14 21:08:04 Sorry for the dumb question. Oct 14 21:08:21 probably, you can check the repo before hand if you wish Oct 14 21:09:04 http://www.angstrom-distribution.org/repo/ Oct 14 21:11:39 I /think/ apache2 is already installed in most configurations Oct 14 21:14:44 that's weird.. why is /etc/profile.d owned by xuser on the 2013.09.12 flasher img Oct 14 21:16:19 I have a BBxM Rev C running Ubuntu 12.10, kernel 3.7.10-x13 and want to set the pin mux. What is the best way to do this? Oct 14 21:17:05 I have tried changing the beagle.h file but the compile fails when it gets to that file Oct 14 21:17:14 radconjon: I would set it in u-boot personally Oct 14 21:17:33 pastbin your source modifications Oct 14 21:20:50 MUX_VAL(CP(MMC2_DAT1), (IEN | PU | M4 )) /* gpio_133 */\ MUX_VAL(CP(MMC2_DAT4), (IEN | PD | M4 )) /* gpio_136 */\ MUX_VAL(CP(MMC2_DAT5), (IEN | PD | M4 )) /* gpio_137 */\ MUX_VAL(CP(MMC2_DAT6), (IEN | PD | M4 )) /* gpio_138 */\ MUX_VAL(CP(MMC2_DAT7), (IEN | PD | M4 )) /* gpio_139 */\ MUX_VAL(CP(UART2_CTS), (IEN | PU | M2 )) /* gpt_9_pwm_evt */\ MUX_VAL(CP(UART2_RTS), (IEN | PU | M2 )) /* gpt_10_pwm_evt */\ Oct 14 21:21:12 Sorry that didnt go correctly Oct 14 21:21:21 please use pastebin.com or similar Oct 14 21:24:11 if the TV i'm using doesn't have a way to disable overscan... is there some way i can trick it on the bbblack? Oct 14 21:24:56 Hope this is right - newbie here Oct 14 21:27:27 radconjon: can you pastebin the entire file beagle.h as well as the relevant error log portion? Oct 14 21:28:03 nothing immediatly jumps out in the code you pasted so far Oct 14 21:28:45 vagrantc: none that I'm aware of Oct 14 21:29:02 hrm. Oct 14 21:29:52 not a definitive answer though :P Oct 14 21:30:07 there is always a way Oct 14 21:30:13 guess the setup with a DVI adapter on a regular monitor is working better, then Oct 14 21:30:22 the question is are you able go do that yourself :D Oct 14 21:30:28 indeed Oct 14 21:31:06 if you have a working dvi monitor I'd go for that Oct 14 21:31:25 * N2TOH uses a uHDMI cable with a HDMI to DVI adapter. it works really good Oct 14 21:32:42 thurgood here is beagle.h Oct 14 21:32:45 Oct 14 21:37:37 radconjon: you can probably just paste the url without the iframe markup Oct 14 21:40:17 thurgood, did you get that second pastebin? Oct 14 21:40:47 I think your PU and PD should be PTU and PTD Oct 14 21:41:38 and add in an | EN for luck :P Oct 14 21:42:43 or | DIS Oct 14 21:43:03 rather than leaving that unset Oct 14 21:43:05 Thanks, that was the output from the TI pinmux utility but I think it might be outdated. Oct 14 21:44:01 Do you know if I need pullup resistors on the lines going to the level shifters? Oct 14 21:51:00 dunno offhand, does the spec sheet say anything about it? Oct 14 21:55:16 I have seen conflicting information, I will dig in deeper tomorrow, good news your changes worked - it compiled!! Oct 14 21:55:54 cool deal Oct 14 21:56:10 I need to build a cable to get from the BBxM to a breadboard so I may not get back to u for awhile Oct 14 21:58:04 Thank you for all your help!!! This 60 year old is wading into new waters after a career in electronics in medical research and everything up to now has beed Windows Oct 14 21:58:14 been Oct 14 22:01:31 enjoy Oct 14 22:11:12 thurgood - quick question, I hope. I have the compiled uboot on my laptop, what files do I replace on the sd card? I replaced uboot.img but that would not fire up. Oct 14 22:12:02 I think it's looking for uboot.bin Oct 14 22:12:18 thanks Oct 14 22:12:47 but the file has changed over the years so your mileage may vary Oct 14 22:13:19 tried a bigger ignitor? Oct 14 22:13:19 check with a usb-serial cable running a debug console and see what it asks for if that doesn't work Oct 14 22:13:26 prehaps a oxyacetylene torch? Oct 14 22:17:48 I will rewire it for more power:-p Oct 14 22:20:32 Thanks again, it booted up spidev 3.0 and 4.0 both still work so tomorrow I will FIRE UP on the gpio and pwm Oct 14 22:35:45 jShould gpio and pwm show up in the /dev subdirectory? Oct 14 22:38:24 not sure about pwn gpio is in/sys/class/gpio Oct 14 22:40:00 is the pwm different than the regulator? Oct 14 22:42:21 Do not know. The 3 pwm lines on the expansion header can run servos.... Oct 14 22:43:26 Do the gpio lines have their own entry in sys/class/gpio...I only have gpiochipXX entries Oct 14 22:47:14 yes, you should get gpiochipXX entries have you tried exporting yet? Oct 14 22:50:55 not yet, I think I will give up for tonight and mess with it tomorrow. Thanks again Oct 14 22:51:53 you might need sysfs support turned on in the kernel if it's not already Oct 14 22:54:26 Ahhh, something new to research....let me do my homework tomorrow and I will check back. Oct 14 22:56:16 sure, g'night Oct 14 23:02:26 Hate to quit but goodnight Oct 14 23:54:40 any clues: [ 13.863921] bone-capemgr bone_capemgr.9: failed to load firmware 'BB-BONE-TESTER-00A0.dtbo' **** ENDING LOGGING AT Tue Oct 15 02:59:58 2013