From: Michael Niarchos <michael.niarchos@gmail.com>
To: Richard Weinberger <richard@nod.at>
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: Cannot mount ubifs partition
Date: Wed, 13 May 2015 12:27:15 +0300 [thread overview]
Message-ID: <555318F3.6000507@gmail.com> (raw)
In-Reply-To: <5553151B.3040504@nod.at>
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@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@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@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@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 :)
next prev parent reply other threads:[~2015-05-13 9:27 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <5552EE30.8060203@gmail.com>
2015-05-13 6:25 ` Cannot mount ubifs partition Michael Niarchos
2015-05-13 6:49 ` Richard Weinberger
2015-05-13 8:48 ` Michael Niarchos
2015-05-13 8:50 ` Richard Weinberger
2015-05-13 8:56 ` Michael Niarchos
2015-05-13 8:59 ` Richard Weinberger
2015-05-13 9:06 ` Michael Niarchos
2015-05-13 9:10 ` Richard Weinberger
2015-05-13 9:27 ` Michael Niarchos [this message]
2015-05-13 9:20 ` Richard Weinberger
2015-05-13 9:43 ` Michael Niarchos
2015-05-13 10:16 ` Richard Weinberger
[not found] ` <5553286E.2090303@gmail.com>
[not found] ` <55532AA2.5020808@nod.at>
2015-05-13 10:58 ` Michael Niarchos
2015-05-13 10:59 ` Richard Weinberger
2015-05-13 11:19 ` Michael Niarchos
2015-05-14 3:45 ` Sheng Yong
2015-05-14 7:58 ` Richard Weinberger
2015-05-14 8:24 ` Sheng Yong
2015-05-14 8:42 ` Richard Weinberger
[not found] <mailman.43705.1431478462.22890.linux-mtd@lists.infradead.org>
2015-05-13 1:57 ` Bean Huo 霍斌斌 (beanhuo)
2015-05-13 6:29 ` Michael Niarchos
2015-05-12 19:38 Michael N
2015-05-13 3:05 ` Brian Norris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=555318F3.6000507@gmail.com \
--to=michael.niarchos@gmail.com \
--cc=linux-mtd@lists.infradead.org \
--cc=richard@nod.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.