**** BEGIN LOGGING AT Sun Jul 15 03:00:02 2018 Jul 15 03:04:48 I might be able to use Debian to apt install iiod and this site for the lttng-ust: https://lttng.org/docs/v2.9/#doc-debian. Jul 15 03:06:52 I guess the XML Validation Libraries will just be accepted once I get this software. Who knows? Jul 15 04:14:56 thefinn93: well, at least https://beagleboard.org/latest-images has sha256sums, and since you obtain them via https that's basically equivalent to a signature Jul 15 04:16:22 but you're right, it would be nicer if the links were https in the first place Jul 15 04:17:15 the download links themselves also work with https, they just aren't by default Jul 15 04:17:49 jkridner[m]: why aren't the image download links https? Jul 15 04:33:25 Hi Jul 15 04:34:50 e Jul 15 04:36:37 Could someone help me please? Jul 15 04:37:07 right now, not very likely, since you haven't explained your problem or asked any question Jul 15 04:38:57 First , I'm sorry with my weak English. Jul 15 04:39:21 I can't flash my BBB. Jul 15 04:40:04 https://www.youtube.com/watch?v=LDN7QQ1-2c0 Jul 15 04:40:54 I follow from this video and result is not same. Jul 15 04:41:19 namely? Jul 15 04:42:01 note that the download you most likely want is listed under "Flasher: (stretch-iot) (All BeagleBone Variants with a 4GB eMMC)" on that wiki page Jul 15 04:42:26 (assuming you have a beaglebone with 4GB eMMC, i.e. beaglebone rev C) Jul 15 04:43:04 although I actually think the iot image fits just fine on 2GB as well Jul 15 04:51:33 zmatt: Hello! Jul 15 04:52:00 That is all. Just one hello. Jul 15 04:53:26 yo Jul 15 04:55:09 I 'm here. Jul 15 05:03:06 Newbie__! Jul 15 05:03:07 Hello. Jul 15 05:03:17 Newbie__: don't send private messages Jul 15 05:03:22 Hhaahah. Jul 15 05:12:42 Oops. Jul 15 05:12:59 Hey zmatt: When compiling, what does Linking mean? Jul 15 05:17:34 set_: https://stackoverflow.com/questions/3322911/what-do-linkers-do Jul 15 05:18:09 https://www.lurklurk.org/linkers/linkers.html Jul 15 05:18:23 Okay. Jul 15 05:18:27 Thank you. Jul 15 05:20:43 but the very very brief version is: compilers operate on each source file individually, creating a chunk of compiled code (a .o file), and a linker then glues those together along with any libraries you use to make a single program. Jul 15 05:21:07 Aw! Jul 15 05:21:16 Okay. I am reading right now on it. Jul 15 06:04:55 does anybody know if the beaglebone blue can do a true analog out and not just a pwm signal? Jul 15 06:08:07 no (although all that's required to make one out of a pwm output is a low-pass filter) Jul 15 11:24:13 oversight. I will fix it to use https. Jul 15 14:12:39 zmatt: ahh, didn't see those... would be nice if that was somehow made obvious Jul 15 17:57:07 I have BeagleBone Blue. Tried LED blink test. Works once, but second time, LEDS don't light. Jul 15 17:57:55 Have to reboot to get to run the LED blink test again. Jul 15 19:00:41 jojo_: Hello! Jul 15 19:01:14 Where is the LED Blink Test coming from? What site, which idea, and/or what software? Jul 15 19:17:16 I am using the adafruit_bbio library, Python 3. I will post the test code next Jul 15 19:18:35 #!/usr/bin/python import Adafruit_BBIO.GPIO as GPIO import time for i in range(4): GPIO.setup("USR%d" % i, GPIO.OUT) while True: for i in range(4): GPIO.output("USR%d" % i, GPIO.HIGH) time.sleep(2) for i in range(4): GPIO.output("USR%d" % i, GPIO.LOW) time.sleep(2) Jul 15 19:22:38 I'm also seeing this in the syslog & messages file: Jul 15 19:22:44 ul 15 13:21:21 beaglebone python[1677]: Adafruit_BBIO: version initialized Jul 15 13:21:21 beaglebone python[1677]: Adafruit_BBIO: gpio_set_direction: 53 not applicable to built-in LEDs Jul 15 13:21:22 beaglebone python[1677]: Adafruit_BBIO: gpio_set_direction: 54 not applicable to built-in LEDs Jul 15 13:21:22 beaglebone python[1677]: Adafruit_BBIO: gpio_set_direction: 55 not applicable to built-in LEDs Jul 15 13:21:22 beag Jul 15 19:23:16 Sorry, I don't know how to post without losing the linefeeds Jul 15 19:38:55 If I ctrl-C the program, and then re-run it, the LEDs don't light at all. Jul 15 19:40:23 Until I terminate the first run, the LED test continues to run OK the first time. Jul 15 19:41:32 It seems like something is blocking the output after the first time the program is run. Jul 15 19:43:14 ... Jul 15 19:43:34 Maybe the LEDs need to be reset. Jul 15 19:43:42 So, back to low for the GPIO? Jul 15 19:43:56 After the GPIO is set to HIGH. Jul 15 19:44:51 jojo_: Use pastebin.com and make a paste. You can post the link in here. Jul 15 19:45:59 So, post the software in one paste and then use another page online for the second paste. I will try to change it and you can test it. Jul 15 19:46:16 brb Jul 15 19:48:20 https://pastebin.com/bJK9h5Vf Jul 15 19:49:01 Note that the LEDs turn on and off as expected the first time the program is run, but when I try to run it the second time, the LEDs stay off. Jul 15 19:50:26 I did try using the clean() function but making the changing the while loop to only cycle a few times, and then executed the clean() function, but got the same result. Jul 15 19:52:52 helo Jul 15 19:54:12 jojo_: So, is LOW off? Jul 15 19:54:30 Yes, LOW is off Jul 15 19:55:37 Okay. Did you try to change your output? I would test it out on my BBBlue but it is in the middle of some "fancy" compiling right now. Jul 15 19:55:42 ... Jul 15 19:55:55 Oh. Jul 15 19:56:21 Try to get rid of line 6. Jul 15 19:57:31 If I get rid of the GPIO.setup loop calls, the program fails because the direction has not been set. I did try that. Jul 15 19:58:01 Okay. Jul 15 19:58:19 Hold please. Jul 15 19:58:32 I am setting up your pastebin and changing it a bit. Jul 15 19:58:33 No rush. Jul 15 19:58:54 Great! I actually wanted to test it on my BBBlue but it is busy right now. Jul 15 19:59:07 I can wait. Jul 15 19:59:18 I guess I can try. I am going to open another terminal. Please hold. Jul 15 20:01:56 Alright...I tested it. So, it counts down one by one and lights the LEDs one by one. Jul 15 20:02:11 Correct Jul 15 20:02:12 Then, it turns off the LED one by one until they are all off. Jul 15 20:02:25 Let me run it again and see what happens. Jul 15 20:03:05 It worked again just like the first time. Jul 15 20:03:18 So, your software is not running the second time? Jul 15 20:03:29 What image are you using? Jul 15 20:03:42 It appears to be running, but the LEDs don't change the second time. Jul 15 20:03:55 Hmm. Jul 15 20:05:02 It could be that the software you posted was a bit off. Look here: https://pastebin.com/byzR4AQG. Jul 15 20:05:09 vmlinuz-4.14.49-ti-r54 Jul 15 20:05:14 Oh. Jul 15 20:06:10 I have an older version. I am running Linux beaglebone 4.4.113-ti-rt-r149. Jul 15 20:06:28 the real time kernel. Jul 15 20:07:20 Tried your code. Got the same thing. LEDs not controlled the second run. Jul 15 20:07:35 Hmm. Jul 15 20:07:38 Something must be hosed in my OS Jul 15 20:08:34 It could be a different set up. Jul 15 20:08:43 in your uEnv.txt file, too. Jul 15 20:09:12 I really cannot describe why my system works right now and your system does not work. Jul 15 20:09:19 ... Jul 15 20:09:44 I am sorry. I thought it was the software but there are other people here that know way more on the system side of things. Jul 15 20:10:32 You may have to wait for one of those people. Jul 15 20:10:59 OK I will also post the uEnv.txt file Jul 15 20:11:05 Thank you Jul 15 20:11:31 pastebin! Jul 15 20:13:09 https://pastebin.com/gDyZ7aug Jul 15 20:14:23 Okay. Jul 15 20:15:46 a-okay. Nothing weird. I was looking at u-boot. There was also something that had to do w/ another boot process. Jul 15 20:16:00 I just cannot remember. Let me research the idea. Brb. Jul 15 20:17:38 I had to flash the board because I had a problem that bricked the board. So maybe the downloaded env file is not right for the BeagleBone Blue. Jul 15 20:18:29 ... Jul 15 20:18:57 I am looking up the idea but I forget the name of the action. Are you using a SD Card or flasher image? Jul 15 20:23:21 This is going to drive me up the wall. Jul 15 20:23:22 ... Jul 15 20:24:30 Boot Loader! Jul 15 20:24:40 You may have to update it? Jul 15 20:26:19 I flashed the on board memory. Not using the SD Card Jul 15 20:26:23 jojo_: Do you know how to perform this task? If not, here: https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays. Jul 15 20:26:25 Oh. Jul 15 20:26:29 Update your bootloader. Jul 15 20:27:14 This may be it. You can find out which bootloader you have and then you can update it. Jul 15 20:28:20 brb. I almost know "0" right now. I need to read more again. Jul 15 20:33:11 It could be the version of Adafruit_BBIO too. Jul 15 20:33:28 ... Jul 15 20:40:55 I flashed the board a few days ago and have rebooted it several times since then. So the boot loader appears to working OK. Jul 15 20:41:17 Okay. Jul 15 20:42:07 It may be a issue w/ Adafruit_BBIO and their library w/ the current images. I do not really know. Please forgive me. Jul 15 20:42:09 ... Jul 15 20:42:20 I have also run an upgrade of the packages with apt-get yesterday. Jul 15 20:43:32 You can always erase the current version of Adafruit_BBIO and sudo pip install Adafruit_BBIO at: https://forums.adafruit.com/viewtopic.php?f=49&t=132125&sid=f62f9a64ba732a1ea7c3de9b94b3af2d. Jul 15 20:43:42 ... Jul 15 20:43:58 That will show you how to erase the current version and add whatever version you want. Jul 15 20:44:03 I used 1.0.3. Jul 15 20:50:32 what happened with RobertCNelson/bb-kernel?? Jul 15 20:53:10 "what happened" ? Jul 15 20:53:14 I downgraded to version 1.0.3. Started over with even a reboot although that shouldn't have mattered. I ran the test. No change. Jul 15 20:53:28 Hmm. Jul 15 20:54:00 Well, zmatt or another person may be able to help. I am out of ideas for now. Jul 15 20:54:30 CoffeeBreakfast: what do you mean? Jul 15 20:55:12 OK thanks for your effort. I have probed around as best as I could to look for whatever is blocking control of the LEDS, but so far found nothing. Jul 15 20:55:17 zmatt: eewiki: Robert Nelson did a tutorial, this year. Now the repo (as pointed in that wiki) is empty Jul 15 20:55:46 CoffeeBreakfast: did you select a branch corresponding to the kernel series you want? (e.g. am33x-v4.14) Jul 15 20:56:16 ooohhh Jul 15 20:56:31 My mistake, oops. Thanks Jul 15 20:57:40 :) Jul 15 20:58:12 up, up, and OTAY! Jul 16 01:45:38 I am trying to copy a file on the BBBlue to another directory but my error is: Cannot create regular file : Text file busy. Jul 16 01:45:51 ehh Jul 16 01:46:03 zmatt: ! Jul 16 01:46:31 that means you're trying to modify an executable while it's running Jul 16 01:46:55 Oh. So, I should take sudo chmod -x file.txt? Jul 16 01:47:02 no Jul 16 01:47:05 Then... Jul 16 01:47:06 Oh? Jul 16 01:47:34 also the term "text file" here is an unfortunate and really confusing historical thing. it doesn't actually mean text file, it means executable program Jul 16 01:47:43 Oh! Jul 16 01:47:57 I have many files that are executables right now. Jul 16 01:48:01 you should stop the program before trying to replace it Jul 16 01:48:27 or, if it's really necessary to replace it while it's still running, delete the file first instead of overwriting its contents Jul 16 01:48:29 Okay. I am running arducopter after compiling it and I forgot to cp the files to a new dir. Jul 16 01:48:46 i.e. before a reboot. Jul 16 01:48:56 Now...the file thinks it works or something. Jul 16 01:49:27 myself: I am so close! Jul 16 01:49:37 I goofed one thing up and have to start over. Jul 16 01:50:01 zmatt: Is there any work around instead of recompiling the entire bunch of software? Jul 16 01:50:51 recompile? what are you talking about? Jul 16 01:51:05 I just told you the two options to avoid this error Jul 16 01:51:22 I cannot erase the entire file. How would I get it back? Jul 16 01:51:35 ?? Jul 16 01:51:54 delete the file you're trying to replace Jul 16 01:52:02 Oh. Jul 16 01:52:04 ! Jul 16 01:52:09 Aw! Jul 16 01:52:16 The file already exists! Jul 16 01:52:18 (or, like I said, first stop the program) Jul 16 01:52:33 I do not know how to stop it. It was not in the instructions. Jul 16 01:52:38 Hahahhaha. Jul 16 01:52:41 yes it already exists, and it's a program that's running, and you're trying to overwrite this program that exists and is running Jul 16 01:52:48 Oh! Jul 16 01:52:53 Now, I understand. Jul 16 01:52:56 I was fooled. Jul 16 01:53:14 and the kernel doesn't like the fact that you're trying to modify a file that's a program which is currently running Jul 16 01:53:14 I just thought there was a service file I needed to stop. Jul 16 01:53:21 Aw! Jul 16 01:53:37 Dang kernel. Always telling me how to perform things. Sheesh. Jul 16 01:53:50 Ooh la la. zmatt: Thank you, sir. Jul 16 01:54:05 I will let you know what exactly happens. Updates! Jul 16 01:54:13 you really don't have to Jul 16 01:54:17 fine. Jul 16 01:54:21 Thank you, anwyay. Jul 16 01:54:33 anwyay = anyway Jul 16 01:57:38 I erased it and it is still there? Jul 16 01:57:45 Wait? Jul 16 01:58:17 forget it. I was moving too quickly. Jul 16 01:58:20 No updates! Jul 16 01:59:32 The kernel... that command hierarchy (in the social meaning)... I have troubles migrating from microcontrollers to MPU Jul 16 02:10:51 CoffeeBreakfast! Jul 16 02:11:28 Look at this: https://pastebin.com/NqJSXwBx. Jul 16 02:11:49 That kept printing out on my terminal and I could not escape. Boo! Jul 16 02:14:19 Ctrl+C ? Jul 16 02:14:46 I tried. Jul 16 02:14:48 CoffeeBreakfast: well it's *possible* to forego linux and treat the am335x like a microcontroller, depending on which functionality you need Jul 16 02:14:49 It would not work. Jul 16 02:15:00 brb Jul 16 02:16:16 zmatt: I keep the baremetal option open, but a think I need to learn embedded linux for now Jul 16 02:16:49 linux does come with conveniences in exchange for restrictions Jul 16 02:17:05 and you really don't want to have to manually deal with things like usb :) Jul 16 02:18:04 although bootrom does support netboot over usb rndis, so acting like an usb device is apparently not that complicated Jul 16 02:23:12 for example: how can I start a DMA mem to mem in Linux? say from *ptra to *ptrb Jul 16 02:24:26 setting up edma transfers from linux userspace is iffy but not all *that* difficult Jul 16 02:24:45 you can use DT declarations to reserve the necessary edma resources Jul 16 02:24:58 (to avoid interfering with the kernel's use of edma) Jul 16 02:25:31 the bigger problem is usually getting a place to transfer data to or from, i.e. get a chunk of physical memory Jul 16 02:27:37 And making so in a kernel module, instead of userspace is more easy? Jul 16 02:28:16 the kernel has an API for allocating dma memory and setting up dma transfers Jul 16 02:29:14 see e.g. https://www.kernel.org/doc/Documentation/DMA-API-HOWTO.txt Jul 16 02:36:04 great **** ENDING LOGGING AT Mon Jul 16 03:00:01 2018