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
Daanct12 has joined #msm8937-mainline
<abraxane[m]> shouldn't that be enabled by default? "okay" is implicit
<abraxane[m]> will try nonetheless
<barni2000[m]> <abraxane[m]> "shouldn't that be enabled by..." <- yes
aka_[m] has joined #msm8937-mainline
<aka_[m]> Danct12:
<Danct12[m]> aka_[m]: wat
<aka_[m]> <Danct12[m]> "wat" <- The watt (symbol: W) is the unit of power or radiant flux in the International System of Units (SI), equal to 1 joule per second or 1 kg⋅m2⋅s−3
<aka_[m]> doing anything with sm6115-mainline or not?
<aka_[m]> would like to add generic packages to pmaports and do soc specific fw package
<Danct12[m]> <aka_[m]> "doing anything with sm6115-..." <- Working on U-Boot
<Danct12[m]> If you want I can add you to the group
<aka_[m]> wasn't uboot already done?
<aka_[m]> they added qrb4210 and 6115
<manigohan[m]> upstream u-boot has sm6115 gcc no
<aka_[m]> <Danct12[m]> "If you want I can add you to the..." <- would be good
<Daanct12> manigohan[m]: special support for a hardware
<Daanct12> upstream already got everything but i need a driver for keyboard
<manigohan[m]> ah right the fxtec
<Daanct12> yeeep
<manigohan[m]> wish i got 6115 instead of 6125
<manigohan[m]> 🥲
<aka_[m]> wouldnt it be usable to just use volume
<aka_[m]> manigohan[m]: 6125 is also nicely supported
<aka_[m]> and caf has 5.15 for it
<Daanct12> well.. yes, but in some cases you might want the shell :]
<aka_[m]> does it not expose usb shell?
<manigohan[m]> aka_[m]: im currently suffering with getting usb to work on my ginkgo
<manigohan[m]> xd
<aka_[m]> if u need to use shell its fucked up
<aka_[m]> manigohan[m]: its easy
<aka_[m]> "failed to enable ep0out" ?
<manigohan[m]> already defined in dts but doesnt show up in lsusb
<manigohan[m]> aka_[m]: here's the thing
<aka_[m]> qusb2 and dwc3 enabled?
<manigohan[m]> i have no way of logs
<aka_[m]> manigohan[m]: ramoops
<aka_[m]> then twrp
<manigohan[m]> can't force reboot either
<aka_[m]> huh
<aka_[m]> power+one of volumes
<aka_[m]> mind linking kernel?
<manigohan[m]> my entire ginkgo is just barebones so my way of testing is cursed rn
<aka_[m]> manigohan[m]: so pcb only?
<manigohan[m]> aka_[m]: yes
<aka_[m]> u could built it up with like 30$ max
<manigohan[m]> main + sub
<manigohan[m]> i have screen soon from donation
<Daanct12> aka_[m]: sent
<aka_[m]> hmanigohan not sure if its important but u missing fuse for qusb
<aka_[m]> and kernel also has no qfprom enabled if u decide to add it
<aka_[m]> maybe Chernov blog will have something on usb bringup
<aka_[m]> also can check if Marijn repo has some changes to usb
<manigohan[m]> this is way beyond my scope 💫
<manigohan[m]> although other sm6125 devices had usb working
<aka_[m]> then maybe something specific with device
<aka_[m]> hard to tell withhout logs
<manigohan[m]> once i get display ig i can get logs now
<aka_[m]> Danct12: do u have any chart of hardware inside fxtec?
<aka_[m]> i cannot find deviceinfohw anymore
<aka_[m]> proabl;y record was deleted
<aka_[m]> ok found
<aka_[m]> aw87xxxx xD
<aka_[m]> have it working
<aka_[m]> atleast @59 one
<aka_[m]> and @58
<aka_[m]> so @58 is earpiece amp aw87359
<aka_[m]> things fucked
<aka_[m]> deviceinfohw says its at @59 yet code does shit atr @58
<aka_[m]> huh both seems to be aw87339
<aka_[m]> ok driver is same shit
<aka_[m]> should work with this crap i hacked around too
<aka_[m]> still not sure how we do about reg init loading
<aka_[m]> i think making it into conf and using devicetree to load it into array is best idea
<aka_[m]> could offer defines in aw87xxx.h and include it in device dts
<aka_[m]> well time to prepare for job
<Daanct12> aka_[m]: i wish i have the schematics and datasheet for it :]
<Daanct12> but they don
<Daanct12> but they don't do that
<abraxane[m]> <abraxane[m]> "will try nonetheless" <- i've tried that, i've tried enabling all regulators, i've tried booting without lk2nd out of despair
<abraxane[m]> nothin :(
<abraxane[m]> <abraxane[m]> "i've tried that, i've tried..." <- > <@abraxane:matrix.org> i've tried that, i've tried enabling all regulators, i've tried booting without lk2nd out of despair... (full message at <https://matrix.org/oftc/media/v1/media/download/AVuf2rgW5tCP3zVpwbmkNB-RROPXRsP1RYgFNXQPXJFn6ZD6_EzdRUlZb6EZlKZfm5iLtTNtPFnhXAGSZINHSTNCeXWdsZDgAG1hdHJpeC5vcmcvaGlPUVNZbWZiS3dmRnZmQmpVUHhlUURo>)
<barni2000[m]> <Danct12[m]> "If you want I can add you to the..." <- is there any chat for sm6115?
<Daanct12> barni2000[m]: nope
<barni2000[m]> idk maybe it can be scope of the #sm6125-mainline:matrix.org or maybe worth to make a new one
<Daanct12> are they the same (or identical) soc?
<Daanct12> if yes, we can use that
<barni2000[m]> not same but ig there many common parts, but afaik they are come from different vendors
<barni2000[m]> manufacturer
<barni2000[m]> i was wrong both are samsung 11nm
<barni2000[m]> so it seems they are sibling SoCs
<aka_[m]> 665 662 680
<barni2000[m]> 680 is 6 nm (TSMC N6)
<barni2000[m]> 675 678
<aka_[m]> A lot of shared up between
<aka_[m]> Ip
<aka_[m]> Similar blocks
<abraxane[m]> <abraxane[m]> "> <@abraxane:matrix.org> i've..." <- a lot of drivers, including framebuffer, are pending on deferred probe
<abraxane[m]> that's the reason fb doesn't work
<barni2000[m]> SM6115 SM6125 SM6150 SM6150-AC are same family
<aka_[m]> 6150 us not that close
<abraxane[m]> > <@abraxane:matrix.org> ...nevermind hehe i didn't define the ramoops node and had assumed that it's defined in the soc devicetree
<abraxane[m]> * a lot of drivers, including framebuffer, are pending on deferred probe (reason unknown)
<abraxane[m]> that's the reason fb doesn't work
<aka_[m]> 6150 closer to 720g
<barni2000[m]> abraxane[m]: strange, fb is wokring on my pine
<barni2000[m]> s/wokring/working/
<abraxane[m]> abraxane[m]: > <@abraxane:matrix.org> a lot of drivers, including framebuffer, are pending on deferred probe... (full message at <https://matrix.org/oftc/media/v1/media/download/AX62gavyvnixHaKXLRLOjkbnw4f5DMgfFrrCyEIicQlvVFzFa9sLX39zHX3WnabOwLkePsFARGBlOg1qz8Yn0zZCeXWfEOBAAG1hdHJpeC5vcmcvUEtidm9nYWhzQnFWaVNvTVVadUhkUVlM>)
<barni2000[m]> why you are using msm8916 defconfig?
<abraxane[m]> i didn't find any other defconfig
<abraxane[m]> my work is on top of your sdm439 brancu
<abraxane[m]> s/brancu/branch/
<abraxane[m]> <barni2000[m]> "why you are using msm8916..." <- im building with the one in pmaports kernel recipe now
<abraxane[m]> <abraxane[m]> "im building with the one in..." <- now there's a panic on gpio
<abraxane[m]> <barni2000[m]> "there is a chance you will..." <- is this what it is?
Daanct12 has quit [Quit: WeeChat 4.6.3]
<barni2000[m]> Yes
<barni2000[m]> You will need to find out the range
<barni2000[m]> The bigest range is 0-133
barni2000 has joined #msm8937-mainline
Daanct12 has joined #msm8937-mainline
<abraxane[m]> i'm clueless, i have found the tlmm node in the downstream dts, but how do i continue from here
<abraxane[m]> i put <0, 4> and fb is here now :D
<abraxane[m]> s/,//
<barni2000[m]> yeah many device needs 0 4
Daanct12 has quit [Quit: WeeChat 4.6.3]
<barni2000[m]> #sm6125-mainline:matrix.org guys said sm6115 is welcomed there so Danct12 aka_ you can join there if you want
barni2000 has quit [Ping timeout: 480 seconds]
<dr_shui[m]> hi barni, i flashed lk2nd, entering lk2nd, then flash my boot.img into boot and rootfs.img into userdata
<dr_shui[m]> mine device is rolex
<dr_shui[m]> device then goto a blank black sceen, I can see usb-serial from usb, but no boot messages shown
<dr_shui[m]> this is my boot.img
<dr_shui[m]> barni2000: is that correct ?
<manigohan[m]> why is boot and rootfs seperate
<manigohan[m]> flash the combined sparse andf then flash lk2nd into boot
<manigohan[m]> ah
<dr_shui[m]> thanks! because i saw the docs here and i thought it have to be in the boot seperate
<manigohan[m]> although combined sparse is de facto and common
<barni2000[m]> <dr_shui[m]> "device then goto a blank black..." <- Build lk2nd from the main branch
<barni2000[m]> <dr_shui[m]> "thanks! because i saw the docs..." <- They should be separate because afaik only ext2 supported or fat32 idk you should check
<barni2000[m]> Postmarketos also separating them
<barni2000[m]> And you should make mbr partition
<dr_shui[m]> thank you very much! how to make mbr for my rolex?
<dr_shui[m]> then my rolex didn't start up was because lack of mbr partition? my rolex have shown a usb-serial interface, is that means my kernel has startup into a early stage ?barni2000
<dr_shui[m]> <dr_shui[m]> "image.png" <- mine boot.img is ext2, i have checked
<barni2000[m]> You should make ext2 for boot+ext4 or f2fs for your system and mbr
<dr_shui[m]> this can make a useable boot.img, but screen, wlan not working
<dr_shui[m]> why there seems to be a dependency cycle(s) on dt ?
<barni2000[m]> <dr_shui[m]> "image.png" <- But you dont need boot.img just a proper partition structure on userdata or an sdcard
<barni2000[m]> dr_shui[m]: They are do no harm
<dr_shui[m]> did rolex's panel is working ? seems mine panel not working
<dr_shui[m]> how to fix the error of wcnss.mdt?
<dr_shui[m]> I can found wcnss.mdt in my firmware
<barni2000[m]> Use msm-firmware-loader or copy them under /lib/firmware
<dr_shui[m]> Thanks
<dr_shui[m]> The Rolex’s panel is black,the problem is in drm driver or anywhere else? How should I start with?
<dr_shui[m]> Panel works on lk2nd but black in linux
<dr_shui[m]> <dr_shui[m]> "44be9ebac2e0c9c271dce3f3ea63a722..." <- I think my panel should be supported
<barni2000[m]> All rolex panel is supported, check if the module is loaded