<lumag_>
jojo_autoboy[m], do you have an Adreno firmware provided by your vendor? Could you please try using it?
<lumag_>
BTW: which device is that?
<lumag_>
Ah, Xiaomi A2, saw in the logs.
<lumag_>
Yes, you should try using the Xiaomi's firmware files.
<lumag_>
BTW: you can try bringing up the display w/o the gpu, by disabling the GPU.
<lumag_>
.. the gpu node in the device tree
<jojo_autoboy[m]>
lumag_: i am using the firmware files from the device itself
<jojo_autoboy[m]>
also i think the display is working because it displays stuff from the frame buffer without the framebuffer nodes
<jojo_autoboy[m]>
though i was missing the a508 firmware file but i assumed it wasn't really needed
<jojo_autoboy[m]>
i'll try to disable the gpu
<lumag_>
jojo_autoboy[m], which file did you miss?
<jojo_autoboy[m]>
according to the somainline defconfig, a508_zap.b00, qcom/a508_zap.b01, qcom/a508_zap.b02, qcom/a508_zap.elf, qcom/a508_zap.mdt and qcom/a530_gpmu.fw2
<lumag_>
a512_zap.mdt
<jojo_autoboy[m]>
i added that
<lumag_>
ok
<jojo_autoboy[m]>
currently my "CONFIG_EXTRA_FIRMWARE" is set to "qcom/a530_pfp.fw qcom/a530_pm4.fw qcom/a512_zap.mdt"
<lumag_>
jojo_autoboy[m], that seems correct
<jojo_autoboy[m]>
hmmm tho my firmware folder does have a "a540_gpmu.fw2"
<lumag_>
I haven't tried sdm660 yet. Maybe somebody from somainline can comment
<lumag_>
jojo_autoboy[m], can you please try booting adding 'clk_ignore_unused pd_ignore_unused' to kernel bootargs?
<jojo_autoboy[m]>
well i did use clk_ignore_unused (and removed it and added it back but now its not working but i had this problem before i did that) but i didn't use pd_ignore_unused
<jojo_autoboy[m]>
"clk: Not disabling unused clocks"
<lumag_>
this message is normal with clk_ignore_unused
<jojo_autoboy[m]>
here's an older full dmesg ( i'm getting alot more clock errors now)
buddyjojo has quit [Remote host closed the connection]
dliviu has joined #linux-msm
dliviu has quit [Ping timeout: 480 seconds]
<aka_[m]>
Can anyone tell me what exactly is SCRATCH_ADDR in case of qcom devices?
<minecrell>
aka_[m]: in LK, a random memory region where you can temporarily load (fastboot) things, e.g. parts of partition images that are then flashed to the MMC
<minecrell>
aka_[m]: the main important thing is that there is actually RAM at that address (and not protected by TZ or anything else)
<Mis012[m]>
right, it's also way past the area of memory that LK uses for heap/stack