**** BEGIN LOGGING AT Wed Apr 04 03:00:01 2018 Apr 04 03:02:31 I started to mess w/ the shell script. The errors are unlimited w/ what I did. I butchered it. Sorry. Apr 04 03:04:46 ignoring the idea that the error is an error. Apr 04 05:57:30 i need barebox compilation for beaglebone black Apr 04 05:58:16 steps or method Apr 04 06:20:28 barebox? Apr 04 06:20:34 Let me see... Apr 04 06:21:31 https://www.barebox.org/doc/latest/index.html is a starter site for using the ARM, hopefully, versioning for barebox. Apr 04 06:21:39 Hey. Apr 04 06:22:56 Let me check my book, "Mastering Embedded Linux Programming." Apr 04 06:23:00 I see they have a section. Apr 04 06:24:18 Do you want a pastebin.com paste? Apr 04 06:26:42 bbl or brb? Who knows? Please hold. Apr 04 06:32:03 because in u-boot i have more doubt but no one is responding to my words Apr 04 06:32:09 i hate u-boot Apr 04 06:32:15 Okay. Apr 04 06:32:47 sri__: I have a pastebin.com paste to make. You can use it but it is older. I cannot promise that it will work as is w/ updated systems. Apr 04 06:33:17 i.e. 2015/2014 or around that time. Apr 04 06:33:35 ok thank you tell the site or path Apr 04 06:34:51 https://pastebin.com/0sqm97CD is a paste that you can use. I tried it but I failed. If you can make it work, great and good on you. Apr 04 06:35:18 sri__: If it works, please reply one day. Apr 04 06:35:52 Thank you another way to get the steps for barebox compilation Apr 04 06:35:58 I found that info. in a book that was given out freely. Apr 04 06:36:01 You are welcome. Apr 04 06:36:10 Do not forget the site I showed you earlier. Apr 04 06:36:33 Not the pastebin.com site but the site for barebox.org/doc. Apr 04 06:36:46 That will help you along the journey. Apr 04 06:37:09 Thanks a lot fortnight Apr 04 06:37:18 No issue. Have fun! Apr 04 06:39:52 sri__: Did you copy it yet. I am about to close the page. Apr 04 06:41:21 ya copied fortnight Apr 04 06:42:34 Cool. It is closed now. Apr 04 06:42:56 I forgot to mention the name of the book on that page. Enjoy anyway. Apr 04 06:43:03 Oops! Apr 04 06:48:56 hey tell the book name Apr 04 06:50:12 Mastering Embedded Linux Programming (Simmonds). Apr 04 08:20:39 Hola. Is it possible to get the x15 to boot from eMMC with the SD card still connected? Apr 04 18:13:47 Hey I'm using a beaglebone Green wireless and want to use my analog pins, what is the path that I take in order to get to them? Apr 04 18:20:17 you mean the ADC? Apr 04 18:39:38 I'm facing a problem with my BBB. When I start my BBB with the 4g Modem plugged in, it starts, run for a couple of minuties and than it stops. Apr 04 18:43:33 could It be a power issue? Apr 04 19:00:31 what do you mean "stops" ? powers off? Apr 04 19:02:00 Hi zmatt Apr 04 19:03:21 by stops I mean that I can't connect to the BBB neither by USB nor SSH, also the leds stops blinking Apr 04 19:03:29 they stay on all the time Apr 04 19:04:03 weird, sounds like it crashed or something Apr 04 19:04:25 I guess it could theoretically be a power issue, but it sounds more like a software issue Apr 04 19:05:11 there's an easy way to exclude power issues though: insert a powered usb hub between the bbb and the modem Apr 04 19:07:02 as for software issues, make sure you're running the latest kernel within whatever kernel series you're using (e.g. 4.9.88-ti-r107 for the 4.9-ti series) Apr 04 19:08:23 if that still doesn't help, you may need to hook up to the serial console to see if you can catch a traceback of the kernel panic or any other messages that might give a clue as to what's happening Apr 04 19:20:51 Thanks!!!! Apr 04 19:23:08 Technicus: there's one part that's really not yet clear to me about the wm8731: it has separate LRCK lines for audio in and audio out, but it doesn't say anywhere whether you really need to use both them when the wm8731 is the clock master or whether the wm8731 always drives them in sync hence only one is needed Apr 04 19:24:31 zmatt: I'm getting close to understanding something. Apr 04 19:24:34 since using separate clocks for audio in and audio out requires McASP (the audio serial port peripheral on the AM335x) to be configured in a mode that the linux driver doesn't support in mainline linux Apr 04 19:24:38 This is super fun and stuff!!!! Apr 04 19:25:32 zmatt: Do you have suggestions on how to connect and configure the Adafruit RA8875 TFT driver board < https://www.adafruit.com/product/1590 > to the PocketBeagle? Apr 04 19:25:44 Another thing I am trying to do. Apr 04 19:25:54 Hey guys, total noob here with a question after i googled the heck out of this- anyone knows a way to hook up an external IMU to the beagle blue? Apr 04 19:26:38 Technicus: spi and adc Apr 04 19:27:44 Technicus: or spi and irq gpio, if you're using the integrated touch controller Apr 04 19:28:00 will that work well enough if i need a really high sample rate? i'm planning on using a vectornav VN100 Apr 04 19:28:14 Mujura: I wasn't talking to you Apr 04 19:28:20 oh. sorry Apr 04 19:28:55 Mujura: although the vn100 also connects via spi Apr 04 19:29:08 or uart, but spi would be faster Apr 04 19:29:23 (probably) Apr 04 19:30:44 max uart baudrate is 3 MHz, max spi clock is 48 MHz Apr 04 19:30:59 (for the beaglebone, dunno what the limits are of the VN100, check its docs) Apr 04 19:31:45 will do, i'll try googling how to connect it via SPI then Apr 04 19:31:50 much obliged Apr 04 19:32:20 Mujura: the VN100 looks like a pretty intelligent peripheral. basically there is no realtime requirements on the application processor to get the IMU data Apr 04 19:32:37 Mujura: you just get it as fast as you need it, if I'm not mistaken Apr 04 19:34:06 Mujura: what do you want to do with it? Apr 04 19:34:26 Technicus: connecting the display via spi (P1 pins 6, 8, 10, 12) requires no DT magic Apr 04 19:34:44 basic idea is to get the info from the IMU, and run a basic control routine to stabilize a vehicle Apr 04 19:34:57 which flies? Apr 04 19:34:58 via PWM engines (submarine...) Apr 04 19:35:03 eh Apr 04 19:35:05 ok Apr 04 19:35:13 Technicus: unless a kernel driver exists for it and you want to use it, to make it appear as a regular framebuffer device Apr 04 19:36:28 Mujura: just for stablilizing a submarine? That thing? Isn't that a bit oversized? Apr 04 19:36:34 I'll test with a powered hub, a kernell shouldn't be a problem, because I've a 2GB version running in a older kernell normally Apr 04 19:37:04 it's going to be used for INS navigation as well, that's why the overkill IMU. for now though just stabilization Apr 04 19:37:26 Mujura: ok Apr 04 19:37:34 Technicus: also, if you want to use the beaglebone's touchscreen controller (since the adafruit page mentions the built-in touchscreen controller of the RA8875 is kinda meh), you connect: AIN0 x+, AIN1 x-, AIN2 y+, AIN3 y- and then you'll need to set it up via DT yet again :) Apr 04 19:37:57 and then it'll show up as a normal input device Apr 04 19:38:13 Mujura: that explains why you want the data as quickly as possible... Apr 04 19:38:40 Mujura: but would not the Kalman filter get in the way? It will for sure add some delay... Apr 04 19:38:49 Mujura: but I guess you can bypass it or something Apr 04 19:39:00 It will, but judging from similar projects it's preferable to not filtering Apr 04 19:40:01 afk for a bit Apr 04 19:40:12 well ok, a sub is not a drone... it sure has some inertia Apr 04 19:40:19 my current problem is how to hook the two up together and get the input from the IMU. i know my way around control schemes, but i'm a total beagle noob Apr 04 19:40:38 SPI, obviously Apr 04 19:41:10 SPI and a bit of light data sheet reading so figure out the protocol Apr 04 19:42:19 zmatt: Thanks!!!! Apr 04 19:42:52 will do then, i hoped to find a similar example by googling, but nothing really popped up Apr 04 20:14:59 (probably did a too-specific search) Apr 04 20:15:29 although I've actually encountered other people using that exact IMU with the beaglebone, so they can't be that rare Apr 04 20:37:44 My BBBlue is flashing red and blue right now. What does it mean? Apr 04 20:38:13 Send support and rations! Apr 04 20:38:47 CDC EDM or something is not installed. Some odd stuff like that? Apr 04 20:39:21 none of the leds are warning/failure leds, they're just status/activity indicators Apr 04 20:39:59 Oh. So...the top LED near the USB, closest to the USB, is flashing red while the others are flashing blue. Apr 04 20:40:08 Odd or normal? Apr 04 20:40:15 I have no idea Apr 04 20:40:39 Okay. I will research it further. I was able to sign in on PuTTY. That is good news. Apr 04 20:41:05 there are two red leds on the blue: a battery indicator led and a user led. I have no idea which is which, nor if the user led has any default trigger Apr 04 20:41:16 Oh. Apr 04 20:41:27 Weird man. This is the first time I have come across it. Apr 04 20:41:27 if you don't have a li-ion battery attached, it's presumably the user led Apr 04 20:41:32 Yep. Apr 04 20:41:35 No battery yet! Apr 04 20:41:48 well, did you do anything in particular that caused this? Apr 04 20:42:05 zmatt: It looks like there is a driver for the TFT controller: < https://github.com/torvalds/linux/blob/master/drivers/staging/fbtft/fb_ra8875.c >. Any idea on how I would load it? Apr 04 20:42:09 Um...I did add a .sh script from GitHub. Apr 04 20:42:45 zmatt: If you want to chat w/ that fellow, it is okay. I will wait. Apr 04 20:44:42 fortnight: instead of waiting you could also just provide information that's actually useful (instead of "a .sh script from GitHub") to make it even possible for anyone to help you Apr 04 20:45:09 Oh. Apr 04 20:45:28 It is from this Gist: https://gist.github.com/jadonk/6080ca92d6e225eb89d33ad7744e1775#file-ardupilot_setup-sh. Apr 04 20:46:12 Technicus: it seems rcn already enabled it to be compiled as module, so all that's required is DT configuration Apr 04 21:00:40 CDC ECM is listed as "Other devices" on my Device Manager on Windows. Apr 04 21:00:41 ... Apr 04 21:00:57 It is needing troubleshooting b/c of the fact that the drivers are not installed. Apr 04 21:01:01 Supposedly. Apr 04 21:02:13 My BBBlue is listed as CDC ECM. I will look it up. Apr 04 21:03:45 USB Ethernet stuff. Apr 04 21:03:55 No issue but the driver may not be easy to find. Apr 04 21:06:05 ecm is the usb standard ethernet class Apr 04 21:06:26 i.e. every OS in the world supports it out of the box Apr 04 21:06:29 except windows Apr 04 21:07:16 zmatt: Awesome!!!! Apr 04 21:07:41 (which only supports the microsoft-proprietary rndis protocol, and even then often requires convincing windows to use microsoft's own driver) Apr 04 21:08:41 Oh. Apr 04 21:08:52 I am installing the arduPilot software now. Apr 04 21:09:02 I think this the issue, duh! Apr 04 21:12:07 I need to perform this downloading of .deb files on Ubuntu, says the APM Planner 2 WIki. Apr 04 21:12:33 it will not work on PuTTY. Apr 04 21:13:00 Off to another dang-gone computer. Apr 04 21:15:02 bbl...up, up, and OTAY! Apr 04 22:16:24 anyone with Eagle who can make a pdf of this schematic? https://github.com/adafruit/Adafruit-RA8875-Breakout-Board-PCB Apr 04 22:21:03 Not I...sorry. Apr 04 22:21:23 Hey...if it is not urgent, I might be able to get soon. Apr 04 22:21:34 How many pages? Apr 04 22:21:54 how should I know? if I could open it and see, I couldn't need to ask Apr 04 22:22:00 Oh. Apr 04 22:22:00 *wouldn't Apr 04 22:22:02 Oops. Apr 04 22:22:08 Okay. No issue. Apr 04 22:22:17 ...going back to nothingness now. Apr 04 22:41:08 I got apm_planner to run on Ubuntu but the BBBlue is out of commision on Ubuntu for now. Apr 04 22:41:26 No connections. The timeout error is now and everlasting for now. Apr 04 23:35:24 zmatt: so now that I've got the kernel compiled, how do I install it to the device? Apr 04 23:43:22 FL4SHK: come on, if you're using an oddball distro on an embedded system I expect at least *some* independence :) Apr 04 23:43:31 Well, alright Apr 04 23:43:38 ...where do I find the kernel I built Apr 04 23:43:51 perhaps in this directory called KERNEL Apr 04 23:44:03 I see a file called vmlinux Apr 04 23:44:11 Out of curiosity, is that the only thing I need? Apr 04 23:44:56 kernel (typ vmlinuz, not vmlinux), kernel modules (/lib/modules/$VERSION/), dtbs (/boot/dtbs/$VERSION/) Apr 04 23:46:03 if using rcn's u-boot then kernel is expected to be /boot/vmlinuz-$VERSION Apr 04 23:46:19 what about in the bb-kernel git repo I cloned? Apr 04 23:46:38 if you're using mainline u-boot or whatever is installed by arch, no idea where it expects stuff but you can probably look around on your system to determine that Apr 04 23:47:12 if you've run build_kernel.sh I'm pretty sure it produced one or more tarballs in deploy/ Apr 04 23:48:03 not seeing anything there Apr 04 23:48:11 Perhaps I did something wrong. Apr 04 23:48:22 maybe I remember wrong since I generally use build_deb.sh Apr 04 23:48:27 Ah Apr 04 23:48:41 should I just run build_deb.sh? Apr 04 23:48:54 I guess I might as well. Apr 04 23:49:10 I didn't remember wrong, it's supposed to produce output in deploy/ Apr 04 23:49:18 Okay, then I'm running build_deb.sh Apr 04 23:49:25 why? Apr 04 23:49:41 I didn't see anything in deploy/ after running build_kernel.sh. Apr 04 23:49:48 then something went very wrong Apr 04 23:49:52 oh, alright Apr 04 23:49:54 check output log Apr 04 23:50:19 I've noticed that sometimes a build error can get buried in the output Apr 04 23:50:25 running build again should help Apr 04 23:50:48 What kind of filename do the logs have? Apr 04 23:51:01 (since then all files that were compiled successfully are skipped, hence much less output is produced) Apr 04 23:51:51 as far as I know it doesn't log to file by default, but you can do ./build_kernel.sh 2>&1 | tee build.log of course Apr 04 23:51:57 Ah. Apr 04 23:52:17 going to go ahead and run that then. Apr 04 23:59:37 is CLEAN drivers/firmware/efi/libstub supposed to take a while Apr 05 00:00:25 doubtful. more likely it's done that and now doing something that didn't have a message explaining what it's doing Apr 05 00:00:32 oh okay Apr 05 00:00:38 That makes more sense. Apr 05 00:00:40 why is it cleaning anyway? o.O Apr 05 00:00:47 oh crap Apr 05 00:00:52 eh? Apr 05 00:00:56 Did I do something wrong? Apr 05 00:01:07 perhaps I need to do a new git clone Apr 05 00:01:19 no I did by telling you to do build_kernel.sh again. sorry, next time use tools/rebuild.sh instead Apr 05 00:01:28 ah okay Apr 05 00:01:29 build_kernel.sh starts completely fresh every time Apr 05 00:01:31 oh right Apr 05 00:01:32 well, alright Apr 05 00:01:35 oh well. Apr 05 00:02:08 which also means that my suggestion of running it a second time to get less output is not going to work :/ Apr 05 00:02:15 lol okay Apr 05 00:02:20 I'll just have to wait for this to finish Apr 05 00:02:24 sorry Apr 05 00:02:41 if you happen to have ccache installed then this second build should take a lot less time Apr 05 00:03:37 ...I should install ccache Apr 05 00:03:48 hehe Apr 05 00:03:56 well that's done Apr 05 00:04:11 unfortunately you won't see the benefit until the second full build after you've installed it Apr 05 00:04:18 right. Apr 05 00:04:24 I figured as much. Apr 05 00:31:02 zmatt: it finished building and there's nothing in deploy Apr 05 00:31:45 ah ha Apr 05 00:31:48 no lzop Apr 05 00:32:05 time to do rebuild Apr 05 00:35:49 ...also I should start using ccache for my own projects Apr 05 00:36:03 granted, those are all so small that they freaking build quickly anyway Apr 05 00:49:12 Should I speak? I think I have this BBBlue ready for ArduPilot/Copter. Once things come together and items arrive, I will make a post and have everyone laugh at me. Apr 05 01:00:54 zmatt: it got built Apr 05 01:01:13 Are there other people in here messing w/ the BBBlue and ArduPilot/Copter? Apr 05 01:53:06 Alto_sax: lurk for a few weeks, you'll see some :) Apr 05 01:53:44 I think it's a super interesting combination and I'm curious to see your results Apr 05 01:55:02 OKay. Apr 05 01:55:19 Okay. Stay patient. The compiling is taking place now. Apr 05 01:55:46 myself: I have to "register" the bbblue a board via the cmd line and then I think it is all good to go. Apr 05 01:56:08 WE shall see. Apr 05 01:57:40 ... Apr 05 01:57:57 It always seems like the later in the day it gets, the easier computing is. Apr 05 01:58:19 I have the opposite results, and by midnight I'm hoping I can swim back to shore.. Apr 05 02:00:08 Ha. I bet I get that way if I look at each of my keystrokes. Apr 05 02:07:48 Hello myself: There is a site on GitHub.com you should check out to see things working in a manner that is up to par... Apr 05 02:07:49 ... Apr 05 02:08:20 Look here: https://github.com/mirkix/BBBMINI/blob/master/doc/software/software.md is a person that put together a BBBmini. Apr 05 02:08:34 I think he is really into the ArduCopter for BBB stuff. Apr 05 02:09:04 I have to say, most of his commands worked (at least the ones I needed). Apr 05 02:09:23 ... Apr 05 02:09:41 Plus they have almost an unlimited amount of examples for some reason. Apr 05 02:12:25 ...The only issue I did not understand is the overlays section but I am pretty sure he used his BBB, an older image, and the Cape. Apr 05 02:24:13 I just need to configure spidev2.0 and spidev2.1. I am off to look this up. Most things work for now. Apr 05 02:36:59 you're fairly lucky to be able to follow instructions and have it work. unfortunately things have changed quite a bit over time, so there's a lot of instructions floating around on the internet that are obsolete Apr 05 02:41:06 a bit odd though that those instructions are overriding the main dtb, that shouldn't be necessary normally... Apr 05 02:42:07 I did not use the part of the .dtb files/part. Apr 05 02:42:42 ah wait you're using the blue, I should have read properly Apr 05 02:42:56 nm Apr 05 02:43:58 then overlays are not really important for you anyway :) Apr 05 02:44:38 Right! Apr 05 02:50:23 But...good luck to me? Apr 05 02:51:08 oh, you have open questions? disclaimer: I don't have a blue and know nothing about ArduPilot/Copter Apr 05 02:52:33 Dang! Apr 05 02:53:13 of course you can still try asking questions since I do know a lot about the beaglebones in general Apr 05 02:59:49 Okay. **** ENDING LOGGING AT Thu Apr 05 03:00:04 2018