2021-02-15.log

- oomono (QUIT: Quit: Connection closed for inactivity) (uid328183@gateway/web/irccloud.com/x-xmuohfrqlsqtswow)00:09
mntmnswivel: this is a misunderstanding.00:46
mntmnswivel: etnaviv is not a display device, only a renderer.00:46
mntmnswivel: so your modesetting display is dcss or mxsfb, and etnaviv renders to it.00:46
mntmnswivel: i have long given up on X (without wayland) so i cannot say how to make it work nowadays00:47
swivelmntmn: in your tech note spost, it explicitly mentioned etnaviv by name, but that's not actually an etnaviv on i.mx6 is it?  putting "etnaviv" in the X config for Identifier is just a key for the config, not an actual driver anything right?00:49
ex-parrotmntmn: shirt arrived, is awesome \m/00:55
- Neelfyn (QUIT: Quit: Connection closed for inactivity) (uid180106@gateway/web/irccloud.com/x-ucptjhmsjhdanimw)05:23
- stepan (QUIT: Read error: Connection reset by peer) (sid147049@gateway/web/irccloud.com/x-ptpoibrwjerqziys)05:58
+ stepan (sid147049@gateway/web/irccloud.com/x-esewxyteznyacmvu)05:58
+ futarisIRCcloud (uid222239@gateway/web/irccloud.com/x-zuivisixaftfmnlx)06:19
- B[] (QUIT: Ping timeout: 240 seconds) (~Thunderbi@219-89-228-78-adsl.sparkbb.co.nz)07:22
- futarisIRCcloud (QUIT: Quit: Connection closed for inactivity) (uid222239@gateway/web/irccloud.com/x-zuivisixaftfmnlx)08:28
+ oomono (uid328183@gateway/web/irccloud.com/x-lutihhkalrygojec)09:39
paulk-leonovhi10:45
paulk-leonovwere there any developments regarding blobs on the imx8?10:45
paulk-leonovespecially DDR PHY and HDMI/DP10:45
+ rasmus-mk (~rasmus@c83-253-223-217.bredband.comhem.se)12:54
* debacle -> demoveu13:01
* demoveu -> debacle13:36
+ Neelfyn (uid180106@gateway/web/irccloud.com/x-pvukjbjkbggrtkjz)14:40
- erlehmann (QUIT: Ping timeout: 240 seconds) (~erlehmann@dynamic-046-114-035-154.46.114.pool.telefonica.de)14:53
+ erlehmann (~erlehmann@dynamic-046-114-035-154.46.114.pool.telefonica.de)14:55
+ futarisIRCcloud (uid222239@gateway/web/irccloud.com/x-yxwfbuptjtfxzoed)17:13
- erlehmann (QUIT: Read error: Connection reset by peer) (~erlehmann@dynamic-046-114-035-154.46.114.pool.telefonica.de)17:20
+ erlehmann (~erlehmann@dynamic-046-114-035-154.46.114.pool.telefonica.de)17:20
- DanC (QUIT: Quit: ZNC 1.6.6+deb1ubuntu0.2 - http://znc.in) (~DanC@2605:a601:ac60:1000:dc72:f722:2968:d479)17:36
+ DanC (~DanC@2605:a601:ac60:1000:481f:e274:1264:569b)17:37
- oomono (QUIT: Quit: Connection closed for inactivity) (uid328183@gateway/web/irccloud.com/x-lutihhkalrygojec)17:39
jackhillpaulk-leonov: I'm just a random person, but https://www.devever.net/~hl/imx8 seems to suggest that there is no hope for HDMI17:48
+ oomono (uid328183@gateway/web/irccloud.com/x-gcbbfxxkyfwroemg)17:49
* debacle -> demoveu18:17
paulk-leonovjackhill: thanks for the link!18:34
paulk-leonovlooks like it would need a pci-e display controller18:34
- oomono (QUIT: Read error: Connection reset by peer) (uid328183@gateway/web/irccloud.com/x-gcbbfxxkyfwroemg)19:01
+ oomono (uid328183@gateway/web/irccloud.com/x-teagdqzowwisxlkg)19:02
* demoveu -> debacle19:27
+ B[] (~Thunderbi@219-89-228-78-adsl.sparkbb.co.nz)19:59
* debacle -> demoveu21:21
mntmnswivel: correct, this "etnaviv" is just a nickname there21:28
mntmnpaulk-leonov, jackhill, the DDR4 could be REd in theory because it is not signed. the hdmi is signed unfortunately, but i am working on a USB3 display adapter dongle thing21:29
mntmnOTOH you probably disagree but i consider these blobs harmless, as they don't run on the ARM and have no bus access21:30
mntmn(and the DDR one only runs at boot and then never again)21:30
mntmnthey are not nice of course, but not a big difference to closed-source silicon21:30
mntmnwhich is most of the silicon21:30
mntmni would not tolerate a software blob running on the OS/in the ARM though21:31
paulk-leonovyeah it's not so much about security impact, rather about hiding out knowledge and exclusivity of modification ability21:31
mntmnyap. the DDR4 thing is def. hackable, i played around with it. you can tweak the DDRC registers also manually without the blob21:32
mntmnbut you would have to write a new calibration routine21:32
paulk-leonovI see21:32
mntmni don't have the experience+knowledge to do that though21:32
mntmnthe blob is a piece of code that runs in the DDR to do a part of the calibration21:33
paulk-leonovalso silicon is a different technological nature, it's not possible to modify it21:33
mntmnslash training21:33
paulk-leonovyep21:33
paulk-leonovisn't it possible to just run it once and then reuse whatever it produced?21:33
mntmnyes. to modify the HDMI thing you would need to crack the key21:33
mntmnpaulk-leonov: yes, i had the same idea21:33
mntmni couldn't get it to work but i think it should be doable21:34
paulk-leonovbecause if it's soldered DRAM chips I suspect the calibrated result won't change much21:34
mntmngiven time + resources which i didn't have (i spent parts of a week on it)21:34
paulk-leonovexcept maybe with temperature21:34
mntmncorrect21:34
mntmnnot even with temp21:34
paulk-leonovthanks for trying!21:34
mntmnthe temp stuff is auto-adjusted in silicon21:34
paulk-leonovneat21:34
mntmnif i understand it correctly the training is all about the PCB/trace situation21:35
paulk-leonovbut well, if the design is that the firmware should run, there may also be unreasonable blockers built-in21:35
mntmncorrect, for example there could be some register write that you cannot do from the outside21:35
paulk-leonovlike waiting for the firmware to flip a bit saying it's done21:35
mntmnyep21:35
paulk-leonovexactly21:35
mntmnbut we don't know that (yet)21:35
paulk-leonovindeed21:35
paulk-leonovso still worth a try21:35
mntmnso, it is still an open topic21:35
mntmnyep21:35
paulk-leonovdo you know if the firmware's ISA is public?21:36
mntmnsemi21:36
mntmnIDA can disassemble it21:36
paulk-leonovah like, general-purpose with custom extensions?21:36
mntmnbut IIRC there are vendor extensions in the ISA, not sure atm21:36
mntmnyep21:36
Koodamntmn: isn’t the HDMI blob source open-source (maybe decompiled?) Being able to inspect it, and maybe reproduce the binary, would at least be *something*21:36
paulk-leonovI see21:36
mntmnit is ARCcompact21:36
mntmnKooda: huh? where did you see it?21:37
paulk-leonovofc, synopsys stuff ;)21:37
mntmnsorry ARCompact21:37
mntmnpaulk-leonov: yeah21:37
mntmnit is synopsys ip21:37
Koodamntmn: I can’t remember, maybe I dreamed it xD21:37
mntmnKooda: the hdmi thing is Xtensa ISA. it is probably possible to disassemble but when i tried i had only garbage results21:37
mntmnbut i'm also not an experienced RE21:38
paulk-leonovit's really a shame, the imx8m family looks pretty neat otherwise21:38
mntmnyeah i have made my piece with it... there are lots of little things to like21:38
mntmnfor example, you can just poke the registers at runtime with memtool21:38
mntmnand do all kinds of weird stuff21:38
paulk-leonovhehe21:38
mntmnthat has a retro feel to it21:39
paulk-leonovare there platforms that don't allow that somehow?21:39
mntmni guess non SoC platforms21:40
paulk-leonovMMIO vs PIO I guess21:41
mntmnyeah21:41
mntmnalso i really like that we have etnaviv in the first place21:41
mntmneven if it is GLES2.0 you can do a lot of fun things with that21:42
KoodaThe case about the HDMI blob reminds me of video game console cracking, as well. Some people can figure out keys and/or bugs in the security that allow you to use unsigned code. It would be neat to find that for that SoC. :Þ21:42
mntmnyes21:42
mntmnKooda: i would not be surprised21:42
Koodamntmn: yes that’s (open-source GL) one of the main thing I was looking for in an open-source machine.21:42
mntmni hope to see more fun stuff once all those Reforms are in peoples' hands and also those librem phones too21:43
KoodaYep :)21:43
KoodaI will definitely tinker with mine :)21:43
paulk-leonovfree software graphics support is in quite good shape on embedded these days21:43
paulk-leonovpowervr is slowly dying out21:44
mntmnexcept for the stuff with powervr yeah you named it21:44
paulk-leonovothers are doing better and better21:44
mntmnyep21:44
mntmnit surprises me that arm didn't just open their gpu stuff in the first place, it seems dumb21:44
paulk-leonovyeah, pattent stuff and worried lawyers I guess21:45
KoodaI wonder what will happen now that nvidia own them21:45
KoodaThey aren’t really keen on openning anything21:45
mntmnthe nvidia deal is still not 100% through, right?21:45
mntmnthere could still be some antitrust thing21:45
KoodaI admit I don’t know the details21:45
paulk-leonovyeah let's see21:46
mntmni just read that a bunch of other big corps (incl. MS) wanted to protest21:46
paulk-leonovbut indeed nvidia has a pretty bad track record21:46
mntmni'm also for sure looking forward to RISC-V maturity. my strategy is to support both ARM+RISC-V until RISC-V is in really good shape.21:47
mntmnbut we still don't have a GPU story in that space21:47
mntmnthere might be some RISC-V chip with vivante coming but still vivante is not open, just REd21:47
KoodaIt will take a while yeah21:47
mntmnyeah21:47
KoodaBut it’s really exciting :)21:47
mntmnbut in the meantime we can learn a lot about building devices around chips21:47
mntmnopen devices that is21:48
mntmnand we will have an FPGA module to experiment with open cores21:48
KoodaYep, that’s awesome. Thanks for looking into that :)21:50
* demoveu -> debacle21:52
* debacle -> demoveu21:52
- Neelfyn (QUIT: Quit: Connection closed for inactivity) (uid180106@gateway/web/irccloud.com/x-pvukjbjkbggrtkjz)22:11
* demoveu -> debacle22:19
- rasmus-mk (QUIT: Quit: Konversation terminated!) (~rasmus@c83-253-223-217.bredband.comhem.se)22:40
- erlehmann (QUIT: Read error: Connection reset by peer) (~erlehmann@dynamic-046-114-035-154.46.114.pool.telefonica.de)23:10
+ erlehmann (~erlehmann@dynamic-046-114-037-211.46.114.pool.telefonica.de)23:25
- oomono (QUIT: Quit: Connection closed for inactivity) (uid328183@gateway/web/irccloud.com/x-teagdqzowwisxlkg)23:28
* debacle -> demoveu23:47

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