This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] Linux/processor-SDK-OMAPL138:缺少 ubI_ctrl? /OMAPL138-Linux

Guru**** 2540720 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/617672/linux-processor-sdk-omapl138-ubi_ctrl-missing-omapl138-linux

器件型号:PROCESSOR-SDK-OMAPL138

工具/软件:Linux

我的 SDK 是'PROCESSOR-SDK-LINUS-OMAPL138 04_00_00_04'。

我想使用'ubifs filesystem'。

我 制作了 ubi-image 和 ubiformat。

但是、当 ubibattach 时、请进行按摩" ubibattach:error!:ubi is not present in the system"(ubibattach:错误!:ubi 在系统中不存在)

-------- Blow1 --------------------------------------

root@omapl138-lcdk:~闪存_eraseall /dev/mtd3

FLASH_eraseall 已被`FLASH_ERASE 取代 0 0`;请使用它

擦除128 KB @ 1fec0000 --完成 FLASH_ERASE 的99%:在1fee0000跳过坏块

FLASH_ERASE:在1ff00000处跳过坏块

FLASH_ERASE:在1ff20000跳过坏块

FLASH_ERASE:在1ff40000跳过坏块

擦除128 KB @ 1ff40000 --完成100%

root@omapl138-lcdk:~# ubiformat /dev/mtd3 -f system.ubi -s 2048 -O 2048

ubiformat:mtd3 (nand)、大小为536215552字节(511.4 MIB)、4091个131072字节(128.0 KiB)的内存块、最小值 I/O 大小2048字节

libscan:扫描 eraseblock 4090 -- 100%完成

ubitformat:4087个 eraseblocks 应该是空的

ubiformat:找到4个错误的 eraseblocks、数字:4087、4088、4089、4090

ubiformat:刷写 eraseblock 1118 --完成100%

ubiformat:格式化 eraseblock 4090 -- 100%完成

root@omapl138-lcdk:~# ubiattach /dev/ubi_ctrl -m 3 -O 2048

ubibattach:错误!:ubi 在系统中不存在

--------------------------------------

我 检查了相关文件、如 Blow。

ubI_Ctrl &/sys/class/misc/ubi 不是。

------------ 二、二、三、二、三、三、三、三、三、三、三、三、三、三、三、一、三、三、三、三、三、三、三、三、三、三、三、三、一、三、三、三、三、三、三、

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 看门狗

----------------------------------------

ubifs 的内核选项可以。

1)设备驱动程序-->
    内存技术设备(MTD)支持 -->
        启用 UBI -未排序的块图像 -->

2)文件系统 -->
    其它文件系统 -->
         UBIFS 文件系统支持

3)设备驱动程序->  
     通用驱动程序选项->
       维护 devtmpfs

如何 添加 ubI_Ctrl & sys/class/misc/ubi?

谢谢。