Tool/software: Linux
My sdk is 'PROCESSOR-SDK-LINUX-OMAPL138 04_00_00_04'.
I want to use 'ubifs filesystem'.
I made ubi-image and ubiformat.
But, when ubiattach, get massage "ubiattach: error!: UBI is not present in the system"
----------------blow1 ---------------------------------------
root@omapl138-lcdk:~# flash_eraseall /dev/mtd3
flash_eraseall has been replaced by `flash_erase <mtddev> 0 0`; please use it
Erasing 128 Kibyte @ 1fec0000 -- 99 % complete flash_erase: Skipping bad block at 1fee0000
flash_erase: Skipping bad block at 1ff00000
flash_erase: Skipping bad block at 1ff20000
flash_erase: Skipping bad block at 1ff40000
Erasing 128 Kibyte @ 1ff40000 -- 100 % complete
root@omapl138-lcdk:~# ubiformat /dev/mtd3 -f system.ubi -s 2048 -O 2048
ubiformat: mtd3 (nand), size 536215552 bytes (511.4 MiB), 4091 eraseblocks of 131072 bytes (128.0 KiB), min. I/O size 2048 bytes
libscan: scanning eraseblock 4090 -- 100 % complete
ubiformat: 4087 eraseblocks are supposedly empty
ubiformat: 4 bad eraseblocks found, numbers: 4087, 4088, 4089, 4090
ubiformat: flashing eraseblock 1118 -- 100 % complete
ubiformat: formatting eraseblock 4090 -- 100 % complete
root@omapl138-lcdk:~# ubiattach /dev/ubi_ctrl -m 3 -O 2048
ubiattach: error!: UBI is not present in the system
---------------------------------------------------------
I checked related files like blow.
ubi_ctrl & /sys/class/misc/ubi is not.
----------------------blow2-------------------------------------
root@omapl138-lcdk:~# ls /dev/u*
/dev/udev_network_queue /dev/urandom
root@omapl138-lcdk:~# ls /sys/class/misc/
autofs cpu_dma_latency crypto memory_bandwidth network_latency network_throughput watchdog
-----------------------------------------------------------
Kernel option of ubifs is ok.
1) Device Drivers --->
Memory Technology Device (MTD) support --->
Enable UBI - Unsorted block images --->
2) File systems --->
Miscellaneous filesystems --->
UBIFS file system support
3) Device Drivers ->
Generic Driver Options ->
Maintain devtmpfs
How to add ubi_ctrl & sys/class/misc/ubi ?
Thanks.