negotiation required with tftp and this makes it compatible with the Redboot load
command.
Generic FTP Clinet for Windows PC
In order to move the new GESBC-9302 ramdisk file system from the Debian PC
to the tfpt server folder, a generic FTP client is needed for the Win PC. I use WS
FTP. This is a very old FTP freeware client dating from Win 3.1, but it is small
(about 200K) and easy to get running. The ramdisk file is 1.7 Mbytes when
gzipped, so it is just a bit too big for transfer by floppy to the Win PC. Any
generic FTP client that can log into the Debian FTP server can be used,
however.
Preparing the New Ramdisk File on the Debian Development PC
The modified GESBC-9302 file system currently exists as a series of directories
and files on the Debian development PC in /armfiles. This is useful for testing
and development, but what we need is a single file to upload to the GESBC-9302
flash. The way we get to a single file is very clever: the original ramdisk file is
again mounted as a loop device, the changed and new files are copied from the
development /armfiles directory to the mounted ramdisk. When the ramdisk file
is umounted, all the changes are preserved!
The changes we made to the file system were to delete the existing webpages,
add a new index webpage, and add a new line to the rc.sysinit file. So we will
mount the original ramdisk file, delete the two existing webpages, and copy
index.html and rc.sysinit from the /armfiles development directory. As a
precaution, we will first save a copy of the original ramdisk file.
cd /armdisk
cp ramdisk ramdisk.bak
Next, we mount ramdisk as a loop device, then change directories and come
back in to /armdisk to operate on the mounted file system.
mount –o loop /armdisk/ramdisk /armdisk
cd /
cd /armdisk
Kommentare zu diesen Handbüchern