Danct12 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
<barni2000[m]> barni2000[m]: forget it is complicated
<barni2000[m]> 23.10 has 12.2
<WoeyJonkers[m]> i'm looking at 13.2 at developer.arm.com rn
<WoeyJonkers[m]> just have to install it
<WoeyJonkers[m]> yes
<WoeyJonkers[m]> ok i think it worked
<WoeyJonkers[m]> finally
<WoeyJonkers[m]> ummm never mind...
<barni2000[m]> thats something
<WoeyJonkers[m]> was able to get into twrp so it
<WoeyJonkers[m]> * so it's fine
<barni2000[m]> you can use pmbootstrap bootimg_analyze to check img type
<barni2000[m]> are msm-id and board-id correct?
<barni2000[m]> you can pull dt from twrp with adb and decompile it with dtc
<WoeyJonkers[m]> how do i do that
<WoeyJonkers[m]> like what command to pull the dt
<barni2000[m]> adb pull /sys/firmware/fdt
<hacker420[m]> <WoeyJonkers[m]> "1000010947.jpg" <- https://www.youtube.com/watch?v=fwpVsqCtbw0 /s
<WoeyJonkers[m]> <barni2000[m]> "are msm-id and board-id correct?" <- yes
<barni2000[m]> than check an boot.img with pmbootstrap bootimg_analyze
<barni2000[m]> check the qcdt field
<barni2000[m]> twrp.img is fine for it
<WoeyJonkers[m]> "false"
<barni2000[m]> than check the build dir contains your dt
<WoeyJonkers[m]> in rules.mk, should it say ADTBS, QCDTBS, or DTBS
<WoeyJonkers[m]> because some of the other ones have ADTBS, some have QCDTBS, etc
<WoeyJonkers[m]> mine currently says ADTBS
<barni2000[m]> you should use ADTBS
<WoeyJonkers[m]> ok
<barni2000[m]> QCDTBS is for qcdt images some motorola using that
<WoeyJonkers[m]> this is my dts file:... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/AZDecpEHMmZJRoZNBGtCwTtu>)
<WoeyJonkers[m]> and samsung.dtsi... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/ieQxRvZxDMicjXEaBpowceEq>)
<barni2000[m]> remove match-cmdlin
<WoeyJonkers[m]> * and samsung.dtsi... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/PDGKoTOoiqvLhUfqPKyWZtGY>)
<barni2000[m]> s/cmdlin/cmdline/
<WoeyJonkers[m]> the whole line or just everything after lk2nd,
<barni2000[m]> and maybe this sub node also not needed samsung-gta2swifi {
<barni2000[m]> <barni2000[m]> "// SPDX-License-Identifier: BSD-..." <- > <@barni2000:matrix.org> ```... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/GsEMaEcqQJgywDVUEXHYDzxe>)
<WoeyJonkers[m]> so mine should look like ```// SPDX-License-Identifier: BSD-3-Clause... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/YORLgLWXJkPspEhEoVJpKEjo>)
<barni2000[m]> right
<WoeyJonkers[m]> * so mine should look like... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/xAGezjzBziZKRlHGBoMGUwoH>)
<WoeyJonkers[m]> whoops i messed up the formatting
<WoeyJonkers[m]> ok
<WoeyJonkers[m]> i'll try that
<barni2000[m]> shift+enter
<WoeyJonkers[m]> and then do i just get rid of the samsung.dtsi since it's not included
<WoeyJonkers[m]> ok i tried flashing again and it's still not booting, maybe i'll come back to this in a couple days or something but i'm done for now
<WoeyJonkers[m]> thanks for your help
<barni2000[m]> ok
<barni2000[m]> one question your device heimdal right?
<WoeyJonkers[m]> yes
<barni2000[m]> can heimdal do somethin like fastboot boot?
<WoeyJonkers[m]> i'm not sure
<barni2000[m]> maybe you could try msm8953-mainlin/lk2nd
<barni2000[m]> s/mainlin/mainline/
<barni2000[m]> but no rush
<WoeyJonkers[m]> what would happen if i tried installing it via twrp
<barni2000[m]> wdym
<WoeyJonkers[m]> lk2nd.img
<barni2000[m]> you flashed it with heimdall it would be totally the same
<WoeyJonkers[m]> instead of using heimdall, if i tried using the install option in twrp, would that change anything
<WoeyJonkers[m]> ok
<WoeyJonkers[m]> just thought i'd check
<barni2000[m]> i have some issue with new lk2nd on motorola so it could be some bug in the matching part of the code
<barni2000[m]> on motorola fastboot boot works but if i flash it it cannot boot
<barni2000[m]> older msm8953 lk2nd works fine
<WoeyJonkers[m]> i'll try that, and if it still doesn't work, then i'll come back to it Saturday or something
<barni2000[m]> ok
<M0xCAFEBABE[m]> <WoeyJonkers[m]> "rm-none-eabi-gcc (15:10.3-2021...." <- have you tried changing -O3 to -O0 on your root makefile?
<M0xCAFEBABE[m]> newer GCC was breaking booting for me, and that helped fixing it
<M0xCAFEBABE[m]> * newer GCC like that were breaking booting for me, and that helped fixing it
<M0xCAFEBABE[m]> s/O3/O2/
Daanct12 has joined #msm8937-mainline
Daanct12 has quit [Quit: WeeChat 4.1.2]