[meta-xilinx] [PATCH] board-common.cfg: Disable 4K sectors on QSPI NOR flash

Nathan Rossi nathan at nathanrossi.com
Sun Jul 31 06:10:49 PDT 2016


On Thu, Jul 28, 2016 at 4:06 PM, Mike Looijmans <mike.looijmans at topic.nl> wrote:
> The 4K sector support makes erasing much slower and prevents using
> wear-levelling filesystems like UBI, which needs erase sectors to be
> at least 16k in size. Until this situation has been properly resolved
> in the kernel, disable the setting.
> For a discussion on the topic, and the reason the config exists, see:
> https://patchwork.ozlabs.org/patch/380565/

Applied.

Thanks,
Nathan

>
> Signed-off-by: Mike Looijmans <mike.looijmans at topic.nl>
> ---
>  recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.cfg | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.cfg b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.cfg
> index a51da80..53ba3e3 100644
> --- a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.cfg
> +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.cfg
> @@ -20,6 +20,7 @@ CONFIG_EEPROM_AT25=y
>  # MTD
>  CONFIG_MTD=y
>  CONFIG_MTD_SPI_NOR=y
> +# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set
>  CONFIG_MTD_M25P80=y
>  CONFIG_MTD_CFI=y
>  CONFIG_MTD_CFI_AMDSTD=y
> --
> 1.9.1
>
> --
> _______________________________________________
> meta-xilinx mailing list
> meta-xilinx at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx



More information about the meta-xilinx mailing list