From 0c4db621e265c780833af4152a99398aed482f61 Mon Sep 17 00:00:00 2001 From: Dario Binacchi Date: Sun, 26 Jun 2022 12:05:18 +0200 Subject: [PATCH] configs: imx8mn_bsh_smm_s2: add mtdparts to bootargs Passing the mtdparts environment variable to the Linux kernel is required to properly mount the UBI rootfs. Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- include/configs/imx8mn_bsh_smm_s2.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/imx8mn_bsh_smm_s2.h b/include/configs/imx8mn_bsh_smm_s2.h index 1eff8c4370..d09c2ab016 100644 --- a/include/configs/imx8mn_bsh_smm_s2.h +++ b/include/configs/imx8mn_bsh_smm_s2.h @@ -18,6 +18,7 @@ "mtdparts=" CONFIG_MTDPARTS_DEFAULT "\0" \ "nandargs=setenv bootargs " \ "${optargs} " \ + "mtdparts=${mtdparts} " \ "root=${nandroot} " \ "rootfstype=${nandrootfstype}\0" \ "nandroot=ubi0:root rw ubi.mtd=nandrootfs\0" \ -- 2.39.5