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: How to enable UART0 print debugging information

Guru 10235 points
Part Number: AM3358


Hello, TI Experts,

 

Our customer sent us related questions about setting to UART0 print debugging information

of PROCESSOR-SDK-LINUX-AM335X 04_00_00_04 from E2E thread as below.

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

 

They tried to added "#define DEBUG" to  <u-boot>/include/configs/ti_armv7_common.h.

and rebuild u-boot based on the guide from this E2E thread.

 

But they found error as below during build;

 

  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 section `.rodata' will not fit in region `.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: region `.sram' overflowed by 2520 bytes

../scripts/Makefile.spl:290: recipe for target 'spl/u-boot-spl' failed

make[2]: *** [spl/u-boot-spl] Error 1

/home/soft/ti-processor-sdk-linux-am335x-evm-04.00.00.04/board-support/u-boot-2017.01+gitAUTOINC+9fd60700db-g9fd60700db/Makefile:1346: recipe for target 'spl/u-boot-spl' failed

make[1]: *** [spl/u-boot-spl] Error 2

make[1]: Leaving directory '/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: recipe for target 'sub-make' failed

make: *** [sub-make] Error 2

 

Question:

 Is there same experience?

    (Is there anything missing?)

 

We would appreciate if you tell us how to solve this problem.

 

Best regards,