Philips Philips Semiconductors, ISP1362 Linux Stack User’s Guide, Rev. 1.2—July2003, 10 of

Models: ISP1362

1 35
Download 35 pages 27.09 Kb
Page 10
Image 10

Philips Semiconductors

ISP1362 Linux Stack User’s Guide

2.Copy the ISP1362 Linux stack (isp1362_linux_sw_stack.tar.gz) to a local directory (This installation uses /usr/src/linux-otg).

3.Apply the OTG patch to the kernel:

#cd /usr/src/linux-otg

#tar –zxvf /mnt/cdrom/isp1362_linux_sw_stack.tar.gz

#patch -p1 < 1362/misc/pci/otg_kernel_patch_pci

4.Configure, compile, install and run the new kernel. You can get information on how to configure, compile and install the new kernel at http://www.tldp.org/HOWTO/kernel-HOWTO.html. While configuring the kernel, enable the following options for the ISP1362 Linux stack:

a.Code maturity level options

b.Loadable module support (enable all options)

c.Loop back device support (in block devices)

d.Any other USB options that need to be enabled

5.Reboot the PC, with the new kernel and the ISP1362 PCI evaluation kit.

3.1.3.2.Setting Up the ISP1362 Linux Stack

1.Go to the ISP1362 Linux software stack source top directory.

#cd /usr/src/linux-otg/1362/source

2.Edit the Rules.Make file for any changes in the compilation rules. The changes could be:

a.The kernel source directory is different from the one specified above.

b.Compile time flags, see Section 5.1. If you want any configuration changes. Make sure that PCI_KIT hardware option is enabled.

3.Compile the ISP1362 Linux stack source code.

#make clean all install

Note: If the compilation fails due to non-existence of the glibconfig.h file, create a dummy file in the

/usr/include directory.

4.Make the setup for the OTG mass storage demo environment

# cd appl/tools

#make –f Makefile.setup

#./otgsetup.o

UM10012-_2

 

© Koninklijke Philips Electronics N.V. 2003. All rights reserved.

User’s Guide

Rev. 1.2—July 2003

10 of 34

Page 10
Image 10
Philips manual Philips Semiconductors, ISP1362 Linux Stack User’s Guide, Rev. 1.2—July2003, 10 of