Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHow can i build a tftp server in u-boot?
I use the u-boot run my embedded system in nios2 platform. In the first time,I must use the tftp download my imag file to the sdram, but there are no tftp server in the u-boot.I must operate com...
Altera_Forum
Honored Contributor
20 years agoHi smalllight,
> so if i want to download the image file, i must change my PC's IP address to th > default and change my image file name to default one. this is trouble. > so I want to add a tftp server in u-boot. In the case,I can download my image > file by tftp command in the PC. You must be a glutton for punishment ;-) I don't understand why you have to change the IP address of your PC. Just update the u-boot environment variable 'serverip'. Regardless, if you want to add a tftp server to u-boot, please feel free to do so. However, I would recommend you simply run a dhcp/bootp server and let u-boot download the image automatically (or via autoboot script). If you're using Linux, you can use the standard dhcpd/tftpd. If you're using windoze I recommend tftpd32: http://tftpd32.jounin.net (http://tftpd32.jounin.net) Regards, --Scott