All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vikash Garodia <vikash.garodia@oss.qualcomm.com>
To: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Cc: Renjiang Han <renjiang.han@oss.qualcomm.com>,
	linux-firmware@kernel.org,
	"Qiwei Liu (QUIC)" <quic_qiweil@quicinc.com>,
	Wangao Wang <wangao.wang@oss.qualcomm.com>,
	dikshita.agarwal@oss.qualcomm.com
Subject: Re: update firmware binary for v5.4
Date: Wed, 19 Nov 2025 21:49:17 +0530	[thread overview]
Message-ID: <1a8feea5-e797-4a19-a1d8-e4d5d5bca0c9@oss.qualcomm.com> (raw)
In-Reply-To: <jodkivawdceoc7ebzm34w5ocipnv7zpjvasadyha6kdpayluja@255mxfp4eq5f>


On 11/19/2025 8:22 PM, Dmitry Baryshkov wrote:
> On Wed, Nov 19, 2025 at 07:57:30PM +0530, Vikash Garodia wrote:
>> Hello Dmitry,
>>
>> On 11/19/2025 4:55 PM, Dmitry Baryshkov wrote:
>>> On Wed, Nov 19, 2025 at 05:39:43PM +0800, Renjiang Han wrote:
>>>> Hi
>>>>
>>>> The following changes since commit 6fc940781a013ad837ed8fea326d2b897467bbc3:
>>>>
>>>>     Merge branch 'robot/patch-0-1762826844' into 'main' (2025-11-11 12:02:02
>>>> +0000)
>>>>
>>>> are available in the Git repository at:
>>>>
>>>>     https://git.codelinaro.org/clo/linux-kernel/linux-firmware.git
>>>> update-video-fw-sm6150
>>>>
>>>> for you to fetch changes up to 0a6f987b7b07a6fec2d4fd42ac4473c0523d3af6:
>>>>
>>>>     qcom: venus-5.4: update firmware binary for v5.4 (2025-11-19 15:04:09
>>>> +0530)
>>>>
>>>> ----------------------------------------------------------------
>>>> Renjiang Han (1):
>>>>         qcom: venus-5.4: update firmware binary for v5.4
>>>>
>>>>    WHENCE                      |   6 +-----
>>>>    qcom/venus-5.4/venus.mbn    | Bin 922216 -> 922312 bytes
>>>
>>> And this firmware file is also going to work on SC7180, correct?
>>
>> Yes, we have got this validated on SC7180 as well.
> 
> Thanks for the confirmation.
> 
>>
>>>
>>>>    qcom/venus-5.4/venus_s2.mbn | Bin 919008 -> 0 bytes
>>>
>>> Vikash, Dikshita, could you please comment, what is going on here?
>>>
>>> We have added venus_s6.mbn, then dropped it, saying that a normal
>>> venus.mbn can be used on QCS615. Then Renjiang added venus_s2.mbn
>>> (why?). Mario merged it despite my NAK, but that's a separate topic.
>>> Now we are dropping it again.
>>>
>>> The firmware is the ABI between userspace and the kernel. We can't
>>> randomly add and remove files here.
>>>
>>> Which file names are / were in use by the upstream kernel? I tried hard,
>>> but I couldn't find any mention of venus_s2.mbn in any of the patches
>>> on the linux-arm-msm mailing list.
>>
>> venus_s2.mbn is not used anywhere. It was earlier planned to be used on
> 
> Ack, please split into two commits, each having a proper explanation.
> Please make sure that in future we don't add completely unused files.
> 

Ack

>> qcs615 while venus.mbn would continue on sc7280, but then we wanted to use
>> same bins for sc7180 and qcs615.
> 
> What is the status of the current venus-5.4/venus.mbn file? Does it work
> AS IS on Talos EVK that is being in process of upstreaming and on QCS615
> ADP AIR aka RIDE boards?

@Renjiang ?

> 
>> S2 variant can be produced now by re-signing this venus.mbn itself. To
>> achieve this part, there were some elf alignment fixes, which is done with
>> this bin to make it re-signable with any vendor specific #.
> 
> I thought that this already happened for VIDEO.VE.5.4-00060-PROD-1. What
> is the difference between it and the new one?
> 

VIDEO.VE.5.4-00060-PROD-1 had ELF 4k alignment issue [1].

0x34 % 0x1000 is not equal to 0x0 % 0x1000. This part is fixed in #62.

[1]RuntimeError: Program Header's Offset, 0x00000034, and Virtual 
Address, 0x00000000, are not congruent modulo the Alignment, 0x00001000. 
(Offset % Alignment) must equal (Virtual Address % Alignment).

Regards,
Vikash

  reply	other threads:[~2025-11-19 16:19 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-19  9:39 update firmware binary for v5.4 Renjiang Han
2025-11-19 11:25 ` Dmitry Baryshkov
2025-11-19 14:27   ` Vikash Garodia
2025-11-19 14:52     ` Dmitry Baryshkov
2025-11-19 16:19       ` Vikash Garodia [this message]
2025-11-19 16:40         ` Dmitry Baryshkov
2025-11-19 17:13           ` Vikash Garodia
2025-11-20  1:03             ` Dmitry Baryshkov
2025-11-20 10:15               ` Vikash Garodia
2025-11-20 22:24                 ` Dmitry Baryshkov
2025-11-21  8:07                   ` Renjiang Han
2025-11-20 10:28         ` Renjiang Han
2025-11-21  2:50           ` Wangao Wang
2025-11-21  3:57         ` Renjiang Han
2025-11-21  9:47           ` Vikash Garodia
2025-11-21 11:55             ` Dmitry Baryshkov
2025-12-09  2:18               ` Renjiang Han
  -- strict thread matches above, loose matches on Subject: below --
2025-11-21  4:11 Renjiang Han
2025-11-23 14:11 ` Dmitry Baryshkov
2025-11-24  2:15   ` Renjiang Han

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=1a8feea5-e797-4a19-a1d8-e4d5d5bca0c9@oss.qualcomm.com \
    --to=vikash.garodia@oss.qualcomm.com \
    --cc=dikshita.agarwal@oss.qualcomm.com \
    --cc=dmitry.baryshkov@oss.qualcomm.com \
    --cc=linux-firmware@kernel.org \
    --cc=quic_qiweil@quicinc.com \
    --cc=renjiang.han@oss.qualcomm.com \
    --cc=wangao.wang@oss.qualcomm.com \
    /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.