ChanServ changed the topic of #msm8937-mainline to: Boot Linux on your MSM8917/37/40 and QM215 mobile! | GitHub: https://github.com/msm89x7-mainline | Logs: https://oftc.irclog.whitequark.org/msm8937-mainline | Bridged to #msm8937-mainline:kde.org on Matrix
<travmurav[m]> <barni2000[m]> "I wonder which one is it [140..." <- fyi if it's from lk2nd, it can dump loaded dtb for you wit ha fastboot ocmmand
<Saalim[m]> barni2000: dude I got fb working
<Saalim[m]> I had to make a slow-mo video lmfao
<Saalim[m]> and yeahh it just reboots after this
<Saalim[m]> Nothing else
<barni2000[m]> Did you limited the freqs?
<barni2000[m]> 8937 is rebooting with 1.34GHz and 1.24 GHz
<barni2000[m]> These are the current limitations caused by missing power management drivers cpr, saw2 ...
<Saalim[m]> <barni2000[m]> "8937 is rebooting with 1.34GHz..." <- Can you show once, how can I find this out
<Saalim[m]> and the lk2nd ramoops methods too, since I am not getting ramoops
<barni2000[m]> <hacker420[m]> "```..." <- > <@hacker420:kde.org> ```... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/IAVnFkDDsjDAyabqjCWsXmeE>)
<barni2000[m]> Keep the values at he pll_opp_table
<barni2000[m]> s/he/the/
<barni2000[m]> I am going to make separate opp for 8937
<barni2000[m]> from msm8940
<Saalim[m]> barni2000[m]: I have these set already
<Saalim[m]> like in 8937.dtsi
<barni2000[m]> Then check your frambuffer reserved memory
<barni2000[m]> s/Then/Than/
<Saalim[m]> barni2000[m]: I got it from lk2nd
<barni2000[m]> Show me your dt
<barni2000[m]> Next is gpio-reserved ranges
<barni2000[m]> In tlmm node
<Saalim[m]> barni2000[m]: Are they specific per device?
<barni2000[m]> It can be different per device
<barni2000[m]> And the most annoying part of the porting
<Saalim[m]> i have these from previous
<Saalim[m]> port
<Saalim[m]> Which was working
<barni2000[m]> Those ports has many errors, they are using wrong reserved memory ranges missed typed values, wrong wcn compatibles ...
<Saalim[m]> ouchh
<barni2000[m]> But first try to enable lk2nd.pass-ramoops=zap
<barni2000[m]> And comment out the other ramoops in the dt
<Saalim[m]> barni2000[m]: where should I set this?
<Saalim[m]> cmdline inside deviceinfo?
<barni2000[m]> cmdline
<Saalim[m]> I can set the same in kernel dtsi cmdline too right?
<barni2000[m]> I think no
<Saalim[m]> Ill set in deviceinfo
<Saalim[m]> <barni2000[m]> "I think no" <- Is there a way I can check cmdline after compilation?
<Saalim[m]> just to verify once
<Andr[m]> Saalim: if you use extlinux it should be in /boot/extlinux/extlinux.conf
<Saalim[m]> Andr[m]: nope I do not
<Saalim[m]> I have seen no found in my BL dmesg
<barni2000[m]> Use debug-shell first
<barni2000[m]> And boot.img
<barni2000[m]> You can edit everything in pmbootstrap chroot -r
<barni2000[m]> And rebuild boot.img with mkinitfs
<Saalim[m]> FAILED (remote: 'data too large')
<Saalim[m]> fastboot: error: Command failed
<Saalim[m]> for ramoops regions
<Saalim[m]> for console it just throws data too large
<Saalim[m]> barni2000: on stock BL, I got a blue flash and it rebooted
<barni2000[m]> Check pstore in twrp than or solder uart
<barni2000[m]> s/uart/line for ttl/
<Saalim[m]> barni2000[m]: in my twrp, I have reserved memory as
<Saalim[m]> [ 0.000000] Reserved memory: reserved region for node 'ramoops@9ff00000': base 0x000000009ff00000, size 3 MiB
<Saalim[m]> shall I use the same and check once?
<Saalim[m]> pstore is empty with these
<hacker420[m]> barni2000 looks like I can boot without fw_devlink param if I limit cores
<barni2000[m]> it should work without limit cores
<hacker420[m]> well duh
<hacker420[m]> but it doesn't
<barni2000[m]> what about booting from sd?
<hacker420[m]> boot the rootfs from sd?
<hacker420[m]> or boot kerne+initramfs
<hacker420[m]> or boot kernel+initramfs
<barni2000[m]> idk if only the rootfs is on the sd it will be selected
<barni2000[m]> * idk if only the rootfs is on the sd will it be selected
<hacker420[m]> the thing is I don't get to rootfs
<hacker420[m]> it just keeps dumping me into debug shell
<hacker420[m]> and here's proof debug shell hook, doesn't get setup
minecrell7544 has quit []
minecrell7544 has joined #msm8937-mainline
<hacker420[m]> I'll try to enable the things kconfig check complained about
<hacker420[m]> but that's likely for containers/systemd
<hacker420[m]> doesn't hurt to try
<hacker420[m]> the thing dumping me into debug shell issue fixed
<hacker420[m]> wrong gpio on volume up
<hacker420[m]> was getting forced on
<barni2000[m]> You have installed gnome-mobile?
<barni2000[m]> * Do you have installed gnome-mobile?
<barni2000[m]> is not it glitchy?
<hacker420[m]> barni2000[m]: I have to install gpu fw first
<hacker420[m]> barni2000[m]: yes
<hacker420[m]> right now it runs off of sw render
<barni2000[m]> firmware-adreno-qcom-a530
<barni2000[m]> if you not enabled wifi yet you can use net over usb
<hacker420[m]> <barni2000[m]> "if you not enabled wifi yet..." <- do I need something special for wifi?
<hacker420[m]> so phosh is completely unusable for me
<hacker420[m]> whatever I launch kills the gpu
<Saalim[m]> <hacker420[m]> "do I need something special..." <- how were you able to fixup the blue screen flash?
<hacker420[m]> added the panel driver to initfs-modules
<Saalim[m]> hacker420[m]: framebuffer stdout didnt work?
<hacker420[m]> and made sure it's included in apkbuild
<hacker420[m]> simpledrm?
<Saalim[m]> yes
<Saalim[m]> it gives a blue flash, and the device powers off
<Saalim[m]> not even reboots
<hacker420[m]> probably would have worked if I tinkered more on it but I jumped to panel
<hacker420[m]> Saalim[m]: you sure it's off and not just disabled backlight?
<Saalim[m]> hacker420[m]: ahh possible, but display was completely off,
<Saalim[m]> not even a dim
<hacker420[m]> it's also what I thought for me
<hacker420[m]> but then I saw it actually had text
<Saalim[m]> Let me re-check then
<Saalim[m]> <hacker420[m]> "but then I saw it actually had..." <- https://github.com/msm89x7-mainline/linux-panel-drivers/pull/2
<Saalim[m]> something like this right
<Saalim[m]> <hacker420[m]> "but then I saw it actually had..." <- can you send your dts and defconfig once
<Saalim[m]> I wanna re-check some thing
<hacker420[m]> that's with panel
<barni2000[m]> <hacker420[m]> "so phosh is completely unusable..." <- Switch to gl from ngl
<barni2000[m]> Wifi needs compatible+regulators
<barni2000[m]> Cedric has wcn3660b
<hacker420[m]> barni2000[m]: hm
<hacker420[m]> you have an example in dts?
<barni2000[m]> hacker420[m]: Yes check santoni or riva
<hacker420[m]> alright
<hacker420[m]> regulators should be the same between devices?
<barni2000[m]> You can check downstream for differences
<hacker420[m]> yeah checked it's the same
<hacker420[m]> gpu is still weird though
<hacker420[m]> already tried removing higher frequencies
<hacker420[m]> wifi works
<barni2000[m]> if you put the adreno guirks in /etc/profile.d it will not crashing anymore
<barni2000[m]> wait 505 should not crash try your device fw then
<barni2000[m]> s/then/than/
<hacker420[m]> barni2000[m]: which quirks?
<barni2000[m]> <barni2000[m]> "https://gitlab.com/postmarketOS..."; <- this
<hacker420[m]> ah
<hacker420[m]> I switched to sxmo for testing now
<hacker420[m]> eh guess installing it manually fails
<hacker420[m]> barni2000[m]: let's try phosh with that
<hacker420[m]> barni2000[m]: phosh itself crashes
<hacker420[m]> not the whole device
<hacker420[m]> but I can also try device fw later
<barni2000[m]> i am using phosh on santoni
<hacker420[m]> let me try the quirks
<hacker420[m]> letr me try to put in fw from TheMuppets
<hacker420[m]> downloading the fw
<hacker420[m]> would have probably been quicker to mount the partition on the phone and pull the fw but oh well
<hacker420[m]> nah
<hacker420[m]> I will pull it from device
<hacker420[m]> barni2000 looks like fw was the issue
<hacker420[m]> not sure if quirks also helped
<barni2000[m]> quirks helps with slowness
<hacker420[m]> will have to test with gpu at full tilt
<hacker420[m]> without lopped off frequencies
<hacker420[m]> and something needs to be done about the rest of the cores
<hacker420[m]> because it's well, nice but not running at full potential
<hacker420[m]> Brightness works too
<hacker420[m]> 4-6 fps in stk
<hacker420[m]> need to fully uncage that gpu
<hacker420[m]> is there some way to see what frequency it's running at?
<hacker420[m]> <hacker420[m]> "need to fully uncage that gpu" <- didn't help much
<hacker420[m]> let me fully dump the settings
<hacker420[m]> gotta charge it
<barni2000[m]> pmi8950 charger can be cherry-picked from msm8953-mainline or msm8956-mainline
<barni2000[m]> that is enough for normal charging
<barni2000[m]> for qc co controller needs a driver
<barni2000[m]> s//-/
<hacker420[m]> <barni2000[m]> "that is enough for normal..." <- does it also show battery percentage?
<barni2000[m]> yes because we have pmi8950_fg driver also
<barni2000[m]> from resin to kenzo
<hacker420[m]> barni2000[m]: will crack on that tomorrow
minecrell7544 has quit []
minecrell has joined #msm8937-mainline