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.

[参考译文] AM3358:如何启用 UART0打印调试信息

Guru**** 2589265 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/638638/am3358-how-to-enable-uart0-print-debugging-information

器件型号:AM3358

大家好、TI 专家、

 

我们的客户向我们发送了有关设置 UART0打印调试信息的相关问题

以下是 E2E 主题中的 PROCESSOR-SDK-LINUX-AM335X 04_00_00_04的说明。

https://e2e.ti.com/support/arm/sitara_arm/f/791/t/602441?tisearch=e2e-sitesearch&keymatch=uboot%20debug%20print

 

他们尝试将"#define debug"添加到  /include/configs/ti_armv7_common.h.

并根据此 E2E 主题中的指南重新构建 u-boot。

 

但在构建过程中、他们发现了如下错误;

 

 LD     spl/u-boot-spl

/home/soft/ti-processor-sdk-linux-am335x-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-ld.bfd:u-boot-spl `.rodata'将不适用于`.sRAM'区域

/home/soft/ti-processor-sdk-linux-am335x-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-ld.bfd:区域 μ` SRAM'溢出2520个字节

./scripts/Makefile.spl:290:目标'sl/u-boot-spl'的配方失败

maked[2]:***[spl/u-boot-spl]错误1.

/home/soft/ti-processor-sdk-linux-am335x-evm-04.00.00.04/board-support/u-boot-2017.01 +gitAUTOINC+9fd60700db-g9fd60700db/Makefile:1346:目标'sl/u-boot-spl'的配方失败

maked[1]:***[spl/u-boot-spl]错误2.

make[1]:离开目录'/home/soft/ti-processor-sdk-linux-am335x-evm-04.00.00.04/board-support/u-boot-2017.01 +gitAUTOINC+9fd60700db-g9fd60700db/AM335x_evm'

Makefile:150:目标'subB-make'的配方失败

制造:***[sub-make]错误2.

 

问题:

是否有相同的体验?

  (是否缺少任何内容?)

 

如果您告诉我们如何解决此问题、我们将不胜感激。

 

此致、

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

    Matusan、您好、

    请参阅 帖子。

    此致、
    Kemal

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

    您好!

     

    非常感谢您的善意。

    此信息非常有用!

    我会将答案发送给客户。

     

    此致、