A Simple File Development System for the GESBC-9302 Paul H. Muller - Documatrix www.documatrix-usa.com [email protected] Disclaimer: The program
Add the following command to the end of the file: ifconfig eth0 192.168.0.127 #!/bin/sh # # Set the pa
Testing the Modified File System With the changes in place on the Debian /armfiles directory boot the GESBC-9302 via NFS to test the new file system
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
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
Now we cd to the /homewww directory and make the changes: cd home/www rm cirrus.jpg rm index.html cp /armfiles/home/www/index.html index.html
The following screen shot shows the sequence of commands used to prepare and check the ramdisk file on the Debian PC:
Moving the ramdisk.gz file to the Windows PC A simple FTP client will put the new ramdisk.gz file into the C:\tftp folder: The user name arm and pas
Loading the New Ramdisk File to the GESBC-9302 Now the last steps are in sight. All we need to do is load the new ramdisk file up to the GESBC-9302
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 val
The following commented screenshot shows the sequence of Redboot commands and the GESBC-9302 responses: -
in its own flash.) The idea of a simple development system is that you can make and test changes to the GESBC-9302 file system and then make these c
Conclusions The method shown here is the classic way to customize an embedded Linux system: change files and add programs to the file system, test
Next, go to your Debian /etc directory. There should now be a file named exports. Load exports into the pico text editor and add the following line
Testing the NFS Server The NFS server needs to be told to re-read the /etc/exports and /etc/hosts.allow files before the changes take effect. There
Boot the GESBC-9302 in the normal way from the serial console. When you are in the GESBC filesystem, first set its IP address to 192.168.0.127, using
Adding the GESBC-9302 File System to the Debian NFS Server Now that the Debian NFS is operational, the GESBC-9302 file system can be loaded into /arm
When successful, you will have the entire RAM disk file system of the GESBC-9302 captured permanently to /armfiles on your Debian development machine.
If the command is successful, Linux will unpack and load according to the file system on the Debian /armfiles directory. This sequence (somewhat e
Modifying and Testing the GESBC-9302 File System Now that we can boot the GESBC-9302 from the Debian system, the file system can be modified and te
Komentarze do niniejszej Instrukcji