[PATCH] ARM: imx: Enable btrfs support on DHSOM

Peng Fan peng.fan at oss.nxp.com
Tue Oct 18 02:52:34 CEST 2022



On 9/28/2022 11:40 PM, Marek Vasut wrote:
> The btrfs filesystem provides advanced functionality like copy-on-write
> and snapshots, as well as metadata and data duplication and checksumming.
> Enable btrfs in U-Boot to permit even the primary partition to be btrfs
> and let system boot from it.
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> ---
> Cc: Fabio Estevam <festevam at denx.de>
> Cc: Peng Fan <peng.fan at nxp.com>
> Cc: Stefano Babic <sbabic at denx.de>
> ---
>   configs/dh_imx6_defconfig           | 1 +
>   configs/imx8mp_dhcom_pdk2_defconfig | 1 +
>   2 files changed, 2 insertions(+)
> 
> diff --git a/configs/dh_imx6_defconfig b/configs/dh_imx6_defconfig
> index 4b6776ea9c8..025cbaf0e49 100644
> --- a/configs/dh_imx6_defconfig
> +++ b/configs/dh_imx6_defconfig
> @@ -54,6 +54,7 @@ CONFIG_CMD_WDT=y
>   CONFIG_CMD_BOOTCOUNT=y
>   CONFIG_CMD_CACHE=y
>   CONFIG_CMD_TIME=y
> +CONFIG_CMD_BTRFS=y
>   CONFIG_CMD_EXT4_WRITE=y
>   CONFIG_OF_CONTROL=y
>   CONFIG_OF_LIST="imx6q-dhcom-pdk2 imx6dl-dhcom-pdk2 imx6s-dhcom-drc02 imx6dl-dhcom-picoitx"
> diff --git a/configs/imx8mp_dhcom_pdk2_defconfig b/configs/imx8mp_dhcom_pdk2_defconfig
> index e78b9a1569e..68e4653d8e7 100644
> --- a/configs/imx8mp_dhcom_pdk2_defconfig
> +++ b/configs/imx8mp_dhcom_pdk2_defconfig
> @@ -117,6 +117,7 @@ CONFIG_CMD_SYSBOOT=y
>   CONFIG_CMD_UUID=y
>   CONFIG_CMD_PMIC=y
>   CONFIG_CMD_REGULATOR=y
> +CONFIG_CMD_BTRFS=y
>   CONFIG_CMD_HASH=y
>   CONFIG_CMD_SMC=y
>   CONFIG_HASH_VERIFY=y

Reviewed-by: Peng Fan <peng.fan at nxp.com>


More information about the U-Boot mailing list