Make Filesystem img
- Install other necessary tools
$ sudo apt-get install mtd-utils
- Enter path:
$ cd <WORKDIR>/Filesystem/
- Extact the filesystem:
$ tar xvjf myd-am335x_rootfs.tar.bz2
- Make image file of 256M NandFlash :
$ ./mk-ubi-256mb myd-am335x_rootfs
Then will generation the img file “ubi.img“. This is the UBI image file of 256M NandFlash.
Make image file of 512M NandFlash
$ ./mk-ubi-512mb myd-am335x_rootfs
Then will generation the img file “ubi.img“. This is the UBI image file of 512M NandFlash.