Hi
I'm running some tests on different Boot modes with AM335x EVM, and I'm facing several issues:
1 - SPI0 boot mode
I'm using configuration such as SYSBOOT[4:0] = 10111b or 11000b. I've written on SPI Flash Starterware bootloader (built in SPI mode) and an application (usb_deb_msc). It seems working fine in most of the cases, but sometimes after turn off/on the board, it does not boot anymore. I cannot see neither bootloader outputs on UART console. To make it working, I need to put in the MMC and use MMC0 boot mode.
2 - USB0 boot mode
I'm using configuration such as SYSBOOT[4:0] = 01011b and in most of the cases the am335x stops to ack the TFTP packets before the download ends. I'm using a Linux PC on USB Host side, with DHCP and TFTP server. Sometimes the am335x does not send neither BOOTP request. The systems seems to starve and not other boot mode is used. A couple of times it boots with success: after downloading Starterware bootloader, it has run it and been able to load an application on SPI Flash.
This is a tcpdump example:
17:38:32.292014 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from d4:94:a1:80:ac:98 (oui Unknown), length 364
17:38:32.395878 IP rfc-1918.bootps > rfc-1918.bootpc: BOOTP/DHCP, Reply, length 300
17:38:32.397438 ARP, Request who-has rfc-1918 tell rfc-1918, length 28
17:38:32.397478 ARP, Reply rfc-1918 is-at 9a:1f:85:1c:3d:0e (oui Unknown), length 28
17:38:32.398198 IP rfc-1918.1234 > rfc-1918.tftp: 17 RRQ "boot.bin" octet
17:38:32.399263 IP rfc-1918.51945 > rfc-1918.1234: UDP, length 516
17:38:32.401150 IP rfc-1918.1234 > rfc-1918.51945: UDP, length 4
17:38:32.401198 IP rfc-1918.51945 > rfc-1918.1234: UDP, length 516
17:38:32.403008 IP rfc-1918.1234 > rfc-1918.51945: UDP, length 4
17:38:32.403057 IP rfc-1918.51945 > rfc-1918.1234: UDP, length 516
17:38:32.404796 IP rfc-1918.1234 > rfc-1918.51945: UDP, length 4
17:38:32.404834 IP rfc-1918.51945 > rfc-1918.1234: UDP, length 516
17:38:32.406803 IP rfc-1918.1234 > rfc-1918.51945: UDP, length 4
17:38:32.406834 IP rfc-1918.51945 > rfc-1918.1234: UDP, length 516
17:38:32.408802 IP rfc-1918.1234 > rfc-1918.51945: UDP, length 4
17:38:32.408833 IP rfc-1918.51945 > rfc-1918.1234: UDP, length 516
17:38:32.410788 IP rfc-1918.1234 > rfc-1918.51945: UDP, length 4
17:38:32.410819 IP rfc-1918.51945 > rfc-1918.1234: UDP, length 516
17:38:32.412639 IP rfc-1918.1234 > rfc-1918.51945: UDP, length 4
17:38:32.412682 IP rfc-1918.51945 > rfc-1918.1234: UDP, length 516
17:38:32.414525 IP rfc-1918.1234 > rfc-1918.51945: UDP, length 4
17:38:32.414565 IP rfc-1918.51945 > rfc-1918.1234: UDP, length 516
17:38:32.416398 IP rfc-1918.1234 > rfc-1918.51945: UDP, length 4
17:38:32.416437 IP rfc-1918.51945 > rfc-1918.1234: UDP, length 516
17:38:32.418425 IP rfc-1918.1234 > rfc-1918.51945: UDP, length 4
17:38:32.418455 IP rfc-1918.51945 > rfc-1918.1234: UDP, length 516
17:38:32.420400 IP rfc-1918.1234 > rfc-1918.51945: UDP, length 4
17:38:32.420438 IP rfc-1918.51945 > rfc-1918.1234: UDP, length 516
17:38:32.422400 IP rfc-1918.1234 > rfc-1918.51945: UDP, length 4
17:38:32.422441 IP rfc-1918.51945 > rfc-1918.1234: UDP, length 516
17:38:38.827855 IP rfc-1918.51945 > rfc-1918.1234: UDP, length 516
17:38:43.836001 IP rfc-1918.51945 > rfc-1918.1234: UDP, length 516
17:38:53.835700 ARP, Request who-has rfc-1918 tell rfc-1918, length 28
17:39:03.835706 ARP, Request who-has rfc-1918 tell rfc-1918, length 28
17:39:13.835698 ARP, Request who-has rfc-1918 tell rfc-1918, length 28
17:39:13.835706 IP rfc-1918.51945 > rfc-1918.1234: UDP, length 516
17:39:23.835943 ARP, Request who-has rfc-1918 tell rfc-1918, length 28
17:39:23.835950 ARP, Request who-has rfc-1918 tell rfc-1918, length 28
I need some clarifications about these issues, thanks.
Regards,
Max