From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 11 Dec 2015 15:26:39 +0100 Subject: [U-Boot] [PATCH] arm: socfpga: Enable ubi and ubifs support In-Reply-To: <1449825959.2199.2.camel@altera.com> References: <1449825590-2735-1-git-send-email-clsee@altera.com> <1449825959.2199.2.camel@altera.com> Message-ID: <201512111526.39929.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Friday, December 11, 2015 at 10:25:59 AM, Chin Liang See wrote: > Hi Marek, > > On Fri, 2015-12-11 at 17:19 +0800, Chin Liang See wrote: > > When QSPI and NAND is enabled, the ubi and ubifs support > > will be enabled too. > > > > Signed-off-by: Chin Liang See > > Cc: Dinh Nguyen > > Cc: Dinh Nguyen > > Cc: Pavel Machek > > Cc: Marek Vasut > > Cc: Stefan Roese > > --- > > > > include/configs/socfpga_common.h | 8 ++++++++ > > 1 file changed, 8 insertions(+) > > > > diff --git a/include/configs/socfpga_common.h > > b/include/configs/socfpga_common.h > > index b3f65b6..a07017b 100644 > > --- a/include/configs/socfpga_common.h > > +++ b/include/configs/socfpga_common.h > > @@ -274,6 +274,14 @@ unsigned int > > cm_get_qspi_controller_clk_hz(void); > > > > #define CONFIG_SYS_CONSOLE_ENV_OVERWRITE > > #define CONFIG_ENV_SIZE 4096 > > > > +/* UBIFS support */ > > +#if defined(CONFIG_CMD_SF) || defined(CONFIG_CMD_NAND) > > +#define CONFIG_CMD_UBI > > +#define CONFIG_CMD_UBIFS > > +#define CONFIG_RBTREE > > +#define CONFIG_LZO > > +#endif > > + > > I have issue on ubifsmount my ubinized image. I suspect it might > created wrongly. The code is ok based on previous patches and the one > you sent to me. Wonder you might able to validate with your working > ubinized image? Try applying this patch: [PATCH] arm: Replace test for CONFIG_ARMV7 with CONFIG_CPU_V7 And then erase the SPI flash, reinstall the ubi image and try again. Does it help ? Best regards, Marek Vasut