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.

[参考译文] TMDS64EVM:无法导入设备树文件

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1510581/tmds64evm-can-not-import-device-tree-file

器件型号:TMDS64EVM

工具/软件:

您好:

我将 BuildRoot 用于一切、我的 rootfs 极小、 使用 Busybox init、使用原始的 TI 内核6.12.17并进行 RT 配置。

使用以下内核配置:打开对 I2C 显示(Solomon、ssd1306) 和 overlayfs 的支持、器件树工作正常。

将 initramfs 添加到内核配置时、设备树不工作、引导序列将切换到 EFI-GRUB。

如何修复它?

注意:我不能使用 Yocto、因为它的学习曲线非常糟糕、而 TI-Yocto 有很多东西、即使使用最小的配置、我也不需要。

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

    您好、Mustafa、

    我正在将您的问题发送给我们的一位团队成员进行评论。 如果您在几个工作日内未收到回复、请随时 ping 通该主题。

    此致、

    Nick

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    [引述 userid="642574" url="~/support/processors-group/processors/f/processors-forum/1510581/tmds64evm-can-not-import-device-tree-file

    将 initramfs 添加到内核配置时、设备树不工作、引导序列将切换到 EFI-GRUB。

    如何修复它?

    [/报价]

    我们有一个非常详尽的 E2E 常见问题解答、其中讨论并展示了几种经过验证的从 initramfs 引导方法、您能详细了解一下: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1176944/faq-linux-how-to-boot-sitara-am3x-am4x-am6x-devices-from-initramfs-cpio-archive-ram-disk

    此致、Andreas

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

    您好:

    我发现我的 kernel+initramfs 与 fdt 映像重叠。  

    Working FDT set to 88000000
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
    ERROR: FDT image overlaps OS image (OS=82000000..91510000)

    通过 u-boot 控制台将 FDT_addr 更改为0x92000000后、它正常工作。

    然后我看到我的 kernel+initramfs 编译错误、initramfs 具有真正的 rootfs、而不是最小的 rootfs。 已通过全新重建进行更改、现在正常工作。  

    额外信息: https://software-dl.ti.com/processor-sdk-linux/esd/AM64X/latest/exports/docs/devices/AM64X/linux/Release_Specific_Release_Notes.html#kernel

    使用 Git 中的 kernel-config 命令时 SDCard 读取有问题。 U-boot 从 SDCard 启动并打开内核、但内核无法检测到 SDCard。

    相反、使用 SDK 的 kernel-config (ti-processor-sdk-linux-am64xx-evm-11.00.09.04)工作正常。