**** BEGIN LOGGING AT Sun Jun 29 02:59:59 2014 Jun 29 04:13:57 Is it OK to ask a Newbe question here? Jun 29 04:19:52 yes Jun 29 04:21:09 hi Jun 29 04:42:12 .wiki beaglebone black Jun 29 04:54:56 Hi All, I've been tinkering with the Rev.C of the BBB and everything just works when it comes to booting Ubuntu/Debian etc....however on my A5A BBB I can only boot/flash the Angstrom EMMC image. Jun 29 04:55:28 It's odd that my BeagleBone white, and BBB rev.C boot them just fine, so it looks like an issue with the A5A itself Jun 29 04:55:31 any thoughts? Jun 29 04:59:18 eMMC size? Jun 29 04:59:26 the A5A is the 2gb Jun 29 04:59:51 I know, I meant as possible cause Jun 29 05:00:44 Agreed, however I've also tried straight booting to SD cards, and that doesn't seem to work. I just got the debian netinstaller to work...which is really weird Jun 29 05:00:53 hmm Jun 29 05:00:57 but, once it's up and running it doesn't see the mmc card, but the netinstaller is kinda weird Jun 29 05:01:23 I was thinking it's an oddity with the u-boot on the older chips, and they're so old the new software doesn't quite support some aspect of them. Jun 29 05:01:51 so replace by latest u-boot? Jun 29 05:02:16 I believe I had done that, the process when I flash the 9/2013 ansgstrom should do this correct? Jun 29 05:02:27 no idea Jun 29 05:02:44 I believe it does as I see u-boot "dirty 2013" on the board right now. Jun 29 05:03:11 I'm going to tinker with copying the boot of the netinstall/angstrom and seeing if I can't make that work. Jun 29 05:04:14 I think the A5A shipped in 20...12ish. Jun 29 05:04:57 I guess the part that weirds me out is that the debian beaglebone image from their site isn't detected but the angstrom works just fine Jun 29 05:05:18 their = the offical images Jun 29 05:05:45 even by the bootloader? that is weird Jun 29 05:06:03 yep, but angstrom flashes/sets up just perfectly Jun 29 05:06:18 what's output on the serial console if you try debian? Jun 29 05:06:28 it's as if no SD card is in the device Jun 29 05:06:37 just immediately boots to the angstrom distro Jun 29 05:06:56 I was thinking it was a bad flash, so I did it a couple of times just to test, and that didn't seem to be it. Jun 29 05:07:35 The only 3rd party image I can get to sorta work is that debian netinstaller that is referenced on elinux Jun 29 05:07:59 hmm, wait, does the angstrom image have its own MLO ? does the debian image ? Jun 29 05:09:06 I believe it does, so I'm thinking something in the older MLO/u-boot has a hook that the older boards like, that somehow was removed when the newer boards started to come out Jun 29 05:10:13 "it" ? angstrom? debian? both? and "believe" ? it's rather easy to spot a file named "MLO" sitting in the boot partition :P Jun 29 05:10:52 ;) I am flashing the image to the card right now, I had just blanked it. So "testing" in progress. Jun 29 05:11:50 hold on, gonna check a bit on how they did the booting sequence... I have to admit, haven't had much play time with my BBB yet (and I've currently lent it out to someone... but I'm getting it back *with* JTAG connector soldered on so that's a good deal ;) Jun 29 05:13:49 ok, looking at a formatted 2013.09 angstrom image and it does have the MLO file Jun 29 05:14:02 Let me get the debian image open Jun 29 05:16:04 I just realized it's kind of odd usb boot mode isn't used for reflashing the device directly over usb... seems to be that would be a lot more convenient than using an sd card Jun 29 05:16:12 *seems to me Jun 29 05:16:52 I totally agree, or just some "other" method would be useful as that really takes out the SD card issues that happen from time to time Jun 29 05:17:03 I recall an old bug with the HC SD cards and the BeagleBone Jun 29 05:17:06 but that was long long ago Jun 29 05:17:40 usb is probably most convenient... serial would be slow as fuck probably Jun 29 05:18:02 it can boot over ethernet as well, but setting up BOOTP and TFTP servers can be a pain Jun 29 05:18:56 Yeah, I'm at that "I have a C, so is it worth it?" mode. Jun 29 05:19:19 getting the debian offical image now, going to do some comparing Jun 29 05:19:42 This is what you get for getting an early board from the first releases ;) Jun 29 05:20:07 together with NFS-root that works nice for developing boot images though: the whole system was on my laptop so I could edit it locally, and to try out a new u-boot or kernel all I needed to do was press the reset button Jun 29 05:20:15 I have an A5A too Jun 29 05:20:35 oh cool, I was hoping to find someone with one just to see if I wasn't crazy Jun 29 05:20:46 but as I said, I lent it out Jun 29 05:21:02 I expect to have it back soon though, with a bit of luck on monday Jun 29 05:21:13 I was also thinking maybe I blew up the EMMC, but that shouldn't prevent the Sd from booting Jun 29 05:21:24 had to wait longer than expected because the Samtec was being annoying about delivering the JTAG connector Jun 29 05:21:28 I've never seen the EMMC fail, but I'm assuming I'd see a lot of interesting errors Jun 29 05:22:47 odd, not sure why they'd be concerned over it. Jun 29 05:24:23 probably due to small quantity, though they hadn't had problems with that in the past... they also didn't send any notification, he just found his order cancelled when he checked on it a while after ordering Jun 29 05:26:12 hm, which cpu revision is on the A5A ? A or B ? (between the "AM3359" and "ZCZ") Jun 29 05:27:27 Looking at the docs XAM3359AZCZ100 Jun 29 05:27:49 ok, so at least A and not initial revision Jun 29 05:28:14 Looks like A4 was...at least by elinux wiki page Jun 29 05:28:37 A4 ->A4A->A4B->A5A Jun 29 05:29:35 yeah, A5A schematic agrees, ok so no issue there Jun 29 05:33:17 Looking at the layouts of the two images, the layout is different, but both have a MLO, uboot Jun 29 05:34:19 hey, they changed one of the SYS_BOOT strapping options Jun 29 05:34:32 AH! that might be it. Jun 29 05:34:41 no wait Jun 29 05:34:45 sorry, my bad Jun 29 05:34:56 looking at the MD5sums of the u-boot.img and MLO they're different, but I'm not yet sure why Jun 29 05:35:16 u-boot.img is second stage u-boot, loaded by MLO Jun 29 05:35:28 MLO is always called MLO Jun 29 05:35:55 The layout on the images is quite a bit different Jun 29 05:36:58 still, if it has MLO then it should boot from SD if you power up with the boot-button held Jun 29 05:37:22 Yep, I'm seeing if there is any differences in the locations Jun 29 05:37:52 on the Debian image the BEAGLE_BONE folder has a lot of extra stuff, but I see the MLO Jun 29 05:38:12 uEvn.txt has quite a bit more in it though Jun 29 05:38:19 hrm...let me see about blanking that Jun 29 05:39:51 MLO is hopefully not inside that folder? Jun 29 05:39:54 hrm, I think this might be it. I see the old angstrom has one line just saying to be quiet on the optargs, the debian image has quite a bit of instruction etc. Jun 29 05:40:30 yes MLO on both images is in the BEAGLE_BONE folder (which would show up as the first partition) I'm mouting these in Linux trying to see if I can find any obvious differences Jun 29 05:40:38 ah ok Jun 29 05:40:40 hmz Jun 29 05:40:59 Haha, sorry yes, I see the BEAGLE_BONE and eMMC-Flasher on both images when mounted directly under linux Jun 29 05:41:18 oh awit Jun 29 05:41:20 both have all the files in the right places, but the debian image has a lot of additional configuration Jun 29 05:41:22 that's the MLO to be flashed Jun 29 05:42:06 I'm looking at the files under BEAGLE_BONE exclusively Jun 29 05:42:39 as the emmc stuff shouldn't matter as it gets called much later in the boot process i.e. once linux is up and running the shell script runs Jun 29 05:43:29 I'm going to drop the files from the netinstaller image I got to work and see what's in there Jun 29 05:43:51 I guess I don't understand what you mean by "BEAGLE_BONE folder (which would show up as the first partition)" then Jun 29 05:44:12 do you mean first partition of the SD card? is BEAGLE_BONE your mountpoint then? Jun 29 05:44:31 Looking at the SD card/img by mounting to Linux shows two partitions BEAGLE_BONE which is the boot partition and eMMC-Flasher which is a second partition Jun 29 05:44:39 ah ok Jun 29 05:44:58 hm so then we're back to, why doesn't ROM see the MLO Jun 29 05:45:24 right. I'm going to see if I can't see if the netinstall debian has some magic in it that I can borrow Jun 29 05:45:40 do you have a serial cable btw? console output would be very useful to have Jun 29 05:45:49 yep, I have the adafruit cable Jun 29 05:46:17 sadly not as useful as I wanted it to be as it just seems to ignore the SD card Jun 29 05:46:30 because there are many options here... first I thought the fact that it "ignored the SD" meant ROM doesn't see MLO Jun 29 05:46:32 I'm going to try and cap the information from the netinstall of debian to see if something different happns Jun 29 05:46:42 but it can also mean MLO from the SD continues to boot from eMMC Jun 29 05:46:54 most interestingly I'm curious if the env has some extras set in it. Jun 29 05:47:56 It shouldn't be able to see emmc as it's ext4 until the kernel boots anyway Jun 29 05:48:22 well, eMMC won't be entirely ext4 Jun 29 05:48:28 since ROM can't boot from that Jun 29 05:49:12 the BEAGLE_BONE folder is fat, the emmc looks like ext4. I'll confirm that in a second, haha trying to tinker with one too many things. Jun 29 05:55:02 pff, I think I'm going to give up for now, when I get my bbb back I can try myself :P Jun 29 05:55:57 No worries, I'll swing back in more often and see if I make some progress Jun 29 05:56:00 cheers, thanks again Jun 29 05:57:57 ROM can be fiddly about the partitioning and MLO... maybe TI fixed something there in cpu revision B without mentioning it in the errata Jun 29 07:20:36 what did i miss Jun 29 07:22:07 nothing Jun 29 07:23:16 unacceptable Jun 29 07:25:10 http://abstrusegoose.com/116 Jun 29 07:56:39 ding Jun 29 08:18:43 v h .. Jun 29 08:19:01 hello master swiss troll KotH Jun 29 10:27:13 Two days ago I saw adafruit had the BBB in stock then yesterday, it disappeared Jun 29 10:32:14 * tbr is not surprised Jun 29 10:32:24 they get shipments, people buy them, they run out. Jun 29 10:34:51 I seem to have lost one, and so I urgently need one Jun 29 10:35:22 digikey is no longer offering any beaglebone black Jun 29 10:35:34 it just didn't remove it from their site Jun 29 10:35:45 too bad, shipment was fast Jun 29 10:36:05 farnel is offering them at 19 Aug Jun 29 10:38:18 Maybe I lost it at fosdem Jun 29 10:44:09 place orders in a few places and cance once one ships? Jun 29 10:47:55 btw, did anyone here use the BBB as a miracast device? Jun 29 10:50:27 given that it doesn't have hardware encoders/decoders, that might be hard Jun 29 11:13:49 doesnt the OMAP have hw acceleration to some audio/video? Jun 29 11:13:56 I has a DSP... Jun 29 11:16:22 I was thinking of adding a timer to a press button I use. If I press the button for 3 sec - it will pulse the reset pin Jun 29 11:16:42 Can I achive this without adding a hardware timer? Jun 29 11:52:10 cityoflights2: OMAP3 had, the SoC on the BBB is NOT an OMAP3 Jun 29 13:47:14 tbr: is gstreamer preforming bad on the BBB? Jun 29 14:09:49 cityoflights2: it is running on the ARM core Jun 29 14:10:20 I will not qualify if the results are good or bad. Jun 29 14:10:40 I am seeking to try http://www.freedesktop.org/wiki/Software/miracle/ Jun 29 14:39:05 can't boot or usr boot beagle bone. libphy: PHY 4a101000.mio:01 not found and net eth0: phy 4a101000.mdio:01 not found on slave 1 any guesses? Jun 29 14:39:55 flash drive is formatted FAT 4 gb with debian emmc flasher Jun 29 15:28:04 how u know it aint booted Jun 29 15:28:27 as those messages apear in my boot logs also and it is right at the end when it has finished booting Jun 29 17:04:02 Gah I can't get to my BBB's IP address Jun 29 17:04:22 No SSH, no browser access, nothing Jun 29 17:05:21 It started after I made a firewall rule allowing it to communicate with my PC, but even with the firewall deactivated they can't talk to each other Jun 29 17:05:54 When I ping my BBB it says "Destination net unreachable" Jun 29 17:12:44 anyone know why a freshly flashed beaglebone's web server wouldn't be working? Jun 29 17:20:40 jkjhj: if you flashed something that doesn't have a webserver, sure. Jun 29 17:23:45 jkjhj: can you even ssh to it? Jun 29 17:24:26 tbr sorry about yesterday i was drinking lol Jun 29 17:25:13 mkay Jun 29 17:27:42 nope Jun 29 17:27:44 can't ssh Jun 29 17:29:06 tried 192.168.7.2 on port 22 Jun 29 17:30:21 hi guys i need some help. I am trying to get a servo sweep demo using this c/c++ library for the beaglebone black and cannot get it to work. here is the library i am using: https://github.com/VegetableAvenger/BBBIOlib Jun 29 17:30:39 well, then you don't have a webserver, but a network problem or something else, like the image not booting. Jun 29 17:31:06 I am able to sweep the servo using the adafruit bbio library to make sure there wasnt an issue with the servo which worked Jun 29 17:32:09 deluxe247: you prepared the overlay and activated it as documented (the latter on every boot) Jun 29 17:32:33 tbr, I compiled the overlay and echoed it into the slots Jun 29 17:33:11 and it activated properly? Jun 29 17:33:12 bbb is booting from emmc. the default webserver looks configured Jun 29 17:33:40 I checked by connecting the bbb to hdmi with keyboard/mouse Jun 29 17:33:49 jkjhj: let's get the basics first: which distribution did you flash to eMMC? Jun 29 17:34:08 debian Jun 29 17:34:10 tbr, good question. let me attempt again to make sure Jun 29 17:34:33 deluxe247: or otherwise, elaborate on "cannot get to work" Jun 29 17:36:01 tbr, like you said it may come down to the overlay being loaded properly. I must have tried to load the overlay like ten times initially so let me reboot and try from a clean startup Jun 29 17:38:58 tbr, http://pastebin.com/QAHvyCqs here is the overlay loaded. I dont see any issues looking in dmesg Jun 29 17:39:34 deluxe247: ok, then elaborate on "doesn't work" Jun 29 17:41:26 tbr, looking at the servo motor demo they are using ehrpwm0a which should be p9_22 and i have attached my signal etc and confirmed the servo can sweep through python. however using the servo motor demo from this library produces nothing Jun 29 17:42:08 "produces nothing", elaborate Jun 29 17:42:23 tbr, no movement in the servo at all Jun 29 17:43:09 not sure how would i test the pin to see if it is producing the desired output as I only have a multimeter Jun 29 17:43:53 deluxe247: and the binary returns nothing? Jun 29 17:43:59 any spare pin headers lying around? Jun 29 17:45:03 tbr, running the servo motor demo produces output showing the angle and duty cycle it is sending but that is it Jun 29 17:45:25 jkjhj, where you referring to me? if so I have headers lying around Jun 29 17:48:25 deluxe, yeah. sorry I misunderstood what you meat by output. headers won't help really. Jun 29 17:52:38 any ideas on how else i can test this? Jun 29 17:53:24 are you using pwm to drive the servo/ Jun 29 17:53:26 ? Jun 29 17:54:46 yeah Jun 29 17:55:11 works using python library not interested in python though Jun 29 18:05:27 hmm Jun 29 18:06:24 are you trying to test the output of the pins or the motor? Jun 29 18:06:44 Also, how are you using the pinmux? Jun 29 18:07:53 im just trying to drive the servo motor using a pwm signal as I would with an arduino. I know it works using python. just not sure why it did not work using this libraries demo Jun 29 18:09:48 jkjhj, how can i check the pinmux? would that be through the overlay that i loaded? Jun 29 18:12:33 I just got my beaglebone, so this may be unreliable, but hopefully this will help Jun 29 18:12:35 https://groups.google.com/forum/#!topic/beagleboard/AKHfQIuDdZI Jun 29 18:21:59 I haven't even figured out how to program the pins in C yet Jun 29 18:23:36 that was the reason for me using the library so i could start coding Jun 29 18:24:46 I wish there was more documentation on the system architecture. They make it so difficult to figure out how to use the pins Jun 29 18:28:45 Derek Molloy has some great tutrotials on youtube Jun 29 18:29:32 yeah i have watched a majority of them twice already. I just wish there was more on using pwm etc Jun 29 19:31:30 I'm trying to get my BBB displaying on my moto lapdock. It has a native resolution of 1366x768, but the bbb defaults to a lower resolution (720x576). I have tried setting the video= parameter to the kernel boot args, as well as capemgr.disable_partno=BB-BONELT-HDMI. I have also set drm.debug=7, and reading dmesg, I see a line where the BBB sees two different 1366x768 resolutions and rejects them. How can I force 1366x768? Jun 29 19:38:32 what did you set video = ? Jun 29 19:39:24 video=HDMI-A-1:1366x768@60 Jun 29 19:39:46 That causes a blank screen Jun 29 19:40:03 try adding your color depth Jun 29 19:40:22 probably -16 Jun 29 19:40:42 1366x768x-16? Jun 29 19:41:09 1366x768-16@60 Jun 29 19:43:45 Question about Debian Jessie on the Beaglebone Black, are the SGX drivers working on this setup? Jun 29 19:44:17 thurgood_: that didn't work, stil black screen Jun 29 19:44:41 what screen are you using that uses that res? Jun 29 19:45:25 moto lapdock for the atrix/bionic phones Jun 29 19:46:16 It has a hdmi connection and a usb connection that enumerates as a hub, keyboard, and mouse Jun 29 19:47:34 it also has a battery, and provides 5v back on the usb lines Jun 29 19:47:44 ah Jun 29 19:48:20 the goal is to make a dev laptop w/ great gpio support Jun 29 19:48:34 but the low res is killing me! Jun 29 19:49:19 does dmesg give any info about why it's rejecting the settings? Jun 29 19:51:15 no, just that it did reject Jun 29 19:51:29 something something prune invalid Jun 29 19:51:55 I'm running a 3.14 kernel on Arch. Jun 30 02:04:57 * zsnafu waves **** ENDING LOGGING AT Mon Jun 30 03:00:00 2014