Replacing VxWorks on the 3240

Goals

After reading through this page, you should understand the simple steps needed to upgrade from an LB4G/Pronto 3240 running VxWorks to runU-Boot, allowing you to install Indigo.

Prerequisites

You need the same things as described in the Prerequisites on the page Reflashing a Pronto Switch except instead of TFTP, you need the server to be running an FTP server. The ETH1 Ethernet port on the LB4G comes up with the address 192.168.2.1, so you will need the FTP server's interface to have an address in the range of 192.168.2.x as well.

The FTP server must support anonymous access. On Ubuntu we use vsftpd and set "anonymous_enable=YES" in the /etc/vsftpd.conf.

Connecting to the Box

See Setup on Reflashing a Pronto Switch for information about connecting to the LB4G via a serial port.

Replacing VxWorks

Move the u-boot.bin image to the home directory of the anonymous user; in our setup this is /home/ftp.

During the switch's boot process watch for a message to interrupt the normal booting process. Currently, it's Control-B. If you hit any other key, it will autoboot and you'll need to restart.

At the BootROM > prompt, run the command :

update u-boot.bin <ftp-server-ip>

where you enter the IP address of your ftp server for <ftp-server-ip>. The image should load and be burned into flash.

Reset the system and you should see the U-Boot banner:

U-Boot 1.1.6 (Jul 27 2009 - 10:10:02) *** QUANTA COMPUTER ***
CPU:   8541, Version: 1.1, (0x80720011)
Core:  E500, Version: 2.0, (0x80200020)
...
Hit any key to stop autoboot:  5

Hit a key to stop the autoboot.

Hit the space bar to stop the boot loader. You may now proceed to Reflashing a Pronto Switch to burn the Linux kernel and root file system into flash.