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.

[参考译文] PROCESSOR-SDK-AM335X:<SDK >/bin/create-sdcard.sh 为什么 SD 卡分割3个分区?

Guru**** 2543280 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/852900/processor-sdk-am335x-sdk-bin-create-sdcard-sh-why-sd-card-divided-3-partitions

器件型号:PROCESSOR-SDK-AM335X

我知道引导映像需要2个分区。

一个用于引导加载程序(u-boot)、它必须格式化 FAT 文件系统。

其他用于 Linux 内核和 rootfilesystem。 它必须是格式化的 EXT 文件系统。

但在 bin/create-sdcard.sh 脚本的第184行中,似乎有3个分区。

引导/rootfs/start_here。

mount -t vfat ${drive}${P}1 boot
mount -t ext3 ${drive}${P}2 rootfs
mount -t ext3 ${drive}${P}3 start_here

#在分区未
重新创建时删除任何现有内容# sudo
sudo rm -rf boot/*
rootrm -rf rootfs/*
rm -rf start_here/此处*

什么是第三个分区(start_here) ?

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

    您好、Sanghyun、

    电路板制造商使用第3个分区(START_HERE)将 SD 卡放入 EVM 的包装盒中。 这需要访问用于开箱即用 SD 卡的分区 tarball。 通常在此分区中放置的文件包括快速入门指南(PDF)、CCS bin 和 PSDK bin 等安装程序

    有关详细信息、请参阅以下用户指南:

    http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Overview_Getting_Started_Guide.html#linux-sd-card-creation-guide

    http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Foundational_Components_Tools.html#code-composer-studio

    此致、
    帕维尔