netboot bug

Aaron Buchanan <[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
Hi,

During testing of different netboot scenarios I found the following oddity.
I consider it to be a bug in the netboot process based on both the
documentation and how I'd expect it to work.

According to the documentation (DS80C400 Network Microcontroller pg. 74): 
"If either DHCP or the TFTP transfer fail, the NetBoot code checks whether
the TFTP transfer has been successful in a previous attempt.  If so, the
TINI400 ROM exits NetBoot and transfers execution to the find-user-code
routine."

I'm using the TINIs400/TINIm400 reference platform and have a succesfully
netbooted and running application.  I have the Netboot tftp option
configured in my DHCP server, and my tftp server running.  I've removed all
3 of the file variations that the netboot process looks for on the tftp
server and power-cycle the TINI.  On restart my application never boots, and
in the tftp server log I see a continuous cycle of the TINI requesting and
not finding any of the 3 netboot files.  I expect, and according to the
documentation, after failing the tftp transfer the netboot process should
exit and transfer to the find-user-code routine.  I found that by creating
an empty (0 byte) TINI400 file on my tftp server the TINI netboot process
would exit and continue with my user code.  

I was interested in having netboot enabled by default in my product, but
this operation is a concern for me.

Thanks,
-Aaron

______________________________
Aaron Buchanan
Firmware/Software Engineer
_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.