**** BEGIN LOGGING AT Fri Nov 20 02:59:57 2020 Nov 20 03:01:10 set_ is pwmchip0 a device or directory? Nov 20 03:03:09 dir! Nov 20 03:03:20 I can export and everything. Nov 20 03:03:47 I just have not clue as to where on the AI pwmchip0 is located on the headers. Nov 20 03:04:01 I keep making that typo. not instead of no. Nov 20 03:04:03 Sheesh. Nov 20 03:07:09 how about starting with groups of PWM outputs/ Nov 20 03:08:19 Okay. Nov 20 03:08:35 So, what exactly are you saying and please type it slowly. Nov 20 03:09:11 So, I would plug in, say a LED or multiple LEDs, to all pwm outputs? Nov 20 03:09:20 And test? Nov 20 03:10:09 I just go into the move. I am almost ready for multiple LEDs. I only have one for now. Nov 20 03:10:47 GenTooMan: I got the Cape Header Pins for the AI up and I am reviewing it. Nov 20 03:11:11 It is a google sheet of AI pins. Nov 20 03:12:04 Oh. Or... Nov 20 03:12:46 Do you mean make multiple External Cape locations available in the /boot/uEnv.txt file to see if I can find the pwmchip1 and pwmchip2? Nov 20 03:18:56 Alright, so. It is not "exact" but the pwmchipX references are working just fine. Nov 20 03:19:23 So, I have two now but I will have to test and guess. Trial and Error on the way! Nov 20 03:20:24 Now, I do have some questions. What is 3.3v on this header for the BBAI? Nov 20 03:20:47 I will test it. Nov 20 03:21:17 Hey can anyone help me learn how to connect to ssh through putty Nov 20 03:21:50 Open it and click open. Nov 20 03:22:08 But...make sure the BBB is plugged in first. Nov 20 03:22:18 you mean operating right? Nov 20 03:23:26 Okay what do I do after opening it Nov 20 03:23:33 sign in. Nov 20 03:23:44 debian:temppwd Nov 20 03:24:21 Right Nov 20 03:24:36 I know how to connect through Serial com port Nov 20 03:24:44 But I heard SSH is better, but idk how to do that Nov 20 03:25:36 Same as ssh Nov 20 03:25:50 How do I connect to SSH Nov 20 03:25:55 debian is the user and temppwd is the password unless you change it. Nov 20 03:26:01 open on port 22. Nov 20 03:26:16 COM4 is something else on windrows. Nov 20 03:26:16 what is the host name or ip Nov 20 03:26:22 192.168.7.2 Nov 20 03:33:02 Well, pwmchip0 is not p9.16. Nov 20 03:36:23 Okay Thank you set Nov 20 03:36:27 I can connect via ssh now Nov 20 03:36:36 Nice! Nov 20 03:36:43 How do I install stuff on the board?] Nov 20 03:36:46 Like I want to install Go Nov 20 03:37:35 go? Nov 20 03:37:43 That is a large lib. Nov 20 03:37:45 Sheesh. Nov 20 03:37:56 Yeah, is that bad? Nov 20 03:38:00 You may want to "go" to the go repo online at github or their website. Nov 20 03:38:10 Well, you have only so much space on the BBB. Nov 20 03:38:22 it's debian set_ Nov 20 03:38:26 And...you only have so much RAM. Nov 20 03:38:28 Debian! Nov 20 03:38:34 sudo apt install go? Nov 20 03:38:46 I have no idea, I've never done this before. I'm completely new to this Nov 20 03:38:49 that's more likely the way to install it yes Nov 20 03:39:04 Okay. Go to Debian site online and look for GO. Nov 20 03:39:24 There's a debian site? Nov 20 03:39:27 or...Yes! Nov 20 03:39:33 debian.org Nov 20 03:39:46 Please wait. I will look it up. Nov 20 03:39:52 Aceplosion yeah they have a huge amount of information some of it even new LOL Nov 20 03:40:29 Wow that's crazy, I'm looking at it now Nov 20 03:40:43 I'm a freshman computer engineer student so embedded systems are good to look at right/ Nov 20 03:40:45 ?* Nov 20 03:40:53 https://www.digitalocean.com/community/tutorials/how-to-install-go-on-debian-10 is one way I can find that was on the top of searching. Nov 20 03:41:16 Also, I'm so glad I found this place. Never heard of freenode before, I went through like 15 different discords looking for someone to help me haha Nov 20 03:41:32 irc should be your first stop for deep knowledge Nov 20 03:41:44 Ha. Nov 20 03:42:01 Hey...p9.16 is not pwmchip0 or pwmchip2. Nov 20 03:42:02 Boo. Nov 20 03:42:19 I will try the other ones now. Nov 20 03:42:27 What is IRC? Nov 20 03:42:53 IRC is this thing but IIRC is if i remember correctly Nov 20 03:43:23 Also, how do I tell how much space I have on the board? I was gifted the element14 industrial beaglebone black. It's red Nov 20 03:43:36 IRC is beagle? Nov 20 03:44:58 also when I did "sudo apt update" it said there are 89 packages I can update, should I do that? Nov 20 03:45:00 df -h Nov 20 03:45:03 Sorry for asking ,so many questions Nov 20 03:45:19 IRC = internet relay chat Nov 20 03:45:23 Ah okay Nov 20 03:45:31 Upgrade! Nov 20 03:45:36 Which one of the things in df -h tells me how much space I have Nov 20 03:46:53 Also, how do I upgrade all of them haha, it told me to type "apt list --upgradable" but that just lists which one need an upgrade Nov 20 03:46:58 Got it. Nov 20 03:47:16 sudo apt update && sudo apt upgrade Nov 20 03:47:25 Oh. Nov 20 03:48:06 df -h shows you how much space you have. mmcblk Nov 20 03:48:23 It is usually GB and not just MB. Nov 20 03:48:44 Dudes...I got the PWM to work on the AI. Can I get an applause? Nov 20 03:48:54 That's awesome! Idk what that means, but great Nov 20 03:49:02 All I hear is cheers, cheers, cheers! Nov 20 03:49:09 Thanks. Nov 20 03:49:50 Aceplosion: I think people quiet down here at around 10:00. At least GenTooMan jumped my bones about it. Ha. Nov 20 03:50:04 Ah okay Nov 20 03:50:17 I'll probably be on for a few more hours working on this stuff before I finish up a chem lab Nov 20 03:50:27 Chemistry. Yikes. Nov 20 03:50:33 Good luck. Nov 20 03:51:01 Haha, it's my worst subject. I can ace calculus 2, but chem is just nonsense Nov 20 03:51:43 Calc was hard on me. They always fooled me. I tried to remember the formulas for the last exam, final, and the prof. gave 'em out. Nov 20 03:51:45 I was so mad. Nov 20 03:52:12 Applied calc. wooped me. Nov 20 03:52:24 I take calc 3 next semester Nov 20 03:52:33 Yikes. Nov 20 03:52:41 That sounds very difficult. Nov 20 03:53:01 Isn't it supposed to be easier than calc 2? Nov 20 03:53:06 Like how pre calc is harder than calc Nov 20 03:53:14 I guess if you can simplify, do it! Nov 20 03:53:23 That's true Nov 20 03:53:28 Right. Sort of...since it is the same subject. Nov 20 03:53:40 I can see why some people can get along w/ subjects. Nov 20 03:53:44 Oh wow, beagle has python? It says it's updating those packages now Nov 20 03:54:00 For instance, if I had 20 years plus exp. of digging holes, people would ask me how to dig. Nov 20 03:54:05 Yes. Nov 20 03:54:08 Yeah fair, really chem and history are the only subjects I've never had interests in Nov 20 03:54:28 Hmm. History is good for getting the attention you desire. Nov 20 03:54:49 For instance, if you were to use references currently. Nov 20 03:55:46 Aceplosion: The people here have more info. than I can gather but I just usually have fun (so far). Nov 20 03:56:07 So, if you are looking into depth on a subject in ee or source, I am not that person. Nov 20 03:56:27 by ee you mean electrical engineering? Nov 20 03:56:32 yep. Nov 20 03:56:49 Yeah that's fine, I'm just getting started with this stuff Nov 20 03:56:53 But...I finally figured out how to make my PWM peripheral work on the BBAI. Nov 20 03:56:59 LEDs! Nov 20 03:57:09 I know what Light emitting diodes are! Nov 20 03:57:13 Nice. Nov 20 03:57:19 I've done arduino, java, python, and matlab, but that's about it Nov 20 03:57:24 It is the start of a miracle. Nov 20 03:57:29 That's cool though glad you got your stuff workign Nov 20 03:57:30 working* Nov 20 03:57:37 if you are good at calc 2 extending to a function of many variables is not a big leap Nov 20 03:57:47 Yep. I am happy. Ha. Nov 20 03:57:59 I liked the quadratic forumla only. Nov 20 03:58:02 Also, you can't copy/paste in ssh? Nov 20 03:58:14 You can. Right click. Nov 20 03:58:16 Have you seen the cubic or quartic formula? I laughed so hard when I saw them Nov 20 03:58:21 No. Nov 20 03:58:28 I should look it up. Nov 20 03:58:32 They're massive Nov 20 03:58:36 Hmm. Nov 20 03:58:47 Off to look it up. Two minute warning. Nov 20 03:58:51 But formulas to guarantee solutions to equations of the fifth degree and above are impossible Nov 20 03:58:58 Right. Nov 20 03:58:59 so quartic is as far as we can get Nov 20 03:59:04 I know. Nov 20 03:59:09 People are still trying. Nov 20 03:59:38 so tell me when the number PI is resolved too. Nov 20 04:00:07 So, the cubic formula would be a major pain to simplify. Nov 20 04:00:10 I can see it now. Nov 20 04:00:14 also show me how to use euclidean constructs to trisect an angle ... let me see their are other funny ones in math. Nov 20 04:00:34 Four years later, set_ simplifies w/ a couple of random people! Nov 20 04:01:25 never ask a math major what they think of infinity they will deny it's existence (another fun one). Nov 20 04:01:32 euclidean constructs. Nov 20 04:01:48 Off to look it up. Nov 20 04:02:25 I'll look it up too Nov 20 04:03:03 I found a chinese version in English. The page was so bright, I think I seizured. Nov 20 04:03:24 It is neat, though. Nov 20 04:03:51 So, like if I have a circle, the center most point is the reference and the edge is its second portion. Nov 20 04:04:11 W/ that, I can draw some neat stuff. Nov 20 04:04:29 10:00! Nov 20 04:04:37 df h- says I have 1.3gb left! That should be enough for Go right? Nov 20 04:04:44 Are you getting off set? Nov 20 04:04:58 go the game? Nov 20 04:05:03 no. Nov 20 04:05:06 or the langueage by google Nov 20 04:05:10 language* Nov 20 04:05:26 I feel we need new math Nov 20 04:05:26 use sudo /opt/scripts/tools/grow_partition.sh Nov 20 04:05:35 for humanity to make the next leap Nov 20 04:05:36 That will inflate your SD Card. Nov 20 04:05:48 I'm running off the board, not an SD Nov 20 04:05:54 Oh. Nov 20 04:05:57 Do it anyway. Nov 20 04:06:12 1.3 GB is a lot. Nov 20 04:06:22 what are you doing with your BBB Aceplosion Nov 20 04:06:22 I'm not sure but math is based on what came before it. NEW math is just things derived from what came before it when their is a need. Nov 20 04:06:23 But, you may want to try to use a SD Card w/ GO. Nov 20 04:06:36 yeah that is incremental Nov 20 04:06:45 we need a major innovation Nov 20 04:06:49 I got one. Nov 20 04:06:51 matt I'm just trying stuff out Nov 20 04:07:02 like tools to deal with non linearity Nov 20 04:07:23 we are not going to achieve warp speed with finite element approximations Nov 20 04:07:26 lol Nov 20 04:08:10 what does sudo mean when I type it? Like is there a list of keywords for this somewhere? Nov 20 04:08:24 sudo = sudden doom if you screw up Nov 20 04:08:37 Also, what language am I using when I type into the ssh lmao. Is it debian the linux flavor? Or shell linux or idk what I'm talking about Nov 20 04:09:02 zmatt would castrate you Nov 20 04:09:03 lol Nov 20 04:09:17 haha he was helping me earlier, nice guy Nov 20 04:09:47 yeah he is great but he can be testy if you pelt him with stuff like that Nov 20 04:09:51 after a while Nov 20 04:10:00 mattb000ne um you obviously haven't been keeping up someone wrote their doctoral thesis based on if the the idea of warping were possible what mathematically would need to exist, it was quite an interesting read. Although don't try to do it in a day ... or a week for that matter. Nov 20 04:10:34 GenTooMan: cool I will google it Nov 20 04:10:52 you into star trek Nov 20 04:11:04 I am a Next Generation dude Nov 20 04:11:26 me too! Nov 20 04:11:36 I am the last of my kind. Nov 20 04:11:39 Ha. Nov 20 04:11:42 That super complex math is hard to read Nov 20 04:11:44 so dense Nov 20 04:11:58 I could look at like a paragraph for like a day trying to understand it Nov 20 04:12:09 I just read over and over till I get it Nov 20 04:12:15 rinse and repeat Nov 20 04:12:27 not really I enjoyed the show but that was it the actors were pretty funny. You should see the out takes with Patrick Stewart Nov 20 04:12:40 I love that guy Nov 20 04:12:51 he's quite the weird person apparently. Nov 20 04:12:56 set_ I did curl -0 https://golang.org/doc/install?download=go1.15.5.linux-amd64.tar.gz to try to install Go, but it just reads out the html code ? Nov 20 04:12:57 he could make taking a dump seem regal Nov 20 04:13:02 he is I heard an interview on NPR Nov 20 04:13:14 I just like how he does voice overs for American Dad and stuff Nov 20 04:14:45 Aceplosion try wget https://dl.google.com/go/go1.15.2.linux-amd64.tar.gz Nov 20 04:15:24 Isn't 15.2 an older version? Nov 20 04:15:35 Aceplosion accept you can't use AMD64 so that won't work Nov 20 04:16:13 Ah okay, sorry Nov 20 04:16:53 it said " Warning: Binary output can mess up your terminal. Use "--output -" to tell Nov 20 04:17:38 I use wget not curl that said. Nov 20 04:17:46 wget https://golang.org/dl/go1.15.5.src.tar.gz Nov 20 04:17:49 I'm dumb Nov 20 04:18:15 https://packages.debian.org/buster/golang-go Nov 20 04:19:06 perhaps apt-get install golang-go Nov 20 04:19:20 if their is an ARM version it will install the right one Nov 20 04:20:06 Thanks the wget worked Nov 20 04:21:57 So do I keep following the guide linked earlier? Nov 20 04:22:24 That was one way. sudo apt install golang-go would be better. Nov 20 04:22:32 for your own sanity you may wish to attempt sudo apt-get install golang-go Nov 20 04:22:34 Esp. for the armhf arch. Nov 20 04:22:35 Okay I'll do that then Nov 20 04:22:44 But didn't I already install it with the wget ? Nov 20 04:23:05 Seriously...a fall back would be to search outside of the packages available on debian repos. Nov 20 04:23:05 no you copied the source to your local directory. Nov 20 04:23:16 Fallback only. Nov 20 04:23:51 to get more resent version you may wish to set your system up to backports Nov 20 04:23:54 like if you wanted to keep track of versioning on your own repos. and source. Nov 20 04:24:13 I don't know how to do that Nov 20 04:24:36 but the sudo apt-get install goland-go Nov 20 04:24:41 worked* Nov 20 04:24:43 yea! Nov 20 04:24:56 debian is masterful at making things work. Nov 20 04:25:17 I bet, this is my first time using linux at all Nov 20 04:25:21 all those people and all that development is good. Nov 20 04:25:22 Oh. Nov 20 04:25:28 I've only worked in nice comfortable IDEs and stuff Nov 20 04:25:38 Working in a terminal is much stranger Nov 20 04:25:54 Okay so it finished running that command and says it's done Nov 20 04:26:00 so, do you know how to use nano, vim, vi, or another text editor? Nov 20 04:26:05 Is there a way to check what's on the board and stuff Nov 20 04:26:13 cd Nov 20 04:26:21 cd to dirs. Nov 20 04:26:46 so, cd ../ and pwd for locating your current dir. in case you are lost. Nov 20 04:27:05 for instance... try it. type cd .. Nov 20 04:27:23 it will bring you back one level in the dir. tree. Nov 20 04:27:29 Aceplosion you need to be careful you may end up accidentally wiping out your windows system to install Linux. Nov 20 04:29:00 Ugh. GenTooMan: is Aceplosion trying to dual boot? Nov 20 04:29:11 I must have missed it. Nov 20 04:29:43 Really I can do that? Nov 20 04:30:49 Yes. Nov 20 04:31:04 YOu can put win 10 and Linux on your dev. desktop. Nov 20 04:31:23 people do it all the time, that's why they come up with UEFI to prevent people from booting anything but windows. Nov 20 04:31:26 You can also boot into Linux instead of Win 10 or vice versa. Nov 20 04:31:35 Aw. Nov 20 04:31:56 But I'm just working in the ssh terminal Nov 20 04:31:58 I'm okay right? Nov 20 04:32:09 Yea. Oh. Nov 20 04:32:13 right you haven't blown your computer up that's for set to do. Nov 20 04:32:39 So, after doing that the sudo apt-get install goland-go Nov 20 04:32:51 It works on my board right? Like it's fully installed? Nov 20 04:32:53 I thought b/c of, hahahahha, GenTooMan saying "wiping," you were trying to dual boot. Nov 20 04:32:56 Right. Nov 20 04:33:04 Oh cool, how do I use it Nov 20 04:33:14 haha that's a broad qustion Nov 20 04:33:16 question* Nov 20 04:33:25 I meant like how would I do something like "hello world" Nov 20 04:33:28 nano MyFirstProjectOnABBB.go Nov 20 04:33:39 nano is something simple. Nov 20 04:33:40 print (Hello World"); Nov 20 04:33:49 "Hello world"* Nov 20 04:33:51 Or...you can use vi. Nov 20 04:33:56 which one is better? Nov 20 04:33:59 err have you used go before? Nov 20 04:34:16 nano is easy and vi is difficult for new users. Nov 20 04:34:28 Nope, but I've done python/java so it can't be that different Nov 20 04:34:31 I learned some of kotlin Nov 20 04:34:35 But, you can always take time out to learn it. Nov 20 04:34:36 I'll use nano then for now Nov 20 04:34:46 Is vi better overall longterm? Nov 20 04:34:53 right but you may want a nano cheat sheet handy. Nov 20 04:35:03 Cheat Sheet for the commands! Nov 20 04:35:05 Yeah, if I google one can I find it? Nov 20 04:35:18 Got it https://www.nano-editor.org/dist/latest/cheatsheet.html Nov 20 04:35:39 vi is an ancient text editor dating over 4 decades. it's surprisingly handy but it's not for most people. Nov 20 04:35:48 Fair Nov 20 04:35:56 If I wanted to move go to an sd card is that possible Nov 20 04:36:04 Like moving data from board to sd card vice versa Nov 20 04:36:23 you have a newer BBB? then you can boot from SD without issue. Nov 20 04:36:38 you will have to create the SD card with the boot image first however. Nov 20 04:36:51 I don't know, it had 2016 debian installed on it. I was gifted it, it's a element 14 industrial beaglebone black Nov 20 04:37:01 I already flashed the 2020 debian on it earlier though Nov 20 04:37:11 Nice. Red! Nov 20 04:37:24 Yep it's a nice red color Nov 20 04:37:29 They probably stole mine from the trash. Nov 20 04:37:33 Just playin'. Nov 20 04:38:32 sorry. Proceed. Nov 20 04:38:39 Haha it's okay Nov 20 04:38:44 So about my earlier question Nov 20 04:38:49 If I were to insert a blank sd card Nov 20 04:38:57 Can I move the installed Go on to the SD Card? Nov 20 04:39:03 I'm not sure how this works Nov 20 04:39:27 Oh. Nov 20 04:39:30 I understand. Nov 20 04:39:40 Good question. Are you good w/ shell scripts? Nov 20 04:39:52 Do you have a dollar? Nov 20 04:39:58 No, this is my first experience with it Nov 20 04:40:01 Oh. Nov 20 04:40:03 Okay. Nov 20 04:40:08 Um... Nov 20 04:40:17 I say no but it used to be possible. Nov 20 04:40:18 I suggest looking up some directions ? Nov 20 04:40:31 Yeah sorry I'm too reliant on you guys Nov 20 04:40:56 There was an older script that used to place the entire image file on a Linux Distro. Nov 20 04:41:10 it's likely in the same site you used to find out how to reflash your mmc Nov 20 04:41:22 beagleboard.org! Nov 20 04:41:40 bbb.io! Nov 20 04:42:12 Hmm okay I'll read about it Nov 20 04:42:20 Aceplosion: It may be easier, unless you are a wiz w/ sh scripts, to just install a new image. Nov 20 04:42:31 An image with Go? Nov 20 04:42:47 sudo apt install golang-go Nov 20 04:43:08 with the sd card inserted? Nov 20 04:43:25 That installs go on your board. You can make your image on SD Card via bbb.io/ and then install go. Nov 20 04:43:33 Oh okay Nov 20 04:43:41 But wouldn't that erase whatever I have on my board? Nov 20 04:43:47 For instance, no. Nov 20 04:43:49 But... Nov 20 04:43:50 Or it can boot from SD without flashing Nov 20 04:43:59 That's probably what you mean, it just reads the info from the board? Nov 20 04:44:12 sd card* Nov 20 04:44:15 You can make sure your eMMC and SD Card image are the same or just use the S2 button when booting to boot into SD Card. Nov 20 04:44:29 You have to flash. yes. Nov 20 04:44:42 So that would erase whatever updates and stuff I did on my board no? Nov 20 04:44:56 So, w/ etcher, flash an image on SD Card. No. Nov 20 04:45:13 Oh okay, I thought whenever you flashed the board it would override everything Nov 20 04:45:24 Like it does when I flashed the latest debian os Nov 20 04:45:30 You can use eMMC or SD Card but have your eMMC populated while using the SD Card(s). Nov 20 04:45:37 Aceplosion you boot the board with the SD card first then you install it on the SD card in that configuration :D Nov 20 04:45:47 Right. Nov 20 04:46:01 Hmm okay, thank you. Sorry if I'm being dense Nov 20 04:46:07 You can actually have 45 SD Cards w/ different images. Nov 20 04:46:07 Still working out how this works exactly Nov 20 04:46:09 Or more. Nov 20 04:46:20 generally measure twice cut once. Nov 20 04:46:27 No. Nov 20 04:46:33 Cut twice, measure once. Nov 20 04:46:41 I had a cheap saw. Nov 20 04:46:48 Haha Nov 20 04:47:08 So I can have my board just use an image from an SD card without it rewriting everything, okay that's useful Nov 20 04:47:15 I am still happy to make pwm work. LEDs! Nov 20 04:47:23 But! Nov 20 04:47:24 So at some point I'll clear go from the board and try to do it through an SD Nov 20 04:47:30 Make sure it is a SD Card image. Nov 20 04:48:05 You might want to. It takes up a bunch of space. If your board stops working b/c of the eMMC being too populated, you might have to rewrite it. Nov 20 04:48:28 Hmm okay, I understand better now Nov 20 04:48:47 1.3 GB or whatever you said earlier, the space left, is a lot. Nov 20 04:49:06 So to get hello world through Go on the board how would I do that? Nov 20 04:49:20 Sorry if I'm asking too many questions Nov 20 04:49:20 But, you can have a 16 GB SD Card w/ space in case you are trying to provide heavy GB of space to the board, BBB! Nov 20 04:49:41 Let me look up . suffixes. Nov 20 04:49:46 * GenTooMan adjusts the set_ machine. Nov 20 04:50:30 nano hello.go Nov 20 04:50:32 Ha. Nov 20 04:50:46 There is actually just one. Nov 20 04:50:48 .go Nov 20 04:50:55 That is nice. Nov 20 04:51:14 For such a vast program, .go seems a bit less than adequate. Nov 20 04:51:26 Really? Nov 20 04:51:36 so I did nano hello.go Nov 20 04:51:39 * set_ likes bacon w/ grits Nov 20 04:51:43 and? Nov 20 04:51:54 nano hello.go Nov 20 04:52:08 I'm assuming that opens a .go text file? Nov 20 04:52:19 That will get you in the nano editor for writing your first .go language, hello world program. Nov 20 04:52:22 No. Nov 20 04:52:25 nano editor. Nov 20 04:52:51 Then, you save the file w/ the go extension and then you can run it from the command line. Nov 20 04:53:12 https://golang.org/doc/tutorial/getting-started Nov 20 04:53:19 So what do I type after the nano hello.go Nov 20 04:53:22 oh okay thanks Nov 20 04:53:59 You are welcome. Nov 20 04:54:19 So I saved the hello.go file Nov 20 04:54:31 with the code on the website Nov 20 04:54:47 Okay. Nov 20 04:54:49 how do I run the code? Nov 20 04:54:53 I just type hello.go? Nov 20 04:54:56 Read further down the page. Nov 20 04:55:08 It shows exactly how to "run" go language files. Nov 20 04:55:29 I am extraordinarily dumb at this time, thank you. I'll try and ask less haha Nov 20 04:55:35 No issue. Nov 20 04:55:46 We were supposed to stop chatting at 10:00. Nov 20 04:55:51 Also is there a way to clear the terminal? Nov 20 04:55:55 I am just breaking this rule. Nov 20 04:55:56 clear Nov 20 04:55:57 I'll look it up actually Nov 20 04:56:00 oh okay Nov 20 04:56:10 Sorry for making you go past 10 Nov 20 04:56:13 Ha. Nov 20 04:56:17 No issue. Nov 20 04:56:25 I feel bad for what will happen to me. Nov 20 04:56:30 So if I wanted to go and edit the hello.go file Nov 20 04:56:39 nano hello.go Nov 20 04:56:42 Would I type nano hello.go Nov 20 04:56:44 yes. Nov 20 04:56:49 So it knows not to create a new file, nice Nov 20 04:56:53 Right. Nov 20 04:57:19 But...Linux is neat. You can type nano GO.go or nano gO.go or Go.go and it will be three separate files. Nov 20 04:57:36 So it's smart nice Nov 20 04:57:59 Super smart. The kernel not only likes it when you obey but you can change things to suit your needs. Nov 20 04:58:30 but...remember. typos will hurt. Nov 20 04:58:34 I know. Nov 20 04:59:31 I was in to making some source once. I typed something w/out paying attention. Gone. G-O-N-E. Gone. Nov 20 04:59:47 does the comp layer grab capes automatically Nov 20 04:59:50 That's tragic Nov 20 04:59:55 overlays Nov 20 04:59:57 It taught me lessons. Nov 20 05:00:05 Be careful while typin'. Nov 20 05:00:12 I think I'm done for today, I got hello world to run haha Nov 20 05:00:17 Nice. Nov 20 05:00:41 mattb000ne: I am not sure the comp. layer works. I have no idea right now. Nov 20 05:00:49 I am trying to figure it out still. Nov 20 05:01:09 Goodnight guys, thank you so much Nov 20 05:01:21 Later for now! Nov 20 05:06:20 mattb000ne: From what I have seen, it can make specific pins available. I do not know how or if it works w/ the i2c for Capes. Nov 20 05:10:14 Hi want to purchase BBC with 64-bit can someone suggest which one i should buy ? Nov 20 05:10:35 what all are available boards ? Nov 20 06:24:19 i am interested are really any 64-bit BBB is there? Nov 20 09:18:52 erjopa: 64-bit BBB doesn't exist, as far as I know. Nov 20 12:08:59 I found a lib that works w/ the BBAI! Nov 20 12:09:53 I mean, w/ a switch-a-roo or two it works. But, it was some simple source change on the lib. Nov 20 12:21:41 Well, I got PWM to work so far w/ a LED (On/Off). It is not a miracle but it is a start. Nov 20 15:38:13 is there a debian 10.3 image with desktop for black? Nov 20 15:42:33 lame, seems not. there are only "iot", and "console" versions available Nov 20 15:45:12 there's an lxqt testing image: https://elinux.org/Beagleboard:Latest-images-testing#Debian_10_.28Buster.29_LXQt Nov 20 15:46:54 sweet! faith restored. now I can be lazy and not go through the x install! Nov 20 16:04:38 I'm slowly learning that good engineering is being lazy. Nov 20 16:04:53 really hard to actually implement thought. Nov 20 16:22:41 Ah okay, so you can join the chat via those two links. Nov 20 16:28:27 Does anyone know how to factory reset a beaglebone black? I've tried searching online, but can't find anything on how to restore it to factory OS and everything Nov 20 16:39:19 you should just reflash an sd card Nov 20 16:52:52 Yeah, but the person who gifted me the card says that there is a way without an SD card and he wants me to do it that way, but I can't find anything online Nov 20 16:54:37 have you tried "dd if=/dev/null of=/dev/sda bs=512 status=progress"?.... no really don't do that. Nov 20 16:54:54 that might erase everything Nov 20 16:55:23 assuming it's registered as sda... its probably mmcblk..blah Nov 20 17:25:12 I wouldn't know Konsgnx1 Nov 20 17:25:52 Aceplosion, what I was saying was don't try that command Nov 20 17:28:03 Yeah I won't, I still can't find anything online about what he was talking about resetting the board without an SD Nov 20 17:28:49 try searching around for generic debian reset os commands perhaps Nov 20 17:36:12 Hmm that's a good idea Nov 20 17:38:25 Aceplosion: sorry, I have no idea what that person could be talking about Nov 20 17:39:03 Yeah it's cool he was saying something about the board having a factory reset option and for me to google it, but I can't find anything Nov 20 17:39:10 in theory you can flash an image onto a beaglebone via usb instead of using an sd card but the method is a bit iffy Nov 20 17:39:12 I'll look into debian commands and see if there's anything Nov 20 17:39:14 no, there's no "factory reset" Nov 20 17:39:23 Right? That's what I was thinking Nov 20 17:40:11 like, having the possibility to reset to whatever was on it when it shipped would require twice as much storage to be able to keep a backup copy or something Nov 20 17:40:28 it's not there, if you reflash then the previous contents is lost Nov 20 17:40:42 and this should not be mourned, there's nothing special about the factory image Nov 20 17:41:16 and you should definitely not have a desire to go back to a system from 2016 Nov 20 17:41:27 leave that to archeologists Nov 20 17:46:16 Yeah, it's not for me. It's sort of like a task he gave me Nov 20 17:46:53 lol Nov 20 17:46:54 nice Nov 20 17:47:05 well, his task is nonsense Nov 20 17:49:09 Fair haha Nov 20 18:11:23 When you guys unplug your board, do you just unplug it? Or do you go to devices and eject it and then unplug or do you type the -h shutdown command or press the power button? I just want to know I'm not damaging the board Nov 20 18:11:49 ejecting the mass storage device in windows has no relevant impact Nov 20 18:12:24 powering it off cleanly (using the power button, "sudo poweroff", or "sudo shutdown -h") is officially recommended Nov 20 18:12:37 I _personally_ never bother with it, but it is officially recommended :P Nov 20 18:13:05 Hmm okay, so it's not a big deal. Thank you Nov 20 18:13:13 cutting power abruply can in principle cause data corruption Nov 20 18:13:38 I should note that our beaglebones don't run the stock debian image, and are generally setup to have very little writes to eMMC Nov 20 18:13:50 which greatly reduces the risks of abrupt power cut Nov 20 18:14:08 nor do they get power cycled all that often Nov 20 18:14:20 I'll probably just do the sudo poweroff Nov 20 18:14:33 yeah, or just press the power button Nov 20 19:13:00 how come the bbai has such a spare uEnv.txt Nov 20 19:13:27 I am not sure how to put an overlay in the default one Nov 20 19:17:42 because overlays aren't officially supported on the AI yet Nov 20 19:27:11 that summer of code thing made seem like you drop it in like the bbb Nov 20 19:27:21 comp layer project Nov 21 01:19:27 So how do I edit the uEnv.txt file on an image to make it a flasher, I know which like I need to comment out, but I can just plug it in to the board and turn on the board and edit it from there right?/ Nov 21 01:20:08 Yea. You are back! But... Nov 21 01:20:21 My brian is mush. I cannot help just yet. Nov 21 01:20:38 Last time I edited the uEnv.txt on the board so it made the board a flasher instead of the sd card lmao Nov 21 01:20:45 So how do I make sure I edit the one on the sd card? Nov 21 01:20:53 It's cool, hello Set how are you? Nov 21 01:20:58 give me an hour. Maybe someone might jump in. Nov 21 01:21:00 I am good. Nov 21 01:21:24 Aceplosion: normally if a bootable sd card is inserted it will boot from that Nov 21 01:21:40 Right but this is a non flasher Nov 21 01:22:07 which means it will boot normally (from sd card) and not reflash the system Nov 21 01:22:47 the reason you initially had trouble booting from sd card was because the bootloader on eMMC was so ancient that it was unable to boot the modern system on sd card Nov 21 01:23:37 (by default the BBB prefers to use the bootloader installed on eMMC over the one on SD card, even though the bootloader subsequently prefers to boot the linux system on SD card over the one on eMMC) Nov 21 01:24:36 and if in doubt, powering on with the S2 button held one will cause the bootloader on eMMC to be ignored until the next time the BBB is power-cycled (not merely rebooted) Nov 21 01:26:09 Hmm okay, I'm just trying to understand this completely Nov 21 01:28:50 Ah this is cool, so since I put an sd card with a 2016 os it booted from there. Then when I booted it without the 2016 os it was back to the 2020 OS. Okay I understand now, so if I wanted to make the 2016 image a flasher to the eMMC I would edit the text file on sd card image right? Nov 21 01:29:18 Whatever you do, nope. Brian is still mush. Dang it. I may take a day off of fun. Nov 21 01:30:22 so, the S2 button is sampled at power-on (iirc about 0.025 seconds after the power led turns on) and is remembered as long as the board is powered on (including across reboot/reset). it determines where the processor will look for the bootloader: by default it's { eMMC, μSD, uart0(xmodem), usb0(rndis) }, with S2 held down at power-up it's { spi0(flash), μSD, usb0(rndis), uart0(xmodem) } Nov 21 01:30:57 from there on the bootloader decides what happens next, and the bootloaders from beagleboard.org first try to boot linux from SD card and if that fails try to boot linux from eMMC Nov 21 01:31:59 and yes if you want to turn your sd card containing your old 2016 system into a flasher you'd modify its /boot/uEnv.txt, and the easiest way to do that is by booting from it first Nov 21 01:32:16 Hmm okay, I booted it from the SD card now with a 2016 os, but when I do sudo nano boot/uEnv.txt it just says new file and it gives me a blank text editor Nov 21 01:32:54 you forgot the / at the start of /boot/uEnv.txt Nov 21 01:33:18 I did I just forgot to put it when I typed it here. I'll try again Nov 21 01:33:36 or made some other typo presumably Nov 21 01:33:46 I'll try again Nov 21 01:34:03 I mean, you've done it before, you can do it again ;) Nov 21 01:34:14 True hah Nov 21 01:34:16 haha* Nov 21 01:34:24 When I type ls and boot from SD Nov 21 01:34:24 actually, how did you end up with your 2016 as a non-flasher on your sd card again? Nov 21 01:34:34 Shouldn't it list uEnv.txt Nov 21 01:34:44 Uhh the version online is a non flasher Nov 21 01:34:51 the one from beagleboard.org Nov 21 01:35:01 oh you dug up a 2016 image? Nov 21 01:35:10 ... why though? Nov 21 01:35:12 Well the board I was given came with the 2016 image Nov 21 01:35:21 So, I accidentally flashed it to the SD first Nov 21 01:35:28 like, I can't think of any sane reason to deliberately install a 2016 image to a beaglebone Nov 21 01:35:30 Then was triggered and kept reflashing it like so many times Nov 21 01:35:47 This time he wants me to update it to the 2020 os via usb instead of sd Nov 21 01:36:00 So I'll have to figure that out after flashing the 2016 back on it Nov 21 01:36:08 who is this puppetmaster who wants bizarre things from you? Nov 21 01:36:17 tools to flash via usb have been experimental at best Nov 21 01:36:30 One of my dad's friends that works in this industry and he gave me the board to try stuff out Nov 21 01:38:25 Yeah, much easier this time. It's flashing from the SD card now Nov 21 01:38:35 like, there have been two projects aimed to make a tool for flashing beaglebones via usb, but the old one (bbblfs) is ancient and broken, and even the new one (beagleboot) hasn't been maintained in 3 years Nov 21 01:38:53 GenTooMan: https://www.teknic.com/model-info/CPM-SCSK-2310D-RLNB/?model_voltage=75VDC <<< Is that a toy? Nov 21 01:39:00 Or what? Nov 21 01:39:03 Welp I'll have to figure out how to update to the 2020 debian os via usb and ethernet Nov 21 01:40:16 I'm guessing beagleboot doesn't work? Nov 21 01:40:25 I have no idea what the state of beagleboot is Nov 21 01:40:40 I'll have to look it up and try it out I guess Nov 21 01:40:42 it's probably your best hope Nov 21 01:40:58 What happened to the SAD Card? Nov 21 01:41:03 SD Card? Nov 21 01:41:37 as for reflashing via ethernet... I hate to say this but based on your knowledge level (estimated from the sort of questions you ask), I don't see that happening in your short- to medium-term future Nov 21 01:41:52 like, it's theoretically possible Nov 21 01:42:17 Yeah I'm a noob to this, first time seeing ssh or working with debian or linux Nov 21 01:42:24 No! Nov 21 01:42:25 if you're comfortable building a customized bootloader and creating a suitable custom initramfs Nov 21 01:42:33 Damn! Nov 21 01:42:37 And the SD card is flashing the board rn Nov 21 01:42:39 which, you're not. Nov 21 01:42:40 Much easier this time around Nov 21 01:42:51 I like the already made images. Nov 21 01:44:08 Aceplosion: so you can try to see if beagleboot ( https://github.com/ravikp7/BeagleBoot ) still works... there's little to lose by trying, worst case you mess up the contents of eMMC on the beaglebone, in which case you can just reflash it again via sd card Nov 21 01:44:42 but you can forget about reflashing via ethernet until you have a lot more experience Nov 21 01:44:56 I'll try out beagleboot then Nov 21 01:45:10 still, both are weird things to ask of a new user Nov 21 01:45:27 normally you'd just stick with the common and well-tested method of reflashing, i.e. via SD card Nov 21 01:45:32 I've never really had call to use github before lmao Nov 21 01:45:45 That's fair, yeah idk, but guess I'll find out what the endgame is Nov 21 01:45:48 and you'd never intentionally flash a 2016 image onto a beaglebone :P stick with the latest Nov 21 01:45:57 Yeah definitely Nov 21 01:46:00 This is just a test I guess Nov 21 01:46:17 I also have to research about Multitec Nov 21 01:46:57 google tells me it's "versatile high-pressure pump with low NPSH values" Nov 21 01:47:03 or a coffee machine Nov 21 01:47:20 XD Nov 21 01:47:44 or "India's leading company in the field of manufacturing narrow web flexographic printing & converting presses" Nov 21 01:47:59 I'm guessing you mean none of those things? ;) Nov 21 01:48:41 Hopefully not haha Nov 21 01:51:22 Beagleboot only supports Linux and OS X, I'm running windows 10 Nov 21 01:51:45 I could probably figure out how to run a linux virtual machine, but I'm not sure if that would work Nov 21 01:51:54 ah, apparently Windows was work in progress Nov 21 01:53:45 That's tragic Nov 21 01:53:51 Well flashing it back to 2016 worked Nov 21 01:54:01 .... yay? :P Nov 21 01:54:18 Now to get it back to 2020 without SD Nov 21 01:55:26 So BBBlfs doesn't work? Nov 21 01:56:00 I'd spend more time on asking _why_ you'd want to specifically upgrade a beaglebone running this particular ancient system using usb instead of sd card Nov 21 01:57:02 the core tool of BBBlfs might still work, although the kernel it uses is so ancient that it probably doesn't support recently manufactured beaglebones anymore (due to eMMC version incompatibility), though that probably isn't an issue if your beaglebone was manufactured in 2016 Nov 21 01:57:18 its scripts that use the core tool have been broken for a long time Nov 21 01:57:26 Probably just to see if I can do it Nov 21 01:57:30 Guess I'll try it out Nov 21 01:57:32 Not much to lose Nov 21 01:58:14 the core tool of BBBlfs makes the beaglebone's eMMC appear as a USB mass storage device, so you can then reflash it directly Nov 21 01:58:25 BBBlfs also requires linux, it won't work on Windows Nov 21 01:58:52 Time to see if I can run a linux virtual machine then Nov 21 01:59:51 I'm guessing I should use debian or ubuntu? Nov 21 02:00:12 I mean, you do you, but I still think it's a very strange thing to spend time on if you're new to linux and beaglebones Nov 21 02:01:18 and I also don't think I particularly want to spend much time holding your hand on this strange task without good reason Nov 21 02:02:40 That's fair Nov 21 02:08:50 I will! Nov 21 02:08:59 Hold my hand into the vast future! Nov 21 02:09:23 But first, GenTooMan, did you see my post forwarded to you? Nov 21 02:09:32 set_: please don't confuse the poor fellow with your confusion :P Nov 21 02:09:48 All I know is how to presume confusion. You know this, man. Nov 21 02:10:03 Haha, it'll take about an hour for me to download ubuntu linux. I'll figure it out from there Nov 21 02:10:09 I got one project as a smarty and then I start something new as a new believer. Nov 21 02:10:15 Big brain set Nov 21 02:10:31 That is me. Brianiac. Nov 21 02:10:51 Why did they have to spell BRian and Brain so close in relation? Nov 21 02:11:23 Confusion at its finest if you are new to English. Nov 21 02:11:56 Or like in spanish, there is no word for do. Nov 21 02:12:17 Just things get to me, man. Give me a break. Nov 21 02:13:54 B/c there is no word for do in Spanish, I quit my studies at Spy School. Nov 21 02:13:55 No lie. Nov 21 02:14:56 They wanted me to lie like it existed when it surely does not. Anyway, back to the BBB! Nov 21 02:15:11 what ? Nov 21 02:16:51 BBB! Nov 21 02:17:06 back to the BBB Nov 21 02:17:09 Yes. Nov 21 02:17:09 from what Nov 21 02:17:16 From my rant about spy school. Nov 21 02:17:54 brb... Nov 21 02:23:44 mattb00000ne: What are you doing w/ your BBB or BBAI these days? Nov 21 02:24:16 occasionally I goof with the bbai Nov 21 02:24:26 more focus on the BBB Nov 21 02:24:31 working on a PID loop Nov 21 02:24:45 I finally got the AI to make a LED turn off and on w/ a lib. Wait. what? Nice. Nov 21 02:24:53 Do it! Nov 21 02:25:12 Make two! Nov 21 02:25:23 Two PID loops for motors? Nov 21 02:25:39 I might be the person who buys the product one day! Nov 21 02:26:29 I always wanted to learn more about programming motors from scratch. Kernel source to lib. and then poof! Nov 21 02:26:46 Key West! Nov 21 02:27:03 But only in Fall. Nov 21 02:28:26 I found one fellow that promoted a Linux Kernel Source to lib. in python. I thought it was nice of him. I sent a thank you letter. Nov 21 02:28:53 Like he cared but it is done. And now, I can keep up w/ the BBB times and the BBAI times in life. Nov 21 02:29:28 It is not easy. You guys do so much. **** ENDING LOGGING AT Sat Nov 21 02:59:56 2020