Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

tftpboot problem

Hi,

I'm working with a Stratix Pro Edition 1s40, under FC5 and use the gtkterm terminal.

When I try the following:

==> bdinfo
mem start = 0x01000000
mem size = 0x01000000
flash start = 0x00000000
flash size = 0x00800000
flash offset= 0x00000000
sram start = 0x02000000
sram size = 0x00100000
baudrate = 115200 bps
ethaddr = 08:00:3E:26:0A:5B
ip_addr = 192.168.0.180
==> printenv
baudrate = 115200 bps
ethaddr = 08:00:3E:26:0A:5B
bootdelay=-1
ip_addr = 192.168.0.180
loadaddr= 192.168.0.183
serverip=192.168.0.183
gatewayip 2.168.3.1  # That's exactly what's printed (without the =) and I failed to delete that variable
netmask=255.255.252.0
bootfile=/tftpboot/vmlinux.img
stdin=serial
stdout=serial
stderr=serial
Environment size: 281/65532 bytes
==> tftpboot 1100000 vmlinux.img
Using MAC Address 08:00:3E:26:0A:5B
TFTP from server 192.168.0.183; our IP address is 192.168.0.180
Filename 'vmlinux.img'.
Load address: 0x1100000
Loading: T T T T T T T T T T 
Retry count exceded; starting again
TFTP from server 192.168.0.183; our IP address is 192.168.0.180
Filename 'vmlinux.img'.
Load address: 0x1100000
Loading: T T T T T T T T T T 
Retry count exceded; starting again

and it loops again and again like that.

Could anybody figure out the reason?

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

    thanks smalllight for your reply.

    I solved my problem.

    How?

    I only set these environment variables:

    loadaddr, bootfile, hostname.

    Then a simple tftpboot did the necessary.