[U-Boot] [PATCH v3 0/1] arm: socfpga: Enable EFI support for DE0-nano-SoC disto boot

This enables EFI support for DE0-nano-SoC distro boot. Tested on openSUSE openSUSE Tumbleweed ARM JeOS image.
Signed-off-by: Frank Kunz mailinglists@kunz-im-inter.net --- Changes in v3: Adaption to distroboot changes in mainline
Frank Kunz (1): arm: socfpga: Configuration for EFI boot on DE0-nano-SoC
configs/socfpga_de0_nano_soc_defconfig | 3 +++ 1 file changed, 3 insertions(+)
-- 2.13.3

For EFI boot GPT partition table support is needed as well as the part command and also the SPL needs to fallback to other boot methods after parse the SPL header.
Signed-off-by: Frank Kunz mailinglists@kunz-im-inter.net --- :100644 100644 f56e45e727... 33674cf1ea... M configs/socfpga_de0_nano_soc_defconfig configs/socfpga_de0_nano_soc_defconfig | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/configs/socfpga_de0_nano_soc_defconfig b/configs/socfpga_de0_nano_soc_defconfig index f56e45e727..33674cf1ea 100644 --- a/configs/socfpga_de0_nano_soc_defconfig +++ b/configs/socfpga_de0_nano_soc_defconfig @@ -13,6 +13,7 @@ CONFIG_DEFAULT_FDT_FILE="socfpga_cyclone5_de0_nano_soc.dtb" CONFIG_VERSION_VARIABLE=y # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_SPL=y +# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set CONFIG_SPL_SYS_MALLOC_SIMPLE=y CONFIG_SPL_STACK_R=y CONFIG_HUSH_PARSER=y @@ -22,6 +23,7 @@ CONFIG_CMD_ASKENV=y CONFIG_CMD_GREPENV=y # CONFIG_CMD_FLASH is not set CONFIG_CMD_MMC=y +CONFIG_CMD_PART=y CONFIG_CMD_SF=y CONFIG_CMD_SPI=y CONFIG_CMD_I2C=y @@ -38,6 +40,7 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_CMD_FAT=y CONFIG_CMD_FS_GENERIC=y CONFIG_CMD_UBI=y +CONFIG_EFI_PARTITION=y CONFIG_SPL_DM=y CONFIG_DFU_MMC=y CONFIG_FPGA_SOCFPGA=y

On 08/08/2017 06:18 PM, Frank Kunz wrote:
For EFI boot GPT partition table support is needed as well as the part command and also the SPL needs to fallback to other boot methods after parse the SPL header.
Signed-off-by: Frank Kunz mailinglists@kunz-im-inter.net
Reviewed-by: Marek Vasut marex@denx.de
I'd like to get a RB from Dinh . Poke me in a week-ish if nothing happens please.
:100644 100644 f56e45e727... 33674cf1ea... M configs/socfpga_de0_nano_soc_defconfig
Is this garbled or is this some new/weird git configuration ?
configs/socfpga_de0_nano_soc_defconfig | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/configs/socfpga_de0_nano_soc_defconfig b/configs/socfpga_de0_nano_soc_defconfig index f56e45e727..33674cf1ea 100644 --- a/configs/socfpga_de0_nano_soc_defconfig +++ b/configs/socfpga_de0_nano_soc_defconfig @@ -13,6 +13,7 @@ CONFIG_DEFAULT_FDT_FILE="socfpga_cyclone5_de0_nano_soc.dtb" CONFIG_VERSION_VARIABLE=y # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_SPL=y +# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set CONFIG_SPL_SYS_MALLOC_SIMPLE=y CONFIG_SPL_STACK_R=y CONFIG_HUSH_PARSER=y @@ -22,6 +23,7 @@ CONFIG_CMD_ASKENV=y CONFIG_CMD_GREPENV=y # CONFIG_CMD_FLASH is not set CONFIG_CMD_MMC=y +CONFIG_CMD_PART=y CONFIG_CMD_SF=y CONFIG_CMD_SPI=y CONFIG_CMD_I2C=y @@ -38,6 +40,7 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_CMD_FAT=y CONFIG_CMD_FS_GENERIC=y CONFIG_CMD_UBI=y +CONFIG_EFI_PARTITION=y CONFIG_SPL_DM=y CONFIG_DFU_MMC=y CONFIG_FPGA_SOCFPGA=y

Am 08.08.2017 um 18:22 schrieb Marek Vasut:
On 08/08/2017 06:18 PM, Frank Kunz wrote:
For EFI boot GPT partition table support is needed as well as the part command and also the SPL needs to fallback to other boot methods after parse the SPL header.
Signed-off-by: Frank Kunz mailinglists@kunz-im-inter.net
Reviewed-by: Marek Vasut marex@denx.de
I'd like to get a RB from Dinh . Poke me in a week-ish if nothing happens please.
Ok, I will do so.
:100644 100644 f56e45e727... 33674cf1ea... M configs/socfpga_de0_nano_soc_defconfig
Is this garbled or is this some new/weird git configuration ?
Don't know where it comes from. I have not enabled it in my config, guess it is some git "feature". My version is 2.13.3
configs/socfpga_de0_nano_soc_defconfig | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/configs/socfpga_de0_nano_soc_defconfig b/configs/socfpga_de0_nano_soc_defconfig index f56e45e727..33674cf1ea 100644 --- a/configs/socfpga_de0_nano_soc_defconfig +++ b/configs/socfpga_de0_nano_soc_defconfig @@ -13,6 +13,7 @@ CONFIG_DEFAULT_FDT_FILE="socfpga_cyclone5_de0_nano_soc.dtb" CONFIG_VERSION_VARIABLE=y # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_SPL=y +# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set CONFIG_SPL_SYS_MALLOC_SIMPLE=y CONFIG_SPL_STACK_R=y CONFIG_HUSH_PARSER=y @@ -22,6 +23,7 @@ CONFIG_CMD_ASKENV=y CONFIG_CMD_GREPENV=y # CONFIG_CMD_FLASH is not set CONFIG_CMD_MMC=y +CONFIG_CMD_PART=y CONFIG_CMD_SF=y CONFIG_CMD_SPI=y CONFIG_CMD_I2C=y @@ -38,6 +40,7 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_CMD_FAT=y CONFIG_CMD_FS_GENERIC=y CONFIG_CMD_UBI=y +CONFIG_EFI_PARTITION=y CONFIG_SPL_DM=y CONFIG_DFU_MMC=y CONFIG_FPGA_SOCFPGA=y

On 08/08/2017 06:18 PM, Frank Kunz wrote:
For EFI boot GPT partition table support is needed as well as the part command and also the SPL needs to fallback to other boot methods after parse the SPL header.
Signed-off-by: Frank Kunz mailinglists@kunz-im-inter.net
Applied, thanks
participants (2)
-
Frank Kunz
-
Marek Vasut