2020-08-07.log

mntmnyeah00:02
swivelmntmn: oh, my mistake, i just did a quick ddg for imx8m and saw 14nm in the results00:26
KoodaQuick question, in case anyone knows offhand: can the M4 core access the whole memory and external devices?01:30
mntmnKooda: i don't know... yet01:36
mntmn> The Cortex-M4 processor has a modified 32-bit Harvard bus architecture01:39
mntmn> sing a 32-bit01:39
mntmnaddress space, low-order addresses (0x0000_0000 through 0x1FFF_FFFF) use the Processor Code (PC) bus, and high-order addresses (0x2000_0000 through 0xFFFF_FFFF) use the Processor System (PS) bus.01:39
mntmnhaha there's a "Backdoor port" going via CCM to a crossbar switch...01:40
mntmn> SRAM controller requests from all other bus masters on the backdoor port01:40
mntmnit has 256kB tightly coupled sram01:42
KoodaHehe well, at least the intent is clear…  I guess it has to, for the “trusted computing” things01:42
Koodas/things/use cases/01:42
KoodaMy initial question was asked because I’m wondering what this core could do by itself, for example when the system is “off”, to keep some simple things running (of course not programs from the main system).01:48
KoodaMaybe things like staying active as a wifi access point to share files locally while the Reform stays in a bag ^^01:49
mntmnyeah, interesting questions. not sure if PCIe etc can be mapped into its address space though01:51
+ B[] (~Thunderbi@219-89-228-78-adsl.sparkbb.co.nz)03:55
+ terpri (~terpri@2606-a000-1127-83a8-29bb-d4a9-b6ca-cbc6.inf6.spectrum.com)04:37
- B[] (QUIT: Ping timeout: 260 seconds) (~Thunderbi@219-89-228-78-adsl.sparkbb.co.nz)05:17
- erlehmann (QUIT: Ping timeout: 265 seconds) (~erlehmann@46.114.38.21)05:51
+ erlehmann (~erlehmann@46.114.38.42)06:04
* jpo_ -> jpo07:59
+ B[] (~Thunderbi@219-89-228-78-adsl.sparkbb.co.nz)08:27
- dckc (QUIT: Ping timeout: 260 seconds) (~DanC@user2.kumc.edu)09:52
+ dckc (~DanC@136.33.249.0)09:57
- blast007 (QUIT: Quit: When the pin is pulled, Mr. Grenade is not our friend) (~blast007@bzflag/developer/Blast)12:04
+ blast007 (~blast007@bzflag/developer/Blast)12:07
lastebilmntmn: so I'm attempting to build the userland2 parts on the reform2 in void;12:17
lastebilis there any reason you have not made your own local repo for mesa and applied the patches there?12:17
mntmnlastebil: neat!12:18
lastebil(I've broken the parts into individual build scripts now, for simplicity and also because each package is having slightly different issues, so I'm doing a lot of "no, I don't want to patch again. no. no I don't want to patch again. NO. NO I DO NOT WANT TO PATCH AGAIN"  (:12:18
lastebilI have drm built, and mesa, but having issues with wlroots as there is no egl binary; somehow I think it _should_ exist after the mesa build step?12:19
mntmnlastebil: no egl binary?12:56
mntmnlastebil: ah maybe ldconfig /usr/local/lib12:56
lastebilyeah. no egl binary. does it come from mesa-utils on debian or is it actually built in the mesa step?13:01
lastebilI'm going to try re-running the mesa build with a fresh git pull, and have it redo the patches, and all in one step, and look for errors again13:03
mntmnlastebil: i have no idea what an egl binary is. do you have exact error messages?13:30
Koodamntmn: I suspect they are talking about eglinfo, es2gears, etc13:32
KoodaThough that would be weird hm…13:32
mntmnKooda: why should wlroots need those?13:34
KoodaI don’t know, that’s why it’s weird13:38
mntmnmy guess is that it could be about egl _libraries_ and that is something that falls out of the mesa build process, but after install it might need to be registered once by ldconfig13:49
mntmnlastebil: i would recommend to check where ninja install puts the mesa libraries at the end of the mesa build and then ldconfig /that/directory13:50
- dckc (QUIT: Ping timeout: 256 seconds) (~DanC@136.33.249.0)15:23
+ dckc (~DanC@user2.kumc.edu)15:24
- B[] (QUIT: Ping timeout: 264 seconds) (~Thunderbi@219-89-228-78-adsl.sparkbb.co.nz)16:06
lastebilthe exact error si:  meson.build:102:0: ERROR: Dependency "egl" not found, tried pkgconfig and cmake16:08
lastebilthere is definately no egl binary on the system after the mesa build pass16:08
- amelia_ (QUIT: Quit: Leaving) (~amelia@unaffiliated/amelia/x-6378434)16:09
KoodaThat’s indeed the library then16:13
KoodaDid you build Mesa with the right configuration?16:13
lastebilI built mesa with the script inside of mkuserland2.sh16:15
lastebilthat is to say: I have extracted the git command, the patches, meson, and ninja commands into their own script, and run it.16:15
lastebilthat is NOT to say that all the libraries / items required for building were there: as this is void, not debian; I am looking for which packages are needed to be installed prior.16:16
lastebilit _builds_ now, but there may be a misisng prerequisite, I have just decided to try installing libglvnd-devel - as that MAY have a file needed (apparently it is part of the build process on fedora)16:17
mntmnwait wait16:17
lastebilnot that void is any more like fedora than it is like debian, just that it may contain missing headers.16:17
mntmnlastebil: egl is not a binary.16:18
lastebilright, it's a run-time dependency. it's also missing (:16:18
mntmnlastebil: it's the egl library. something that mesa should provide.16:19
lastebilpost-build, there are only 2 places "egl" appears on the filesystem: both within /src directories in the mesa build subdirectory16:19
mntmnegl is just the pkgconfig name, i think the actual libs have a slightly different name16:20
mntmnone moment16:20
lastebilright, like egl.o or egl.a or similar?16:20
mntmni think more like EGL16:20
lastebilok let's check for that while it rebuilds16:20
mntmnlastebil: libEGL.so16:21
lastebilhmm, didn't notice this before16:21
lastebil    expat: YES16:21
lastebil     llvm: NO Subproject directory not found and llvm.wrap file not found16:21
lastebilperhaps that is the issue (:16:21
mntmnlastebil: but your mesa build process completes, right?16:21
lastebilyes. also, those are sitting in both /usr/local/lib and /usr/lib post-mesa-build completion16:22
mntmnlastebil: did you do ldconfig /usr/local/lib ?16:22
mntmnbefore trying to build wlroots16:22
lastebilI did, and your script is also doing the generic 'ldconfig' before, and I have included that also at the start16:22
lastebilbut let's try one more time (:16:23
mntmnlastebil: ok. what is the output of: pkg-config --libs egl16:23
mntmn(for me that's -L/usr/local/lib -lEGL)16:23
mntmnwhen the meson config process for wlroots chokes with a "egl" dependency error, it means that it called pkg-config --somethingsomething egl and that failed16:24
lastebilnow it finds it. hmm. interesting.16:24
mntmnlastebil: maybe /usr/local/lib needs to be added to /etc/ld.so.conf16:24
mntmnvery possibly so16:25
lastebilit does hit another issue but I can solve that one I believe.16:25
lastebilyeah I'm betting it does. let's add that.16:25
mntmni also have /usr/local/lib/dri in /etc/ld.so.conf16:25
lastebilbbiab16:25
mntmn(not 100% sure if required, but in case of further problems...)16:25
erlehmannlastebil, in case you are using shell scripts too, consider redo style (it is a small tool to have dependencies for shell scripts) to rebuild faster16:27
+ amelia_ (~amelia@unaffiliated/amelia/x-6378434)16:33
erlehmannmntmn, sorry i do not want to lead you astray, better finish your stuff before you listen to anything i have to say16:42
lastebilyeah planning on doing some changes to them after. (like applying the patches to the local git repo (:  )16:59
lastebiljust had a large older TV dropped off so had to go deal with that (:17:00
erlehmannlastebil, is it by any chance a 42" braun tube?17:36
lastebilsadly, no.17:40
erlehmanndo you ♥ CRT?17:42
lastebilthey are very good for certain things, such as older videogame systems (:17:47
lastebilnot sure why, but the ldconfig is ignoring things in /usr/local/lib/ldconfig - and I can't figure out why. even when that directory is explicitly given on the command line, it ignores it.17:48
lastebilI'm hacking through it by putting the files it can't find (such as wlroots) in /usr/lib/ldconfig - but this is something I will need to fix.17:49
+ amelia__ (~amelia@2001:8b0:b2b:1:9aaf:65ff:fe57:773b)18:09
- amelia_ (QUIT: Disconnected by services) (~amelia@unaffiliated/amelia/x-6378434)18:11
- amelia__ (QUIT: Changing host) (~amelia@2001:8b0:b2b:1:9aaf:65ff:fe57:773b)18:11
+ amelia__ (~amelia@unaffiliated/amelia/x-6378434)18:11
- amelia__ (QUIT: Client Quit) (~amelia@unaffiliated/amelia/x-6378434)18:11
+ amelia_ (~amelia@unaffiliated/amelia/x-6378434)18:11
lastebilah it's not ldconfig but pkg-config that is throwing me here.  fixed by aliasing it so it knows to include the /usr/local/lib/pkgconfig dir18:17
+ oomono (uid328183@gateway/web/irccloud.com/x-odtsgionwdanwymc)18:26
- erlehmann (QUIT: Ping timeout: 240 seconds) (~erlehmann@46.114.38.42)19:18
+ erlehmann (~erlehmann@46.114.38.42)19:18
lastebiland sway working.19:38
- oomono (QUIT: Quit: Connection closed for inactivity) (uid328183@gateway/web/irccloud.com/x-odtsgionwdanwymc)20:46
mntmnlastebil: awesome23:52
- gcc-addict (QUIT: Ping timeout: 240 seconds) (~gcc-addic@gateway/tor-sasl/gcc-addict)23:58

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!