ChanServ changed the topic of #sm8250-mainline to: Mainline Linux for Qualcomm Snapdragon 865/865+/870 (SM8250) | Bridged to #sm8250-mainline on matrix.org
<ellyqw>
hey folks, i have a problem with booting... anything on this cursed hardware
<ellyqw>
any idea what could cause absolutely zero UART output and reboot into XBLRamDump?
<ellyqw>
checked everything - set regulators according to schematic, correct UART address and so on, but no dice
ungeskriptet has quit [Ping timeout: 480 seconds]
ungeskriptet has joined #sm8250-mainline
ungeskriptet has quit [Ping timeout: 480 seconds]
ungeskriptet has joined #sm8250-mainline
coloneyescolon[m] has joined #sm8250-mainline
<coloneyescolon[m]>
katzenmann: cool seeing your work on kebab mainline. I already tried out the new mainline kernel from upstream pmaports, and got it booting to an interactive initramfs debug shell. Curious to see what else you got working. Can you point me to your latest version of your kernel?
<coloneyescolon[m]>
ellyqw: which device?
<ellyqw>
coloneyescolon[m]: Lynx R1
<coloneyescolon[m]>
uuuh.. thats unusual, xd
<coloneyescolon[m]>
did you post about it here already? in that case im gonna search for some more context
<ellyqw>
nope, but Casey and I wrote pmOS wiki page for the device
<coloneyescolon[m]>
I see. Did you get the downstream kernel booting already?
<ellyqw>
no, i don't want to bother with google's buildsystem
<coloneyescolon[m]>
well, did you get a successfull boot _ever_?
<ellyqw>
only with stock sadly, i currently look at displays showing vendor logo while running a mainline kernel, but I still get nothing on uart or usb
<coloneyescolon[m]>
on my device (kebab/oneplus 8t), when using "fastboot boot" to boot, and when the bootloader does not "accept" the kernel given to it, the device is still visible under "fastboot devices"
<coloneyescolon[m]>
assuming you even have fastboot
<ellyqw>
no, firmware on this thing is completely broken
<coloneyescolon[m]>
no fastboot?
<coloneyescolon[m]>
oh god
<ellyqw>
fastboot is completely broken, not processing any commands
<ellyqw>
when Adrianyyy and I hacked on it during GPN, we bricked it so hard i had to restore all LUNs on UFS to bring it back to life
<coloneyescolon[m]>
well at least you had a backup xd
<coloneyescolon[m]>
no gzip import, so no decompressing
<ellyqw>
Error: Device Tree blob not found \n Launching fastboot
<ellyqw>
ah, i think battery might be dead and that's why it keeps dropping to sahara for whatever reason
<coloneyescolon[m]>
unpackbootimg gave you a dtb offset in the log, im sure it unpacked the dtbs as well. mkbootimg also has options to include dtbs and their offsets. I think you should use that instead of appending to the image directly.
<ellyqw>
i don't know who designed this image format, but i hope they step on UK power plug
<coloneyescolon[m]>
i hope that all of the firmware developers at android, qualcomm and the different device manufacturers step on lego bricks. these things are such overengineered nightmares.
<coloneyescolon[m]>
uh. yeah. no idea. no idea why they chose that as an example. but as you said, prly the same just witout the --vendor-boot flag
<ellyqw>
hmmm
<ellyqw>
lemme flip few things in this dtb to enable serial
<ellyqw>
Lynx's engineers gave me full sourcecode and schematics, but refused to share userdebug lol
<coloneyescolon[m]>
do you have an usb port? you could plug in via usb to your pc and check via dmesg if anything shows up or not
<coloneyescolon[m]>
at least you will know that you are booting alright
<ellyqw>
of course, nothing showed up
<coloneyescolon[m]>
alr. i hope for you that serial is enabled in the stock linux config
<ellyqw>
it is, just that it's disabled in dt
<coloneyescolon[m]>
anything new?
<ellyqw>
edl being a pita
ungeskriptet has quit [Remote host closed the connection]
katzenmann[m] has joined #sm8250-mainline
<katzenmann[m]>
<coloneyescolon[m]> "katzenmann: cool seeing your..." <- I haven't done anything with kebab for a while since the patches for the panel stopped working for me when I rebased on 6.13
<katzenmann[m]>
you can try taking the sm8250-mainline kernel with my 3 pull-requests applied and see if the display works for you
<katzenmann[m]>
you can leave out the panel pr and just enjoy framebuffer with touchscreen
<katzenmann[m]>
for the panel to really work one needs to write a driver for the pixelworks iris 5. It's some kind of processor that does some stuff related to HDR but it's required to drive the display correctly