[U-Boot] [PATCH] atmel: add CMD_FS_GENERIC to SAMA5D3 for EFI boot

I'm working on getting OpenBSD to run on the Atmel SAMA5D3 Xplained. OpenBSD uses an EFI bootloader, which requires the "load" command to work, since "fatload" doesn't initialize the EFI memory addresses properly. To get "load" on the SAMA5D3 version of U-Boot, I propose adding the CONFIG_CMD_FS_GENERIC option.
Signed-off-by: Greg Czerniak greg@czerniak.info
--- configs/sama5d3_xplained_mmc_defconfig | 1 + 1 file changed, 1 insertion(+)
diff --git a/configs/sama5d3_xplained_mmc_defconfig b/configs/sama5d3_xplained_$ index eab38ec366..57a163bd58 100644 --- a/configs/sama5d3_xplained_mmc_defconfig +++ b/configs/sama5d3_xplained_mmc_defconfig @@ -76,6 +76,7 @@ CONFIG_USB=y CONFIG_DM_USB=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_STORAGE=y +CONFIG_CMD_FS_GENERIC=y CONFIG_W1=y CONFIG_W1_GPIO=y CONFIG_W1_EEPROM=y -- 2.19.1

Hi Greg,
On 21.01.2019 06:51, Greg Czerniak wrote:
I'm working on getting OpenBSD to run on the Atmel SAMA5D3 Xplained. OpenBSD uses an EFI bootloader, which requires the "load" command to work, since "fatload" doesn't initialize the EFI memory addresses properly. To get "load" on the SAMA5D3 version of U-Boot, I propose adding the CONFIG_CMD_FS_GENERIC option.
Thanks for the patch, can you clean up the commit message please? Remove the "I'm working on..." Relate strictly to what this patch does and why, like enabling CMD_FS_GENERIC because load command is needed to boot OpenBSD with properly initialized EFI ... etc.
Commit message: configs: sama5d3_xplained_mmc: ***your short message***
Eugen
Signed-off-by: Greg Czerniak greg@czerniak.info
configs/sama5d3_xplained_mmc_defconfig | 1 + 1 file changed, 1 insertion(+)
diff --git a/configs/sama5d3_xplained_mmc_defconfig b/configs/sama5d3_xplained_$ index eab38ec366..57a163bd58 100644 --- a/configs/sama5d3_xplained_mmc_defconfig +++ b/configs/sama5d3_xplained_mmc_defconfig @@ -76,6 +76,7 @@ CONFIG_USB=y CONFIG_DM_USB=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_STORAGE=y +CONFIG_CMD_FS_GENERIC=y CONFIG_W1=y CONFIG_W1_GPIO=y CONFIG_W1_EEPROM=y -- 2.19.1
U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

On Sun, Jan 20, 2019 at 11:51:26PM -0500, Greg Czerniak wrote:
I'm working on getting OpenBSD to run on the Atmel SAMA5D3 Xplained. OpenBSD uses an EFI bootloader, which requires the "load" command to work, since "fatload" doesn't initialize the EFI memory addresses properly. To get "load" on the SAMA5D3 version of U-Boot, I propose adding the CONFIG_CMD_FS_GENERIC option.
Signed-off-by: Greg Czerniak greg@czerniak.info
Applied to u-boot/master, thanks!
participants (3)
-
Eugen.Hristev@microchip.com
-
Greg Czerniak
-
Tom Rini