defconfigs: engicam: Enable UBI commands
authorJagan Teki <jagan@amarulasolutions.com>
Wed, 21 Dec 2016 11:00:24 +0000 (12:00 +0100)
committerStefano Babic <sbabic@denx.de>
Mon, 2 Jan 2017 16:30:51 +0000 (17:30 +0100)
commit8a9c775afff9e6dcf46aa75051d277c5efc578df
treefd9a52ca0c170c1ec9d8c870c11aa68de0d9dc97
parent3a22808f76502b0f953fb749a34b1b7d9bc3e4da
defconfigs: engicam: Enable UBI commands

Create ubifs.img:
$ mkfs.ubifs -q -r /rootfs -m 4096 -e 253952 -c 7936 -o ubifs.img

Write ubifs.img:
---------------
icorem6qdl> nand erase.part rootfs
icorem6qdl> ubi part rootfs
icorem6qdl> ubi create rootfs

icorem6qdl> ext4load mmc 0:2 ${loadaddr} ubifs.img
166592512 bytes read in 8091 ms (19.6 MiB/s)
icorem6qdl> ubi write ${loadaddr} rootfs ${filesize}
166592512 bytes written to volume rootfs
icorem6qdl> ubifsmount ubi0:rootfs

Cc: Stefano Babic <sbabic@denx.de>
Cc: Matteo Lisi <matteo.lisi@engicam.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
configs/imx6dl_icore_nand_defconfig
configs/imx6q_icore_nand_defconfig
configs/imx6ul_geam_nand_defconfig
include/configs/imx6qdl_icore.h
include/configs/imx6ul_geam.h