**** BEGIN LOGGING AT Mon Dec 28 03:00:17 2020 Dec 28 04:43:57 Cannot initiate the connection to repos.rcn-ee.com:80 <<< This is my error. Dec 28 04:44:25 I cannot upgrade my system right now for some reason. Dec 28 04:52:10 Dang it. Past 10:00! Until tomorrow. Dec 28 04:53:51 Just for reference tomorrow, I am performing sudo apt update && sudo apt upgrade command. Dec 28 04:55:18 It seems Debian got upgraded. Yikes. Dec 28 04:55:32 DebConf! Dec 28 09:19:02 HI, I have had some problems when inserting a blank SD card and not being able to boot from EMMC Dec 29 01:44:55 I do not know what happened but everything is updating/upgrading correctly today. Boy! Dec 29 01:45:06 hi i have beaglebone black and i'm preparing to port some cpu intensive software, and try to optimize it for the platform. I was reading this http://beagleboard.org/pru which says there are 2 reprogrammable microcontrollers on the board called PRUs I can use to execute independent binaries. it all makes sense except for the "step 3: disable HDMI" Dec 29 01:45:07 part. just to be sure i don't actually have to disable my beaglebone black's hdmi to use the PRUs right? that is optional and doesnt directly impact PRUs? Dec 29 01:46:14 misternumberone: nope Dec 29 01:46:40 misternumberone: the only reason to disable HDMI is to free up more pins for PRU I/O Dec 29 01:47:00 presumably that demo needs it Dec 29 01:48:25 misternumberone: btw, in case you're interested, I've made a python library for using PRU, supporting program loading (both raw binaries from pasm and ELF executables from clpru), shared memory mapping, receiving interrupts, etc Dec 29 01:48:30 https://github.com/mvduin/py-uio Dec 29 01:50:02 (technically it's more generally for using UIO, though the pru-unrelated parts have collected a fair bit of dust) Dec 29 01:50:20 No! Dec 29 01:50:32 Sorry. I was referring to dust. Dec 29 01:50:38 No more dust! Dec 29 01:51:45 So... Dec 29 01:51:47 misternumberone: what kind of "cpu intensive stuff" btw? the computational power of the PRU cores is fairly small compared to the Cortex-A8 (especially with NEON) Dec 29 01:52:25 misternumberone: the PRUs are more designed for determinism and low-latency I/O Dec 29 01:52:55 Can one put an elf executable on the PRU or should that be shared among the PRU and A8/am335x? Dec 29 01:53:50 I am still slow in the shared mem dept. Dec 29 01:54:28 oh ok thanks looks useful, so the conflict would be i can't use HDMI and the PRU gpio pins that overlap between the two relevant charts here beagleboard.org/support/bone101 at the same time Dec 29 01:57:53 i just mean i felt the single core nature of the arm CPU will limit performance in apps designed for use on multi core CPUs, but if i remove threading and separate some tasks into a completely separate program i could load it into a PRU and see if it relieves workload on main OS Dec 29 01:59:44 I also found this item if you get time: https://github.com/beagleboard/beaglebone-black/wiki/System-Reference-Manual#6123-pru-icss-pin-access <<< Dec 29 02:03:48 misternumberone: pru pins overview: https://pastebin.com/zK85mXex and you can find detailed pin overviews of the expansion headers on the P9 and P8 tabs of my pins spreadsheet: https://goo.gl/Jkcg0w#gid=1775283126 Dec 29 02:04:47 misternumberone: and in general software written for multi-core will have more overhead than equivalent software written for single-core Dec 29 02:05:29 (and threading is especially a waste of resources on a single-core cpu) Dec 29 02:08:20 but what kind of software are you talking about? in most cases it will be more sensible to invest effort into optimizing the software on the cortex-a8... trying to distribute computational work to PRU sounds like a fairly desperate thing to attempt Dec 29 02:09:05 if it's numerical code then NEON optimization can get you big performance gains Dec 29 02:11:01 sorry my browser disconnecetd me but i got your google doc thanks looks extremely convenient, before ive always just referenced the official docs Dec 29 02:12:27 misternumberone: https://pastebin.com/raw/znWTs76T Dec 29 02:12:31 (dunno how much you missed) Dec 29 02:19:04 hey zmatt Dec 29 02:19:24 can I ssh into a beagle bone through any usb port Dec 29 02:20:03 like if I want to connect a hub to the micro port and use a regular usb to connect would that work? Dec 29 02:20:55 mattb0000ne: you're not making much sense Dec 29 02:21:23 the black has 2 usb ports Dec 29 02:21:31 yes, a host port and a device port Dec 29 02:22:15 which is which Dec 29 02:22:16 the host ("A") port being something to which you can attach a device (or multiple devices via a hub) Dec 29 02:22:29 that is the big one Dec 29 02:22:32 ? Dec 29 02:22:54 the device (mini-B (BBB) or micro-B (BBBW) port being something via which you can attach the beaglebone as device to a host (directly or via a hub) Dec 29 02:23:19 ok Dec 29 02:23:27 and the other is configured as a host Dec 29 02:23:44 what if I wanted to make that other port a device instead of host Dec 29 02:23:48 how can I do that Dec 29 02:26:54 not sure why you'd want to do that, but I think if that port (usb1) is configured to "peripheral" role in DT you can probably connect it to a host using an A-A cable (which is an invalid cable not allowed by the usb standard, but you can find them around nevertheless) Dec 29 02:27:17 and of course it would need to be set up by software for whatever function that device port is expected to have Dec 29 02:31:19 what are the chance of an overlay existing for that Dec 29 02:32:09 with A-A cable I mean one that has this on both ends: https://cablestogo-909a.kxcdn.com/static/content/common/images/learning/connector-guides/usb/450/usb-atype-m-a.6b4aa97c.jpg ... which shouldn't exist, since it makes no sense (since that connector normally plugs into a usb host, and you can't connect a usb host to a usb host, usb is asymmetrical) Dec 29 02:33:40 /dts-v1/; /plugin/; &usb1 { dr_mode = "peripheral"; }; Dec 29 02:33:43 there's your overlay. Dec 29 02:34:49 Can I have one just for pwm? Dec 29 02:34:53 Ha.a Dec 29 02:35:22 pwm doesn't require an overlay, cape-universal suffices Dec 29 02:35:28 All jokes aside, I saw...oh. Dec 29 02:35:38 B/c it is analog? Dec 29 02:36:19 ???? Dec 29 02:36:31 Oh. Forget it. Dec 29 02:36:40 I forgot what I was sayin' anyways. Dec 29 02:36:59 "First come, first serve," is what Sampson told me. Dec 29 02:37:25 Let me try again...Okay. Dec 29 02:38:38 If I use an elf exec. on my am335x, how does the shared mem work for it? I mean, does anyone know of a neat tutorial for this specific task? Dec 29 02:39:25 I am asking b/c I have a homing setup but I want to use PRU to handle some basics but everything, the source, is on my am335x. Dec 29 02:48:02 I will finally try out py-uio. I do not know what has taken its place for so long. bbl. **** ENDING LOGGING AT Tue Dec 29 02:59:57 2020