ChanServ changed the topic of #linux-msm to:
buddyjojo has joined #linux-msm
<jojo_autoboy[m]> so I'm trying to get drm msm working on my sdm660 device but i keep getting this error:... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/xbJqcWgFvUtjthVfaJADwmzc)
<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)
<jojo_autoboy[m]> even with the pd thing it still gives the same clock error
<jojo_autoboy[m]> (tho now my ts driver works witch it cool)
<lumag_> ok.
* lumag_ should spend some time on sdm660
<jojo_autoboy[m]> here's what my current dmesg looks like if it helps
shawnguo has quit [Quit: The Lounge - https://thelounge.chat]
bhsharma has quit [Quit: ZNC 1.7.2 - https://znc.in]
bryanodonoghue has quit [Quit: ZNC 1.7.2 - https://znc.in]
lumag has quit [Quit: ZNC 1.7.2 - https://znc.in]
srinik has quit []
mani_s has quit [Quit: ZNC 1.7.2 - https://znc.in]
vkoul has quit [Quit: ZNC 1.7.2 - https://znc.in]
sumits has quit [Quit: ZNC - http://znc.in]
bhsharma has joined #linux-msm
vkoul has joined #linux-msm
sumits has joined #linux-msm
bryanodonoghue has joined #linux-msm
lumag has joined #linux-msm
srinik has joined #linux-msm
mani_s has joined #linux-msm
lumag_ has quit [Quit: Leaving]
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
dliviu has joined #linux-msm
cxl000 has quit [Quit: Leaving]