Re: Query on dynamic update of Kernel comandline

2023-12-21 Thread Lennart Poettering
On Mi, 13.12.23 10:28, HARSHAL PATIL (QUIC) (quic_hgpa...@quicinc.com) wrote:

> Hello Fellow Community,
>
> I have a following question. Your help will be really appreciated.
>
> "Kernel expects few params from kernel cmdline from underlying
> firmware. Is there any mechanism to dynamically update the cmdline
> updated by firmware (UEFI) during boot time in systemd-boot similar
> to DT fixup protocol ?"

I don't understand the question. Why would stuff from the UEFI
firmware be added to the kernel cmdline? and what does that have to do
with the DT fixup protocol?

Various UEFI interfaces are available from userspace anyway, are you
sure that whatever data you are looking for isn't readily available
from /sys/ anyway? why must it be kernel command line?

> Example : androidboot.serialno is read from firmware and needs to be appended 
> to kernel commandline

I don't know what this is, and what that has to do with uefi, sd-boot
or dt?

Anyway, the question is very confusing, I am not surprised noone
answered so far.

Lennart

--
Lennart Poettering, Berlin


Re: Query on dynamic update of Kernel comandline

2023-12-21 Thread Greg KH
On Thu, Dec 21, 2023 at 08:13:15AM +, HARSHAL PATIL (QUIC) wrote:
> Hello Everyone,
> 
> Can someone please reply to our query?
> 
> We are really blocked due to this and unable to process in our project. It 
> will be really great.

If you need paid support for a project that you depend on, I suggest
contacting one of the many companies that provide such support.
Otherwise, just asking the community to do your work for you again,
isn't usually the best way to run a company project :)

Why not work with the other developers in your company that have
experience with the kernel and these things?  Ignoring them feels very
odd to me.

good luck!

greg k-h


RE: Query on dynamic update of Kernel comandline

2023-12-21 Thread HARSHAL PATIL (QUIC)
Hello Everyone,

Can someone please reply to our query?

We are really blocked due to this and unable to process in our project. It will 
be really great.

Thank You again for your support.

Best Regards,
Harshal Patil

From: HARSHAL PATIL (QUIC)
Sent: Wednesday, December 13, 2023 3:58 PM
To: 'systemd-devel@lists.freedesktop.org' 
Subject: Query on dynamic update of Kernel comandline


Hello Fellow Community,

I have a following question. Your help will be really appreciated.

"Kernel expects few params from kernel cmdline from underlying firmware. Is 
there any mechanism to dynamically update the cmdline updated by firmware 
(UEFI) during boot time in systemd-boot similar to DT fixup protocol ?"

Example : androidboot.serialno is read from firmware and needs to be appended 
to kernel commandline



Best Regards,

Harshal Patil



Query on dynamic update of Kernel comandline

2023-12-13 Thread HARSHAL PATIL (QUIC)
Hello Fellow Community,

I have a following question. Your help will be really appreciated.

"Kernel expects few params from kernel cmdline from underlying firmware. Is 
there any mechanism to dynamically update the cmdline updated by firmware 
(UEFI) during boot time in systemd-boot similar to DT fixup protocol ?"

Example : androidboot.serialno is read from firmware and needs to be appended 
to kernel commandline



Best Regards,

Harshal Patil