| Message ID | 20190305162310.1396-7-tien.fong.chee@intel.com |
|---|---|
| State | Superseded |
| Delegated to: | Marek Vasut |
| Headers | show |
| Series | Add support for loading FPGA bitstream | expand |
On 3/5/19 10:23 AM, tien.fong.chee@intel.com wrote: > From: Tien Fong Chee <tien.fong.chee@intel.com> > > Update the default configuration file to enable the necessary functionality > to get the SoCFPGA loadfs driver support. This would enable the > implementation of programming bitstream into FPGA from MMC. > > Signed-off-by: Tien Fong Chee <tien.fong.chee@intel.com> > > --- > > changes for v8 > - Added FIT related configs > > changes for v7 > - Removed limit set for CONFIG_FS_FAT_MAX_CLUSTSIZE > --- > configs/socfpga_arria10_defconfig | 8 ++++++++ > 1 file changed, 8 insertions(+) What changed in v9 - v11? Also this patch doesn't apply to v2019.04-rc4 at all: error: patch failed: configs/socfpga_arria10_defconfig:27 error: configs/socfpga_arria10_defconfig: patch does not apply dinguyen@b13cycling:~/linux_dev/u-boot$ git apply --reject patch1.patch Checking patch configs/socfpga_arria10_defconfig... error: while searching for: # CONFIG_EFI_PARTITION is not set CONFIG_DEFAULT_DEVICE_TREE="socfpga_arria10_socdk_sdmmc" CONFIG_ENV_IS_IN_MMC=y CONFIG_SPL_DM=y CONFIG_SPL_DM_SEQ_ALIAS=y CONFIG_SPL_FS_FAT=y CONFIG_FPGA_SOCFPGA=y CONFIG_DM_GPIO=y CONFIG_DWAPB_GPIO=y CONFIG_DM_MMC=y error: patch failed: configs/socfpga_arria10_defconfig:27 Applying patch configs/socfpga_arria10_defconfig with 1 reject... Rejected hunk #1. Dinh
On Tue, 2019-03-05 at 22:11 -0600, Dinh Nguyen wrote: > > On 3/5/19 10:23 AM, tien.fong.chee@intel.com wrote: > > > > From: Tien Fong Chee <tien.fong.chee@intel.com> > > > > Update the default configuration file to enable the necessary > > functionality > > to get the SoCFPGA loadfs driver support. This would enable the > > implementation of programming bitstream into FPGA from MMC. > > > > Signed-off-by: Tien Fong Chee <tien.fong.chee@intel.com> > > > > --- > > > > changes for v8 > > - Added FIT related configs > > > > changes for v7 > > - Removed limit set for CONFIG_FS_FAT_MAX_CLUSTSIZE > > --- > > configs/socfpga_arria10_defconfig | 8 ++++++++ > > 1 file changed, 8 insertions(+) > What changed in v9 - v11? Means no change if no changes are defined here. > > Also this patch doesn't apply to v2019.04-rc4 at all: > > error: patch failed: configs/socfpga_arria10_defconfig:27 > error: configs/socfpga_arria10_defconfig: patch does not apply > dinguyen@b13cycling:~/linux_dev/u-boot$ git apply --reject > patch1.patch > Checking patch configs/socfpga_arria10_defconfig... > error: while searching for: > # CONFIG_EFI_PARTITION is not set > CONFIG_DEFAULT_DEVICE_TREE="socfpga_arria10_socdk_sdmmc" > CONFIG_ENV_IS_IN_MMC=y > CONFIG_SPL_DM=y > CONFIG_SPL_DM_SEQ_ALIAS=y > CONFIG_SPL_FS_FAT=y > CONFIG_FPGA_SOCFPGA=y > CONFIG_DM_GPIO=y > CONFIG_DWAPB_GPIO=y > CONFIG_DM_MMC=y > > error: patch failed: configs/socfpga_arria10_defconfig:27 > Applying patch configs/socfpga_arria10_defconfig with 1 reject... > Rejected hunk #1. Thanks for catching it. I would rebase to latest mainbranch. TF.
diff --git a/configs/socfpga_arria10_defconfig b/configs/socfpga_arria10_defconfig index 0554f1b6ec..c870543346 100644 --- a/configs/socfpga_arria10_defconfig +++ b/configs/socfpga_arria10_defconfig @@ -27,10 +27,18 @@ CONFIG_MTDIDS_DEFAULT="nor0=ff705000.spi.0" # CONFIG_EFI_PARTITION is not set CONFIG_DEFAULT_DEVICE_TREE="socfpga_arria10_socdk_sdmmc" CONFIG_ENV_IS_IN_MMC=y +CONFIG_SPL_ENV_SUPPORT=y CONFIG_SPL_DM=y CONFIG_SPL_DM_SEQ_ALIAS=y +CONFIG_SPL_DM_MMC=y +CONFIG_SPL_MMC_SUPPORT=y +CONFIG_SPL_EXT_SUPPORT=y CONFIG_SPL_FS_FAT=y +CONFIG_SPL_DRIVERS_MISC_SUPPORT=y +CONFIG_FS_LOADER=y CONFIG_FPGA_SOCFPGA=y +CONFIG_SPL_FIT=y +CONFIG_FIT=y CONFIG_DM_GPIO=y CONFIG_DWAPB_GPIO=y CONFIG_DM_MMC=y