M-Systems Flash Disk Pioneers 91-SR-005-10-7L Using the DiskOnChip with Linux OS

Page 24

Using the DiskOnChip with Linux OS

In the above example, the file /usr/src/linux/include/linux/major.h is patched. The two lines that start with the ‘+’ mark are added to the current source code, and the lines that start with the ‘- ‘ mark are removed from the source code. Repeat this process for all five of the above-mentioned files.

91-SR-005-10-7L REV. 2.0

24

Image 24
Contents Using the DiskOnChip with Linux OS Limited Warranty Contents Introduction Hardware Requirements for the DiskOnChipRequirements for Installation of the DiskOnChip into Linux Utilities Diskette ContentLinux Driver for DiskOnChip Installing the DiskOnChip as an Additional Drive Updating the FirmwareFloppy drive must be active. Verify this by typing If the /dev/fd0 doesn’t appear in the first column, typeConfigure the kernel as follows Adding the Driver to the KernelRemove the old object files Check dependenciesBooting the Compiled Kernel from HDD Make the inodes for the DiskOnChipCreating a Linux Partition on the DiskOnChip Creating a Native Linux File System on the DiskOnChip Recheck the partition tableSave the new partition table disregard any fdisk warnings Mount the file system to a directoryBooting Linux from the DiskOnChip Creating a Root File System IntroductionOverview Populating the File SystemRun the script Create the list of files to be mountedCopying the Kernel, Updating the Boot Sector and Rebooting Troubleshooting Reboot and load DOS, and reinstall the original firmwareLinux will now boot from the DiskOnChip Most likely, you forgot to do Additional Information and Tools Sys.comAppendix I Making a Root File System Diskonchip/bin/programname For example Copy the library loaders as followsYou now have pLilo sources Appendix III Applying a Patch Manually There are 5 files that you will need to patchUsing the DiskOnChip with Linux OS How to Contact Us Atidim Industrial Park P.O.BTel Aviv 61580, Israel