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.

AM3352使用Uniflash通过USB0烧写eMMC,进度卡在0%,串口无输出

Other Parts Discussed in Thread: UNIFLASH, AM3352

自制AM3352 PG2.1板,通过USB0连到PC, 使用Uniflash烧写eMMC,进度卡在0%,通过opentftp log分析u-boot-spl-restore.bin传输完成,后再无反应,且目标板串口无任何输出。

(一)目标板配置情况:

1. 线路参考BBB,USB0为OTG,sysboot配置 MMC1 / MMC0 / UART0 / USB0,

2. SDK版本Processor-SDK-Linux-AM335X 05_01_00_11;UBOOT编译采用am335x_evm_deconfig,将生成的MLO/u-boot.img/u-boot.dtb放到SD卡(MMC0),可以正常启动并进入Kernel;Uniflash版本3.4

3. 用于烧录启动的UBOOT采用am335x_evm_deconfig并将CONFIG_BOOTCMD设定为tftp,分别更改MLO/u-boot.img/u-boot.dtb名字为u-boot-spl-restore.bin、u-boot-restore.img、u-boot-restore.dtb;UBOOT中加入delay 15s的Patch,再无任何改动

4. Uniflash的tftp目录中包含下列文件:u-boot-spl-restore.bin 、u-boot-restore.img 、u-boot-restore.dtb、zImage、am335x_evmsk.dtb、debrick.sh、         boot_partition.tar.gz、rootfs_partition.tar.gz

(二)Uniflash烧写eMMC的问题:

1.目标板eMMC为空,未插SD卡,上电开机,在PC端设备管理器-网络适配器中发现网络设备,并将IPV4设为192.168.2.1

2.Uniflash配置DHCP 192.168.2.1,TFTP Server为192.168.2.1,点击Start Flash,在下面设备status表中发现目标板设备,IP 192.168.2.2

3. 刷写进度一直卡在0%不动,打开opentftp log分析,完成Client 192.168.2.2:1234 C:\AM335x_Flashtool\images\u-boot-spl-restore.bin, 208 Blocks Served后无其他动作

4.目标板串口无输出

5. 此时查看网络适配器中目标板的IP配置依然为192.168.2.1

(三)现象分析:

  u-boot-spl-restore.bin从PC传给目标板后,正常来说u-boot-spl-restore接管控制权并能看到串口输出,但现象并无串口输出,说明u-boot-spl-restore并未run

  编译的UBOOT可以正常从SD卡启动

请帮忙分析下SPL中还需要怎样的修改或是其他配置?谢谢