Part Number: AM5728
Tool/software:
Hi,
We have a custom board with AM5728 SoC and there are two booting methods in it (UART & EMMC). To boot from UART we are following below points:
1. After setting boot pin configuration to UART, I could able to see "!VA" prints in the uart console.
2. I have used the picocom with ttyUSB0 and added "sx -kb" send cmd to send u-boot-spl.bin, but it is giving some Retry and NAK error and the file is not sent (Same with minicom).
3. If I use the serial_boot.pl perl script from windows with strawberry perl, I could able to send the u-boot-spl.bin and boot the board fully with no issues (The same script gives ioctl error in Ubuntu host).
4. As per Processor SDK Doc, it is mentioned to use XMODEM to send the spl file, but as per TRM it is told that the boards send 69 bytes of ASIC code(for UART), then we have to send the boot message and file size bytes at first and then the u-boot-spl.bin file in binary.
Do I need to do any configuration in uboot source, for making u-boot-spl.bin as UART boot with xmodem send?. Or If I try to write a small tty host application to send the file as per TRM, is it possible to send?.
Please let me know the proper booting procedure using UART (Also I could able to find the serial_boot.pl perl script for ubuntu from anywhere).
Thanks,
Karthik G.