Writing the New File System into the GESBC-9302 Flash Memory
We now have built and tested a modified file system that includes a new default
webpage and assigns the GESBC-9302 to a static IP address using added
commands to the rc.sysinit file. The final step is to embed this new file system in
the GESBC-9302 flash memory so that on power-up the GESBC-9302 will load
our new file system instead of the file system originally shipped with the board.
To do this we will need to create a single ramdisk file, gzip it, then load it to the
GESBC-9302 dynamic ram and write to flash using Redboot commands.
Preparing the Development System Network
To load and write the new file system to the GESBC-9302 requires the Debian
development system PC and a Windows PC at static IP addresses on the same
LAN as the GESBC-9302.
Configuring the Windows PC
The Windows PC runs Hyper-Terminal to communicate to the GESBC-9302
console, as previously described. The Windows PC also is the host for a special
ftp server that will move the new ramdisk file to the GESBC by Redboot
command. In addition, the Windows PC should have a standard ftp client so that
you can acquire the new ramdisk file from the Debian development PC.
Setting Up the TFTP Server on the Windows PC
Redboot has a limited command set and cannot negotiate the normal ftp
username and password process to log into a host ftp server. So the easiest
way to move the ramdisk file to the GESBC-9302 is to install the Trivial FTP
server, tftp, available from the Glomation CD in the Utilities folder. Installation is
simple: just create a new folder, tpft, and copy over the tftp executable from the
CD. I also created a shortcut to the desktop.
Configuring tftp is simple. Start the tftp server from the desktop shortcut. Go to
the Tftpd button in the upper left corner of the server window and select
Configure from the drop-down menu. All that is necessary is to set the home
directory to C:\tftp.
To start the server, go to the Tftpd button and select Start from the dropdown
menu. The server is now running and will serve any file requested by name that
is located in the Windows PC C:\tftp folder. There is no username or password
Comentários a estes Manuais