Cannot mount ubifs partition
Michael Niarchos
michael.niarchos at gmail.com
Wed May 13 02:27:15 PDT 2015
On 05/13/2015 12:10 PM, Richard Weinberger wrote:
> Am 13.05.2015 um 11:06 schrieb Michael Niarchos:
>>
>>
>> On 05/13/2015 11:59 AM, Richard Weinberger wrote:
>>> Am 13.05.2015 um 10:56 schrieb Michael Niarchos:
>>>> Volume ID: 0 (on ubi0)
>>>> Type: dynamic
>>>> Alignment: 1
>>>> Size: 3964 LEBs (503332864 bytes, 480.0 MiB)
>>>> State: OK
>>>> Name: ubi-rootfs
>>>> Character device major/minor: 246:1
>>>
>>> Is the device node present?
>>>
>>> Thanks,
>>> //richard
>>>
>> Yes, it is present
>>
>> root at zx3-pm3-zynq7:~# find /dev -name "ubi*"
>> /dev/ubi0_0
>> /dev/ubi0
>> /dev/ubi_ctrl
>
> Can you use them using ubiupdatevol, etc...?
>
> Something is fishy here or we're all missing something obvious. :)
>
> Thanks,
> //richard
>
root at zx3-pm3-zynq7:/var/volatile/tmp# ubiupdatevol /dev/ubi0_0
/tmp/zx3-image.ubifs
[ 272.730913] mmc0: Card removed during transfer!
[ 272.735368] mmc0: Resetting controller.
This messages are been printed many times, but no error for
ubi updatevol is returned or something.
I 've been thinking the same thing :)
I don't know if this is going to help but when I first tried to load
root filesystem from NAND, kernel printed that the rootfs variable was
not set right and that the available options are:
mtdblock0
mtdblock1
mtdblock2
I get this when I run
root at zx3-pm3-zynq7:/var/volatile/tmp# cat /proc/partitions
major minor #blocks name
31 0 5120 mtdblock0
31 1 1024 mtdblock1
31 2 518144 mtdblock2
Also,
root at zx3-pm3-zynq7:/var/volatile/tmp# cat /proc/mtd
dev: size erasesize name
mtd0: 00500000 00020000 "nand-linux"
mtd1: 00100000 00020000 "nand-device-tree"
mtd2: 1fa00000 00020000 "nand-rootfs"
I don't know what's going on :)
More information about the linux-mtd
mailing list