Fortunately the Windows calculator in the scientific mode can do this. Just click
on the Hex button in the upper left corner and subtract the two values provided
by Redboot. When I did this 9aa234 – 800000 = 1aa234, and this looks correct.
Loading the Ramdisk File into Flash
Now comes the moment of truth! To write the uploaded file to the GESBC-9302
flash, use the following command:
fis create –b 0x800000 –l 0x1aa234 ramdisk
Redboot will ask: an image named ‘ramdisk’ exists – continue (y/n)?
Respond with y. The reason is that ramdisk must be the name of the file system
image; this name is used in the normal Redboot power-up script for starting
Linux. We need to keep the name the same.
Redboot will confirm the steps as its goes through the process of erasing the old
image and writing the new ramdisk file to flash.
When the process is complete and you are back at the Redboot command line,
verify the file has been correctly loaded:
fis list
A table of all the file images will be given. Ramdisk will be shown starting at
0x00800000, just as intended.
Verifying the New File System
To be sure the new file system is in place, simply power down the GESBC-9302
and power up again. Observe the boot-up sequence in Hyper-Terminal to be
sure all is normal. After the console is activated, have a look in /home/www to
see if the index.html file is the new version. You can also point the Windows PC
browser at 192.168.0.127. The new web page should appear at this static IP
address.
If all was successful, you can congratulate yourself on having done real brain
surgery on the GESBC-9302!
Kommentare zu diesen Handbüchern