Re: mtd utilities work but ubi utilities do not?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,


there are unfortunately some historical obscurities hidden in the tooling and some things might
not be too obvious at first.

You don't need to use ubiformat, unless you want to flash an existing UBI image (generated
by ubinize). The ubiformat also tool won't generate a warning or an error if you don't specify
an image file and simply march on.


The work flow for what you want to do would look something like this:

# flash_erase /dev/mtd7 0 0
# ubiattach -p /dev/mtd7
# ubimkvol /dev/ubi0 -s 100MiB -N rootfs_data
# ubimkvol /dev/ubi0 -s 40MiB -N config_data
# ....


Sincerely, 

David


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux