How to pass variable from UEFI to KERNEL

HI nvidia:
I have a question how to pass variable from UEFI to KERNEL?

What kind of variable you want to pass?
And what is the detail of your use case?
In general, we would just modify kernel for some configurations.

HI KevinFFF:
I want to read two gpios in uefi, and pass this two gpio value to kernel to identify orin, because we have four orin on one board. If i read this two gpio in kernel, driver init sequnce is different.

I want to read PP4 and PQ4 gpio.

Why you don’t just configure GPIO and read their state in kernel?

If you read them in UEFI, then you still need to do something in kernel to recognize them.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.