Renato
2021-Feb-09 21:35 UTC
[syslinux] How to pass some blob data from syslinux to linux kernel?
Hello all, I have a big problem to fix that I think it would be possible using syslinux. I have a PC that have UEFI 64 "bios" and I'm running a 32 bit only linux kernel on it. I need to read some data (4kb to be exactly) from a UEFI register inside the kernel. Since the kernel is 32 bits and my UEFI is 64 bits, I couldn't find a way to access it directly from kernel. The possible solution I found was to read that data with syslinux (efi, 64bits) and then send it to kernel. The first part is done, I have read the 4kb data from EFI. Now I need some help to do the second part. I was thinking about just dropping the data in memory after kernel or initrd and pass the memory address as kernel param (but I still need to lookup how to do that), would it work? Is there another/better way? Any thoughts? Thanks!!! Renato