old-www/HOWTO/Flash-Memory-HOWTO/hardware.html

377 lines
6.0 KiB
HTML

<HTML
><HEAD
><TITLE
> Hardware and kernel</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="USB Flash Memory HOWTO"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE=" Reading"
HREF="reading.html"><LINK
REL="NEXT"
TITLE=" Some basic concepts"
HREF="basics.html"></HEAD
><BODY
CLASS="sect1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>USB Flash Memory HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="reading.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="basics.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="hardware"
></A
>5. Hardware and kernel</H1
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="setup"
></A
>5.1. Setup</H2
><P
>&#13; This is a description of the salient features of the setup used to
develop the procedures described below. All the procedures have
been tried and tested, also for Linux-2.6. The screen-like
displays are precise copies of what appeared on my screen.
</P
><P
></P
><UL
COMPACT="COMPACT"
><LI
STYLE="list-style-type: none"
><SPAN
>&#13; Hardware: Intel (R) Celeron (TM) 1100 MHz
</SPAN
></LI
><LI
STYLE="list-style-type: none"
><SPAN
>&#13; Distribution: RedHat Linux 7.0 (extensively modified)
</SPAN
></LI
><LI
STYLE="list-style-type: none"
><SPAN
>&#13; Kernel: Linux-2.4.20 (from www.kernel.org). See also
<A
HREF="linux-2.6.html"
>Section 12</A
> for Linux-2.6.x.
</SPAN
></LI
><LI
STYLE="list-style-type: none"
><SPAN
>&#13; Tools: util-linux-2.11z (<SPAN
CLASS="application"
>mount</SPAN
>, <SPAN
CLASS="application"
>umount</SPAN
>, <SPAN
CLASS="application"
>fdisk</SPAN
>);
e2fsprogs-1.32 (<SPAN
CLASS="application"
>mke2fs</SPAN
>, <SPAN
CLASS="application"
>dumpe2fs</SPAN
>, <SPAN
CLASS="application"
>fsck.ext2</SPAN
>);
mkdosfs-2.2
</SPAN
></LI
></UL
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="kernel"
></A
>5.2. Kernel options</H2
><P
>&#13; It is uncertain if USB-support is sufficient in kernels earlier
than 2.4.xx. The following support, relevant to this document, was
compiled into the kernel. A modular approach may also be followed.
</P
><DIV
CLASS="sect3"
><H3
CLASS="sect3"
><A
NAME="scsi"
></A
>5.2.1. SCSI support</H3
><P
></P
><UL
COMPACT="COMPACT"
><LI
STYLE="list-style-type: none"
><SPAN
> SCSI support (CONFIG_SCSI scsi_mod.o)</SPAN
></LI
><LI
STYLE="list-style-type: none"
><SPAN
> SCSI disk support (CONFIG_BLK_DEV_SD sd_mod.o)</SPAN
></LI
></UL
></DIV
><DIV
CLASS="sect3"
><H3
CLASS="sect3"
><A
NAME="fss"
></A
>5.2.2. File systems</H3
><P
></P
><UL
COMPACT="COMPACT"
><LI
STYLE="list-style-type: none"
><SPAN
> DOS FAT fs support (CONFIG_FAT_FS fat.o)</SPAN
></LI
><LI
STYLE="list-style-type: none"
><SPAN
> MSDOS fs support (CONFIG_MSDOS_FS msdos.o)</SPAN
></LI
><LI
STYLE="list-style-type: none"
><SPAN
>
VFAT (Windows 95) fs support (CONFIG_VFAT_FS vfat.o)
</SPAN
></LI
><LI
STYLE="list-style-type: none"
><SPAN
> /proc filesystem (CONFIG_PROC_FS)</SPAN
></LI
><LI
STYLE="list-style-type: none"
><SPAN
>
Second extended fs support (ext2fs) (CONFIG_EXT2_FS ext2.o)
</SPAN
></LI
></UL
></DIV
><DIV
CLASS="sect3"
><H3
CLASS="sect3"
><A
NAME="usb"
></A
>5.2.3. USB support</H3
><P
></P
><UL
COMPACT="COMPACT"
><LI
STYLE="list-style-type: none"
><SPAN
> Support for USB (CONFIG_USB usbcore.o)</SPAN
></LI
><LI
STYLE="list-style-type: none"
><SPAN
>
Preliminary USB device filesystem (CONFIG_USB_DEVICEFS)
</SPAN
></LI
><LI
STYLE="list-style-type: none"
><SPAN
>
USB Mass Storage support (CONFIG_USB_STORAGE usb-storage.o)
</SPAN
></LI
></UL
></DIV
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="notes"
></A
>5.3. Notes</H2
><P
>&#13; In the lists above the entities in uppercase refer to the
variable names to be found in the <TT
CLASS="filename"
>.config</TT
>
file in the upper level directory of the kernel source (<TT
CLASS="filename"
>/usr/src/linux/</TT
>). The entities
<TT
CLASS="filename"
>xxx.o</TT
> refer to the modules created when a
modular approach is followed. When there is no reference to a
module, the option can only be hard-compiled into the kernel.
</P
><P
>&#13; Different kernel versions may have different indications of
options when, for example, <EM
>make menuconfig</EM
>
or <EM
> make xconfig</EM
> are run. Variables such
as CONFIG_USB, which can be gleaned from the various <EM
>&#13; help</EM
> options, may be a more reliable indication.
</P
><P
>&#13; Very recent Linux distributions such as
<EM
>RedHat</EM
> and <EM
>SuSE</EM
>
probably have the appropriate kernel options compiled in.
</P
><P
>&#13; Under USB-support, options for a number of digital cameras are
available.
</P
><P
>&#13; Please consult the relevant texts as set out in
<A
HREF="reading.html"
>Section 4</A
> if you consider (re)compiling your
kernel.
</P
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="reading.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="basics.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Reading</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Some basic concepts</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>