**** BEGIN LOGGING AT Wed Apr 15 02:59:57 2020 Apr 15 08:39:47 Has anyone built and used arago on beagleboard X15? Apr 15 09:12:58 bbblob: TI's Processor SDK for Linux is arago-based so yes, there will be lots of people (note that the bbx15 is simply the base board of the am572x EVM) Apr 15 11:27:48 Gi17na20 Apr 15 11:34:19 Oops, wrong screen, sorry. Apr 15 11:52:47 I would not be able to remember that password Apr 15 11:57:47 everybody courtesy /clear ;P lol Apr 15 12:28:21 more like time to change that password :P Apr 15 12:28:49 humpelstilzchen[: for most things I use random passwords and store them, it's more secure than having one password you remember and using it everywhere Apr 15 12:33:49 zmatt: the only problem is single-point-of-failure where you store them .. unless you store them in multiple places, but then you just shift the problem Apr 15 12:34:09 I'm not sure there is a human-compatible answer to the security dilemma Apr 15 12:35:00 I keep a backup of that file in a reasonably secure location Apr 15 12:38:55 well there are ways (that have been known for decades but aren't used) to make the problem far less problematic. for example, if we universally used password-authenticated key agreement (which we could have, if it were an integral part of TLS, implemented in all browsers and servers and everything had been done to encourage its use) Apr 15 12:39:22 then at least phishing wouldn't be a thing Apr 15 12:40:27 (and a password db stolen from a server would stlil require cracking before you could use the passwords to authenticate to services) Apr 15 12:43:27 the 'obvious' answers seem to elusive to achieve :/ Apr 15 12:43:32 to be* Apr 15 12:45:02 it's just annoying when certain specific security issues do have known good solutions, and have been known for a long time, but almost nobody has picked up on them or implemented them Apr 15 12:46:30 one paka protocol made it as far as getting an RFC and being implemented in openssl, but that implementation wasn't enabled or used by anyone and I think it's now been dropped from the library Apr 15 12:46:53 *sigh* Apr 15 12:47:40 or people implement shit basic security (8-10 char pwds, only lower-case alpha+num., etc) :/ Apr 15 12:48:31 yeah things that impose restrictions on password length or what type of chars you're allowed to use are reaaaly dumb Apr 15 12:49:04 and you should definitely use a unique random password for those, given that they're probably not storing the password in hashed form Apr 15 12:49:15 ugh really :/ Apr 15 12:49:31 * veremitz makes a note Apr 15 12:50:02 if all you do with a password is stick it into a password hasing function, there's no reason to restrict the length or character set Apr 15 12:50:47 *nod* Apr 15 12:50:53 most likely those restrictions are due to the password going straight into a database column Apr 15 12:51:00 vile Apr 15 12:51:07 zmatt are there stock overlay files that have the uarts opened? Apr 15 12:51:17 should be Apr 15 12:51:31 MattB0ne: ls /lib/firmware/*UART* Apr 15 12:53:27 MattB0ne: as for your earlier remark. if you want to modify an overlay, make a copy of the orignal source file (don't modify the original), modify it, compile it, and optionally place it in /lib/firmware (taking care not to replace any existing files there, use a non-conflicting name) Apr 15 12:54:07 note however that if you want to make overlays, you may find my overlay-utils and its examples friendlier than bb.org-overlays Apr 15 12:55:52 the dtbo files are compiled already Apr 15 12:56:12 so i just need to tell the boot sequence to use the file? Apr 15 12:56:16 for example, here's an overlay for uart4 in overlay-utils: (the four lines that are commented out are for hardware flow control): Apr 15 12:56:19 https://github.com/mvduin/overlay-utils/blob/master/uart4.dtsi Apr 15 12:56:32 versus one in bb.org-overlays: Apr 15 12:56:34 https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/BB-UART4-00A0.dts Apr 15 12:56:58 dtbo files are compiled overlays yes Apr 15 12:57:14 yeah that is more than what I need Apr 15 12:57:32 I just need pins switched to Rx and Tx without me manually doing it every time Apr 15 12:59:24 I mean, if you're using cape-universal then software can obviously also just configure the pins are boot. but using an overlay is also an option Apr 15 13:01:16 so just configure the path to the overlay (either a stock one or a custom one) into /boot/uEnv.txt .. it has five variables available for configuring general overlays: uboot_overlay_addr4..7 and dtb_overlay Apr 15 13:04:17 does it matter what kernel dtbo's are built with? or are the headers generic enough? Apr 15 13:04:51 overlays compiled for kernel 3.8 won't work, it used an older dtc which produced overlays with a different structure Apr 15 13:05:15 also, it used different labels for some peripherals (1-based numbering instead of 0-based numbering), including uarts I think Apr 15 13:05:25 so it's not even source-compatible Apr 15 13:07:19 and generally DT structure remains fairly stable, and the differences between kernels are usually not significant for overlays (with rare exceptions, such as the overlay for remoteproc-pru, which has changed for every major kernel version) Apr 15 13:08:03 should I put my entry on the bottom Apr 15 13:08:57 also I saw my LCD has a dto file possibly BB-BONE-NH7C-01-A0.dtbo Apr 15 13:09:12 I checked I do not have it loaded but it appears to work Apr 15 13:09:39 https://pastebin.com/Wy6LgBE7 Apr 15 13:09:46 if you're using a standard lcd cape then the correct overlay should be auto-loaded Apr 15 13:11:19 yeah it seems it did Apr 15 13:11:25 that last entry Apr 15 13:11:42 so why did you say "I checked I do not have it loaded" Apr 15 13:11:54 when it says right there it's loaded Apr 15 13:12:34 it looked different from BB-BONE-NH7C-01-A0.dtbo Apr 15 13:12:41 ?? Apr 15 13:12:45 i saw in the overlay docs on elinux Apr 15 13:13:03 what docs? Apr 15 13:13:13 https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays Apr 15 13:14:08 .. what are you referencing in that section? I don't understand what you're trying to say Apr 15 13:14:40 moot point but they had a section U-Boot Capes added Apr 15 13:15:17 ? what about it? Apr 15 13:15:33 I didnt think it would autoload Apr 15 13:15:43 did not look carefully enough Apr 15 13:15:44 that's how cape overlays are supposed to work Apr 15 13:16:07 I havent done anything with overlays yet and got worried Apr 15 13:16:27 it uses i2c to detect the cape and read its identifier, and then loads the appropriate overlay from /lib/firmware Apr 15 13:16:42 ("it" being u-boot nowadays) Apr 15 13:17:05 so if I hadd /lib/firmware/BB-UART3-00A0.dtbo Apr 15 13:17:21 sucks that it consumes the i2c port Apr 15 13:17:30 there is only one on the board Apr 15 13:18:27 add* Apr 15 13:19:20 it doesn't "consume" the i2c bus since you can attach multiple devices to i2c Apr 15 13:19:30 also, there are multiple i2c busses Apr 15 13:20:07 note btw that uart3 rxd is not available on the bbb expansion header Apr 15 13:20:17 it's the only uart which is therefore tx-only Apr 15 13:20:58 would the LCD cape consume i2c per the documentation that came with my cape they do not have those pins available Apr 15 13:21:24 I was planning on using UART4 and UART1 Apr 15 13:21:32 so just adding those dtbo files Apr 15 13:21:52 BB-UART1-00A0.dtbo Apr 15 13:21:55 BB-UART4-00A0.dtbo Apr 15 13:22:13 which cape is this? is its schematic available? Apr 15 13:22:53 NHD-7.0CTP-CAPE-V Apr 15 13:22:59 from newhaven display Apr 15 13:23:06 https://www.newhavendisplay.com/userguides/NHD-7.0CTP-CAPE_User_Guide.pdf Apr 15 13:23:32 they have an expansion header map Apr 15 13:23:34 in the guide Apr 15 13:25:49 it doesn't seem to match the schematic Apr 15 13:26:17 oh they just labeled too many thing in the image Apr 15 13:26:33 (but omitted them from the list next to it) Apr 15 13:28:10 it seems to pass through everything except: P9.14, P9.27, P8.11-19, P8.27-46 Apr 15 13:29:10 (it even passes through the eMMC pins, which seems like a bad idea since attaching long stub traces to those pins could degrade signal integrity) Apr 15 13:29:15 so UART4 which i was using previously is on P9.11 and p9.13 Apr 15 13:29:21 so it is safe to use Apr 15 13:29:25 yep those are fine Apr 15 13:29:57 zmatt: if I had a dollar/euro/etc .. :P~ "it even passes through the eMMC pins, which seems like a bad idea.." Apr 15 13:29:59 so i can just add /lib/firmware/BB-UART4-00A0.dtbo Apr 15 13:30:14 to the uEnv.txt Apr 15 13:30:25 at the bottom? Apr 15 13:30:29 MattB0ne: you can configure that into one of the five variables I mentioned if you want to use that overlay Apr 15 13:30:46 none of which are at the bottom, they're closer to the top I think (commented out) Apr 15 13:31:33 so... remind me again why exactly you're using overlays instead of config-pin? I get the feeling using config-pin would be easier for you Apr 15 13:32:36 I am running a c++ application Apr 15 13:32:58 and this was to change the pins to UART so I can communicate to external controllers Apr 15 13:33:05 you said either way Apr 15 13:33:05 .. okay, and? Apr 15 13:33:18 I mean overlays work too Apr 15 13:33:24 overlays were more permanent Apr 15 13:33:45 um that was really it. I am using serial communication to talk to the other boards Apr 15 13:34:08 using an overlay will get the uart configured a bit earlier than using config-pin at boot. does that matter? Apr 15 13:34:31 either is fine, it just sounds like you're finding overlays a hassle, hence I was wondering Apr 15 13:34:38 I do not think so though eventually I would want to have this directly boot into my application Apr 15 13:35:00 overlays aren't complicated Apr 15 13:35:12 (unless you make them so... :P) Apr 15 13:35:17 veremitz: i am very very new to this Apr 15 13:35:20 I think I got it Apr 15 13:35:22 though Apr 15 13:35:35 beats having to hard config in source/board configs Apr 15 13:35:40 veremitz: even making them isn't very complicated Apr 15 13:35:40 ugh happy days Apr 15 13:35:44 lol Apr 15 13:35:44 zmatt: right?! Apr 15 13:35:53 geez guys Apr 15 13:35:59 doing wonders for my self esteem here Apr 15 13:36:01 lol Apr 15 13:36:09 and -finding- the damn config amongst the mess of a normal board config file .. lol. Apr 15 13:36:14 I am taking slots 4 and 5 for this Apr 15 13:36:14 MattB0ne: lol, no don't worry.. DT intimidates most people Apr 15 13:36:14 MattB0ne: yeah I do kinda appreciate that Apr 15 13:36:30 its not the most elegant system, but its an improvement on What Went Before. Apr 15 13:37:04 invariably when yo have your fingers burnt a few times, you do become a little jaded :D Apr 15 13:37:35 and the structure of overlays is just ugly... I don't understand why you're forced to write that structure out manually instead of dtc generating it for you... my overlay-utils uses a tiny perl script to preprocess the source code into the structure requires for an overlay, dtc could have done that for you instead... but it doesn't Apr 15 13:38:06 zmatt: you wouldn't have created that beautiful perl script otherwise ;P Apr 15 13:38:18 nor many of the other excellent tools :p Apr 15 13:38:30 it's not. like most perl scripts (at least the ones I've written), it's hideous Apr 15 13:38:36 but it gets the job done Apr 15 13:38:37 its perl :p Apr 15 13:39:15 * GenTooMan makes no comment about perl and leaves it at that. Apr 15 13:39:43 hey, perl scripts *can* be nice... I think Apr 15 13:40:06 at least nicer than stubbornly continueing to try to do the same thing with bash scripting Apr 15 13:40:42 *continuing Apr 15 13:41:16 Sorry the spelling police are eating bakery goods with proper social distancing. Apr 15 13:42:20 perl shines at processing text though, I'm pretty sure this script would have required a lot more code in any other language Apr 15 13:42:40 its Perl ;p Apr 15 13:42:48 * veremitz hopes not a third time :D Apr 15 13:43:39 that's what perl was originally intended for so... yes text processing it can do. Before perl there was sed. :D Apr 15 13:43:51 ^ this Apr 15 13:44:16 it's pretty decent at binary data too (way more so than python) Apr 15 13:44:20 "Practical Extraction and Reporting Language" Apr 15 13:44:40 I just need to reboot after the edit right? Apr 15 13:45:11 veremitz: that's a backronym. perl isn't an abbreviation Apr 15 13:45:30 MattB0ne: yes Apr 15 13:45:59 zmatt but you can't forget it even if it's wrong Apr 15 13:46:04 zmatt: yeah I know Apr 15 13:46:09 ^ that Apr 15 13:47:08 lol... "It has been nicknamed "the Swiss Army chainsaw of scripting languages" because of its flexibility and power, and also its ugliness. In 1998, it was also referred to as the "duct tape that holds the Internet together," in reference to both its ubiquitous use as a glue language and its perceived inelegance." Apr 15 13:47:21 -- wikipedia Apr 15 13:48:00 I find its inelegance helpful. it helps me to avoid getting stuck on trying to do something elegantly Apr 15 13:48:08 lol Apr 15 13:48:14 its about right though Apr 15 13:48:14 like, if you use perl for the job, you're given up on that in advance Apr 15 13:48:21 true ^ Apr 15 13:48:24 so the goal is just to get the job done Apr 15 13:49:23 otherwise I often have trouble writing code that merely gets the job done... I worry too much about doing things Right, or worse yet, doing it elegantly Apr 15 13:49:42 or efficiently, another productivity-killer Apr 15 13:53:07 so I should be able to go into /dev/ttys4 Apr 15 13:53:09 and see UART Apr 15 13:53:11 but it is blank Apr 15 13:53:22 "go into" ? Apr 15 13:53:34 view /dev/ttys4 with vim Apr 15 13:53:40 ehm, no Apr 15 13:53:44 that's not how serial ports work Apr 15 13:53:52 also it's /dev/ttyS4 Apr 15 13:53:52 well check the pin status Apr 15 13:54:05 you can't open a device in a text editor Apr 15 13:54:11 that just makes no sense Apr 15 13:54:26 wasnt the pin configurator just changing the value of a file Apr 15 13:54:36 so you could see the switch Apr 15 13:54:59 yes but that file will no longer exist now since runtime configuration is disabled for pins that are used by overlays Apr 15 13:55:00 you just want to view the pin setting then? Apr 15 13:55:21 one way to inspect your pinmux, regardless of how it was set, is using my show-pins utility: https://github.com/mvduin/bbb-pin-utils/#show-pins Apr 15 13:59:28 ok how can test my serial real quick just connect the Tx and Rx and echo throguh it? Apr 15 14:01:33 I think there's *some* possibility that might work if you do "cat /dev/ttyS4" in one window and "echo foo >/dev/ttyS4" in another, but I'm not sure, if echo is enabled it'll end up sending data in a loop continuously Apr 15 14:03:56 I'd probably test it with "screen /dev/ttyS4 115200 -crtscts" (use control-A control-K to exit. don't merely close your ssh connection, screen will remain running in the background if you do that) Apr 15 14:07:08 ok Apr 15 14:10:27 wow screen deja vous Apr 15 14:11:34 so I should open another terminal and echo into it Apr 15 14:11:44 after entering that command I have a blank screen Apr 15 14:11:46 cannoot type Apr 15 14:11:53 "cannot type" means the serial port isn't working Apr 15 14:11:56 blinking cursor though Apr 15 14:12:13 or your loopback connection isn't working Apr 15 14:12:28 it should transmit when you type, and display anything it receives Apr 15 14:13:39 hmm Apr 15 14:14:16 so on an unconnected serial port you'd indeed see anything happening (even if you type), but if you have a loopback connection from txd to rxd then you should see what you type Apr 15 14:15:59 did you confirm (using show-pins as I mentioned above, or using rcn's version.sh) that the uart overlay has indeed been applied? Apr 15 14:21:47 used your pin think Apr 15 14:21:58 here is what I have for P9.11 and P9.13 Apr 15 14:21:58 https://pastebin.com/sJuJpxBZ Apr 15 14:22:15 in other words it didn't apply Apr 15 14:22:26 so you probably did something wrong in /boot/uEnv.txt Apr 15 14:22:35 LOL Apr 15 14:22:43 i will paste my file Apr 15 14:22:49 cant get right Apr 15 14:24:45 https://pastebin.com/s4A52CY5 Apr 15 14:24:51 is my uEnv.txt Apr 15 14:25:00 you left the lines commented out Apr 15 14:25:08 any line that starts with # is ignored Apr 15 14:26:10 doh! Apr 15 14:26:15 some syntax highlighting is quite illustrative: https://pastebin.com/wUZjUAPL (bash syntax highlighting isn't quite right for this, but it's close enough) Apr 15 14:30:29 still not taking it seems Apr 15 14:30:29 https://pastebin.com/L676uDWM Apr 15 14:30:39 with the lines uncommneted Apr 15 14:31:30 you did reboot? Apr 15 14:31:37 yup twice Apr 15 14:31:46 just to make sure Apr 15 14:31:52 what does version.sh say about which overlays have been applied? Apr 15 14:33:42 where is version.sh Apr 15 14:33:50 you used it earlier Apr 15 14:33:59 i used your pin script Apr 15 14:34:59 15:09 < MattB0ne> https://pastebin.com/Wy6LgBE7 Apr 15 14:35:45 your right Apr 15 14:35:47 not applied Apr 15 14:36:00 still the same four entries as earlier Apr 15 14:36:25 https://pastebin.com/e86mWxDY Apr 15 14:36:42 oh I also just noticed you wrote ".dtbo.dtbo" as file suffix Apr 15 14:36:50 which is one .dtbo too many Apr 15 14:36:56 :P Apr 15 14:37:41 rebooting Apr 15 14:37:45 hopefully that is it Apr 15 14:37:51 you figure they would put an error Apr 15 14:37:55 rather than ignore Apr 15 14:38:07 i guess they are assuming the user is better than I Apr 15 14:38:08 lol Apr 15 14:38:30 be glad it didn't, since u-boot's way of "giving an error" would typically be to fail to boot your system entirely Apr 15 14:39:28 SUCCESS!!! Apr 15 14:39:33 thank you kind sir Apr 15 14:39:46 I will now stop pestering you and find some other way to screw up Apr 15 14:40:33 haha Apr 15 14:40:34 I have faith you'll manage to Apr 15 14:40:37 keep learning ;) Apr 15 15:04:48 Does arago bring the KVM kernel modules for beagleboard, or how can one use system emulation on beagleboard? I need to run nios flash programmer on it? Apr 15 15:14:15 you don't want to run emulation on a single-core ARM computer. Period. Apr 15 15:32:42 Have you got an other idea how to flash an altera fpga from beaglebone? Apr 15 15:33:12 flashrom I crossed while surfing - any experience? Apr 15 15:39:09 if the tool runs under linux .. there shouldn't be a problem .. although I have precious little experience with low-end FPGAs .. I Was working with Xilinx ones about 20 years ago .. Apr 15 15:53:48 Time passe by to fast.... the same to me...! yes, it runs under linux but it is prcompiled for x86_64 that is the problem Apr 15 16:13:09 then kvm would also be useless Apr 15 16:13:14 you'd need to run it under qemu Apr 15 16:14:34 can you access it's source? and cross-compile to ARM? Apr 15 16:14:51 zmatt: ugh :p don't go there Apr 15 16:16:17 veremitz: why not? if it's a simple utility that operates via an uart, using qemu-user might be fine Apr 15 16:45:44 mkay .. are the binaroes for qemu-iser around? Apr 15 16:45:48 oops typo hell Apr 15 16:45:57 sudo apt-get install qemu-user Apr 15 16:46:01 cool Apr 15 16:46:22 if you also have binfmt-support installed then you can just run x86 programs with ./program Apr 15 16:46:43 ah sorry, you need qemu-user-binfmt for that Apr 15 16:47:04 (which depends on qemu-user and binfmt-support) Apr 15 16:50:20 I downloaded the latest image for the BeagleBone Black WiFi (10.3 Buster IoT (without graphical desktop)). I'm having issues with the PRU. When I try and stop the PRU by doing echo 'stop' > /sys/class/remoteproc/remoteproc2/state I get an operation not permitted error. Did something change in 10 with interacting with the PRU? Apr 15 16:50:41 what's its current state? Apr 15 16:50:48 Says running Apr 15 16:51:26 readlink -e /sys/class/remoteproc/remoteproc2 Apr 15 16:52:26 (just to double-check that remoteproc2 is still the correct device to use) Apr 15 16:53:57 "/sys/devices/platform/ocp/ocp:l4_wkup@44c00000/44d00000.wkup_m3/remoteproc/remoteproc2/state" Apr 15 16:54:07 that's not pru Apr 15 16:54:20 that's the wakeup m3 Apr 15 16:55:11 hardcoding something like /sys/class/remoteproc/remoteproc2 is just a bad idea... the kernel will assign those numbers just in whatever order it happens to encounter the devices Apr 15 16:55:21 Yup, looks like they changed it to 0 and 1 now instead of 1 and 2 Apr 15 16:55:43 they're not deliberately assigned any particular numbering by anyone, it's just arbitrarily decided at runtime Apr 15 16:56:21 So to find the pru I should be using readlink in my scripts? Apr 15 16:56:32 Or is there a better way to always find PRU1 Apr 15 16:57:19 I don't use remoteproc-pru myself, I use uio-pruss, and for that I created a udev rule that creates symlinks to the uio devices to allow them to be located easily Apr 15 16:57:35 (and I do a similar thing for gpios) Apr 15 16:57:43 a similar principle should be possible for remoteproc-pru Apr 15 16:58:50 or, without a udev rule, you could scan for it using libudev (or some wrapper thereof), or locate all instances of a particular driver (in /sys/bus/platform/drivers/$driver/ ) Apr 15 16:59:21 I don't know the driver name in this case but it shouldn't be hard to find, (just check what the 'driver' links to for the other two remoteproc devices) Apr 15 17:00:01 using a udev rule is definitely the cleanest solution. I'm surprised none exists for this by default (assuming that's indeed the case) Apr 15 17:00:02 Alright, thank you for the help. That was very informative! Apr 15 17:00:29 I will look into the udev rules. Thanks again. Apr 15 17:01:00 you can find some examples of existing custom udev rules in /etc/udev/rules.d/ Apr 15 17:06:01 zmatt: does this mean my pins are setup correctly https://pastebin.com/pLKD4UJg Apr 15 17:06:14 I tried to do the screen thing still cannot type Apr 15 17:06:18 yep, looks good Apr 15 17:06:26 but I do see the overlay getting pulled in and stuff Apr 15 17:06:36 i also tried the two terminal think Apr 15 17:06:41 you've externally connected the txd line to rxd with a wire? Apr 15 17:06:51 thing where I echo in one screen and cat in the other Apr 15 17:06:54 yes Apr 15 17:07:11 triple checked the mapping Apr 15 17:07:14 you've also been properly closing your screens like I said and not left them running? (check with screen -ls ) Apr 15 17:07:22 so 11 and 13 Apr 15 17:08:02 No Sockets found in /run/screen/S-debian. Apr 15 17:08:34 yep, so the 6th and 7th pin from the top in the leftmost column of the leftmost header if the bbb is oriented such that the ether connector is facing away from you Apr 15 17:08:49 *ethernet Apr 15 17:13:17 ok maybe it was working but was just going crazy Apr 15 17:13:21 redid it Apr 15 17:13:38 i sent echos to it Apr 15 17:13:47 before screen would that be in the back log or something Apr 15 17:14:10 ? Apr 15 17:14:12 and when screen is run it takes all that input? Apr 15 17:14:47 well I echoed "hello" to /dev/ttyS4 Apr 15 17:14:50 I actually have no idea if input is buffered if no application has the device open Apr 15 17:14:51 before running screen Apr 15 17:15:21 [screen is terminating] Apr 15 17:15:35 but no sockets found when you run screen -ls Apr 15 17:15:45 how long does it take to stop a screen session Apr 15 17:15:45 yeah that's the desired thing Apr 15 17:16:00 what? Apr 15 17:16:02 none Apr 15 17:16:27 if I try and launch another session with screen /dev/ttyS4 115200 -crtscts Apr 15 17:16:39 i get [screen is terminating] Apr 15 17:16:47 but if I run screen -ls Apr 15 17:16:56 No Sockets found in /run/screen/S-debian. Apr 15 17:16:57 then it's failing to open the device I guess? Apr 15 17:17:06 yeah since it terminated Apr 15 17:17:09 reboot Apr 15 17:17:11 ? Apr 15 17:17:24 I don't know, I don't know what you did or what's happening so I can't guess solutions either Apr 15 17:17:34 sort of worked Apr 15 17:17:39 let me reboot Apr 15 17:20:17 ok it is working reboot did it Apr 15 17:22:31 are there more permanent ways of hooking up to female headers Apr 15 17:22:46 male headers Apr 15 17:23:02 i am using jumper cables but once I get everything nailed down I would want some more secure Apr 15 17:23:21 the bigger the header, the more secure it is Apr 15 17:23:51 and you just solder to the header? Apr 15 17:24:39 if you just have a small thingy that you want to connect to some pins, then yeah we've done that Apr 15 17:25:36 though in most cases we have a custom pcb for a product with two full 2x23 pin headers that the BBB plugs into Apr 15 17:26:04 (which is very secure, in fact it can be quite a PITA to remove the BBB from that) Apr 15 17:32:35 yeah I think I will stick with the mail headers Apr 15 17:32:40 not to many connections to make Apr 15 17:32:53 *male Apr 15 17:33:00 mail headers are what you find at the top of an email :P Apr 15 17:33:26 lol Apr 15 17:33:38 do you need permission to be added to /dev folder? Apr 15 17:33:44 like I needed to add debian to input Apr 15 17:33:52 is there an output group Apr 15 17:34:13 why? it didn't sound like you had any permission errors Apr 15 17:34:34 the debian user is already in pretty much every group Apr 15 17:34:49 added some more code that is now interfacing the UARTs I just set up Apr 15 17:35:43 i get a permission error failing to open tty Apr 15 17:35:54 which my only guess is the UART since that is all that I added Apr 15 17:36:32 why would you have to guess? if you're opening the uart then you're presumably logging the error yourself Apr 15 17:37:07 and if you could previously open the serial port using screen or cat, then you don't have any permission issues with the serial port Apr 15 17:37:18 yeah this is with qt Apr 15 17:37:25 that doesn't matter Apr 15 17:37:26 may be something with that Apr 15 17:37:40 it appears to work since if I launch myself it is fine Apr 15 17:37:45 no errors Apr 15 17:37:51 i will leave that can of worms alone Apr 15 17:37:52 as opposed to? Apr 15 17:38:01 well in both instances it runs Apr 15 17:38:20 you've completely lost me again Apr 15 17:38:29 just I see Qtcreator spitting out failed to open tty error Apr 15 17:38:35 I am gonna ignore for now Apr 15 17:38:57 forget I said anything Apr 15 21:13:31 @zmatt KVM is a qemu switch to activate or not and increases the emualtion performance drastically Apr 15 21:13:51 bbblob: KVM is for virtualization, not emulation Apr 15 21:14:17 to run a program for another architecture you need emulation but have absolutely no need for virtualization Apr 15 21:15:27 there is some overlap between full-system emulation and virtualization (in terms of emulating hardware peripherals) but that's about it Apr 15 21:15:55 there's zero overlap in functionality between cross-architecture emulation of userspace executables (which is what qemu-user does) and same-architecture virtualization (which is what kvm does) **** ENDING LOGGING AT Thu Apr 16 02:59:57 2020