<hacker420[m]>
maybe I am missing some kernel config option
<dr_shui[m]>
<lanik123[m]> "No, I didn’t remove qcom headers..." <- what should i do to pin usb at host mode? I haven't seen &usb node on `msm8917-xiaomi-rolex.dts` file
<barni2000[m]>
usb is not working on rolex
<barni2000[m]>
rolex have only 1 pmic
<dr_shui[m]>
oh
<dr_shui[m]>
sad
<barni2000[m]>
charger driver should be modified i think
<dr_shui[m]>
charger driver not important to me, but usb
<dr_shui[m]>
is very important to connecting other devides
<dr_shui[m]>
s/devides/devices/
<barni2000[m]>
dr_shui[m]: yes but you need to define usb_vbos
<M0xCAFEBABE[m]>
barni2000[m]: yeah, rolex's charger driver provides a extcon interface directly or indirectly in downstream, required for USB to work
<barni2000[m]>
s/usb_vbos/usb\_vbus/
<M0xCAFEBABE[m]>
* in downstream k4.x, required
<M0xCAFEBABE[m]>
M0xCAFEBABE[m]: not just rolex, but also any other devices which doesn't ship PMI chip (which doesn't have QPNP smbcharger)
<barni2000[m]>
yes ugg, ugglite and riva has same issue
<M0xCAFEBABE[m]>
the charger driver reads register from the charger chip, and sets usb status depending on it
<barni2000[m]>
there is and usb_id pinctrl in downstream
<barni2000[m]>
s/and/an/, s/usb_id/usb\_id/
<barni2000[m]>
mainline bq2560x is broken
<barni2000[m]>
or not implement everything
<M0xCAFEBABE[m]>
barni2000[m]: at least I've never messed with it when I was bringing up downstream k4.x... the LineageOS/android_kernel_xiaomi_msm8937 is made by me tho
<barni2000[m]>
M0xCAFEBABE[m]: i know
<M0xCAFEBABE[m]>
<barni2000[m]> "there is and usb_id pinctrl in..." <- I've only found it on ugg/ugglite device specific dts, and it's unused at all
<barni2000[m]>
ok, i am going to experimenting with ugglite
<hacker420[m]>
<dr_shui[m]> "Danct12: have any progress on..." <- well it works for me on 8937 cedric
<hacker420[m]>
so I assume santoni should work too?
<Sid_key[m]>
<hacker420[m]> "so I assume santoni should..." <- Should
<Sid_key[m]>
<jojo_autoboy[m]> "if it's got secure boot off..." <- Most msm89x7 has sb on
<hacker420[m]>
<lanik123[m]> "It depends what you will test..." <- ah
<hacker420[m]>
hm
<hacker420[m]>
so will it display anything without it or not
<hacker420[m]>
or will it just cut out when it gets to DE
<hacker420[m]>
lanik123:
<barni2000[m]>
<Sid_key[m]> "Most msm89x7 has sb on" <- above msm8916 all soc has sb on afaik
<hacker420[m]>
barni2000[m]: unless you have a device with it off
<barni2000[m]>
hacker420[m]: its very rare
<hacker420[m]>
yes
<hacker420[m]>
but not impossible to get
<lanik123[m]>
<hacker420[m]> "or will it just cut out when..." <- lol what, gpu fw is always used while drm is running and without them display cannot work(if it not simpledrm)
<hacker420[m]>
ah
<hacker420[m]>
btw what should I look for?
<hacker420[m]>
as in filenames
<lanik123[m]>
hacker420[m]: You can load adreno fw via defconchig
<lanik123[m]>
s/defconchig/defconfig/
<hacker420[m]>
yes but where do I get said fw from
<barni2000[m]>
lanik123[m]: thats why one of my phone worked without it and other is not
<lanik123[m]>
lanik123[m]: On older phones zap is often not supported at all.
<barni2000[m]>
i have asked the guys in msm8953-mainline about it when i cleaned up the device packages and they don't know the awnser so it is related to the tz
<hacker420[m]>
blank screen without reinstalling the rootfsd
<hacker420[m]>
let me try reinstalling it with the new kernel package
<lanik123[m]>
barni2000[m]: Also it can related to bl. You can ask ArtemSid(or CAFEBABE), he will tell you for sure
<hacker420[m]>
hm do I still need to install firmware-qcom into the rootfs then?
<barni2000[m]>
you can chroot in it
<barni2000[m]>
pmbootstrap chroot -r
<lanik123[m]>
hacker420[m]: Without logs I can't say what the reason is
<hacker420[m]>
let me flash rootfs just to see
<hacker420[m]>
without installing firmware-qcom
<hacker420[m]>
as it should be built into the kernel
<hacker420[m]>
if everything went to plan
<hacker420[m]>
let me wait a bit
<hacker420[m]>
so far blank screen
<barni2000[m]>
is your panel driver in the initramfs?
<hacker420[m]>
if I am booting the boot.img and selected the panel in kconfig then it should be
<barni2000[m]>
mkinitfs makes the boot.img so if you not defined the modules it will not load automatically