linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* qcom_glink_rpm rpm-glink: RPM TOC has invalid magic
@ 2021-07-29  5:44 Baruch Siach
  0 siblings, 0 replies; only message in thread
From: Baruch Siach @ 2021-07-29  5:44 UTC (permalink / raw)
  To: linux-arm-msm

Hi linux-arm-msm list,

I can't get cpufreq to work on my IPQ6010 system because glink_rpm_probe()
fails on boot with this message:

[    2.048522] qcom_glink_rpm rpm-glink: RPM TOC has invalid magic

Dump of the IO area at 0x60000 from U-Boot shows this:

00060000: 4cc422f6 7ff52c25 c702abe9 7f3f020c    .".L%,........?.
00060010: 9e0ffe7e 6f5d9b4f e6e7789d b8fd4815    ~...O.]o.x...H..
00060020: 5b2279ee 3afb04c2 c530d8db 1dfd3487    .y"[...:..0..4..
00060030: a26b4ef7 e67e647e 78ebc07d e36941b0    .Nk.~d~.}..x.Ai.
00060040: 6984f3f5 fd73c619 50c7b8c5 7dd90ed7    ...i..s....P...}
00060050: 27976afe cdb72684 13e88a17 bb3bcbd0    .j.'.&........;.
00060060: 3a8ff5d6 3be85d8a 93002396 f7ca6853    ...:.].;.#..Sh..
00060070: 01429a10 17ba3872 5b9ca7b6 5a5bab2a    ..B.r8.....[*.[Z

Data in this area changes on every boot. Dump of kernel driver 'buf'
from glink_rpm_parse_toc() shows entirely different data.

Information on version of firmware components that might be relevant:

# cat /proc/device-tree/rpm_version 
CRM-RPM.BF.2.4.1-00089
# cat /proc/device-tree/boot_version 
crm-ubuntu121-BOOT.XF.0.3-00098-IPQ60xxLZB-1
# cat /proc/device-tree/tz_version 
CRM-TZ.WNS.5.1-00127

Any idea?

Thanks,
baruch

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-29  5:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-29  5:44 qcom_glink_rpm rpm-glink: RPM TOC has invalid magic Baruch Siach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).