**** BEGIN LOGGING AT Thu Feb 11 02:59:58 2016 Feb 11 03:04:12 smarquis: try your question over in #beagle-bonescript .. don't think it fits with the main topics here Feb 11 03:05:58 Ok thanks! Feb 11 03:10:46 smarquis: have you tried the other pwm pins? or just that one? Feb 11 03:11:22 you might want to get whether pinMode has been set (or is default) Feb 11 03:17:20 I am trying to boot my beaglebone black with an angstrom distribution microsd card but my BBB is showing up the original Debian os only and not the angstrom image...what to do here, plz help Feb 11 03:29:19 Sujit: once you have inserted the uSD card, with the board powered OFF, you hold the S2 button by the card slot WHILE applying power to the board, until you start to see the LEDs flashing Feb 11 03:29:37 anyone seen zmatt? is he on holiday? Feb 11 03:29:39 only by this method do you force the board to read the uSD first. Feb 11 03:29:55 yates: probably eating pizza or working or sleeping. Feb 11 03:30:23 nah. Feb 11 03:30:36 he's here a lot. if he isn't, he's not. Feb 11 03:31:01 yates: right Feb 11 03:33:35 much like rcn-ee .. when he's here .. he's here :D Feb 11 03:34:38 yates: brought the work telit home :D Feb 11 03:34:50 no crappy usb on this thing .. rs232 or nawt Feb 11 03:35:10 in fact .. ttl serial lol someone stole the rs232 driver chip lol Feb 11 03:35:24 so that's ripe for direct connection to the beagle uart pins :D Feb 11 03:36:04 gm862 .. just the gprs one. Feb 11 03:37:00 I was hoping to use it for SMS when the power goes out/etc. :) Feb 11 03:45:05 veremit: actually robert answered my email already. Feb 11 03:45:18 there ya go Feb 11 03:45:27 but his answer was close to meaningless.. as far as i can tell Feb 11 03:46:03 "Odd, that's the same usb device I've been using to setup a demo on a bbg.. I've been using the v4.1.x-rt-ti branch.." Feb 11 03:46:08 that's it.. Feb 11 03:46:29 he's probably overloaded and spent 41 seconds on it... Feb 11 03:47:46 i guess we're all supposed to use his branch? or what? what is the take-away? Feb 11 03:51:15 what branch are you using? Feb 11 03:51:21 3.8 *laugh* Feb 11 03:51:38 kidding :p Feb 11 03:53:06 am33x-v4.4 Feb 11 03:53:42 you own special or some mainline derivative .. Feb 11 03:54:02 really gotta be very careful with patches and such with these arm boards Feb 11 03:55:42 ok I must zzz .. been up 30-odd hours :/ need rest .. bbl sometime .. eventually :D Feb 11 03:55:46 niters o/ Feb 11 03:56:17 night veremit Feb 11 03:56:40 it's from bb-kernel repo Feb 11 03:57:06 hmm .. if it were me, I'd be starting form 4.1-ti I have to confess Feb 11 03:57:13 anyhow.. zzz .. good luck! Feb 11 04:49:54 so it appears the kernel driver driver/musb_cores.c issues a Babble message when it gets a babble interrupt from the am3352 usb peripheral. Feb 11 04:50:20 what sorts of things cause the am3352 usb peripheral to generate babble interrupts? Feb 11 04:52:33 i see no documentation on that in the am335x trm Feb 11 04:58:00 does the BBB have the same built-in JTAG over USB debugger that the beaglebone has? Feb 11 04:58:49 kremlin: i think so Feb 11 04:59:01 but we don't have that on our board Feb 11 04:59:27 what do you mean Feb 11 05:00:06 well, maybe we do. i need back backpedal Feb 11 05:00:20 is that function built into the am335x? Feb 11 05:00:28 into its usb peripheral, that is? Feb 11 05:00:40 yes Feb 11 05:00:51 the one where you do not need to buy a $100 JTAG debug board Feb 11 05:01:06 this: http://beagleboard.org/static/Docs/ccs-jtag-simple.htm Feb 11 05:02:43 so then, yes, we do. Feb 11 05:03:20 oh i'm confused. you are not commenting on my problem, are you? Feb 11 05:03:29 oh, shit, hahaha Feb 11 05:03:33 no i am not Feb 11 05:03:34 sorry Feb 11 05:03:41 no, the mistake is mine. Feb 11 05:04:25 yes, i've read that it does have that ability. that's apparently why they didn't bother to populate the jtag connector on the board. Feb 11 05:05:13 oh, shoot Feb 11 05:05:17 from the wiki: "There is no JTAG over USB support on the BeagleBone Black. The BeagleBone Black is different than the BeagleBone. JTAG is an uninstalled option." Feb 11 05:12:06 kremlin: that is a little unclear, imo Feb 11 05:12:16 yes but Feb 11 05:12:28 upon further resaerch Feb 11 05:12:43 there is a 20 pin pad header on the bottom onto which you solder a specific connector Feb 11 05:12:59 a ribbon cable attaches to it which attaches to a seperate debug board Feb 11 05:13:07 which connects to the host machine via USB Feb 11 05:13:07 kremlin: yes, that's correct Feb 11 05:13:12 yes Feb 11 05:13:16 indeed i have one of those Feb 11 05:13:30 xds100, i believe Feb 11 05:13:54 they're only about $80 Feb 11 05:13:58 not too bad Feb 11 05:14:01 :( Feb 11 05:14:13 back in the 90's, a jtag debugger for the TI dsps was $4000 Feb 11 05:14:28 heh Feb 11 05:14:37 i am still out of beer money for a few weeks Feb 11 05:15:44 https://www.digikey.com/product-detail/en/TMDSEMU100V2U-20T/296-31067-ND/2261950 Feb 11 05:15:51 just ordered :) Feb 11 05:16:09 :) Feb 11 05:22:42 hello sir am using beagle bone black Feb 11 05:23:19 for that i need to install ubuntu version what is the correct procedure for that Feb 11 05:28:51 veremit: do you have any knowledge of the musb driver drivers/musb_core.c ? Feb 11 05:29:02 oh wait, you want to sleep.. Feb 11 05:29:07 well, anyone then? Feb 11 05:31:11 nobody can sleep when having musb on his mind Feb 11 05:42:58 no konwledge about that sir Feb 11 05:43:24 sir how can i use extra storage memory card in bbb Feb 11 05:58:30 sir Feb 11 05:59:10 how can i make the board always boot from sd card Feb 11 06:20:34 av500: you got that right Feb 11 06:21:36 Robert responded to an email on this babble problem with: "Odd, that's the same usb device I've been using to setup a demo on a bbg.. I've been using the v4.1.x-rt-ti branch.." Feb 11 06:22:11 is he implying the musb_core.c is patched in this kernel version to work around this problem? Feb 11 06:23:10 why wouldn't it be in my am33xx 4.4 ? Feb 11 06:24:19 yates: I worked with TI Socs for a decade, musb problems was always with us Feb 11 06:25:01 oh that's discouraging... Feb 11 06:25:33 I looked into the drivers/musb_core.c driver tonight (very roughly) and it appears that the babble message comes from receiving a babble interrupt from the AM335x on-board USB peripheral. Feb 11 06:25:52 f that is the case, how can any patch or kernel version fix this problem? Feb 11 06:26:08 It appears what we need to do to fix our problem is understand what causes the AM335x USB peripheral to generate this interrupt, e.g., does it monitor power variations, DM/DP voltages, etc., or what? Feb 11 06:26:37 or is my logic flawed? Feb 11 06:27:40 i've seen at least one patch that attempts to restart the bus and reenumerate the devices. i guess that's one thing you can do. Feb 11 06:28:42 what does "musb" even mean? what is the "m"? Feb 11 06:29:28 basically usb OTG? Feb 11 06:30:16 av500: ? Feb 11 06:31:05 zmatt: ? Feb 11 06:31:08 help!!!! Feb 11 06:38:13 what does "musb" even mean? what is the "m"? Feb 11 06:39:40 why does no one want to answer me? Feb 11 06:39:46 am i ignorant? Feb 11 06:39:52 are they ignorant? Feb 11 06:40:10 what? Feb 11 06:40:20 busy with the kids and wife? Feb 11 06:40:25 the pain is too much Feb 11 06:40:42 vagrantc: oh but i LIKE pain... Feb 11 06:40:55 don't you? Feb 11 06:40:58 :) Feb 11 06:41:13 in appropriate times and places Feb 11 06:43:51 what is it that's painful? Feb 11 06:43:57 my questions? Feb 11 06:44:11 the usb subsystem? Feb 11 06:44:14 there is a pact of silence Feb 11 06:44:16 * vagrantc waves Feb 11 06:44:59 er, bye... Feb 11 06:45:03 silent one. Feb 11 06:50:44 What is the signal level corresponds to 1 bit output PRU? Feb 11 06:52:33 probably 0/3.3v? Feb 11 06:56:00 Yes, i think same. But, when i check pin p9_27(mode 5, 0x05) and set 1, multimeter shows 0. Feb 11 06:59:55 yates: m = mentor Feb 11 07:00:06 the company that made that USB IP core Feb 11 07:00:10 er, core IP Feb 11 09:06:03 yates: I have actually answered that Feb 11 09:07:14 full name is actually musbmhdrc Feb 11 09:07:37 (Mentor USB msomething highspeed dual-role controller) Feb 11 09:15:09 ah, multi-point Feb 11 09:15:38 m = mental Feb 11 09:15:44 lol Feb 11 09:23:51 Guys, need your help. Can i use only one byte memory on PRU for assembler and C code? I used c24+1 and changed the value from C code, but assembler no reaction on change. Feb 11 09:33:35 your question is too vague to give any useful answer, but your hypothesis is obviously nonsensical: the PRU can of course fully access the various data RAMs Feb 11 09:43:11 * av500 uses the 16550 UART scratch register for data exchange Feb 11 09:46:08 hehe Feb 11 10:03:25 My mistake. Most likely misspelled code on assembler. =( Feb 11 10:27:49 av500: aha. Feb 11 10:29:06 zmatt: i'm a human, not a computer, but thanks again. Feb 11 10:30:45 old 8085 instruction: XCHG Feb 11 10:30:57 (HL with DE) Feb 11 10:34:00 zmatt: do you know anything about the usb babble message emitted by musb_core.c? namely, on the am335x platform, isn't that a result of a babble interrupt from the am335x usb peripheral? Feb 11 10:45:12 I forgot to clean up SYSCFG =(( oh my... Feb 11 10:57:13 is the musb_core.c driver only used for the TI SoCs? Feb 11 10:58:50 yes (or at least "products from TI"). Feb 11 10:58:57 "This version of the driver has only been used with products from Texas Instruments." Feb 11 10:59:01 thanks yates! Feb 11 10:59:06 yer welcome... Feb 11 11:05:44 xD Feb 11 12:57:33 good afternoon Feb 11 12:57:47 ladies and gentelman Feb 11 13:05:29 hello there Feb 11 13:05:55 how can i install kernel source code Feb 11 13:06:34 bye all Feb 11 13:07:44 i am trying to do that now Feb 11 13:11:53 anybody? Feb 11 13:13:16 hello ... its urgent.... Feb 11 14:22:44 6 minutes and he's gone... Feb 11 14:36:00 heh Feb 11 14:36:08 thats how they roll Feb 11 14:45:28 neko iz Bosne Feb 11 14:45:30 za razgovor Feb 11 14:45:32 bilo ko Feb 11 14:45:33 ??? Feb 11 15:19:27 "Don't flag your question as 'Urgent', even if it is for you. That's your problem, not ours." -- How To Ask Questions The Smart Way Feb 11 15:49:08 hey there Feb 11 15:49:59 I would like to ask about the ethernet on BeagleBoard-X15 Feb 11 15:50:40 Is the ethernet connected via a USB controller to the board or via an ethernet controller? Feb 11 15:51:01 i'm fairly certain it's not via usb Feb 11 15:52:06 I tried to look at the schematic of the board and it seems it doesn't have an ethernet controller on board Feb 11 15:52:49 Do you know where I can find the conformation on the controller Feb 11 15:57:21 hi Feb 11 15:57:56 Hi i like to know BeagleBone Black can use as a Ethercat master? Feb 11 15:59:16 https://www.youtube.com/watch?v=oF8fHxd34yY Feb 11 16:00:42 any guys know about it Feb 11 16:07:26 hi Feb 11 16:08:18 vagrantc: since Oped was too impatient to wait for an answer: x15 has real ethernet, slightly newer version of same subsystem as on the bbb, but this time both ports are connected to gigabit PHYs Feb 11 16:11:42 My BBB is on Debian 4.15 - I have compiled my device tree overlay but when I try to enable it I get sh: echo: I/O error - what is the correct way to write to slots? Feb 11 16:12:24 when will beaglebone x-15 will release Feb 11 16:14:24 hai when will beaglebone x-15 release in market Feb 11 16:14:42 hello anybody is there Feb 11 16:16:26 I'm here - are you? Feb 11 16:21:18 haha Feb 11 16:31:56 twoten: the old way of loading overlays (mildly abusing capemgr) should still work the same, and there's new also an official non-bbb-specific mechanism using configfs Feb 11 16:33:02 make sure cape-universal is disabled since it will likely conflict with pretty much any overlay Feb 11 16:33:25 also, make sure cape-universal is disabled since... eww. Feb 11 16:34:45 maybe check the main dts(i) files whether there's been any change to things you reference in your overlay Feb 11 16:35:37 other than that I don't have much advice... I never really use overlays, although I know they work Feb 11 17:27:11 just got back from walking my dog Feb 11 17:27:38 * ogra_ hopes its a beagle at least Feb 11 17:28:24 zmatt: thanks again - this is the only non-trivial entry in my slots file: Override Board Name,00A0,Override Manuf,cape-univarsaln Feb 11 17:28:32 greyhound Feb 11 17:29:02 so I guess I do have cape-univarsal enabled Feb 11 17:30:01 I put my cape entry into /etc/default/capemgr - I wonder how to do I cause it to load? reboot? Feb 11 17:36:51 twoten, /etc/default/capemgr is read at boottime... so a reboot.. Feb 11 17:37:40 correction, it's read by an init script at boot tiem.. ;) Feb 11 17:40:15 okey dokey! Feb 11 17:44:54 every time I log in I have to set my network dns address to my router - is there a way to make it stick once and for all? Feb 11 17:45:38 dhcp broken? Feb 11 17:46:07 always some crazy number Feb 11 17:51:49 I rebooted and still my overlay does not appear in slots Feb 11 17:52:32 dmesg | grep capemgr reports that it tried to load it but: slot #4: failed to resolve tree Feb 11 17:53:27 I'll try it with a built in overlay instead of my custom one Feb 11 17:54:03 what are the surrounding debug messages/ Feb 11 17:54:23 "it doesn't work" doesnt' really help .. "why doesn't it work" is the natural follow-on question .. Feb 11 17:54:59 part_number 'BB-1WIRE-P9-22', version 'N/A' Feb 11 17:55:14 slot#4: override Feb 11 17:55:35 Using override eeprom data at slot 4 Feb 11 17:56:25 slot #4,: 'Override Board Name,00A0,Override Manuf,BB-1WIRE-P9-22' Feb 11 17:56:49 slot #4: Failed to resolve tree Feb 11 17:57:28 part_number 'cape-universaln', version 'N/A' Feb 11 17:57:48 slot #5: override Feb 11 17:58:08 Using override eeprom data at slot 5 Feb 11 17:58:12 twoten, post your full dmesg on pastebinit ;) Feb 11 17:58:47 slot #5: 'Override Board Name,00A0,Override Manuf, cape-universaln' Feb 11 17:58:58 good idea Feb 11 17:59:12 twoten, btw, also compare against: https://github.com/RobertCNelson/bb.org-overlays/blob/master/src/arm/BB-W1-P9.12-00A0.dts Feb 11 17:59:18 as i know that one works.. Feb 11 18:03:06 pastebin.com/SDy3rTV6 Feb 11 18:03:51 twoten, wrong dtc version.. line 299... Feb 11 18:04:03 use /usr/local/bin/dtc Feb 11 18:04:51 we left /usr/bin/dtc for legacy 3.8.13 based kernel's.. Feb 11 18:05:22 oh, so I run it from a terminal? Feb 11 18:05:55 or clone https://github.com/beagleboard/bb.org-overlays/ Feb 11 18:06:10 copy your *.dts to ./bb.org-overlays/src/arm Feb 11 18:06:17 then from ./bb.org-overlays/ Feb 11 18:06:23 type "make ; sudo make install" Feb 11 18:06:50 and if you need the newer dtc, run "./dtc-overlay.sh"... Feb 11 18:06:55 I just did that clone this morning Feb 11 18:07:28 so I take it that I compiled my device tree file with the wrong dtc? Feb 11 18:07:48 yeap... Feb 11 18:08:20 wow, thanks for saving me weeks of rolling a boulder up hill in hell! Feb 11 18:08:59 but also compare against the other onewire example, as the "&gpioX" value of X is now 'correct' vs one of in 3.8.x Feb 11 18:09:59 gotcha, and then compile with the write one - will the priveledged echo then work without the rebooting? Feb 11 18:10:29 twoten, as long as cape-univeral is loaded it wont... as there will be a pin conflict... Feb 11 18:10:44 you can disable that in /boot/uEnv.txt look for 'cape_universal=enable'.. Feb 11 18:11:00 excellent, thank you very much! Feb 11 18:19:07 okay I disabled cape_universal, recompiled my dts and copied it into /lib/firmware and rebooted Feb 11 18:24:45 Ha! dmesg reports no cape_universal loaded and BB-1WIRE loded successfully Feb 11 20:45:21 Hello all. I'm trying to get plymouth splash screen working on a BeagleBoneBlack and it seems to be failing on boot. I'm unsure how to proceed and would appreciate some help. I think the crash comes when plymouth tries to start using the frame buffer but I'm unsure of how to intrepret the crash. I would very much appreciate some assistance and hope this is the correct method to try to get help. plymouth logs: http://pastebin Feb 11 20:45:55 startup logs: http://pastebin.com/LrbHaQUx uEnv.txt args: optargs=splash plymouth:debug plymouth.ignore-serial-consoles Feb 11 21:15:39 hello Feb 11 21:15:48 can someone help me Feb 11 21:19:42 What's up Alex? Feb 12 00:26:55 apparently alex didn't hang around for very long. Feb 12 00:38:30 Guess not! Feb 12 00:48:42 Oh well you can't get answers if you ask for help and disappear. Feb 12 01:14:00 <60 seconds. amazing the lack of patience in the world these days... Feb 12 01:15:31 so no one knows a magic bullet for Ye Old USB Babble Interrupt? Feb 12 01:15:42 we're dying on the vine, here... Feb 12 01:16:20 https://e2e.ti.com/support/embedded/linux/f/354/t/489649 Feb 12 01:19:00 "babble killed our project" Feb 12 01:19:48 i know: everyone here knows but they're keeping it a secret! Feb 12 01:21:24 no one wants to acknowledge the pink elephant in the room... Feb 12 01:21:35 bad for business... Feb 12 01:28:03 50cal should get rid of the interrupt Feb 12 01:59:35 yates: I've seen babble too, though it was on a flaky prototype board and didn't return on later ones Feb 12 02:01:25 the root problem is presumably electrical in nature, but it's hard to say more than that Feb 12 02:08:15 yates: and the brittleness of usb on the bbb is hardly a secret... it gets regularly mentioned here :P though I must admit so far it usually seemed to be working for me (except on that one board) Feb 12 02:11:49 apparently it was worse in the past -> http://logs.nslu2-linux.org/livelogs/beagle/beagle.20150207.txt Babble and VBus errors are probably the most common (that i've personally experienced). the `musb' host driver has had a ton of work that helps on both accounts. Feb 12 02:18:02 yates: ah, someone helpfully dumped the musb core docs online -> http://dl.linux-sunxi.org/users/tom/musbmhdrc_pspgUSB.pdf Feb 12 02:51:37 o,o Feb 12 02:51:53 reverse engineer, zmatt, immediately ! :P **** ENDING LOGGING AT Fri Feb 12 02:59:58 2016