tmlind | freemangordon: heh finally got the ocp reg fix done.. https://lists.goldelico.com/pipermail/openpvrsgx-devgroup/2021-October/000465.html | 12:13 |
---|---|---|
tmlind | as an extra bonus we now have basic register read/write support in pvr-drv :) | 12:13 |
tmlind | i also did patches to add interrupt handling to prv-drv, but the patch kept sprawling to several thousands of lines of pvr code to remove.. needs more time | 12:14 |
tmlind | and testing. i only tried the fix above to init sgx on few omaps i have in my rack | 12:15 |
Wizzup | great work :) | 12:16 |
tmlind | thanks, it's a pleasure (TM) | 12:16 |
uvos | Wizzup: ERROR: Permission to maemo-leste/clown-boot-kexec.git denied | 15:45 |
uvos | so the sphone with greatly redisgned backend is on the way to devel | 15:47 |
uvos | needs testing | 15:47 |
uvos | also its in need of a address book plugin and other backends etc | 15:48 |
uvos | also its stable again now to the point that patches are welcome | 15:48 |
uvos | interface wise | 15:48 |
Wizzup | uvos: added | 15:49 |
uvos | Wizzup: i think that pusing the modules there is gona fail | 15:51 |
uvos | Wizzup: because it contains the linux kernels history | 15:52 |
Wizzup | ok, so you want multiple repos, one per? | 15:53 |
uvos | no its fine | 15:53 |
uvos | looks like github is not rejecting the push | 15:53 |
Wizzup | you can do diff branches too | 15:53 |
Wizzup | oh right | 15:53 |
Wizzup | you just mean size wise | 15:53 |
lel | IMbackK edited a repository: https://github.com/maemo-leste/clown-boot-kexec | 15:56 |
Wizzup | uvos: I am thinking of making the droid3 dts now use motorola,droid3 as compatible | 17:14 |
Wizzup | I suppose that shouldn't break things? | 17:14 |
Wizzup | also added the pstore patch now | 17:14 |
uvos | did you add the compatible to the cpcap regulator quirk? | 17:28 |
uvos | or rather the assignment | 17:28 |
uvos | cpcap driver needs to know the d3 is wired like xt875 | 17:28 |
uvos | arch/arm/mach-omap2/pmic-cpcap.c of_machine_is_compatible("motorola,droid-bionic") | 17:31 |
Wizzup | ok | 17:53 |
Wizzup | uvos: so I'll make that || droid3 then | 18:22 |
Wizzup | since it seems to work (?) | 18:22 |
uvos | yeah sure | 19:02 |
Wizzup | uvos: hm, not sure if this relates to pstore patch or my dts changes, but running into this atm, will try to figure out what triggers it https://dpaste.com/D4885QHTC | 19:22 |
Wizzup | smells like pstore though? | 19:23 |
Wizzup | maybe the ramoops entry in the dts is not ok for the droid3 | 19:23 |
uvos | yes thats pstore crashing | 19:24 |
uvos | maybe the ram area it allocates is out of range for d3 | 19:25 |
Wizzup | mhm | 19:25 |
Wizzup | yeah with the reserved-memory stuff gone in the dts it boots fine | 19:27 |
uvos | well where is the reserved memory? | 19:27 |
Wizzup | no idea :) I haven't been able to decode the dtb properly | 19:28 |
Wizzup | not in android dmesg either it seems | 19:43 |
Wizzup | the default android shell truly is a crime against humanity | 19:50 |
uvos | xD | 19:50 |
uvos | the shell or the teminal emulator? | 19:50 |
uvos | or both | 19:50 |
Wizzup | both I guess | 19:57 |
Wizzup | https://github.com/MerlijnWajer/bionic-clown-boot/tree/solana | 19:57 |
Wizzup | this works now apart from the install.sh assuming /sdcard is writable | 19:57 |
uvos | what about /emstorage/0/ or something like that | 19:58 |
Wizzup | I did some magic as root | 19:58 |
uvos | accuatlly i think that was introduced in android 4.0 | 19:58 |
Wizzup | mkdir /preinstall/foo ; chmod 777 /preinstall/foo | 19:58 |
Wizzup | and then just use that | 19:58 |
Wizzup | that works | 19:58 |
Wizzup | in any case this is without pstore | 19:58 |
Wizzup | I think for me to properly fix brightness and modem I'll need to look at getting dtc to read the old motorola dtb things | 19:59 |
Wizzup | basically figure out what tmlind did at the time and recreate the code :p | 19:59 |
Wizzup | (also for pstore / reserved memory) | 19:59 |
uvos | so do you plan on leaving it like that? | 20:00 |
uvos | im not terribly happy | 20:00 |
Wizzup | uvos: what, the clown boot tree? | 20:01 |
uvos | yeah | 20:01 |
Wizzup | no | 20:01 |
uvos | ok | 20:01 |
Wizzup | I think at this point we can figure out what the best way would be to merge it, if you want it merged | 20:01 |
uvos | sure mostly i dont want to maintain the kernel image in 2 palces | 20:02 |
uvos | and most of the other sutff is common as well | 20:02 |
uvos | bb and su and so on | 20:02 |
Wizzup | I am not sure if it's the same, so I just went with what the root exploit provided | 20:02 |
uvos | also you did try root404.sh on solana right? | 20:02 |
uvos | the stuff in root is built agains 2.3 sdk | 20:03 |
uvos | so should work fine | 20:03 |
Wizzup | pretty sure I did and I don't think it worked | 20:03 |
Wizzup | (404) | 20:03 |
uvos | ok | 20:03 |
Wizzup | just squashed some commits | 20:03 |
uvos | boot.img isent needed at all | 20:03 |
Wizzup | ok, I wasn't sure why you flashed it in the README | 20:03 |
Wizzup | I've just taken the assumption that whatever you had in there was necessary | 20:04 |
uvos | on xt875 we use the 3.0.8 kernel to kexec from | 20:04 |
Wizzup | aha | 20:04 |
uvos | the one that shipped with 4.0 and is identical to the d4 one but android 4.1 comes with a slightly different kernel | 20:05 |
uvos | so i have everyone downgrade the kernel | 20:05 |
Wizzup | in any case this will just do nothing at worst, at best it prevents folks from flashing a bad boot.img | 20:05 |
Wizzup | but sure I can remove it, as long as boot.img is also gone | 20:05 |
Wizzup | so regarding maintaining kernel images | 20:05 |
uvos | also allow-mbmloader-flashing-mbm.bin is probubly unessecary | 20:06 |
Wizzup | I think the first step is for you or me to verify that the 5.10.74 that I made also works for you | 20:06 |
Wizzup | no, that is necessary I think | 20:06 |
uvos | its not needed to flash bspw on old versions of mbm | 20:06 |
Wizzup | I was not able to flash bwsp otherwise | 20:06 |
Wizzup | IIRC | 20:06 |
uvos | on d4 /targa at least | 20:06 |
uvos | ok | 20:06 |
uvos | maybe d3 mbm is to new | 20:06 |
Wizzup | (maybe it was just for boot, cannot remember) | 20:06 |
Wizzup | I was thinking of testing new kernels for kexecboot purposes simply from kexecboot | 20:07 |
uvos | idealy i think we should just install the kernel and have kexecbootstart.sh figure out what dts to use at runtime imo | 20:07 |
Wizzup | should work, I think | 20:07 |
uvos | sure | 20:08 |
Wizzup | we will still need different directories or branches for bionic and d4 | 20:08 |
Wizzup | er d3 | 20:08 |
uvos | only a different allow-mbmloader-flashing-mbm.bin, root234.sh the motofail binary should be different | 20:09 |
Wizzup | parazyd: idk if you're going to be around one of these days but I have a few changes for the mapphone kernel to add d3 support | 20:09 |
uvos | and dtb that gets installed on both | 20:09 |
Wizzup | uvos: what about the kexec modules | 20:09 |
uvos | oh right | 20:09 |
uvos | yeah | 20:10 |
Wizzup | basically everything in kexecboot/* | 20:10 |
Wizzup | apart from kernel | 20:10 |
Wizzup | and maybe kexec binary | 20:10 |
uvos | yes | 20:11 |
Wizzup | updated this a bit https://leste.maemo.org/Motorola_Droid_3 | 20:16 |
Wizzup | parazyd: also I think the wiki icons are still broken | 20:16 |
uvos | maybe make the page title recognize that the device is sold as Milestone 3 outside of US | 20:19 |
Wizzup | with various codenames you mean | 20:20 |
Wizzup | ? | 20:20 |
uvos | its nota code name | 20:20 |
uvos | code name is solana everywhere | 20:20 |
Wizzup | ok | 20:20 |
uvos | the marketing name for droids released outside the us is Milestone | 20:21 |
uvos | because lucas arts has the exlusive rights to the name "droid" | 20:21 |
Wizzup | ok | 20:21 |
Wizzup | lol | 20:21 |
Wizzup | shall I rename the wiki page, or just make it a clear note at the top? | 20:21 |
uvos | whatever you prefer | 20:21 |
Wizzup | done | 20:22 |
Wizzup | interesting it's also suffering from the screen redraw problems the d4 had before you fixed it | 20:25 |
Wizzup | so probably some pvr clock rate problem | 20:25 |
uvos | well its not really fixed, it happens whenever sgx takes over a certain amount of ms to render the frame. due to some timeing issue somewhere tiler or dss fails to pickup the frame. | 20:32 |
uvos | uping the clock rate just made it happen less | 20:33 |
uvos | it sill happens just the same if you load sgx enough | 20:33 |
Wizzup | ah | 20:33 |
Wizzup | well it might be gone with 1.177 | 20:33 |
Wizzup | 1.17( | 20:33 |
uvos | spoiler allert: its not | 20:33 |
Wizzup | hehe | 20:33 |
Wizzup | so I made notes of all the things currently broken https://leste.maemo.org/Motorola_Droid_3#Notes | 20:33 |
Wizzup | I think it's about time I'm going to call it done for now and pick it up later | 20:33 |
Wizzup | uvos: btw, how are you sure it's not gone, it might be with modesetting ? | 20:35 |
uvos | i happens in wayland | 20:36 |
Wizzup | aha | 20:36 |
uvos | *it | 20:36 |
Wizzup | well, wayland is not the gold standard | 20:43 |
Wizzup | but yeah | 20:43 |
uvos | you can see it happen in plain drm too | 20:43 |
freemangordon | YAY, fast path works :) | 20:46 |
uvos | ;) | 20:46 |
uvos | freemangordon: sweeeeet | 20:46 |
uvos | freemangordon: on n900 i presume | 20:46 |
freemangordon | on d4 | 20:46 |
freemangordon | will try on n900 in couple of minutes | 20:47 |
uvos | dident you have issues with sgx crashing? | 20:47 |
uvos | not that im complaining | 20:47 |
Wizzup | freemangordon: cool! | 20:47 |
Wizzup | uvos: hm now I wonder how 5.11 boots since it should have pstore enabled | 20:58 |
Wizzup | it's possible that the patch that I applied is ok for 5.11 but not for 5.10 | 20:58 |
Wizzup | as in I didn't remove that from the 5.11 mapphone dts, and it's enabled in our -devel kernel | 20:59 |
uvos | pretty sure we have been using exactly that patch since like 5.8 | 20:59 |
Wizzup | right, will have to think about what it could be then | 20:59 |
uvos | but do check | 21:00 |
uvos | if it wasent ajusted at some point | 21:00 |
parazyd | Wizzup: Yeah I'm coming back from my trip in two days so I can look at everything | 21:09 |
parazyd | I'm at a conference in Portugal | 21:09 |
freemangordon | uvos: on n900 it is way more stable than on d4 | 21:15 |
uvos | freemangordon: ok | 21:20 |
uvos | hows perf? | 21:20 |
uvos | how soon can we get this packaged | 21:20 |
* uvos excited | 21:20 | |
freemangordon | hmm, not good :( | 21:33 |
freemangordon | glmark2 Score: 20 | 21:33 |
freemangordon | something happens on CPU | 21:34 |
uvos | n900 or d4? | 21:34 |
freemangordon | despite I am issuing GL commands | 21:34 |
freemangordon | n900 | 21:34 |
uvos | sounds like how ddk1.9 performs | 21:34 |
uvos | d4 also pegs the cpu doing something | 21:34 |
freemangordon | "slow" path ( using mmapped memory) is a bit faster | 21:34 |
freemangordon | this is weird | 21:34 |
uvos | pretty sure ddk1.9 on d4 runs into the same bottle neck | 21:35 |
uvos | glmark dose like 35 ish iirc | 21:35 |
uvos | suggests cpu is doing a copy no? | 21:35 |
freemangordon | with chromeos dri? | 21:35 |
freemangordon | yeah, it is doing copy it seems | 21:36 |
uvos | freemangordon: no with ddk1.9/xorg | 21:36 |
freemangordon | ah | 21:36 |
uvos | chomeos dri is fast on wayland | 21:36 |
uvos | and cant get glmark dri to run | 21:36 |
freemangordon | seems the drivers are ok, it is just dri that misbehaves | 21:36 |
freemangordon | will try through shim tomorrow, to see what happens | 21:37 |
freemangordon | uvos: what is "can't get to run" means? it just hangs? | 21:37 |
freemangordon | ugh | 21:38 |
freemangordon | sorry, I am tired | 21:38 |
uvos | yeah with cromeos mesa it hangs | 21:38 |
uvos | with full blobs it works fine | 21:38 |
freemangordon | same here | 21:38 |
uvos | last time i tried | 21:38 |
freemangordon | ah, ok | 21:38 |
uvos | (long ago) | 21:38 |
freemangordon | yeah, same here (hangs with chromeos | 21:38 |
uvos | ok | 21:39 |
freemangordon | anyway, going to have some rest, will investigate tomorrow | 21:39 |
freemangordon | ttyl | 21:39 |
uvos | ok good night :) | 21:39 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!