**** BEGIN LOGGING AT Tue Nov 13 02:59:59 2018 Nov 13 03:04:08 smelcome: there is no difference in behaviour or performance between memory mapped in the kernel and memory mapped in userspace. performance mainly depends on the "memory type" used for the mapping Nov 13 03:04:59 I just improved the py-uio README.md btw with better instructions for the beagleboard-x15 Nov 13 03:06:09 oh, ew, it does seem that uio-pruss uses a rather inefficient memory type even for the shared ddr3 memory region Nov 13 03:07:00 that's a bit annoying, albeit not hard to fix Nov 13 03:07:22 how can I enable spi-dev on the bbb? Nov 13 03:07:44 ijgare: should be enabled by default, all you need to do is configure the pins using the config-pin utility Nov 13 03:09:18 shit I just closed my tab lol Nov 13 03:09:25 ijgare: should be enabled by default, all you need to do is configure the pins using the config-pin utility Nov 13 03:09:45 thanks! Nov 13 03:09:49 zmatt: thanks! Nov 13 03:23:43 smelcome: hmm, honestly the currently memory type used in uio looks like a bug to me anyway Nov 13 03:25:44 ditto for /dev/mem actually, but in a different way Nov 13 03:29:02 ugh what a mess Nov 13 05:20:02 Hello! I am trying to enable the following pins on the latest IoT version of debian for bbb: http://dpaste.com/01DD22V Nov 13 05:20:52 I tried "config-pin P9.17 spi" at the terminal but got an error: Nov 13 05:21:15 it says Invalid mode: spi Nov 13 05:21:26 any help is greatly appreciated Nov 13 05:23:01 try "spi_cs" as mode Nov 13 05:24:04 zmatt: it worked! you are so awesome man. You've helped me answer so many questions today. It is greatly appreciated! Nov 13 05:42:19 I tried to spi enable pin 21 but I got this: http://dpaste.com/2XB02T7 Nov 13 05:43:33 I am trying to enable the all the pins listed above in the first dpaste I included Nov 13 05:43:57 I'm trying to enable them so I can flash a motherboard with libreboott Nov 13 05:44:03 libreboot* Nov 13 05:44:09 P9.21 isn't a chip select, so use "spi", not "spi_cs" Nov 13 05:44:38 zmatt: when do I use spi vs spi_cs? Nov 13 05:44:42 zmatt: thank you again Nov 13 05:45:09 there's also a way to list all modes available for a pin, probably if you run config-pin --help you can find the command Nov 13 05:46:57 I tried config-pin but there is nothing that states the different pins modes Nov 13 05:47:11 I'm very sure the option exists Nov 13 05:47:18 isn't it simply config-pin -l PIN ? Nov 13 05:48:01 yeah it is Nov 13 05:48:32 and it's listed in the help Nov 13 05:52:54 zmatt: yes you're right. I figured it out now Nov 13 05:52:57 thanks again Nov 13 05:53:21 you're welcome Nov 13 06:13:20 This is not a BBB question per se but does anybody know if there is a pin 1 on the pomona 5252 or is pin 1 dependent on the relation of how you connect it to the beaglebone black P9 header when flashing? Nov 13 10:22:56 I have never seen a chip that has no pin1. Nov 13 10:23:08 perhaps you could state your question a little clearer Nov 13 10:42:20 Snert: then you have not seen many chips Nov 13 10:43:51 Snert: but we are not talking here about a chip, but a test adapter Nov 13 10:55:51 hi Nov 13 10:55:59 hello everybody Nov 13 10:56:06 i have a question Nov 13 10:56:15 somebody help me Nov 13 10:56:47 i want to use gpio in beagleboneblue Nov 13 10:57:00 but i dont know what is chip in gpio Nov 13 10:57:07 what is chip Nov 13 10:57:13 누가 말해봐 Nov 13 10:57:18 왜 아무도 대답아내 Nov 13 10:57:20 안해 Nov 13 10:57:21 왜 나 무시해 Nov 13 10:58:13 AhnLAB: nobody could read that, the encoding is messed up. if you want to show text snippets longer than a line, please use a pastebin. Nov 13 10:59:03 hi Nov 13 10:59:04 hi ddd Nov 13 10:59:06 hello Nov 13 10:59:16 can u help me>? Nov 13 10:59:29 no I cant Nov 13 10:59:48 obviously not, as you are either a multiple personality or sitting next to each other. Nov 13 11:00:15 LetoThe2nd: actually, the encoding was fine Nov 13 11:00:18 LetoThe2nd: it was just korean Nov 13 11:00:34 KotH: korean != fine ;-) Nov 13 11:00:37 hehe Nov 13 11:00:47 true, we should all speak swahili here Nov 13 11:01:04 KotH: and call our translator bot "uhura" Nov 13 11:01:10 +1000 Nov 13 11:01:36 * LetoThe2nd hereby declares: LÜNCH! Nov 13 11:01:48 en guete! Nov 13 11:02:08 LetoThe2nd: may your spice flow aplenty! Nov 13 12:20:35 check your serial! Nov 13 15:27:07 Hi, someone help me to connect to beaglebone black for the first time? Nov 13 15:31:52 nofunction: try to explain the problems you are experiencing as precisely as possible. if somebody knows help, he/she will answer. Nov 13 15:36:29 Hi thanks, for me it's impossible to connect beaglebone black Nov 13 15:36:40 i try to connect for the first time via usb Nov 13 15:37:30 when you connect it, does one of the leds blink happily in a heartbeat after a couple of moments? (e.g., when it has booted up) Nov 13 15:37:52 but also if I try to set a manual ip address it's impossible to connect or if i try putty on root i havejn't no password Nov 13 15:38:22 so you get to the ssh login and are just missing the password? Nov 13 15:38:46 no this is my first time Nov 13 15:38:54 i take new now Nov 13 15:39:07 i haven't password Nov 13 15:39:27 so what now. Nov 13 15:39:59 this is the first time that I try to connect Nov 13 15:40:19 so my first question was: does the heartbeat led blink. Nov 13 15:40:19 never before i've got it Nov 13 15:41:32 at start i have 4 fix led and after just one is blinking on every 10 minutes Nov 13 15:41:41 ten seconds sorry Nov 13 15:42:00 every ten seconds? sure? not like, a double blink every second? Nov 13 15:42:48 yes like you said Nov 13 15:43:10 so you see the heartbeat i described? Nov 13 15:43:30 yes Nov 13 15:43:42 ok and what happens if you ping 192.168.7.2? Nov 13 15:44:04 no response Nov 13 15:45:03 the board is connected AND powered through usb? Nov 13 15:45:06 because BBB try to set a dhcp message maybe but it's impossible to take an ip address Nov 13 15:45:40 power just with usb Nov 13 15:45:45 no other Nov 13 15:45:54 ok Nov 13 15:46:22 the bbb does not try to get an address. its the other way round, it *provides* one through the usb networking interface Nov 13 15:46:46 so look at the output of "ip a" if the interface shows up Nov 13 15:47:55 maybe this but i haven't ipv4: Nov 13 15:47:56 eth2 Link encap:Ethernet IndirizzoHW f4:84:4c:2a:71:11 indirizzo inet6: fe80::f684:4cff:fe2a:7111/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:43 errors:3 dropped:0 overruns:0 frame:3 TX packets:2 errors:58 dropped:0 overruns:0 carrier:0 collisioni:0 txqueuelen:1000 Byte RX:10546 (10.5 KB) Byte TX:520 (520.0 B) Nov 13 15:48:24 don't know why Nov 13 15:50:00 have you some idea to solve this? Nov 13 15:50:02 please do not abridge it, and use a pastebin. Nov 13 15:53:11 pastebin? what is? Nov 13 15:54:30 irc lesson #1: if you do not know a word or expression, google it :) Nov 13 15:54:50 hint: the output you provided is completely unreadale for me. Nov 13 15:58:05 I read but i don't know how to do it here a pastebin Nov 13 15:59:31 could you explain me please? Nov 13 15:59:36 nofunction: 1) you run "ip a" in your terminal. 2) you open up some pastebin site on the internets 3) you copy-paste the whole command output into the pastebin, and use its send, create, whatever button 4) you usually get a link, and you share this link with us. Nov 13 16:00:20 thanks but which pastebin to use? Nov 13 16:00:35 name or site? Nov 13 16:01:04 i haven't experience about it Nov 13 16:01:20 http://bfy.tw/J6P Nov 13 16:01:21 please tell me just one Nov 13 16:01:25 thanks Nov 13 16:04:10 ok like this; https://pastebin.com/yGurKZAA Nov 13 16:04:48 see, you already learned something. Nov 13 16:04:58 but please reread again what i told you. Nov 13 16:05:00 thanks it's true Nov 13 16:05:22 to make it easier: 3) you copy-paste the whole command output Nov 13 16:06:13 the link of my output is https://pastebin.com/yGurKZAA Nov 13 16:06:31 i saw it. but did you see what i typed? Nov 13 16:10:12 i don't understand what you want to say? Nov 13 16:10:22 the keyword is *WHOLE* output. Nov 13 16:10:23 I re read but i don't understand Nov 13 16:12:27 Maybe you ask me to send all the ifconfig output? Nov 13 16:13:27 bingo. Nov 13 16:13:58 i literally old you 4 times now: do not abridge it, paste the whole output. Nov 13 16:14:21 ok just a moment Nov 13 16:16:48 ok that's it https://pastebin.com/1ctMyxZh Nov 13 16:16:59 thanks Nov 13 16:17:20 hint: nobody cares about your mac addresses in the least :) Nov 13 16:17:58 but, the usb interface is not there. so do you happen to have the ethernet port also connected? Nov 13 16:18:37 yes eth1 Nov 13 16:18:54 but eth2 is the mac address of beaglebone Nov 13 16:19:10 i don't see usb0 or usb1 Nov 13 16:19:41 i mean the ethernet port of the beaglebone Nov 13 16:20:23 like you see i haven't ipv4 address on eth 2 Nov 13 16:22:49 i think we are talking about two different things. is eth2 an interface in your computer that you connected to the beaglebone, or is it the virtual network interface that the bbb provides over usb? Nov 13 16:23:19 can I try to assign with ifconfig a ip address 4 to eth2? Nov 13 16:23:42 virtual network Nov 13 16:23:53 i haven't normally eth2 Nov 13 16:24:11 you can give it a try. should be 192.172.7.1 Nov 13 16:24:18 erm, 192.168.7.1 Nov 13 16:24:45 a ping yo that address or what? Nov 13 16:25:18 no. the ip of that interface should be 192.182.7.1 Nov 13 16:25:39 as the bbb should have 192.168.7.2 - if the mechanisms work properly Nov 13 16:28:03 this address cannot take at the moment i'm not reaching it Nov 13 16:28:08 ping no response Nov 13 16:28:32 and in ifconfig there's no trace of it Nov 13 16:28:51 the oly hint i can give at the moment is, try to boot it from sd card with the latest image. maybe something is wrong with your environment Nov 13 16:29:00 (gotta run now, day is over) Nov 13 16:29:46 thank you very much for your help Nov 13 16:29:52 have a good evening Nov 13 17:41:12 Is it possible to extend the pcoketbeagle with an emmc Nov 13 17:41:22 ? Nov 13 17:42:00 And to boot it brom there? Nov 13 17:42:22 *from Nov 13 17:51:07 hi there Nov 13 17:51:11 IOError: [Errno 16] Device or resource busy Nov 13 17:51:25 i suffers from this error Nov 13 17:54:43 is there anyone up??? Nov 13 17:56:02 Ron_: not enough context. describe what you are doing and what's failing Nov 13 17:57:48 File "Adafruit_BME280_Example.py", line 3, in sensor = BME280(t_mode=BME280_OSAMPLE_8, p_mode=BME280_OSAMPLE_8, h_mode=BME280_OSAMPLE_8) File "/var/lib/cloud9/Adafruit_Python_BME280/Adafruit_BME280.py", line 136, in __init__ self._load_calibration() File "/var/lib/cloud9/Adafruit_Python_BME280/Adafruit_BME280.py", line 147, in _load_calibration self.dig_T1 = self._device.readU16LE(BME280_REGISTER_DIG_T1) File Nov 13 17:58:15 i am try to run example file of BME280 Sensor Nov 13 18:00:36 I'm going to guess that this is outdated and won't run Nov 13 18:01:23 is there any other way to check? Nov 13 18:04:06 the sensor has I²C and SPI and it's Bosch, so it shouldn't be too hard… Nov 13 18:04:25 I have no experience with this, so can't help Nov 13 18:05:22 Ron_: maybe you could start on how you have connected the sensor to the beagle and what beagle you use Nov 13 18:07:08 i am using beagle bone black wireless Nov 13 18:07:43 i connect my sensor on I2C pins Nov 13 18:08:43 Ron_: and which adress does it have on the bus? Nov 13 18:10:28 e Nov 13 18:11:40 P9.19 and 20 pin number on bbb Nov 13 18:26:36 ?? Nov 13 18:27:29 I have BBx15. Has anyone done PWM (Pulse Width Modulation) in C language? Nov 13 18:29:32 Ron_: and which adress does it have on the bus? Nov 13 18:34:38 like i not getting yoour question Nov 13 18:34:39 ? Nov 13 18:35:43 Ron_: you do know that each device on an i2c bus has its own address, right? Nov 13 18:37:49 If the question is to me, I am quite new to the board (and embedded linux). I do not know how to program the board using C language. Nov 13 18:38:37 To clarify father, I need to use some GPI pins to do MPW. Nov 13 18:39:42 dreamhiker: you want to get some non-pwm pins to do pwm? Nov 13 18:40:05 I do see https://elinux.org/BeagleBoardPWM , but there there are comments as something does not work, etc. Is this the right page to learn? Nov 13 18:41:28 Can I do PWM from C-code running in the user space, or I need to write a linux driver, etc. Nov 13 18:41:56 I meant GPIO pins Nov 13 18:42:30 no need to write a linux driver, they've already been written Nov 13 18:42:44 a fair number of pins support pwm (controlled via sysfs) Nov 13 18:43:12 wow that wiki page is reaaaaly ancient Nov 13 18:43:34 also it's about the original beagleboard, not the beaglebone Nov 13 18:44:01 ah, you're using a bbx15 Nov 13 18:44:34 that's mostly the same situation as the beaglebone, except more hassle to set up pinmux Nov 13 18:45:27 IOError: [Errno 16] Device or resource busy i getting this error anyone can help? Nov 13 18:45:32 IOError: [Errno 16] Device or resource busy Nov 13 18:48:13 Thanks zmatt! There is a lot of information about beaglexyz. I still need to learn where an how to get the information. Nov 13 18:48:33 dreamhiker: the beaglebone has some features that make it easy to configure pins in most cases. on the beagleboard-x15 however you'll need to add suitable declarations to the device tree (just like you would on ARM-based embedded linux systems in general) Nov 13 18:50:16 I do not mind if it is easy or complex as long as i know how to do it. This is my nearly full-time project for the next year :) Nov 13 18:50:35 more annoyingly TI also strongly recommends doing pinmux setup in u-boot rather than letting linux do it, to prevent glitches on the I/Os. for a pwm output however this isn't necessarily a huge problem, so doing the pinmux in DT may be fine for that. you'll still at the very least want to disable the default pinmux for the expansion headers performed by u-boot that's intended for the AM572x EVM LCD ... Nov 13 18:50:41 ...expansion board Nov 13 18:51:09 for that see the patch/ti2017.01/x15-pinmux branch of https://github.com/dutchanddutch/u-boot Nov 13 18:52:15 for changing the dt, the easy way is by using https://github.com/RobertCNelson/dtb-rebuilder (pick branch corresponding to kernel series) Nov 13 18:53:41 TI also strongly recommends doing pinmux setup in u-boot ... > zmatt, where do you get this info? Nov 13 18:53:49 zmatt can you help me? i stuck on that error Nov 13 18:54:49 dreamhiker: e.g. you could create a src/arm/am57xx-beagle-x15-custom.dts file in that repository containing #include "am57xx-beagle-x15-revc.dts" followed by your own declarations for setting up the expansion header pins, then do 'make src/arm/am57xx-beagle-x15-custom.dtb', copy that file to /boot/dtbs/ and set dtb=am57xx-beagle-x15-custom.dtb in /boot/uEnv.txt to use it Nov 13 18:56:03 dreamhiker: ehh, good question where I got that info... Nov 13 18:56:31 dreamhiker: the reason for it is erratum i869, which you can find in the AM572x Errata downloadable from TI Nov 13 18:58:02 it explains that IO settings should be configured while in isolation mode, but that's something that linux can't really do since it isolates all I/O of the SoC, including those for the DDR3 memory Nov 13 18:58:29 instead, u-boot does this during early initialization, while it's still running from internal SRAM Nov 13 18:59:12 so what should i do to solve ot? Nov 13 18:59:44 Ron_: I'm busy helping dreamhiker. I saw your question, I have no idea Nov 13 19:01:26 ohk Nov 13 19:03:00 dreamhiker: you may also want to read http://www.ti.com/lit/an/sprac44a/sprac44a.pdf Nov 13 19:05:26 zmatt, it seems to me a bit complicated for a mainstream board. I would expect kind of a set of recipes and code samples / walk-throughs. Do you know if that exists? Nov 13 19:07:02 dreamhiker: well like I said, for simple stuff like a pwm pin you can probably get away with ignoring erratum i869 and just use DT to set up the pinmux like you would on any other ARM-based linux embedded system, as long as you at least use my patched version of u-boot Nov 13 19:08:42 if the interface doesn't tolerate a glitch of a few nanoseconds then you'll need to set it up in u-boot. for high-speed multi-pin interface that require accurate timing you also need to setup iodelay values. TI has tools that generate the relevant data to put in u-boot Nov 13 19:15:19 zmatt, is there a sample c-code to start PWM, set frequency, etc.? Nov 13 19:16:08 dreamhiker: once you have the pin configured, controlling the pwm via sysfs is a generic linux feature. see the "Using PWMs with the sysfs interface" section of https://www.kernel.org/doc/Documentation/pwm.txt Nov 13 19:16:37 it's just a few attributes in sysfs to which you write values Nov 13 19:18:24 I'll make a simple DT example for a pwm pin Nov 13 19:28:35 dreamhiker: https://pastebin.com/MagZyG75 something like this Nov 13 19:29:33 (see what I said half an hour ago on how to use it) Nov 13 19:30:04 (and note that I still strongly recommend replacing your u-boot with my patched version before doing anything with the expansion headers) Nov 13 19:30:55 dreamhiker: unfortunately the learning curve on the beagleboard-x15 is much higher than on the beaglebone Nov 13 19:31:29 (of course that already begins with it being a much bigger pain in the ass to physically connect anything to the expansion headers of the bbx15 compared to the beaglebone) Nov 13 20:24:29 question: I would like to connect a lithium ion battery to the two solder pads on the BeagleBoard X15. Does anyone know if the X15 has a built in Uninterruptable Power Supply (UPS) to allow for instantaneous switching between batter and DC Power? Nov 13 20:25:12 And, does anyone know the maximum current draw for the X15? Better yet, if there is a link to a proper datasheet then send it my way. I can only find quickstart guides. Nov 13 20:25:15 lithium ion? what? I'm 99% sure the x15 has no integrated support for a li-ion battery Nov 13 20:25:44 which terminals are you referring to? Nov 13 20:25:53 I'm looking at page 5 here Nov 13 20:25:54 https://github.com/beagleboard/beagleboard-x15/blob/master/BeagleBoard-X15_Quick-Start-Guide.pdf Nov 13 20:26:10 There are two solder pads labeled that they have optional li-ion battery support Nov 13 20:27:48 Let me know if I'm looking at that incorrectly... Nov 13 20:27:49 pretty sure that's just for the RTC, but let me check the schematic Nov 13 20:28:59 Okay. I see that now on the github. Nov 13 20:29:35 yeah it's for a lithium (not li-ion) battery for the RTC only Nov 13 20:30:20 Ah, that makes sense. Is there any spec on a max current draw? I assume that is limited by the 5A fuse. Nov 13 20:31:03 the recommended power supply is 12V 5A, but that's largely to be able to accomodate the potential power drawn from the USB3 and eSATA ports I think Nov 13 20:32:28 Okay that makes sense Nov 13 20:32:28 I'm perfectly willing to believe the board itself is able to consume a fair bit of power too though, but it'll depend on usage Nov 13 20:34:21 I'm going to use this for SDR applications. Fair amount of signals processing, but only one process at a time. I don't know if GNU Radio can utilize the onboard DSP modules. Nov 13 20:35:41 the 12V rail seems to be used for three things: a 5V 4A supply, a 3.3V 4A supply, and another 5V 4A supply purely for usb. 12v also goes to the expansion headers Nov 13 20:36:29 so that already limits the potential power usage somewhat Nov 13 20:38:07 one process at a time? as in, it doesn't make use of multiple cores? that sounds like a big limitation on modern machines Nov 13 20:41:19 I'm trying to better understand how GNU radio does its threading. Would you say the x15 cpu is comprable to an intel i3? Is that even a valid metric? Nov 13 20:41:42 I have no idea how to make such a comparison Nov 13 20:42:22 it's a 1.5GHz dual-core cortex-a15. I'm sure the interwebs has performance numbers on that Nov 13 20:42:34 Okay. Thank you for the advice! Nov 13 20:43:14 for signal processing the DSPs would probably be able to make itself quite useful, but I suspect that you'd have to put in effort to make that happen Nov 13 20:55:25 I think the two DSPs combined can yield 12 GMAC/s single-precision float (24 GFLOPS) or 32-bit fixed-point, or 48 GMAC/s 16-bit fixed-point (which is sufficient for a lot of DSP applications) Nov 14 01:02:14 Hi Nov 14 01:02:53 i'm looking for connectors and cable for beagleboard-x15 Nov 14 01:03:05 i did not find anywhere. Nov 14 01:04:28 i found this https://www.hirose.com/product/en/products/FX18/FX18-60S-0.8SV15/ Nov 14 01:05:16 where can i find the cable and male connector which would fit onboard connector for input /output ? Nov 14 02:36:36 left eh Nov 14 02:55:17 Oh boy! **** ENDING LOGGING AT Wed Nov 14 03:00:00 2018