From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heinrich Schuchardt Date: Thu, 11 Mar 2021 21:25:26 +0100 Subject: [PATCH 2/6] efi_loader: Add device path related functions for initrd via Boot#### In-Reply-To: References: <20210305222303.2866284-1-ilias.apalodimas@linaro.org> <20210305222303.2866284-2-ilias.apalodimas@linaro.org> <3b72f7c0-5fc5-5dc9-c93f-43c40de9bdd4@gmx.de> <3c7bca26-b4d6-88c5-611a-aaca1f224d39@gmx.de> <70AA1ED8-9F73-4D50-891A-1FCB855F7094@gmx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 3/11/21 2:31 PM, Ilias Apalodimas wrote: >> I am not referring to efidebug. >> >> The user can update EFI variables with any binary content using an EFI binary or OS functions. >> >> E.g. copy a binary file to the efi variables file system in Linux. > > Right, I was mostly thinking SetVariable which still goes through u-boot. > Copying an entire file is possiible though I guess dd if=foo of=/sys/firmware/efi/efivars/Boot0123-8be4df61-93ca-11d2-aa0d-00e098032b8c But Linux makes some consistency checks. Best regards Heinrich