README for MS7763CP03 Linux Date:2007/4/16 [Software version info] - Kernel Version: 2.6.16.29 - gcc 3.4.5 - glibc 2.3.5 [Device drivers] - SCIF - FLASH - PCMCIA-CF - GETHERNET (*1) - PCIC - USB Host - SIOF - LCDC (*1): "nfs root" is not supported. [Kernel configuration] MS7763CP03 kernel have two configuration files. ".config" file is Application Type 1. If you confirm the difference of the application type, please see MS7763CP03 manual. Application Type 1 : [ arch/sh/configs/se7763_gether_defconfig ] @Application Type 3 : [ arch/sh/configs/se7763_pci32bit_defconfig ] Application Type 1 (SW6-4 ON, SW6-5 ON) supports these following device drivers. - SCIF - FLASH - PCMCIA-CF - GETHERNET - USB Host - SIOF - LCDC Application Type 3 (SW6-4 ON, SW6-5 OFF) supports these following device drivers. - SCIF - FLASH - PCMCIA-CF - PCIC - USB Host [Setup Procedure] This document is the setup manuals of the SH-Linux evaluation environment for evaluating SH7763 Solution Engine (MS7763CP03) as a Linux platform. 1 Host PC I prepared to Fodera Core 4 PC as SH-GCC environment. Therefore, there is no operating result except the environment. 2 Toolchain Extend "toolchain_345.tar.bz2" under any directory. Ex) #mkdir /opt/3.4.5 #tar jxf toolchain_345.tar.bz2 -C /opt/3.4.5 #export PATH=/opt/3.4.5/usr/local/bin:$PATH 3 Bootloader 3.1 Extend "sh-ipl+g-0.12-ms7763se01_20070117.tgz" under any directory. Ex) # cp /.../sh-ipl+g-0.12-ms7763se01_20070117.tgz /home # cd /home/ # tar xvzf sh-ipl+g-0.12-ms7763se01_20070117.tgz 3.2 Bootloader compiling If the compiling of bootloader finishes normally, "sh-stub.srec" is made under "sh-ipl+g-0.12-ms7763se01_20070117". Please write "sh-stub.srec" to the flash memory on MS7763CP03. Ex) # cd sh-ipl+g-0.12-ms7763se01_20070117/ # make 4 Root File System Please connect Compact Flash Card (CF) to the host PC and extend "rootfs-MS7763CP03-20070416.tgz" to the CF. This rootfs includes the kernel image file (zImage) and kernel-modules. Ex) #mkfs.ext3 /dev/sda1 /*If the device file of CF isn't /dev/sda1, chenge to etc/lilo.conf.*/ #mount /dev/sda1 /mnt/cf #tar zxvf rootfs-MS7763CP03-20070416.tgz -C /mnt/cf #lilo -r /mnt/cf #umount /mnt/cf 5 Linux-kernel 5.1 Extend "linux-MS7763CP03-2.6.16.29-20070416.tgz" under any directory. Ex) # cp /.../linux-MS7763CP03-2.6.16.29-20070416.tgz /home # cd /home # tar xvzf linux-MS7763CP03-2.6.16.29-20070416.tgz 5.2 Kernel environment initializaton .config is the kernel configuration file. When the source code of sh-Linux is newly installed, it is necessary to initialize the compiler environment. Ex) # cd linux-MS7763CP03-2.6.16.29-20070416/ # cp -p .config ../ # make mrproper # cp -p ../config . 5.3 Kernel configuration If you operate the following command, you can see the kernel configuration window. Ex) # make menuconfig 5.4 Kernel compiling and install to CF If compiling is finished normally, the kernel image file (zImage) is made under "arch/sh/boot/ " Ex) # make zImage # mount /dev/sda1 /mnt/cf # cp arch/sh/boot/zImage /mnt/cf/boot/ # make modules # make INSTALL_MOD_PATH=/mnt/cf modules_install # lilo -r /mnt/cf # umount /mnt/cf