Manual M-Systems Flash Disk Pioneers 91-SR-005-10-7L

25 pages 0.21 mb
Download

Go to site of 25

Summary
  • M-Systems Flash Disk Pioneers 91-SR-005-10-7L - page 1

    Installation Manual IM - DOC - 021 Using the DiskOnChip ® with Linux OS DEC - 99 91 - SR - 005 - 10 - 7L REV . 2.0 ...

  • M-Systems Flash Disk Pioneers 91-SR-005-10-7L - page 2

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 2 LIMITED WARRANTY (a) M - Systems warrants that the Licensed Software — prior to modification and adaptation by Licensee — will conform to the documentati on provided by M - Systems. M - Systems does not warrant that the Licensed Software will meet the needs of the Licensee or ...

  • M-Systems Flash Disk Pioneers 91-SR-005-10-7L - page 3

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 3 Contents 1 Introduction ................................................................................................................................... 4 2 Hardware Requirements for the Disk OnChip .......................................................................... 4 3 ...

  • M-Systems Flash Disk Pioneers 91-SR-005-10-7L - page 4

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 4 1 Introduction M - Systems’ DiskOnChip  is a family of flash disks. It contains built - in firmware that provides full hard disk emulation and allows the DiskOnChip to operate as a boot device. When used under Li nux, the DiskOnChip is managed by a device driver, based on M ...

  • M-Systems Flash Disk Pioneers 91-SR-005-10-7L - page 5

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 5 DiskOnChip 1 2 3 29 28 4 25 23 26 27 5 6 A12 A11 A10 A9 A8 A7 A6 7 8 9 A5 A4 A3 10 11 12 A2 A1 A0 NC NC (A16) NC (A15) NC (A14) NC (A13) 13 14 15 17 D0 D1 D2 D3 18 19 20 21 D4 D5 D6 D7 24 31 22 16 GND 32 VCC SA11 SA10 SA9 SA8 SA7 SA6 SA5 SA4 SA3 SA2 SA1 SA0 SD0 SD1 SD2 SD3 SD4 SD ...

  • M-Systems Flash Disk Pioneers 91-SR-005-10-7L - page 6

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 6 dformat DiskOnChip formatting utility dupdate Utility for updating DiskOnChip firmware docpmap Utility to retrieve information about the DiskOnChip doc121.ex b DiskOnChip firmware image. “121” is the firmware version, the actual diskette might contain higher versions of the f ...

  • M-Systems Flash Disk Pioneers 91-SR-005-10-7L - page 7

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 7 4 Installing the DiskOnChip as an Addit ional Drive Before the DiskOnChip can be used as the boot disk for Linux (see Chapter 5), it first needs to be installed as an additional disk in the system (Linux is booted from a HDD). This chapter describes how to prepare the DiskOnChip ...

  • M-Systems Flash Disk Pioneers 91-SR-005-10-7L - page 8

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 8 1. The floppy drive must be active. Verify this by typing: # mount If the /dev/fd0 doesn’t appear in the first column, type: # mount/dev/fd0 /mnt From this point, it is assumed that the diskette that c ontains the TrueFFS driver for Linux is mounted at /mnt . 2. The kernel sour ...

  • M-Systems Flash Disk Pioneers 91-SR-005-10-7L - page 9

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 9 5. Configure the kernel as follows: # cd /usr/src/linux # make menuconfig or # make config if the last command doesn’t work. Define your system by marking the correct devices. If you aren’t sure what the purpose of the device is, then leave it as it is. Mak e sure that you ma ...

  • M-Systems Flash Disk Pioneers 91-SR-005-10-7L - page 10

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 10 Make[1]:Leaving directory ‘/usr/src/ linux-2.0.32/arch/i386/boot’ If there are any compilation errors, refer to Chapter 6 “Troubleshooting”. 4 . 2 . 3 Booting the Compiled Kernel from HDD The new compiled kernel needs to be booted from the HDD. The following steps need t ...

  • M-Systems Flash Disk Pioneers 91-SR-005-10-7L - page 11

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 11 7. When the Lilo prompt is displayed, press <Ctrl> or <Alt> or <Tab>. The screen will show : Lilo boot: 8. Load the recompiled kernel: Lilo boot:doc2000 4 . 2 . 4 Creating a Linux Partition on the DiskOnChip To create a Linux partition on the DiskOnChip, all th ...

  • M-Systems Flash Disk Pioneers 91-SR-005-10-7L - page 12

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 12 7. Recheck the partition table: Command (m for help): p Disk /dev/fla: 16 heads, 9 sectors, 1002 Cylinder units = cylinders of 144 * 512 bytes Device boot begin Start End Blocks Id System /dev/fla1 * 1 1 1002 72139+ 83 Linux native 8. Save the new partition table (disregard any ...

  • M-Systems Flash Disk Pioneers 91-SR-005-10-7L - page 13

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 13 5 Booting Linux from the DiskOnChip Being able to boot Linux from the DiskOnChip makes it possible to use the DiskOnChip as the only disk in the system, holding th e OS itself in addition to all other applications and files. In order to make a block device bootable on Linux, the ...

  • M-Systems Flash Disk Pioneers 91-SR-005-10-7L - page 14

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 14 5 . 1 . 2 Overview A root file system must contain everything that is needed to support a full Linux system. To achieve this, the disk must include the mini mum requirements for a Linux system: • Basic file system structure • Minimum set of directories: /dev, /proc, /bin, /e ...

  • M-Systems Flash Disk Pioneers 91-SR-005-10-7L - page 15

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 15 Press <ESC>, ‘:’, ‘w’, ‘q’ to save the file. It is possible to add more devices here (for more information, refer to the man pages). 6. For RedHat and Caldera it is also necessary to copy the configuration file for the pam library (responsible for making authen ...

  • M-Systems Flash Disk Pioneers 91-SR-005-10-7L - page 16

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 16 # cp /tmp/doc-driver/boot.b /diskonchip/boot # cp /tmp/doc-driver/lilo.conf /diskonchip/etc # /diskonchip/sbin/plilo -C /diskonchip/etc/lilo.conf -i /diskonchip/boot/boot.b -m /diskonchip/boot/map 2. Verify that after the last command, the device doc2000 is listed on the screen. ...

  • M-Systems Flash Disk Pioneers 91-SR-005-10-7L - page 17

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 17 VFS: Unable to mount -. Most likely, you forgot to do: # rdev /diskonchip/boot/doc2000 /dev/fla1 • If the DiskOnChip boots and the kernel is loading, b ut it gets stuck after: VFS: Mounted root (ext 2 filesystem) readonly. Most likely, the init program or some if its configura ...

  • M-Systems Flash Disk Pioneers 91-SR-005-10-7L - page 18

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 18 7 Additional Information and Tools Additional information about the DiskOnChip, incl uding Application Notes, can be found at http://www.m - sys.com . Additional tools and documents are listed in the following table: Document/Tool Description AP - DOC - 10 Designing with the Dis ...

  • M-Systems Flash Disk Pioneers 91-SR-005-10-7L - page 19

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 19 Appendix I: Making a Root File System To create your own root file system, perform the following steps: 1. Make the following directories: # cd /diskonchip # mkdir bin dev etc lib mnt proc sbin tmp usr var 2. Create devices in the /dev direc tory. You can either do this manually ...

  • M-Systems Flash Disk Pioneers 91-SR-005-10-7L - page 20

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 20 not listed below are considered optional. Copy these programs to the directories /bin or /sbin as follows: # cp /bin/{program_name} /diskonchip/bin/{program_name} /bin directory: cat echo mount chmod hostname mv chown kill ps cp Ln rm cut logi n rmdir dd Ls sh df mkdir su dircol ...

  • M-Systems Flash Disk Pioneers 91-SR-005-10-7L - page 21

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 21 For example: # ldd /sbin/mke2fs libext2fs.so.2 /lib/libext2fs.so.2 libcom_err.so.2 /lib/libcom_err.so.2 libuuid.so.1 lib/libuuid.so.1 libc.so.5 /lib/libc.so.5 This will show which libraries are needed for the program mke2fs . In this example, it is necessary to copy the followin ...

  • M-Systems Flash Disk Pioneers 91-SR-005-10-7L - page 22

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 22 Appendix II: Booting from a HDD when the DiskOnChip Firmware is Active Since Lilo and the DiskOnChip firmware (i.e. doc121.exb) share the same area in RAM, the system will hang during boot when using an unpatched Lilo. Updating Lilo solves this problem. The existing boot loader ...

  • M-Systems Flash Disk Pioneers 91-SR-005-10-7L - page 23

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 23 Appendix III: Applying a Patch Manually There are two ways to integrate the Tr ueFFS driver into the kernel: manually or with a patch utility. The TrueFFS driver for kernel versions 2.0.## contains patch files for kernel versions 2.0.29 - 2.0.35 ( /tmp/doc-driver/doc-patch-2.0.# ...

  • M-Systems Flash Disk Pioneers 91-SR-005-10-7L - page 24

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 24 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 fiv ...

  • M-Systems Flash Disk Pioneers 91-SR-005-10-7L - page 25

    Using the DiskOnChip with Linux OS 91 - SR - 005 - 10 - 7L REV. 2.0 25 How to Contact Us Internet: http://www.m - sys.com E - mail: info@m - sys.com USA Office: M - Systems Inc. 8371 Central Ave, Suite A Newark CA 94560, U.S.A Phone: 1 - 510 - 494 - 2090 Fax: 1 - 510 - 494 - 5545 Taiwan Office: M - System Asia Ltd. 11 F - 2, No. 81,Sec.2, Chang Teh ...

Manufacturer M-Systems Flash Disk Pioneers Category Computer Accessories

Documents that we receive from a manufacturer of a M-Systems Flash Disk Pioneers 91-SR-005-10-7L can be divided into several groups. They are, among others:
- M-Systems Flash Disk Pioneers technical drawings
- 91-SR-005-10-7L manuals
- M-Systems Flash Disk Pioneers product data sheets
- information booklets
- or energy labels M-Systems Flash Disk Pioneers 91-SR-005-10-7L
All of them are important, but the most important information from the point of view of use of the device are in the user manual M-Systems Flash Disk Pioneers 91-SR-005-10-7L.

A group of documents referred to as user manuals is also divided into more specific types, such as: Installation manuals M-Systems Flash Disk Pioneers 91-SR-005-10-7L, service manual, brief instructions and user manuals M-Systems Flash Disk Pioneers 91-SR-005-10-7L. Depending on your needs, you should look for the document you need. In our website you can view the most popular manual of the product M-Systems Flash Disk Pioneers 91-SR-005-10-7L.

A complete manual for the device M-Systems Flash Disk Pioneers 91-SR-005-10-7L, how should it look like?
A manual, also referred to as a user manual, or simply "instructions" is a technical document designed to assist in the use M-Systems Flash Disk Pioneers 91-SR-005-10-7L by users. Manuals are usually written by a technical writer, but in a language understandable to all users of M-Systems Flash Disk Pioneers 91-SR-005-10-7L.

A complete M-Systems Flash Disk Pioneers manual, should contain several basic components. Some of them are less important, such as: cover / title page or copyright page. However, the remaining part should provide us with information that is important from the point of view of the user.

1. Preface and tips on how to use the manual M-Systems Flash Disk Pioneers 91-SR-005-10-7L - At the beginning of each manual we should find clues about how to use the guidelines. It should include information about the location of the Contents of the M-Systems Flash Disk Pioneers 91-SR-005-10-7L, FAQ or common problems, i.e. places that are most often searched by users in each manual
2. Contents - index of all tips concerning the M-Systems Flash Disk Pioneers 91-SR-005-10-7L, that we can find in the current document
3. Tips how to use the basic functions of the device M-Systems Flash Disk Pioneers 91-SR-005-10-7L - which should help us in our first steps of using M-Systems Flash Disk Pioneers 91-SR-005-10-7L
4. Troubleshooting - systematic sequence of activities that will help us diagnose and subsequently solve the most important problems with M-Systems Flash Disk Pioneers 91-SR-005-10-7L
5. FAQ - Frequently Asked Questions
6. Contact detailsInformation about where to look for contact to the manufacturer/service of M-Systems Flash Disk Pioneers 91-SR-005-10-7L in a specific country, if it was not possible to solve the problem on our own.

Do you have a question concerning M-Systems Flash Disk Pioneers 91-SR-005-10-7L?

Use the form below

If you did not solve your problem by using a manual M-Systems Flash Disk Pioneers 91-SR-005-10-7L, ask a question using the form below. If a user had a similar problem with M-Systems Flash Disk Pioneers 91-SR-005-10-7L it is likely that he will want to share the way to solve it.

Copy the text from the picture

Comments (0)