public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* ubiformat error
@ 2009-05-29  2:08 Manoj
  2009-05-29 16:04 ` Artem Bityutskiy
  2009-06-02 12:21 ` Artem Bityutskiy
  0 siblings, 2 replies; 5+ messages in thread
From: Manoj @ 2009-05-29  2:08 UTC (permalink / raw)
  To: linux-mtd

I am trying to flash an UBI image to NAND flash. But I get an error
about "No such file or directory".

# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 01000000 00020000 "NAND-block1"
mtd1: 01e00000 00020000 "jffs2"
mtd2: 0d200000 00020000 "NAND-block2"
# ubiformat /dev/mtd1
ubiformat: error!: cannot get information about "/dev/mtd1"
           error 2 (No such file or directory)
# ls -l /dev/mtd1
crw-rw-r--    1 root     root      90,   2 Dec 31 16:00 /dev/mtd1

I am able to do ubiattach with mtd1, create an empty volume and mount
the volume as ubifs.

Thanks.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ubiformat error
  2009-05-29  2:08 ubiformat error Manoj
@ 2009-05-29 16:04 ` Artem Bityutskiy
  2009-05-31  8:02   ` Manoj
  2009-06-02 12:21 ` Artem Bityutskiy
  1 sibling, 1 reply; 5+ messages in thread
From: Artem Bityutskiy @ 2009-05-29 16:04 UTC (permalink / raw)
  To: Manoj; +Cc: linux-mtd

On Thu, 2009-05-28 at 19:08 -0700, Manoj wrote:
> I am trying to flash an UBI image to NAND flash. But I get an error
> about "No such file or directory".
> 
> # cat /proc/mtd
> dev:    size   erasesize  name
> mtd0: 01000000 00020000 "NAND-block1"
> mtd1: 01e00000 00020000 "jffs2"
> mtd2: 0d200000 00020000 "NAND-block2"
> # ubiformat /dev/mtd1
> ubiformat: error!: cannot get information about "/dev/mtd1"
>            error 2 (No such file or directory)
> # ls -l /dev/mtd1
> crw-rw-r--    1 root     root      90,   2 Dec 31 16:00 /dev/mtd1
> 
> I am able to do ubiattach with mtd1, create an empty volume and mount
> the volume as ubifs.

Yeah, I'll look at this. For now just try to go several
git commits down. I think this was working and I recently
broke it.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ubiformat error
  2009-05-29 16:04 ` Artem Bityutskiy
@ 2009-05-31  8:02   ` Manoj
  0 siblings, 0 replies; 5+ messages in thread
From: Manoj @ 2009-05-31  8:02 UTC (permalink / raw)
  To: dedekind; +Cc: linux-mtd

Hi Artem,

I picked up a snapshot up to this commit -
http://git.infradead.org/mtd-utils.git?a=commit;h=e7454c3c3928ee7af7e76c0521f477881c9bf60f

and it worked for me.

Thanks.

On Fri, May 29, 2009 at 9:04 AM, Artem Bityutskiy
<dedekind@infradead.org> wrote:
> On Thu, 2009-05-28 at 19:08 -0700, Manoj wrote:
>> I am trying to flash an UBI image to NAND flash. But I get an error
>> about "No such file or directory".
>>
>> # cat /proc/mtd
>> dev:    size   erasesize  name
>> mtd0: 01000000 00020000 "NAND-block1"
>> mtd1: 01e00000 00020000 "jffs2"
>> mtd2: 0d200000 00020000 "NAND-block2"
>> # ubiformat /dev/mtd1
>> ubiformat: error!: cannot get information about "/dev/mtd1"
>>            error 2 (No such file or directory)
>> # ls -l /dev/mtd1
>> crw-rw-r--    1 root     root      90,   2 Dec 31 16:00 /dev/mtd1
>>
>> I am able to do ubiattach with mtd1, create an empty volume and mount
>> the volume as ubifs.
>
> Yeah, I'll look at this. For now just try to go several
> git commits down. I think this was working and I recently
> broke it.
>
> --
> Best regards,
> Artem Bityutskiy (Битюцкий Артём)
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ubiformat error
  2009-05-29  2:08 ubiformat error Manoj
  2009-05-29 16:04 ` Artem Bityutskiy
@ 2009-06-02 12:21 ` Artem Bityutskiy
  2009-06-03 16:53   ` Manoj
  1 sibling, 1 reply; 5+ messages in thread
From: Artem Bityutskiy @ 2009-06-02 12:21 UTC (permalink / raw)
  To: Manoj; +Cc: linux-mtd

On Thu, 2009-05-28 at 19:08 -0700, Manoj wrote:
> I am trying to flash an UBI image to NAND flash. But I get an error
> about "No such file or directory".
> 
> # cat /proc/mtd
> dev:    size   erasesize  name
> mtd0: 01000000 00020000 "NAND-block1"
> mtd1: 01e00000 00020000 "jffs2"
> mtd2: 0d200000 00020000 "NAND-block2"
> # ubiformat /dev/mtd1
> ubiformat: error!: cannot get information about "/dev/mtd1"
>            error 2 (No such file or directory)
> # ls -l /dev/mtd1
> crw-rw-r--    1 root     root      90,   2 Dec 31 16:00 /dev/mtd1
> 
> I am able to do ubiattach with mtd1, create an empty volume and mount
> the volume as ubifs.

Hi, I've just push a fix for this to mtd-utils git. Please,
verify it. Thanks.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ubiformat error
  2009-06-02 12:21 ` Artem Bityutskiy
@ 2009-06-03 16:53   ` Manoj
  0 siblings, 0 replies; 5+ messages in thread
From: Manoj @ 2009-06-03 16:53 UTC (permalink / raw)
  To: dedekind; +Cc: linux-mtd

Yes, it seems to work fine now.

On Tue, Jun 2, 2009 at 5:21 AM, Artem Bityutskiy <dedekind@infradead.org> wrote:
> On Thu, 2009-05-28 at 19:08 -0700, Manoj wrote:
>> I am trying to flash an UBI image to NAND flash. But I get an error
>> about "No such file or directory".
>>
>> # cat /proc/mtd
>> dev:    size   erasesize  name
>> mtd0: 01000000 00020000 "NAND-block1"
>> mtd1: 01e00000 00020000 "jffs2"
>> mtd2: 0d200000 00020000 "NAND-block2"
>> # ubiformat /dev/mtd1
>> ubiformat: error!: cannot get information about "/dev/mtd1"
>>            error 2 (No such file or directory)
>> # ls -l /dev/mtd1
>> crw-rw-r--    1 root     root      90,   2 Dec 31 16:00 /dev/mtd1
>>
>> I am able to do ubiattach with mtd1, create an empty volume and mount
>> the volume as ubifs.
>
> Hi, I've just push a fix for this to mtd-utils git. Please,
> verify it. Thanks.
>
> --
> Best regards,
> Artem Bityutskiy (Битюцкий Артём)
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-06-03 16:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-29  2:08 ubiformat error Manoj
2009-05-29 16:04 ` Artem Bityutskiy
2009-05-31  8:02   ` Manoj
2009-06-02 12:21 ` Artem Bityutskiy
2009-06-03 16:53   ` Manoj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox