[U-Boot] [PATCH] config: Enable part command for socfpga platform
Marek Vasut
marex at denx.de
Mon Dec 18 11:39:57 UTC 2017
On 12/18/2017 12:10 PM, Andrey Zhizhikin wrote:
> Enable CONFIG_CMD_PART item, as default environment requires it
> and complains this command in unknown.
Fine by me, but what about the other boards, don't they need this as well ?
> Signed-off-by: Andrey Zhizhikin <andrey.z at gmail.com>
btw diffstat is missing and the tags are wrong (should be ARM:
socfpga:). I can fix those up, but see my question above...
> diff --git a/configs/socfpga_arria5_defconfig b/configs/socfpga_arria5_defconfig
> index 8ed6169..2685881 100644
> --- a/configs/socfpga_arria5_defconfig
> +++ b/configs/socfpga_arria5_defconfig
> @@ -35,6 +35,7 @@ CONFIG_CMD_EXT4=y
> CONFIG_CMD_EXT4_WRITE=y
> CONFIG_CMD_FAT=y
> CONFIG_CMD_FS_GENERIC=y
> +CONFIG_CMD_PART=y
> CONFIG_MTDIDS_DEFAULT="nor0=ff705000.spi.0"
> CONFIG_MTDPARTS_DEFAULT="mtdparts=ff705000.spi.0:1m(u-boot),256k(env1),256k(env2),14848k(boot),16m(rootfs),- at 1536k(UBI)0"
> CONFIG_CMD_UBI=y
> diff --git a/configs/socfpga_cyclone5_defconfig b/configs/socfpga_cyclone5_defconfig
> index 54c3495..f49d0ab 100644
> --- a/configs/socfpga_cyclone5_defconfig
> +++ b/configs/socfpga_cyclone5_defconfig
> @@ -35,6 +35,7 @@ CONFIG_CMD_EXT4=y
> CONFIG_CMD_EXT4_WRITE=y
> CONFIG_CMD_FAT=y
> CONFIG_CMD_FS_GENERIC=y
> +CONFIG_CMD_PART=y
> CONFIG_MTDIDS_DEFAULT="nor0=ff705000.spi.0"
> CONFIG_MTDPARTS_DEFAULT="mtdparts=ff705000.spi.0:1m(u-boot),256k(env1),256k(env2),14848k(boot),16m(rootfs),- at 1536k(UBI)0"
> CONFIG_CMD_UBI=y
> diff --git a/configs/socfpga_sockit_defconfig b/configs/socfpga_sockit_defconfig
> index 079d465..857f2f7 100644
> --- a/configs/socfpga_sockit_defconfig
> +++ b/configs/socfpga_sockit_defconfig
> @@ -35,6 +35,7 @@ CONFIG_CMD_EXT4=y
> CONFIG_CMD_EXT4_WRITE=y
> CONFIG_CMD_FAT=y
> CONFIG_CMD_FS_GENERIC=y
> +CONFIG_CMD_PART=y
> CONFIG_MTDIDS_DEFAULT="nor0=ff705000.spi.0"
> CONFIG_MTDPARTS_DEFAULT="mtdparts=ff705000.spi.0:1m(u-boot),256k(env1),256k(env2),14848k(boot),16m(rootfs),- at 1536k(UBI)0"
> CONFIG_CMD_UBI=y
> diff --git a/configs/socfpga_socrates_defconfig b/configs/socfpga_socrates_defconfig
> index 35773e6..71bd8f1 100644
> --- a/configs/socfpga_socrates_defconfig
> +++ b/configs/socfpga_socrates_defconfig
> @@ -36,6 +36,7 @@ CONFIG_CMD_EXT4=y
> CONFIG_CMD_EXT4_WRITE=y
> CONFIG_CMD_FAT=y
> CONFIG_CMD_FS_GENERIC=y
> +CONFIG_CMD_PART=y
> CONFIG_MTDIDS_DEFAULT="nor0=ff705000.spi.0"
> CONFIG_MTDPARTS_DEFAULT="mtdparts=ff705000.spi.0:1m(u-boot),256k(env1),256k(env2),14848k(boot),16m(rootfs),- at 1536k(UBI)0"
> CONFIG_CMD_UBI=y
>
--
Best regards,
Marek Vasut
More information about the U-Boot
mailing list