Reload a GD4

Analysis:

There is no separate document for the GD4 loading procedure.

Follow the below DHCP procedure to flashing new binaryGD4:

Prerequisites : 
 – CS with patch that supports GD4 (or else, manually create downbin/mg4 folder with the binaries with root permissions – “other” option and manual path selection needed in DHCP Config File option)
 – GD4 to be connected on same lan as CS
1. On CS enable DHCP config

  1. mgr->DHCP Config->R/M

Configuration + DHCP Server

  1. mgr->DHCP Config->D/H->CPU Main->R/M

Update below fields                         
Default router address : <router/gw address. e.g. 172.19.11.254>
TFTP Server address : <CS IP e.g. 172.19.11.15>

  1. mgr->DHCP Config->D/H->CPU Main->Static IP->Create

Update following fields
IP address : 172.19.11.44    ==>GD4 IP@                  
MAC Address : 00:80:9f:9c:f3:54   ==>GD4 MAC                   
TFTP Server address : 172.19.11.15 ==> CS IP@
Configuration file + MG4:-/downbin/mg4/binmg4start


2. On GD4 :

Use Ctrl+b Crtl+i to enter uboot menu when prompted with the countdown
Make only one time
U-Boot>> setenv ipaddr 172.19.11.44  ==> GD4 IP
U-Boot>> setenv serverip 172.19.11.15 ==> CS IP
U-Boot>> setenv gatewayip 172.19.11.254 ==> router gateway IP
U-Boot>> setenv netmask 255.255.255.0
U-Boot>> saveenv
U-Boot>> reset

In second time
U-Boot>> ping 172.19.11.1
Redo the above ping test with multiple IPs -router/gateway, CS etc. It will take some seconds till it is alive and the ping succeeds.
U-Boot>> tftpboot /DHS3bin/downbin/mg4/binmg4start
(if tftp NOK redo last command)
U-Boot>> source $loadaddr

Now the download of the binaries will start
Pay attention to the logs –
If you notice a TFTP timeout like this :
<RD_check_sd> assuming boot from ramdisk, so need to fill empty file system
<RD_check_sd> call tftp to get rootfs archive…..
tftp: timeout
then there is a problem on the CS.

We were able to resolve this in our lab as follows :
2 consoles on the CS open – from one we continuously pinged the GD4 IP address; and the other we ran a tcpdump from root
With this the download was successful.

Once completed, the GD4 will reboot and the mcgonfig menu will open up where all parameters need to be initialized fresh.

chris.newby Written by: