**** BEGIN LOGGING AT Thu Feb 10 02:59:56 2022 Feb 10 03:37:14 im developing on a BBB, was wondering if anyone knows of any docs for the PowerVR SGX530. nothing on imgtec site, well search at least Feb 10 03:37:32 im not hoping for much other than reverse engineering linux driver mailbox messages or such Feb 10 03:38:06 ahh it appears to be closed source blob still hrm Feb 10 04:50:25 dmh: yeah, the kernel driver is open source (but will make you want to wash your eyes with bleach), the userspace libs are closed Feb 10 04:56:32 (I know there's also been a source leak at some point, though you should obviously think carefully before exposing yourself to that if you want to actually _do_ anything with the info) Feb 10 05:01:01 ah got it thx Feb 10 11:27:42 Looking into AI and considering the Beaglebone X15 and AI but both seems to be either obsolete or end of life, is there a new product in the pipeline ? Feb 10 11:31:21 Guest65: neither is obsolete or end-of-life Feb 10 11:33:09 Guest65: however, manufacturing moved to Seeed Studio, and distibutors may list the same board from the previous manufacturer as EOL Feb 10 11:34:58 Guest65: for example, https://www.digikey.com/en/products/detail/precision-technology-inc/BEAGLEBOARD-X15/6834154 (EOL) vs https://www.digikey.com/en/products/detail/beagleboard-by-seeed-studio/BEAGLEBOARD-X15/10493001 (active) Feb 10 11:39:16 jkridner: any idea why https://www.digikey.com/en/products/detail/seeed-technology-co-ltd/102110362/10492208 is listed as "Discontinued at Digi-Key" ? Feb 10 15:08:35 zmatt: so that "specific" was built by Element 14, and sold thru Seeed, at some point Seeed will actually build a version. Feb 10 15:27:46 and that results in again a new product code? o.O Feb 10 15:27:57 confusing Feb 10 21:25:26 Does anyone have an idea why GPIO mapping would be remapped so that they are not consistent Feb 10 21:25:51 I am using Linux beaglebone 5.10.90-bone-rt-r60 #1buster SMP PREEMPT Fri Jan 28 06:47:22 UTC 2022 armv7l GNU/Linux Feb 10 21:26:27 I have disabled all of the overlays to no avail Feb 10 22:16:06 I mean, gpio numbering was never guaranteed to be consistent, people merely just assumed it was, though this is the first time I've heard of that finally manifesting itself for platform gpio devices.... is it specific to the -rt kernel? maybe it uses multi-threaded probing of devices Feb 10 22:25:53 Angel_Sosa: it's why I personally use an udev rule to create symlinks by name, e.g. with cape-universal that yields: https://pastebin.com/raw/0pawbJK2 although I personally prefer declaring the gpios in DT myself instead of using cape-universal, allowing them to be individually named by function and be given appropriate setup: https://pastebin.com/YKW7Wcqu Feb 10 23:16:58 If you look hard enough you will find articles. I have read a handful with vary valid reason why the GPIO mapping are thrown off Feb 10 23:17:34 I learned how to figure out what the actual mapping are so thats a good thing Feb 10 23:17:57 I've only ever seen it happen with i2c/spi-attached gpio controllers Feb 10 23:19:39 I had already started to consider creating my own version of a DT. Possibly I could guarantee the mapping that way Feb 10 23:19:42 platform gpio controllers normally get probed in predictable order, at least on any kernel I've used... but it makes sense if newer kernels spread device-probing across multiple threads (either in general or specifically in -rt) Feb 10 23:20:41 I cant explain why it has happened . I just know it has. No big deal I am adapting Feb 10 23:20:49 no, you can't guarantee the mapping, but using gpio-of-helper (if it's been forward-ported to 5.10 yet) you can provide names and custom config Feb 10 23:21:17 Got it Feb 10 23:23:48 It could be because I am using beaglebone 5.10.90-bone-rt-r60 version.  The good thing is that I have another SD card and mount another image type and see the results. but in the end it taught me how to rediscover the mapping and associations Feb 10 23:24:10 and with an udev rule to create symlinks, applications can open individual gpios by name without having to know or care about gpio numbering Feb 10 23:24:26 I am with you Feb 10 23:24:49 Its like DNS use the name and let the underlying mapping change all day long Feb 10 23:25:34 exactly, which is particularly nice if you have multiple revisions of a custom pcb and needed to move gpios around... you then only need to update the DT but applications can work the same across revisions Feb 10 23:37:45 out of curiosity, why a recent kernel by rcn is needed for your gpio-demo.dtsi? Feb 10 23:38:56 I mean, in the time that has passed, "recent" now means "not ancient" Feb 10 23:39:05 like. 4.9 or later iirc Feb 10 23:39:43 I submitted some patches to gpio-of-helper back then Feb 10 23:40:32 it used to require more verbosity / pointless redundancy in its DT declarations Feb 10 23:41:50 my patch also added the label property in sysfs used by the udev rule Feb 10 23:49:22 that's a really nice repository zmatt (overlay-utils) Feb 10 23:50:05 Hmm. It seems when I use sudo ./spidev_test, the system now thinks I can only r/w to that char device for SPI under root. Does this sound normal? Feb 10 23:50:42 set_: no, you broke things probably, you should not use sudo for spi Feb 10 23:50:50 Oh. Okay. No issue. Feb 10 23:52:25 I broke something else. Blah. Feb 11 00:13:39 Hmm. It seems I cannot do the loopback test w/ my SPI devices w/out sudo. Maybe you are right. I probably did something unruly. Feb 11 00:28:17 what do I have to import into my code to get access to the IMU on a beaglebone blue? Feb 11 00:40:57 i2c2 shows on the schematic for direct access to the IMU in question. I am still wondering this idea. Feb 11 00:41:29 I think librobotcontrol has library functions for the imu? Feb 11 00:41:35 Have you looked over the older source for the roboticsCape or librobotcontrol? Feb 11 00:41:37 Yep! Feb 11 00:42:16 https://beagleboard.org/static/librobotcontrol/group___i_m_u___m_p_u.html Feb 11 00:48:41 i have not, ive honestly been dragging my brain through the dirt in my college classes and only have a fried brain for learning this stuff Feb 11 00:51:09 Nice! Me too! Well, less school and more dirt work. But, I get to learn too! Feb 11 00:51:47 Anyway, librobotcontrol is already done for the 4.19.x kernel (Buster). Feb 11 00:52:40 ok, ill have to check what kernel im using which shouldn't take me long, but since we just got this board i think it should be at least somewhat up to date Feb 11 00:53:59 Hmm. I think the link(s) for the images are somewhere online. Try beagleboard.org. Feb 11 00:54:11 Oh! Feb 11 00:55:10 Those people also have a forum. There are some info. on current, older, and up-to-date images there on the forums, too. Feb 11 00:56:02 ok, yeah i just checked it and ill have to update the kernel, its just before 4.19 so that will be my next project Feb 11 00:59:44 Maldark909: Did you see the forum or the site? I ask b/c the site has librobotcontrol (supposedly) working. I have not tested it recently. Feb 11 01:00:07 The updated images on the forums may not support that lib. Feb 11 01:00:40 could i get that link for the site? Feb 11 01:00:44 And me, personally, during my last attempt to build it got only so many things arranged properly during building. Feb 11 01:00:59 beagleboard.org Feb 11 01:01:12 oh sorry i meant the exact link, oops Feb 11 01:01:17 oh. Feb 11 01:01:32 Okay. I will go and do something productive. Sheesh. Feb 11 01:01:38 Please hold! Feb 11 01:02:28 is it https://beagleboard.org/latest-images ? Feb 11 01:02:58 Here: https://beagleboard.org/latest-images shows a bunch of them but I would stick to am335x if you have the BBB. Feb 11 01:03:06 Do you have the BBB? Feb 11 01:03:10 yes Feb 11 01:03:12 Yes. Feb 11 01:03:21 That is the link. Feb 11 01:03:43 ok Feb 11 01:04:18 For instance, there is one on the list up towards the top of the page that lists the beaglebone black as a board that the image supports. Feb 11 01:05:43 This one, AM3358 Debian 10.3 2020-04-06 4GB SD IoT , worked last time I tried it. It has been a bit since I used it. Feb 11 01:05:44 gotcha, im gonna grab the am3358 Debian 9.12 2020-04-06 4GB SD ImgTec image Feb 11 01:05:50 Oh. Feb 11 01:06:06 Okay. Feb 11 01:06:15 wait, should i use your image instead? Feb 11 01:06:27 It has some nice SGX capable graphics to test! Feb 11 01:06:45 ok ill download that one then Feb 11 01:07:11 Ooh. I am not sure. Me, I mean me, I would try the ImgTec image if I was to display graphics. Feb 11 01:07:58 well, why not both? it says its doing it via microsd, so i should be able to swap images if i dont like one or the other Feb 11 01:08:07 But, I would also try other images to test to figure out what to do w/ what image. Some work like a charm while others are a bit tedious to handle at first. Feb 11 01:08:09 Oh. Feb 11 01:08:25 Use the Boot button if you have dual images. Feb 11 01:08:39 It gets funny. Feb 11 01:08:53 ok, ill keep that in mind Feb 11 01:08:59 Now, hear me out. Feb 11 01:09:07 Please. Feb 11 01:10:02 ok im listening Feb 11 01:11:04 The boot button is for booting into the eMMC onboard the BBB but not having the same image on the eMMC as what is loaded on the SD Card creates an issue, or did create an issue w/ older images, in regards to booting two forms of uboot. Feb 11 01:12:09 I think since this concern things have matured in that dept. but not from my workings. I just kind of learn as I go and pay to play. Feb 11 01:13:05 ok ill keep that in mind, i was mostly talking about swapping images entirely if i didn't like one or the other, but that definately does bring up some warnings while i do so Feb 11 01:13:47 Yep. Someone else may want to update you one day on this thing of the past but current ideas from the forums I think handle it. Feb 11 01:14:07 <<< Did not test it yet Feb 11 01:14:50 ok gotcha, well thanks for all the help! prob just saved me 2 hours of bashing my skull Feb 11 01:15:07 Do not bash your skull! Feb 11 01:15:13 Gently mend it. Feb 11 01:16:12 Cough, as you can tell, people hate me. Gently mending is usually boring. Feb 11 01:16:53 forum.beagleboard.org is the forum. They have a search bar w/ images on them if you read a bunch of items listed. Feb 11 01:18:35 Anyway, for instance, on the forum is where I found a person that had some nice images available. I tested some of them so far. They work nicely for most things. Feb 11 01:19:10 I think if you search the word "images", it may prove useful. Feb 11 01:23:45 ok, im currently rufus'ing the image to a microsd card, then i gotta finish my phys lab hw and sw dev hw before i can do anything else Feb 11 01:24:10 thanks for all the help! have a nice night. Feb 11 02:07:47 use etcher **** ENDING LOGGING AT Fri Feb 11 02:59:56 2022