[meta-xilinx] u-boot/UBIFS

Edward Wingate edwingate8 at gmail.com
Fri Sep 18 17:39:36 PDT 2015


I'm trying to get UBIFS working on a custom Zynq 7020 board.
I have the following issues:

1) I'm trying to build a u-boot.elf that has UBI support.
I believe I need to re-compile u-boot with these config items:
#define CONFIG_CMD_UBI
#define CONFIG_CMD_UBIFS
#define CONFIG_RBTREE
#define CONFIG_MTD_DEVICE
#define CONFIG_MTD_PARTITIONS
#define CONFIG_CMD_MTDPARTS
#define CONFIG_LZO

Do I need a u-boot-xlnx_2015.04.bbappend file to specify these?  What
would I put in it?

2) If I created a flash partition to store the u-boot environment, how
do I go about creating an image that contains that environment? And
how do I tell u-boot that this flash partition contains the
environment for it (e.g., set another config item and re-compile
u-boot)?

3) Can I use the Yocto-generated ubifs rootfs image on an SD card as
well as on flash?  What u-boot configuration do I use to do this?  For
example, for a ramdisk image, I'd put
"ramdisk_image=rootfs.cpio.gz.u-boot" in uEnv.txt.  What would I need
to use the ubifs image in place on the SD card?

Thanks for your help.



More information about the meta-xilinx mailing list