**** BEGIN LOGGING AT Mon Jun 12 03:00:02 2017 Jun 12 09:01:20 Can we get GPIO PINOUT for Beaglebone Blue? Jun 12 09:17:58 ebrain: schematics can be found here: https://github.com/beagleboard/beaglebone-blue Jun 12 10:10:25 good morning everyone, i have a question. when someone makes their own board with the 3358 chip (like the one used in beagle), how much is already in the rom of that chip concerning bootup? Jun 12 10:10:40 its not totally empty, is it? Jun 12 10:56:06 if ROM were empty, you'd have a paperweight :) Jun 12 10:56:38 the boot ROM of the AM335x is literally that... read-only memory Jun 12 10:58:32 sure sure Jun 12 10:59:04 ROM can load a program from SD/MMC, NOR flash, raw NAND flash, SPI flash, ethernet and ethernet-via-usb (BOOTP/TFTP), and uart (XMODEM) Jun 12 10:59:19 refer to the fine TRM for details :) Jun 12 10:59:26 so, technically, if i take out the 3558 from a beagle and solder a new one on there, it would already work, right? Jun 12 10:59:52 sure, but why would you want to do that? Jun 12 11:00:19 i just want to know if i have to do something with a jtag or something before that would work Jun 12 11:00:45 no, although jtag can be useful when bringing up new hardware for the first time Jun 12 11:02:45 the am335x itself has no programmable non-volatile settings (I'm ignoring "customer eFUSE" here since it's disabled on generally available AM335x parts) Jun 12 11:04:05 ok, so you can boot via ethernet over usb but thats not at all the same as a usb disk drive, right? Jun 12 11:04:16 no Jun 12 11:05:04 oh Jun 12 11:05:23 in that mode the beaglebone appears as usb *device*, specifically an RNDIS network interface Jun 12 11:05:27 and then performs netboot via that Jun 12 11:22:28 is the ethernet a gig? or 10/100? Jun 12 11:23:00 is ethernet a gig or 10/100? Jun 12 11:23:19 on the Beagle Board Jun 12 12:08:04 Is this the latest uBoot build instruction for the x15, that branch seems rather old? http://elinux.org/Beagleboard:BeagleBoard-X15#U-Boot Jun 12 12:47:23 I guess this is the more up to date version. Trying it out now. https://eewiki.net/display/linuxonarm/BeagleBoard-X15#BeagleBoard-X15-Bootloader:U-Boot Jun 12 12:49:57 Hi is it possible to use Adafruit_BBIO for beaglebone blue Jun 12 12:51:54 its a better question for Adafruit themselves tbh .. Jun 12 12:52:13 theoretically yes .. but I have a feeling it hasn't been updated for a while.. Jun 12 12:55:06 what should i use for the IOs in the beaglebone blue case if i want to program python? Jun 12 13:17:15 What library can i use for the IOs on the beaglebone blue in python? Jun 12 13:20:22 I'd expect the BBB things generally apply. You'll have to figure out the mapping of P8/P9 to the blue connectors though. Jun 12 14:10:21 Has anyone run the BB Blue using labview? Jun 12 14:43:49 Hello, I need a direction. Where is the DTO source for TSC_ADC in linux ? Jun 12 14:48:37 usually in the kernel sources? try arch/arm/boot .. sorta area... Jun 12 14:49:09 Thankyou! Jun 12 15:17:06 Hello, What does "channel step average" mean ? Jun 12 15:20:45 Any body got rtl8811au working on beaglebone black? Jun 12 15:37:19 Hello Jun 12 15:44:12 Sorry, I seem already understand. But if I set "chan-step-avr" to 4 in dto, it should be 0x04 or 0x4 Jun 12 17:19:21 I wanted to ask that is Beaglebone Rev B6 is anyway different than the Beaglebone Rev C Jun 12 18:33:10 Have a gpio issue: cant export or unexport! Jun 12 18:34:45 that's not very descriptive Jun 12 18:43:32 echo 49 > /sys/class/gpio/export bash: echo: write error: Device or resource busy echo 49 > unexport bash: echo: write error: Invalid argument Jun 12 18:44:25 Sorry not sure how to do multiline on this forum Jun 12 18:46:10 using latest Debian image; root and gpiouser belong to gpio group; directories owned by root and bleong to gpio group Jun 12 18:46:30 It seems I can no longer export or unexport Jun 12 18:46:52 you're not getting permission errors so that's not the issue Jun 12 18:47:44 can you show the contents of /sys/class/gpio/ ? (please don't try to paste multiline output here, use a paste site such as pastebin.com ) Jun 12 18:49:34 EBUSY ("Device or resource busy") when attempting to export would typically indicate the gpio is already exported or otherwise considered to be in use by the kernel Jun 12 18:54:18 Basically when performing an "ls -l' against /sys/class/gpio I get links to the different pins and the other two are export and unexport Jun 12 18:54:40 "get links to the different pins" ? you mean the gpios are already exported? Jun 12 18:55:08 yes.. I agree its busy, but how do I "unbusy it"? unexport doesn't work either. Jun 12 18:57:49 no, not "busy". it sounds like all gpios are already exported by the device tree (I'm guessing cape-universal specifically) Jun 12 18:57:55 why do you need to unexport them? Jun 12 19:02:01 working on this for client. Need to be able to bring device from "raw" state to present in a repeatable fashion. Jun 12 19:06:30 the best way to get the BBB into a desired configuration is actually using a custom device tree, then the initial configuration will be applied during early boot, and you can arrange for specific gpios to be automatically exported (and with udev their permissions can be setup to avoid the need for root privileges), e.g.: https://pastebin.com/raw/qJdK03PE Jun 12 19:07:10 if you just want it to behave like older versions, try removing the "cape-universal=enable" option (or whatever it's called) in /boot/uEnv.txt Jun 12 19:14:56 looks like thats been commented out; and we have no cape anyway: Jun 12 19:14:59 #enable_uboot_cape_universal=1 Jun 12 19:15:21 that's not the option I'm referring to Jun 12 19:15:33 (and "cape-universal" has nothing to do with CAPEs, it's just really badly named) Jun 12 19:16:15 oh..ok; no other option regarding cape-universal is exposed or listed Jun 12 19:16:45 I could add it and make it disabled? Jun 12 19:16:57 it seems unlikely to me that it no longer exists Jun 12 19:17:28 maybe..just not in this uEnv.txt file Jun 12 19:17:31 (I don't have any beaglebone running a stock image here so I can't easily check for you what it's called exactly) Jun 12 19:19:15 #cape_disable=bone_capemgr.disable_partno= Jun 12 19:19:26 no, search for "universal" Jun 12 19:19:38 in the cmdline= options Jun 12 19:21:37 cmdline=coherent_pool=1M net.ifnames=0 quiet cape_universal=enable Jun 12 19:21:51 see, told you Jun 12 19:22:03 :) Jun 12 19:22:05 so make that disable or leave it out Jun 12 19:22:19 just remove the "cape_universal=enable" part Jun 12 19:22:31 ok... i'll try that now Jun 12 19:26:55 ok.. that worked GREAT Jun 12 19:27:20 can you explain why or refer me to something that might explain that? Jun 12 19:28:12 Our local MicroController Group will be very Interested! Jun 12 19:30:45 Thanks zmatt! Jun 12 19:40:54 it just disables the new functionality meant to make things easier Jun 12 19:42:04 but there are lots of ways of setting up your BBB... I'm personally not a fan of cape-universal, nor of using overlays, nor manually exporting gpios via sysfs :) Jun 12 20:03:35 Lee_: in case you're curious, here's the device tree fragment I used to setup gpios in the example I showed earlier -> https://gerbil.liktaanjeneus.nl/gpio-example.dtsi.html Jun 12 20:05:50 this accomplishes many things at once: 1. it sets the initial configuration during early boot 2. it automatically exports the gpios 3. it constrains userspace access (you can't accidently reconfigure an input to an output unless the gpio is explicitly declared as bidirectional), and it gives friendly names to the gpios used so userspace programs don't have to hardcode pin numbers :-) Jun 12 20:28:47 Thanks again zmatt. This WILL help in initializing my client BBB for his Project. Jun 13 02:11:06 heya Jun 13 02:12:32 so, anyway... Jun 13 02:13:23 i don't have an exact date, but my beagle is about to be 20-20 years old Jun 13 02:13:33 oops 20-21 Jun 13 02:14:52 we've had him 19 yrs & were told he was 2 when we got him Jun 13 02:15:32 is that unusual for a beagle? Jun 13 02:28:19 he's stone deaf & slower these days, but otherwise in good health Jun 13 02:29:02 eyes are clear & sees fine...wants to eat all the time Jun 13 02:33:52 try flashing with the latest image https://beagleboard.org/latest-images **** ENDING LOGGING AT Tue Jun 13 03:00:00 2017