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/TMDSLCDK138:将 u-boot 和内核映像(zImage)刷写到 NAND 闪存中

Guru**** 2617035 points

Other Parts Discussed in Thread: TMDSLCDK138

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/661021/linux-tmdslcdk138-flashing-u-boot-and-kernal-image-zimage-into-nand-flash

器件型号:TMDSLCDK138
Thread 中讨论的其他器件: OMAPL138

工具/软件:Linux

你(们)好

我想将 u-boot 和 Linux 内核镜像(zImage)刷写到 TMDSLCDK138的 NAND 闪存中。 (主机 PC:Ubuntu 16.04)

是否提供任何文档、分步过程或教程?

我能够将 u-boot 和 zImage 闪存到 SD 卡并启动 TMDSLCDK138板。

我从下载"ti-processor-sdk-linux-omapl138-lcdk-04.02.00.09-linux-x86-64安装.bin"  

      "

此致

Allwyn

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

    默认 U-Boot 附带 SPI 闪存支持。 要启用对其他闪存类型(NAND、NOR)的支持、您需要重新构建 U-Boot。 获得新的 U-Boot 映像后、请刷写新的 U-Boot 映像。 下面是 OMAP-L13x 的过程:
    processors.wiki.ti.com/.../AM1x
    processors.wiki.ti.com/.../Flashing_OMAP-L137_Bootloaders
    下面是 NAND 闪存的过程:
    processors.wiki.ti.com/.../Booting_Linux_kernel_using_U-Boot

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

    是否可以将 u-boot 从 RAM 中的 u-boot 传输到 NAND 闪存?
    TMDSLCDK138是否支持所有文件系统(ramdisk、jffs2和 UBIFS)?
    如何创建 UBIFS 文件系统? 我从下载"ti-processor-sdk-linux-omapl138-lcdk-04.02.00.09-linux-x86-64安装.bin"
    software-dl.ti.com/.../index_FDS.html。

    是否在执行"make"命令时创建 UBIFS 文件?

    我无法在-/ti-processor-sdk-linux-omapl138-lcdk-04.01.00.06/bin 中搜索 sudo ./create-ubifs.sh,出现以下错误

    xxx@XXX:~/Documents/LINUX/ti-processor-sdk-linux-omapl138-lcdk-04.01.00.06/bin sudo ./create-ubifs.sh
    XXX 的[sudo]密码:

    参数:
    image_rootfs_dir。 "/home/XXX/Documents/LINUX/ti-processor-sdk-linux-omapl138-lcdk-04.01.00.06/targetNFS "
    image_name_prefix .... "/home/XXX/Documents/LINUX/ti-processor-sdk-linux-omapl138-lcdk-04.01.00.06/filesystem/custom-omapl138-lcdk-rootfs "
    VOL_NAME....... "omapl138-lcdk-rootfs"

    错误:最小值 未指定 I/O 单元(使用-h 获取帮助)

    错误:mkfs.ubifs 失败!

    4.是否有任何适用于 TMDSLCDK138引导、NAND 闪存、SD 卡准备和全部的正确文档 PDF?

    此致
    Allwyn