**** BEGIN LOGGING AT Wed Jan 22 03:01:07 2020 Jan 22 03:17:19 /cl Jan 22 03:30:25 Hey! Jan 22 03:30:37 Dang it. I am mothblur_ again. Jan 22 03:32:32 ? Jan 22 03:33:19 <<< set_ Jan 22 03:33:29 It keeps kicking me for some reason. Jan 22 03:33:50 I had some issues w/ my current config. today and yesterday. The dang thing. Jan 22 03:34:05 Anyway. Blah. Jan 22 03:34:20 I think ds2 wanted to know about openCL on the AI. Jan 22 03:34:25 you're identified as set_ Jan 22 03:34:29 so you should be able to do /nick set_ Jan 22 03:34:37 Oh. Jan 22 03:34:42 Hmm. Jan 22 03:34:53 Please hold. Jan 22 03:35:10 Neat. Jan 22 03:35:37 Well, I just got the Buster image downloaded after networking issues on my end. Jan 22 03:35:45 I am going to try to get OpenCL on the AI again. Jan 22 03:39:10 I mean, it's installed by default Jan 22 03:39:27 on all recent images Jan 22 03:39:54 (the iot ones anyway, not console obviously) Jan 22 03:42:24 Oh. Jan 22 03:42:28 Hmm. Jan 22 03:43:00 So, if I was to sign in and check via opencl --version, it would let me know what version? Jan 22 03:44:59 I see no evidence of an executable by that name Jan 22 03:45:32 Okay. I do not get it. I thought this was used for openCV. Jan 22 03:45:43 opencl and opencv are very different things Jan 22 03:45:51 I am lost. Off to read more. Jan 22 03:46:05 Sorry for wasting your time on this issue. Jan 22 03:47:25 Oops. I remember now. I was trying to get OpenCV on the AI. Jan 22 03:47:31 Not OpenCL. Jan 22 03:47:33 Yikes. Jan 22 03:55:18 so, ds2...no. I have not used it. Jan 22 03:55:25 Sorry man. My bad. **** BEGIN LOGGING AT Wed Jan 22 17:14:39 2020 Jan 22 21:19:12 hi Jan 22 21:20:17 I would like if anyone can perhaps help with my beaglebone black wireless that is stuck in a boot loop Jan 22 21:21:11 what did you do to it? :P Jan 22 21:21:46 no idea its my brothers Jan 22 21:22:51 can you flash the eeprom (bios so to say) of it? Jan 22 21:23:06 to set it up like they would at factiory Jan 22 21:27:02 seems people here are quite dead Jan 22 21:29:03 Ryan76: Not dead yet. Feeling better: https://beagleboard.org/getting-started Jan 22 21:29:28 its in a boot loop so cant even log in Jan 22 21:32:11 read the link Jan 22 21:32:15 it's for flashing the SD card Jan 22 21:35:55 Ryan76: sorry something needed my attention for a minute Jan 22 21:36:13 you can easily reflash the eMMC Jan 22 21:38:39 yeah you can follow the link, or more concisely download https://rcn-ee.com/rootfs/bb.org/testing/2019-08-03/stretch-iot/bone-eMMC-flasher-debian-9.9-iot-armhf-2019-08-03-4gb.img.xz and flash it to sd card (using Etcher is recommended since it can decompress the image on the fly and it will verify the sd card contents after writing it), boot the bbb from the sd card and it'll automatically reflash eMMC Jan 22 21:39:53 will give it a try, but last I checked after holding in the button it just continues with the boot loop Jan 22 21:40:26 You have to hold the button with the SD card inserted :) Jan 22 21:40:27 then you're probably holding it at the wrong time Jan 22 21:40:49 you need to hold it down while applying power, you can let go once the power led turns on Jan 22 21:41:33 if you do so without bootable sd card inserted, it will simply do nothing at all (power led remains on but otherwise no activity, the other four leds remain off) Jan 22 21:42:40 thats just the thing the other four leds go on even without a sd card Jan 22 21:43:04 I mean, yes? that's normal booting Jan 22 21:44:12 note that the button is normally not required to boot from sd card if the bootloader on eMMC is okay and compatible with the system on SD card (i.e. not too much difference in age) Jan 22 21:44:25 mere presence of sd card during boot suffices in that case Jan 22 21:44:29 and then it count like up than crashes, then just repeats Jan 22 21:45:36 but powering on with the S2 button (the one closest to the sd card slot) held down during power-on will remove eMMC from the boot order entirely, so it will either boot from sd card (if a bootable card is inserted) or not at all, the eMMC contents will have no relevance Jan 22 21:46:41 Ryan76: did you try any of the things in the link? Jan 22 21:46:47 like flash an SD card and try to boot from it? Jan 22 21:47:31 I did that once and for some reason it behaves now differently Jan 22 21:47:56 so the best way to be really sure you're booting from sd card is: power on with S2 button held down and no sd card inserted, confirm that it doesn't boot (only power led is on), then - without powering off - insert the sd card and press the reset button Jan 22 21:47:58 how do you get a ip via usb? Jan 22 21:48:26 if the system doesn't boot there's no point in thinking about usb networking Jan 22 21:48:53 it behaves differently as before, might be working now Jan 22 21:49:04 got a heartbeat led Jan 22 21:49:13 then just follow the guide Jan 22 21:49:29 what did you do that's different now? Jan 22 21:51:09 jkridner: btw, the iot flasher on the latest-images page is _still_ the old one (2018-10-07) ... can you please update that to point to the 2019-08-03 flasher image? Jan 22 21:51:26 well maybe now it booted from the emmc Jan 22 21:53:03 if you're able to login via ssh, you can use "findmnt /" to check whether it has booted from eMMC (/dev/mmcblk1p1) or SD (/dev/mmcblk0p1) Jan 22 21:54:19 okay so I got a files popup from it, problem is it didnt add a usb network adapter Jan 22 21:55:39 so, it's been really unclear what exactly you've been doing... did you boot with an sd card inserted yes or no? if yes, what did you write onto this sd card? Jan 22 21:56:26 also, what OS are you using on your computer? Jan 22 21:56:52 no not the sd card this time, but did a few days back to try from sd card boot, no luck then Jan 22 21:57:04 Windows 10 64bt Jan 22 21:57:14 okay so you've booted from whatever unknown system is on the eMMC Jan 22 21:57:45 I flashed the original Beaglebone image from the getting started page Jan 22 21:57:58 which image is that? Jan 22 21:58:23 https://beagleboard.org/latest-images Jan 22 21:58:26 second one Jan 22 21:58:38 also, you're talking about sd card now right? the one you're not using right now Jan 22 21:59:08 2019-08-03 iot image (non-flasher) Jan 22 21:59:26 I flashed the SD card with the 2nd one Jan 22 21:59:44 using Etcher? Jan 22 22:00:00 yep Jan 22 22:01:34 so it shows now the beagle files like a storage drive but no USB network adapter not wireless ap Jan 22 22:01:41 so, is the system previously bootlooped but now magically managed to boot, and you also failed to boot from a valid sd card previously, I'm wonder if maybe it's being powered in an inadequate way (either because the supply can't provide enough current or the cable is crappy) Jan 22 22:01:55 yeah probably you have an old system on eMMC? Jan 22 22:02:06 Microsoft loves to periodically break usb networking Jan 22 22:02:11 likely old system that recovered yes Jan 22 22:02:35 and power is definetly not the issue Jan 22 22:02:56 I connected via my bench power supply along with the usb Jan 22 22:04:13 bench power supply set to 5V and more than enough amps (can do up to 5) Jan 22 22:04:21 try booting from sd card again, using the procedure I gave earlier that makes absolutely sure you've booted from sd card rather than eMMC (the S2 button can be a bit fiddly sometimes, and it's definitely happened to me that I accidently let go of it while connecting power) Jan 22 22:05:34 well does nothing, let me just reflash it quick Jan 22 22:06:59 sometimes the internet can be quite slow here, especially since the undersea cable break Jan 22 22:07:28 so don't throw away the image file :P Jan 22 22:08:57 lol well lets just confirm your process of elimination Jan 22 22:09:13 btw located in South Africa so yeah Jan 22 22:09:24 got a LTE connection at least Jan 22 22:10:28 busy flashing Jan 22 22:11:17 started the download for the eMMC flashing image too Jan 22 22:11:50 ok, though note that the only difference between them is one line being commented out in /boot/uEnv.txt Jan 22 22:12:02 so it's pretty easy to change a normal image into an eMMC flasher Jan 22 22:12:06 your joking Jan 22 22:12:17 damm Jan 22 22:12:30 but they differ greatly in size Jan 22 22:13:25 also note that the flasher on the latest-images page is outdated (you may have seen me complain about that to jkridner 20 minutes ago), which is why I gave a direct link to the 2019-08-03 flasher earlier Jan 22 22:13:57 oh let me cancel mine and get that one then Jan 22 22:15:08 and so your image even downloads fsster then the site Jan 22 22:16:07 almost done flashing Jan 22 22:16:09 it is interesting though that there's still a few MB size difference between the flasher and non-flasher images of the same date... my guess would be the flasher is created by modifying the normal image, and more filesystem blocks got dirtied along the way Jan 22 22:16:21 hence it doesn't compress as well Jan 22 22:16:45 but that's just a guess Jan 22 22:16:54 done flashing Jan 22 22:25:07 seems we are mostly sorted Jan 22 22:25:21 the orignal site image works Jan 22 22:25:41 so, if you want to reflash eMMC, you can just uncomment the relevant line in /boot/uEnv.txt Jan 22 22:25:46 willtry yours shortly, you say its compatable with the beable bone wireless Jan 22 22:25:55 or do that Jan 22 22:25:58 I think it's the last line... it has "eMMC-flasher' in it or something Jan 22 22:26:22 if all fails, use the search function Jan 22 22:27:20 seems it made unreadable partitions Jan 22 22:27:26 "it" ? Jan 22 22:27:38 the beaglebone Jan 22 22:27:43 what do you mean? Jan 22 22:27:58 cant access the micro sd card files Jan 22 22:28:10 asks to format the partitions Jan 22 22:28:12 on windows you mean? windows can't mount linux filesystems Jan 22 22:28:25 yep thought that same thing Jan 22 22:28:37 wonder if android can Jan 22 22:29:06 but you can just boot the beaglebone from it, log in, and then edit /boot/uEnv.txt Jan 22 22:29:38 or that Jan 22 22:29:40 lol Jan 22 22:36:02 done editing file, now just to flash eMMC Jan 22 22:36:10 then connect and update Jan 22 22:36:36 yeah after editing the file just reboot and it should start flashing Jan 22 22:36:39 cmem config in DT is plain annoying :( Jan 22 22:37:06 no need to make boot from SD or suppose I should Jan 22 22:37:44 ds2: that's not required is it? I thought it could be configured via module parameters Jan 22 22:37:49 Ryan74: what do you mean? Jan 22 22:38:18 Hold in the button to boot from sd Jan 22 22:38:34 and on that boot it will start installing Jan 22 22:38:35 just use "sudo reboot" to reboot the system Jan 22 22:38:53 nvm got disco lights Jan 22 22:39:18 meaning its installing as to my guess Jan 22 22:39:28 the button isn't sampled at reboot/reset, only at power-on Jan 22 22:39:28 yes Jan 22 22:40:00 and if I read correct this can take up to 45 min? Jan 22 22:40:04 nah Jan 22 22:40:05 zmatt: not in the latest Jan 22 22:40:19 Ryan74: it shouldn't take anywhere nearly that long Jan 22 22:40:34 ds2: hm Jan 22 22:40:39 how long you recon? Jan 22 22:41:03 zmatt: TI's docs even says that Jan 22 22:41:37 now if only TI would license the OpenCL for GPU bits on the am57x.... Jan 22 22:41:56 Ryan74: dunno, depends on how much bloat is on the latest IoT image ;) and on how old the beaglebone is (the specific eMMC chip used has changed a few times and performance has increased over time as a result) Jan 22 22:43:53 Ryan74: oh, I do hope your BBB is revision C (which is all but the very oldest BBBs) Jan 22 22:44:29 where can you see that? Jan 22 22:46:26 well my old rev A5A has a sticker saying "A5A" but rev C ones aren't explicitly marked as such Jan 22 22:47:08 but like,... rev C is already 4-5 years old I think Jan 22 22:50:50 hmm will have a look Its my bed time so see you perhaps again Jan 22 22:51:15 one way to tell is by checking the eMMC part on the board... before rev C it used Micron eMMC with part marking "JW896": https://photos.app.goo.gl/iFpxtrs4pMCgmd427 Jan 22 22:51:27 also, in that case flashing eMMC with the latest iot image will fail, it doesn't fit Jan 22 22:51:39 2GB! Jan 22 22:52:10 rev C uses Micron JWA06 or one of various Kingston eMMC chips Jan 22 22:52:58 it has a kingston chip, it aslo did get to finish the install Jan 22 22:53:03 then it's rev C Jan 22 22:53:12 thanks so much for the help Jan 22 22:53:23 no prob! Jan 22 22:57:31 Hey! Jan 22 22:57:53 I tried /nick set_ and someone is signed in and the system is not allowing me to use set_. Jan 22 22:57:56 Odd? Jan 22 22:58:21 the nick set_ is not being used by anyone Jan 22 22:58:29 I just tried on my end. Jan 22 22:58:31 I will try again. Jan 22 22:58:45 Hmm. Jan 22 22:58:47 You are right. Jan 22 22:58:55 probably you tried to connect while your old connection hadn't timed out yet? Jan 22 22:59:00 *tried to reconnect Jan 22 22:59:01 Probably. Jan 22 22:59:18 The microwave age, heh? Jan 22 22:59:30 Everyone wants it now, now, now. Jan 22 22:59:31 you can force your old connection (or who/whatever is using the nick "set_") to disconnect anyway Jan 22 22:59:40 That is what I thought. Jan 22 22:59:50 b/c I registered. Jan 22 23:00:05 It was most likely a timing issue. Jan 22 23:00:06 /msg nickserv ghost set_ Jan 22 23:00:14 What does that do? Jan 22 23:00:29 will disconnect "set_" (which you're allowed to do because you're correctly authenticated on your "set_" account already) Jan 22 23:00:51 You may not ghost yourself! Jan 22 23:00:52 Ha. Jan 22 23:00:54 so after that you'd be able to do /nick set_ Jan 22 23:00:57 Oh. Jan 22 23:00:58 Okay. Jan 22 23:01:09 Neat. Jan 22 23:01:11 yeah duh, I meant if you have the problem of not being able to use your nick again :P Jan 22 23:01:23 I got it once I typed it in and received feedback. Jan 22 23:01:45 Maker Faire March 2020! Jan 22 23:02:02 I am in it to win it. I am setting up the old bot, some basics, and something else. Jan 22 23:02:49 Basics: LEDs, Alarm System, and a temp. sensor too. I should have more hardware on me just in case people are interested. Jan 22 23:05:38 And if not, the Bot lives! Jan 22 23:22:34 Should the LED anode (positive) go to ground or to the resistor? Jan 22 23:23:09 The Cathode should go to the GND pin on the BBB, right? Jan 22 23:23:57 I am reading this book, "Programming the BeagleBone Black," and it has some "funny" literature w/ photos. Jan 22 23:26:05 I am paraphrasing but, "The positive lead should be towards the top of the breadboard," while the photo shows the anode of the LED going into the resistor. Is that right? Jan 22 23:30:30 few points here - Jan 22 23:30:52 electricity needs a complete loop for it to do something Jan 22 23:31:17 using conventional current flow, electricity starts at the positive side and goes to the neg side Jan 22 23:31:39 so if your LED has both ends connected to ground (the negative side), you don't have a loop Jan 22 23:33:10 Right. Jan 22 23:33:46 I understand the loop of a circuit idea, sort of. I understand that the + side is the start and GND is the end until it reiterates. Jan 22 23:33:47 Right? Jan 22 23:34:03 yes Jan 22 23:34:16 the resistor can be anywhere in the loop Jan 22 23:34:25 Oh. Jan 22 23:34:31 you are trying to limit current (LED are current driven devices) Jan 22 23:34:51 See, I thought the resistor needed to be from positive or GPIOx_xx. Jan 22 23:35:04 And then...the other end of the resistor goes to GND. Jan 22 23:35:14 Oh. Jan 22 23:35:31 if you did that the resistor would jsut be heating up Jan 22 23:35:39 Sorry. I made a mistake in that English. Jan 22 23:35:58 So: P9.13 >>> resistor >>> LED >>> GND? Jan 22 23:36:06 that works Jan 22 23:36:16 or P9.13 - LED - resistor - GND Jan 22 23:36:25 Right. But, what about the cathode and anode of the LED. Oh! Jan 22 23:36:35 I personally would drive it via a transistor but you can probally get it to work if you use an efficient enough LED Jan 22 23:38:16 So, the anode of the LED, positive, gets current to it from P9.13 (or wherever) and the cathode of the LED (negative) feeds the resistor and the resistor "resists" current to GND and it reiterates. Jan 22 23:38:18 would NOT i mean Jan 22 23:38:19 blah Jan 22 23:38:22 Ha. Jan 22 23:38:52 what you said can work... the resistor just needs to be in the loop Jan 22 23:39:20 But...does the LED cathode and anode play a part in this whole shabang? Jan 22 23:40:03 it just needs to be the right polarity Jan 22 23:40:15 anode needs to be the most positive and cathode most negative Jan 22 23:40:21 I think this is where the communication error lies. polarity. Right. Jan 22 23:40:23 Okay. Jan 22 23:40:57 I just wanted to make sure. No matter how odd that is right now years later in my findings, I am basically trying to articulate the finding of this info. to children. Jan 22 23:41:07 This fact of telling children is not easy. Jan 22 23:41:52 So, I need to have all bases covered, e.g. what is an LED, how do they work, etc... Jan 22 23:42:49 + to + and - to -. So, a resistor just needs to be in the logic of the loop so that either GND or P9.xx does not get smokey! Jan 22 23:43:33 I have made this circuit many times. I just am trying to be able to communicate this circuit in English. That is all. Jan 22 23:44:04 ds2: Thank you for making me understand. I was fretting it. Jan 22 23:46:41 =) Jan 22 23:47:09 IIRC, this is also in the chapter of my book :D Jan 22 23:48:15 Which one? Jan 22 23:48:26 Learning Beaglebone Jan 22 23:48:38 Where is that one located? Jan 22 23:48:44 I might have it already. Jan 22 23:48:48 located? Jan 22 23:48:52 Online! Jan 22 23:49:10 or is it a .pdf you sell? Jan 22 23:49:12 that I donno off hand Jan 22 23:49:19 Okay. I will look it up. Jan 22 23:49:32 "Learning Beaglebone." Jan 22 23:49:39 it is a PackT thing, not sure where all the places that gets sold Jan 22 23:49:48 Oh. Jan 22 23:50:03 Yea. I got a bunch of those packt pub books back in the "day." Jan 22 23:50:09 Let me see. Jan 22 23:50:16 I just have the paper version Jan 22 23:50:32 supposely they have a subscription system that lets you get any of their books Jan 22 23:51:32 Hey. Is it, "Learning BeagleBone Python Programming"? Jan 22 23:52:06 no Jan 22 23:52:10 Dang it. Jan 22 23:52:24 Is it new, circa '18 or '19? Jan 22 23:53:00 https://www.amazon.com/Learning-BeagleBone-Hunyue-Yau-ebook/dp/B00RP13BOE/ Jan 22 23:53:10 that's the Amz listing but it is a PackT thing Jan 22 23:53:58 I just faded that LED! Jan 22 23:53:59 Ha. Jan 22 23:54:38 Let me see if I have that book, yet. Jan 22 23:56:39 Hmmm I wonder if rpmsg is choking OpenCL on the BBAI Jan 22 23:56:39 Odd. I do not think I own that one yet. I have a couple more places to check. This is "severely" odd. Jan 22 23:56:55 heheh Jan 22 23:57:37 I just got some arm books for $5.00. Packtpub sells their books for $5.00 at times. I will see if I can pick it up. Then, "i can complain to you all day!" Jan 22 23:57:38 Ha. Jan 22 23:57:53 :D Jan 22 23:58:14 "You do not do this right. You could have said this that way..." Jan 22 23:58:36 "You can write your own book." ;) Jan 22 23:58:40 Ha! Jan 22 23:58:52 I ahhahahah might try one day. Jan 22 23:58:59 Who knows? Jan 22 23:59:31 I have limited experience. So, it might be after a bunch more books. "Bunch" means 12 more maybe. Jan 22 23:59:44 I need more basics before moving on to "serious" stuff. Jan 23 00:53:35 ds2: I got that sucka! Jan 23 00:54:00 BBC - BeagleBone Classic! Jan 23 00:54:10 I was not around when that white one came out. Jan 23 00:54:36 Do you want me to review it once I complete it? Jan 23 00:54:43 it's called the beaglebone white, not the "beaglebone classic" Jan 23 00:54:48 Oh. Jan 23 00:54:59 In that book from ds2, they called it classic. Jan 23 00:55:01 I think. Jan 23 00:55:07 Off to read more. Jan 23 00:55:43 I'm too lazy to click the link, just saying I've never seen anyone call it that Jan 23 00:55:50 Me neither. Jan 23 00:56:01 That is why I proclaimed the Classic on it! Jan 23 00:56:07 Classic! Jan 23 00:56:24 It ryhmes w/ a type of pickle! Jan 23 00:56:39 Vlasic. Okay. I am done for now. Off to read. Jan 23 00:57:18 you probably misread "BeagleBoard Classic" Jan 23 00:57:26 (note: board, not bone) Jan 23 00:57:33 Oh. Jan 23 00:57:35 Let me see. Jan 23 00:57:52 Oh. Yep. BeagleBoard Classic. Dang it. Jan 23 00:57:58 Can I get anything correct in 2020? Jan 23 00:58:22 I heard TI took a hit this year in earnings. Dang people. Jan 23 00:58:30 Well. 2019. Jan 23 00:59:07 hmmm? Jan 23 00:59:27 BBC - defined as BeagleBone Classic? hehe that's a typo Jan 23 00:59:38 nah he misread Jan 23 00:59:45 I messed up. Jan 23 00:59:46 doh...n/m, just saw the correction Jan 23 00:59:50 Ha. Jan 23 00:59:56 What is new, right/ Jan 23 01:00:00 Dang it. Jan 23 01:00:41 on a different thing - is there an upper limit on size of rpmsg messages? Jan 23 01:00:51 Dang. I was not around for three boards. Jan 23 01:01:13 ds2: I am retreating. Enjoy the answer. Jan 23 01:05:42 ds2: I like the book so far. Safety first. There is nothing wrong w/ composing items of safety for people to understand the severity of reprocussions if neglected. Jan 23 01:05:46 Yea boy! Jan 23 01:06:45 Hell, even me for instance, put in a tutorial that "eyes could get poked out." Jan 23 01:06:46 Ha. Jan 23 01:07:00 Be quick w/ those glasses! Jan 23 01:18:01 from experience, I have become a strong fan of safety glasses Jan 23 01:18:13 had too many things bounce right off it at the least expected items Jan 23 01:19:21 Right, I already learned that idea to hold true. Jan 23 01:19:53 Hey ds2: Thank you for this book. It shows more on the linux side of things outside of the actual BBB land. Jan 23 01:19:54 ... Jan 23 01:20:33 For instance, I can set up my Linux Distro and write commands to my BBB from the dev. desktop and have things work. Hopefully. Jan 23 01:21:11 Testing will ensue. I have been using Win for my BBB experience w/ PuTTY for a long time now. Jan 23 01:23:16 sudo dd if=/image of=/dev/sdc bs=1M <<<<<<------ Does this command still hold true to this day? Jan 23 01:39:58 Do not answer. I will test it out... Jan 23 01:50:25 Sorry. Jan 23 02:24:04 For analog sensors, like the TMP36, should I use a resistor or other form of current limiting device for the input pin? Jan 23 02:24:31 I have two LEDs and one TMP36. HOt = Red and Cool = Green! Jan 23 02:27:01 It has an output factor of 10mV. Jan 23 02:34:54 I can do vOUT at 1mV. Jan 23 02:35:07 Is that enough to make sure this thing can read correctly? Jan 23 02:35:29 Testing! **** ENDING LOGGING AT Thu Jan 23 02:59:57 2020