TFTP Firmware

TFTP Server
Siapkan TFTP server
untuk distro debian:
apt-get install tftpd

#mkdir /srv/tftp
#chmod 777 /srv/tftp

konfigurasi
/etc/inetd.conf
#:BOOT: TFTP service is provided primarily for booting.  Most sites
#       run this only on machines acting as “boot servers.”
tftp            dgram   udp     wait    nobody  /usr/sbin/tcpd  /usr/sbin/in.tftpd /srv/tftp

TFTP client TL-WR1043ND

Autobooting in 1 secondsar7100>tpl
ar7100> erase 0xbf020000 +7c0000

First 0x2 last 0x7d sector size 0x10000
125
Erased 124 sectors

ar7100> setenv ipaddr 192.168.1.12
ar7100> setenv serverip 192.168.1.100
ar7100> setenv bootfile openwrt-ar71xx-tl-wr1043nd-v1-squashfs-factory.bin
ar7100> tftpboot
dup 1 speed 1000
Using eth0 device
TFTP from server 192.168.1.100; our IP address is 192.168.1.12
Filename ‘openwrt-ar71xx-tl-wr1043nd-v1-squashfs-factory.bin’.
Load address: 0x81000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
############################
done
Bytes transferred = 8126464 (7c0000 hex)
ar7100> cp.b 0x81000000 0xbf020000 0x7c0000
Copy to Flash… write addr: bf020000

ar7100> bootm bf020000

Firmware baru telah di load di mesin TL-WR1043ND

Leave a comment