Philips ISP1362 Network Card User Manual


 
Philips Semiconductors ISP1362 Linux Stack User’s Guide
UM10012-_2 © Koninklijke Philips Electronics N.V. 2003. All rights reserved.
User’s Guide Rev. 1.2—July 2003 12 of 34
#cp /mnt/cdrom/Tools/tool_chain/arm-linux-gcc2953.tar.bz2 /
#cd /
#tar jxvf arm-linux-gcc2953.tar.bz2
(Older versions of tar might not accept this, then try using
#tar Ixvf arm-linux-gcc2953.tar.bz2)
Be careful about the root directory of the ARM cross compiler. arm-linux-gcc will invoke cpp0 and cc1 assuming
they reside in certain directories relative to the compiler’s root directory. To be on the safe side, unzip the ARM
tool chain in the root directory /.
Copy the utilities
bin2bin, foxfox, mkfs.jffs2, padkernel.py from Tools/utils directory of
Accelent CD to your execution path (like maybe /bin). These tools are needed to prepare Linux kernel and root
file system for loading into the target.
#cp /mnt/cdrom/Tools/utils/* /bin
#cd /bin
#chmod +x bin2bin foxfox mkfs.jffs2
padkernel.py
3.2.2.5.Linux Kernel source
The Linux kernel can be installed in to the PC host from the source code provided by the Accelent CD. Create a
directory for the source code (example /usr/src/AccelentIDPRev4) and go to the directory.
#cd /usr/src/AccelentIDPRev4
#bzip2 -cd /mnt/cdrom/Source/kernel/linux-2.4.18.tar.bz2 | tar xfv –
#bzip2 -cd /mnt/cdrom/Source/kernel/patch-2.4.18-rmk7.bz2 | patch -p0
#gzip -cd /mnt/cdrom/Source/kernel/patch-2.4.18-rmk7-pxa3.gz | patch -p0
#gzip -cd /mnt/cdrom/Source/kernel/releasepatch-2.4.18-rmk7-pxa3-asi2.gz | patch -p0
#cd linux
#make pxa_idp_config
#make oldconfig
ISP1362 stack release contains setup files related to Accelent IDP setup. First copy the ISP1362 release files
(isp1362_linux_sw_stack.tar.gz) to the current directory (
/usr/src/AccelentIDPRev4/linux)
#tar –zxvf isp1362_linux_sw_stack.tar.gz
#patch -p1 <1362/misc/accelent_rev4/otg_kernel_patch_rev4
#cp /mnt/cdrom/Images/rootfs.tar.gz
3.2.2.6.Linux Kernel Compliation
Makefile
Edit the Makefile of the kernel source (
/usr/src/AccelentIDPRev4/linux) CROSS_COMPILE path to the
path of the cross compiler