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/AM3358:AM335x GP EVM NAND 附加问题

Guru**** 2546480 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/603854/linux-am3358-am335x-gp-evm-nand-ubiattach-issue

器件型号:AM3358

工具/软件:Linux

您好!

我们使用 AM335x GP EVM 和 Processor SDK 2.00.02.11。 我们在 NAND 闪存上创建了一个名为 USER-DATA 的新分区(在 U-Boot 中修改 am335x_evm.h 并修改 AM335x-EVM.dts)。 U-Boot 中 mtdparts 的输出如下:

我们在 U-Boot 中使用 nand erase/write 命令将 MLO、u-boot、设备树、内核、文件系统和用户数据分区作为附加文件写入。 my-rootfs.ubi 和 my-userdata.ubi 文件是使用 Processor SDK bin 目录中的 create-ubifs.sh 创建的。

我们可以引导到 Linux 中、一切都正常、直到我们尝试普及用户数据分区。 错误消息:

 

如果我们执行 ubiformat、然后执行 ubiattach、则仍然存在问题:

 

我们已经阅读 了 TI wiki 、但没有结果。 已附加完整日志。

有什么建议吗? 谢谢你。

e2e.ti.com/.../5658.cmd.txt

e2e.ti.com/.../3582.error.log