Builds for me w/o errors. meta-xilinx: deb6e31b0076632d4aa9377f121d9e47a5949d67 yocto 2.1: 4e889c04ba518dac492c193224a790a877f43f40 machine: zcu102-zynqmp OS - Kubuntu 16.04
xilinx_zynqmp_zcu102.h: > ... > #define CONFIG_MTD_PARTITIONS > #define CONFIG_CMD_MTDPARTS > #define CONFIG_MTD_DEVICE > #define CONFIG_CMD_JFFS2 > > #define CONFIG_MTD > #define CONFIG_SPI_FLASH_MTD > > #include <configs/xilinx_zynqmp.h> > > #undef CONFIG_CMD_FS_GENERIC > ... On 22 July 2016 at 11:05, Adam Oleksy <[email protected]> wrote: > Hi, > I work with ZynqMP ZCU102 evaluation board. I use U-Boot from tag > xilinx-v2016.1. Currently, linux image lies on the QSPI flash as a raw > file. uboot load this image using sf read command and boot it up. > I would like to use jffs2 (ubifs has some problems with flashes on > qspi in dual) to store linux image, but I encountered some problems. > First of all I've added following defines to > include/configs/xilinx_zynqmp.h: > #define CONFIG_MTD_PARTITIONS > #define CONFIG_CMD_MTDPARTS > #define CONFIG_MTD_DEVICE > #define CONFIG_CMD_JFFS2 > and removed > #define CONFIG_CMD_FS_GENERIC > I've also enabled > CONFIG_MTD > CONFIG_SPI_FLASH_MTD > But I've end up with following linking error: > u-boot-xlnx/fs/jffs2/jffs2_1pass.c:373: undefined reference to `flash_info' > I understand that driver which I use, does not declare such structure. > The question is: > How to enable jffs2 commands (like fsload), and allow using them with > SPI flashes? Maybe I forgot about something. > If there is no support for such configuration, what do you think about > adding it to uboot? Do you think it is easy (unfortunately I'm not > familiar with u-boot code). If yes, then I would add it by myself. > > -- > Pozdrawiam, > Adam Oleksy > -- > _______________________________________________ > meta-xilinx mailing list > [email protected] > https://lists.yoctoproject.org/listinfo/meta-xilinx > -- Best regards, Oleg Dzhimiev Electronics Engineer phone: +1 801 783 5555 x124 Elphel, Inc.
-- _______________________________________________ meta-xilinx mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-xilinx
