All of lore.kernel.org
 help / color / mirror / Atom feed
From: Baruch Siach <baruch@tkos.co.il>
To: linux-arm-msm@vger.kernel.org
Subject: qcom_glink_rpm rpm-glink: RPM TOC has invalid magic
Date: Thu, 29 Jul 2021 08:44:29 +0300	[thread overview]
Message-ID: <87tukdvflu.fsf@tarshish> (raw)

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 -

                 reply	other threads:[~2021-07-29  5:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tukdvflu.fsf@tarshish \
    --to=baruch@tkos.co.il \
    --cc=linux-arm-msm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.