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.

SPL串口启动问题



1、将u-boot-spl.bin文件烧写进出后,

串口显示情况:

Transferring u-boot-spl.bin...   100%      80 KB       6 KB/sec    00:00:12       0 Errors     (烧写完后程序都不能打印u-boot基本信息。这是什么)

board_init_f   //自己写的打印信息,能够正常的显示

board_init_r  //也能够正常的打印

===================================================

void __weak board_init_f(ulong dummy)
{
	printf("ss\n");
	/* Clear the BSS. */
	memset(__bss_start, 0, __bss_end - __bss_start); //只有在这下面的打印信息才正常    	
	/* Set global data pointer. */
	gd = &gdata;
	printf("%s\n....",__func__);
	board_init_r(NULL, 0);
}