Cannot mount ubifs partition

Michael Niarchos michael.niarchos at gmail.com
Tue May 12 23:29:15 PDT 2015


On 13-May-15 04:57, Bean Huo 霍斌斌 (beanhuo) wrote:
> 
>> I am using a Zynq7000 with NAND 512MB and
>> I am trying to deploy Linux on NAND memory.
>> I use a custom built kernel with minimal features
>> (UBI and UBIFS support are enabled and mtd-utils installed).
>> I can ubiformat an mtd partition, I can ubiattach and ubidetach it but whenever
>> I try to mount the partition I get this error.
> 
>             >mount: mounting /dev/ubi0:ubi-rootfs on /mnt/ubifs failed:
>> No such device
> 
>> (ubi-rootfs is the name of the partition, I am sure about it)
> 
>> I am sorry if I am asking about a problem that has been reported before, but I am new to this list
> 
>> Thanks in advance,
>> Michael
> 
> Hi, Michael
> 
> Do you have create a ubi volume ubi-rootfs on this mtd device ?
> 
> ubimkvol /dev/ubi0 -N ubi-rootfs -m
> 

I have created a ubi volume in u-boot with the following commands.

	ubi part nand-rootfs
	ubi create ubi-rootfs

"nand-rootfs is the name of the nand partition"



More information about the linux-mtd mailing list