Skip to contentSkip to conversation

xilinx: Enable efi debug command

PATCH New Michal Simek 4 participants 5 messages Mar 29, 2021 – Mar 30, 2021 Arm/Zynq architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xilinx: Enable efi debug command

Enable EFI debug command to be able to setup various efi variables to avoid software like grub.

---

 configs/xilinx_versal_virt_defconfig | 1 +
 configs/xilinx_zynqmp_virt_defconfig | 1 +
 2 files changed, 2 insertions(+)
configs/xilinx_versal_virt_defconfig +1 -0
index 8d8f125457d4..da3d2c2a936f 100644
@@ -32,6 +32,7 @@ CONFIG_CMD_SF_TEST=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_TFTPPUT=y
 CONFIG_CMD_CACHE=y
+CONFIG_CMD_EFIDEBUG=y
 CONFIG_CMD_TIME=y
 CONFIG_CMD_TIMER=y
 CONFIG_CMD_EXT4_WRITE=y
configs/xilinx_zynqmp_virt_defconfig +1 -0
index da4f4554ed78..db7d3824d7d9 100644
@@ -56,6 +56,7 @@ CONFIG_CMD_USB_MASS_STORAGE=y
 CONFIG_CMD_TFTPPUT=y
 CONFIG_CMD_BMP=y
 CONFIG_CMD_CACHE=y
+CONFIG_CMD_EFIDEBUG=y
 CONFIG_CMD_TIME=y
 CONFIG_CMD_TIMER=y
 CONFIG_CMD_TPM=y
Signature · 1 line
2.31.0
Applied
#1 lore raw

PATCH 1/1 xilinx: Enable efi debug command

po 29. 3. 2021 v 8:27 odes?latel Michal Simek <[email protected]> napsal:

Quoted 36 lines

Enable EFI debug command to be able to setup various efi variables to avoid software like grub.

---

 configs/xilinx_versal_virt_defconfig | 1 +
 configs/xilinx_zynqmp_virt_defconfig | 1 +
 2 files changed, 2 insertions(+)
configs/xilinx_versal_virt_defconfig +1 -0
index 8d8f125457d4..da3d2c2a936f 100644
@@ -32,6 +32,7 @@ CONFIG_CMD_SF_TEST=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_TFTPPUT=y
 CONFIG_CMD_CACHE=y
+CONFIG_CMD_EFIDEBUG=y
 CONFIG_CMD_TIME=y
 CONFIG_CMD_TIMER=y
 CONFIG_CMD_EXT4_WRITE=y
configs/xilinx_zynqmp_virt_defconfig +1 -1
index da4f4554ed78..db7d3824d7d9 100644
@@ -56,6 +56,7 @@ CONFIG_CMD_USB_MASS_STORAGE=y
 CONFIG_CMD_TFTPPUT=y
 CONFIG_CMD_BMP=y
 CONFIG_CMD_CACHE=y
+CONFIG_CMD_EFIDEBUG=y
 CONFIG_CMD_TIME=y
 CONFIG_CMD_TIMER=y
 CONFIG_CMD_TPM=y
--
Quoted 2 lines

2.31.0

Applied.
M

Signature · 5 lines
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs
#2 lore raw

PATCH 1/1 xilinx: Enable efi debug command

In reply to Michal Simek
Quoted 4 lines · Michal Simek

Enable EFI debug command to be able to setup various efi variables to avoid software like grub.

Can you elaborate on what you're setting here? This seems like a potentially neat trick that should be documented.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210330/c2704100/attachment.sig>
#3 lore raw

PATCH 1/1 xilinx: Enable efi debug command

Hi,

Quoted 9 lines · Tom Rini
Quoted 4 lines · Michal Simek

Enable EFI debug command to be able to setup various efi variables to avoid software like grub.

Can you elaborate on what you're setting here? This seems like a potentially neat trick that should be documented.

It just enabling efidebug command to be able to setup efi variables. We have discussed it recently with Ilias in connection to efi boot without grub.
I think Ilias is the best person to talk about details based on patches he is sending.

Thanks,
Michal

#4 lore raw

PATCH 1/1 xilinx: Enable efi debug command

Hi Tom, Michal,

Quoted 10 lines · Michal Simek

Hi,

Quoted 7 lines · Tom Rini
Quoted 4 lines · Michal Simek

Enable EFI debug command to be able to setup various efi variables to avoid software like grub.

Quoted 9 lines
Quoted 2 lines

Can you elaborate on what you're setting here? This seems like a potentially neat trick that should be documented.

It just enabling efidebug command to be able to setup efi variables. We have discussed it recently with Ilias in connection to efi boot without grub.
I think Ilias is the best person to talk about details based on patches he is sending.

It is documented, just not pushed yet u-boot/next, due to the file renaming on the documentation.
You can find details here
https://lists.denx.de/pipermail/u-boot/2021-March/444855.html
but the tl;dr version is that , with newer kernels we can add the initrd path of the specific image in an EFI Boot### variable.

That allows you to boot EFI based vertical distros, that contain multiple initrd-kernel pairs, by just using the EFI interfaces and not have to rely on GRUB or whatever people were doing up to now.

Cheers
/Ilias

Quoted 7 lines

Thanks,
Michal