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
x0-9-f[m] has joined #msm8937-mainline
Danct12[m] has quit [Quit: Bridge terminating on SIGTERM]
fossdd[m] has quit [Quit: Bridge terminating on SIGTERM]
veynamer[m] has quit [Quit: Bridge terminating on SIGTERM]
x0-9-f[m] has quit [Quit: Bridge terminating on SIGTERM]
lain[m] has quit [Quit: Bridge terminating on SIGTERM]
lnl has quit [Read error: Connection reset by peer]
Saalim[m] has quit [Write error: connection closed]
setville[m]1 has quit [Write error: connection closed]
x0-9-f[m] has joined #msm8937-mainline
<x0-9-f[m]> barni2000: Could you please check install xiaomi-santoni (https://gitlab.postmarketos.org/barni2000/pmaports/-/tree/89x7-mainline) and init with provider: default, user interface: none, and try setup wifi. Will it work?
barni2000[m] has joined #msm8937-mainline
minecrell[m] has joined #msm8937-mainline
<barni2000[m]> As i wrote before it should work, it is working on my device. The question is are you using wpa_supplicant or iwd and did you tried with nmtui?
<x0-9-f[m]> I'm using wpa_supplicant, but seems it'is working when I'm using user interface: console and not when user interface is none, seems strange. I tried config it with nmtui but connecting hung and didn't connect. but then I use wpa_supplicant with conf it is working. So I need mimimal installation but with wpa_supplicant. You said msm-firmware-loader respons for loading firmware how can I debug it? I see nothing in logs and dmesg
<x0-9-f[m]> one time i've got in dmesg "WCN v2.0 RadioPhy vUnknown with 19.2MHz XO" and in that time wifi was working, but now there is no this message and wifi isn't working
hacker420[m] has joined #msm8937-mainline
<hacker420[m]> <x0-9-f[m]> "I'm using wpa_supplicant, but..." <- you do realize none is basically for testing right
<hacker420[m]> as in CI testing images
<hacker420[m]> it omits a bunch of packages
<hacker420[m]> it isn't meant for general use
fossdd[m] has joined #msm8937-mainline
<fossdd[m]> none doesn't install NetworkManager.
<fossdd[m]> For example, I use 'none' on my server and install ifupdown-ng
<hacker420[m]> > none literally is a minimal environment with none of the UIs. console also has some extra packages such as NetworkManager included.
<fossdd[m]> Use console if you want to have a console working out-of-the-box
<hacker420[m]> yeah
<hacker420[m]> use none if you want to make the image yourself
<hacker420[m]> along with your preferred networking stack
<x0-9-f[m]> fossdd[m]: yes! I need it like server
<hacker420[m]> then why not just use console
<x0-9-f[m]> for the clarifying, I've installed user interface: none and wpa_supplicant, created wpa_supplicant.conf and tried start /sbin/wpa_supplicant -Dnl80211,wext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf and it fals
<hacker420[m]> why do I feel like the firmware didn't install or something
<hacker420[m]> or you are missing some module/service
<x0-9-f[m]> <hacker420[m]> "why do I feel like the firmware..." <- yeah I feel same. but I've change nothing just init and install.
<x0-9-f[m]> s/change/changed/
<hacker420[m]> except it might want something that console installs
<hacker420[m]> what do you even want to serve there?
<x0-9-f[m]> docker
<x0-9-f[m]> homeassistant
<x0-9-f[m]> I've installed downstream but kernel 3.18 doesn't support overlay2, storeage consume too much space
<barni2000[m]> check for remoteproc errors but if you see the interface in rfkill firmware is loaded fine
<barni2000[m]> you could try reload wcn36xx module
<barni2000[m]> check if the wpa_supplicant service is started
<barni2000[m]> it is requirement for nmtui
<x0-9-f[m]> barni2000[m]: [ 11.640293] udevd[167]: ctx=0xffffa28c49a0 path=/lib/modules/6.10.0-msm89x7/kernel/drivers/remoteproc/qcom_pil_info.ko error=No such file or directory... (full message at <https://matrix.org/oftc/media/v1/media/download/AbLTM1geipF-t_LwcrZY6nJsVKq3KtJk3-QPMqlI0Upg_Mq1yPWbf6X6LRsfYvAylrD2cz0LXYIjdpR02-kYiQ9CeS0nM5OAAG1hdHJpeC5vcmcvZEx4dGp6U09pTGlGWm5LZVJlSlNvSmdP>)
<barni2000[m]> it seems firmware loading is fine
<barni2000[m]> issue will be in userspace
<x0-9-f[m]> why there is no HWaddr
<barni2000[m]> check this file WCNSS_qcom_wlan_nv.bi
<barni2000[m]> * check this file WCNSS_qcom_wlan_nv.bi
<barni2000[m]> it should be on persist partition but maybe yours is missing
<barni2000[m]> * check this file WCNSS_qcom_wlan_nv.bin
<barni2000[m]> it seems it is on the persist partition
<barni2000[m]> maybe it is corrupted
<barni2000[m]> xiaomi-santoni:~$ ifconfig wlan0
<barni2000[m]> wlan0 Link encap:Ethernet HWaddr 0E:46:77:XX:XX:XX
<barni2000[m]> only firmwares from target is in use
<x0-9-f[m]> did you install it with user interface: none? and HWaddr on the place? did I get it rifght?
<x0-9-f[m]> s/rifght/right/
<x0-9-f[m]> I'm going to reinstall with console and check HWaddr
<barni2000[m]> i am using console
<x0-9-f[m]> Could you check pls
<x0-9-f[m]> sha256sum /lib/firmware/msm-firmware-loader/target/wlan/prima/WCNSS_qcom_wlan_nv.bin
<x0-9-f[m]> 5204dee7eee7eee20385e92c449891373e908bed891298dbca30fb1acef477ee /lib/firmware/msm-firmware-loader/target/wlan/prima/WCNSS_qcom_wlan_nv.bin
<x0-9-f[m]> how does it work
<barni2000[m]> maybe console install some dependency for wpa_supplicant idk
<barni2000[m]> but it seems fine now
<x0-9-f[m]> HWaddr depends on wpa_supplicant?
<barni2000[m]> none/blank is just for testing purpose
<barni2000[m]> x0-9-f[m]: idk
<barni2000[m]> but something in userspace is handling it
<x0-9-f[m]> sorry i don't know what idk is
<barni2000[m]> are you using lk2nd?
<x0-9-f[m]> barni2000[m]: seems no
<barni2000[m]> idk = i don't know
<barni2000[m]> x0-9-f[m]: than it will be painfully slow
<x0-9-f[m]> barni2000[m]: ))) thanks
<x0-9-f[m]> how can I use it
<barni2000[m]> if panel is not working then you are not using lk2nd
<x0-9-f[m]> barni2000[m]: how can I use it
<barni2000[m]> fastboot flash boot lk2nd-msm8952.img
<x0-9-f[m]> <barni2000[m]> "fastboot flash boot lk2nd-msm89..." <- done, but now it hung on mi bootscreen and doesn't boot
<x0-9-f[m]> oh wrong version i flash 8953
<x0-9-f[m]> yehaaa it's alive
<x0-9-f[m]> barni2000: hacker420 Thanks folks!
Danct12[m] has joined #msm8937-mainline
travmurav[m] has joined #msm8937-mainline
lain[m] has joined #msm8937-mainline
<barni2000[m]> btw charging is not working on santoni yet
semi2309[m] has joined #msm8937-mainline
<semi2309[m]> Hello i need help with mainlining Lenovo Karatep msm8937 phone, i have done some work in past but i have reinstalled ubuntu and all that is lost, even links to pastebin here are expired so i need to fresh start
<semi2309[m]> right now i only have working lk2nd and i remember that my phone was similar to xiaomi x4 i think
<semi2309[m]> my dts so far
<semi2309[m]> I Got luck to boot it into kernel log in past, so i think i will do it normal way, but thank you, maybe i will try if something Goes wrong
<barni2000[m]> https://github.com/msm89x7-mainline/linux/tree/barni2000/6.10-develop use my branch as a base make an MR for panel drivers etc.
<barni2000[m]> lk2nd could help with fb and ramoops
<barni2000[m]> <x0-9-f[m]> "semi2309: not sure but you can..." <- > <@x0-9-f:matrix.org> semi2309: not sure but you can try install xiaomi-santoni in case it is similar to xiaomi redmi 4x. I did it this way, cloned https://gitlab.... (full message at <https://matrix.org/oftc/media/v1/media/download/Afkzpv1QZEovflF1SUmTIh7nXQ-SFrgEAPSdCSDezm4hU94UF0dzAH-sFLLPrsGGd-kENxj0lKkg9k2fz4iqR2RCeS1VwhEgAG1hdHJpeC5vcmcvWEFOTE9abFdxbkdKbnRBSXBxeHlIdVZU>)