public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Ubifs
@ 2008-12-10 13:50 Жека
  0 siblings, 0 replies; 6+ messages in thread
From: Жека @ 2008-12-10 13:50 UTC (permalink / raw)
  To: linux-mtd

thank you for a prompt, a problem is decided!!!

# mknod /dev/ubi0 c 253 0
# ubiattach /dev/ubi_ctrl -m 0
UBI device number 0, total 2048 LEBs (31457280 bytes, 30.0 MiB), available
2024
LEBs (31088640 bytes, 29.6 MiB), LEB size 15360 bytes (15.0 KiB)
# ubimkvol /dev/ubi0 -N test -s 29MiB
nand_wp: C0 ST 80
nand_wp: C0 ST 80
nand_wp: C0 ST 80
nand_wp: C0 ST 80
nand_wp: C0 ST 80
nand_wp: C0 ST 80
nand_wp: C0 ST 80
nand_wp: C0 ST 80
Volume ID 0, size 1980 LEBs (30412800 bytes, 29.0 MiB), LEB size 15360 bytes
(15.0 KiB), dynamic, name "test", alignment 1

best regards, Evgeny

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Ubifs
@ 2008-12-10 11:44 Жека
  2008-12-10 11:55 ` Ubifs Artem Bityutskiy
  2008-12-10 12:51 ` Ubifs Artem Bityutskiy
  0 siblings, 2 replies; 6+ messages in thread
From: Жека @ 2008-12-10 11:44 UTC (permalink / raw)
  To: linux-mtd

Hi Artem!!! 
On my system after create UBI device /dev/ubi0_0 it was not created...
I did check... here is a result

# cat /sys/class/ubi/ubi0/dev
253:0
# ls -l /dev/ubi0
brw-rw----    1 root     root     253,   0 Jan  1 00:11 /dev/ubi0 


best regards, Evgeny

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Ubifs
@ 2008-12-10  9:02 Жека
  2008-12-10 11:04 ` Ubifs Artem Bityutskiy
  0 siblings, 1 reply; 6+ messages in thread
From: Жека @ 2008-12-10  9:02 UTC (permalink / raw)
  To: linux-mtd


Hi all,
I wanna have a try ubifs on nand, and do as written on
http://www.linux-mtd.infradead.org/faq/ubifs.html
1. compile, install and boot the kernel (2.6.26-rc3)
the configuration option for ubi and nand is default on as module.
2. make the mtd-utils.
3. create a ubi when I got the error

# ubiattach /dev/ubi_ctrl -m 0
UBI device number 0, total 2048 LEBs (31457280 bytes, 30.0 MiB), available
2024
LEBs (31088640 bytes, 29.6 MiB), LEB size 15360 bytes (15.0 KiB)
# ubinfo
UBI version:                    1
Count of UBI devices:           1
UBI control device major/minor: 10:63
Present UBI devices:            ubi0
# ubimkvol /dev/ubi0 -N test -s 30MiB
ubimkvol: error!: "/dev/ubi0" is not an UBI device node

I did miss any step installation mtd-tools or create UBI device...

Thanks!!!

 best regards, Evgeny

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

end of thread, other threads:[~2008-12-10 13:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-10 13:50 Ubifs Жека
  -- strict thread matches above, loose matches on Subject: below --
2008-12-10 11:44 Ubifs Жека
2008-12-10 11:55 ` Ubifs Artem Bityutskiy
2008-12-10 12:51 ` Ubifs Artem Bityutskiy
2008-12-10  9:02 Ubifs Жека
2008-12-10 11:04 ` Ubifs Artem Bityutskiy

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