Page 1
® Intel I/O Processors Linux - Debian Installation Guide June 2005 Order Number: 306507001US June 2005...
Page 2
(the “Agreement”) between you and Intel Corporation (“Intel”). In the event that you do not agree with any of these terms and conditions, do not use or install the Pre-Release Product and promptly return it unused to Intel.
Upgrading to Debian Testing ... 22 Figures No Figures Used At This Time Tables RedBoot Parameter Values for CRBs ... 11 Kernel Parameter Values for CRBs ...15 Installation Guide ® Intel I/O Processors Order Number: 306507001US Contents—Linux - Debian June 2005...
Linux - Debian—Contents Revision History Date Revision Description June 2005 Initial Release. ® Intel I/O Processors Installation Guide June 2005 Order Number: 306507001US...
Updates will be made to these instructions as changes are reported. Linux-Debian Installation Guide ® Intel I/O Processors Order Number: 306507001US Introduction—Linux - Debian...
TFTP server. A kernel image takes many times longer to load over serial than over ethernet. This provides BOOTP information for the target. This is not necessary when assigning static IP addresses. ® Intel I/O Processors Order Number: 306507001US Linux-Debian Installation Guide...
Page 7
When running a firewall on the host system, ensure that connections are accepted from the target board. See the firewall or system documentation for more details. Linux-Debian Installation Guide ® Intel I/O Processors Order Number: 306507001US Host Setup—Linux - Debian...
Launch the system-config-network utility on the Fedora host system and configure the secondary ethernet controller with an IP of 192.168.0.1 and a subnet mask of 255.255.255.0. When providing full internet access to the Intel XScale possible to configure the IA Linux host to act as a NAT router, connecting the 192.168.0.0 subnet to the primary network.
When using BOOTP or DHCP to assign dynamic IP addresses, use the 'fconfig' command in RedBoot to configure the board to query for an IP address. See the RedBoot User's Manual Linux-Debian Installation Guide 192.168.0.100; ® Intel I/O Processors Order Number: 306507001US Host Setup—Linux - Debian June 2005...
Linux - Debian—Host Setup NFS Server Setup ® When Intel XScale necessary to export the appropriate directory via the NFS Server. These instructions assume the NFS mounted root file system is located on the server as “/exports/fs.xscale”. Edit the file “/etc/exports” and add the following line: /exports/fs.xscale *(rw,no_root_squash,sync)
Target Firmware Setup Connect the ethernet port of the Intel XScale ethernet controller via a crossover cable or connect them both to a GbE hub. Connect the serial port of the CRB to the serial port of the server. Running “minicom” should allow viewing of the RedBoot console output from the board.
Cross Toolchain The next step in building a Linux system for running on Intel XScale generate a cross-toolchain for building the kernel and applications from the IA Linux host. Currently, we use a toolchain built using the crosstool build scripts (http://kegel.com/crosstool).
With a multiprocessor system, increase the speed of the kernel build by allowing make to issue multiple jobs at one. A 4-processor system has run; $ make -j 4 zImage Now copy the kernel to the TFTP directory $ cp arch/arm/boot/zImage /tftpboot/zImage.iq80331 June 2005 ® Intel I/O Processors Order Number: 306507001US http:// Linux-Debian Installation Guide...
+Ethernet eth0: MAC address 00:0e:0c:52:98:20 IP: 10.0.1.8/255.255.255.0, Gateway: 10.0.1.9 Default server: 10.0.1.9, DNS server IP: 0.0.0.0 RedBoot bootstrap and debug environment [ROM] Intel IOP RedBoot release version 2.0-IOP-RedBoot built 08:01:31; December 21, 2004 Platform: IQ80331 (Intel XScale Copyright (C) 2000, 2001, 2002, Red Hat, Inc.
Page 16
NET: Registered protocol family 16 PCI: bus0: Fast back to back transfers disabled SCSI subsystem initialized Intel IOP3XX DMA Copyright(c) 2004 Intel Corporation NetWinder Floating Point Emulator V0.97 (double precision) Installing knfsd (copyright (C) 1996 okir@monad.swb.de). SGI XFS with ACLs, security attributes, no debug enabled Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled...
IA Linux host. This gives fine-grained control over optimization levels, etc. Linux-Debian Installation Guide ® Intel I/O Processors Order Number: 306507001US Distributions—Linux - Debian...
Debian distribution. (when not caringabout what is there currently) ”. Installation Main Menu 192.168.0.1:/exports/fs.xscale ” and press return. ® Intel I/O Processors Order Number: 306507001US http://www.debian.org/releases/ Section 6.1.1) and then use Section 6.1.5). For most ”...
Page 19
” and press return. ” line from the “/exports/fs.xscale/etc/fstab” file on the host system. ”, make sure that the proper IP address of a nameserver on the 192.168.0.1 ® Intel I/O Processors Order Number: 306507001US Distributions—Linux - Debian ” reappears.
Page 20
Root File system. When the disk is not sda1, it is necessary to modify this as appropriate for the setup. RedBoot> lo -r -v -b {kernel-load-addr} /zImage.iq80331 RedBoot> exec {kernel-run-addr} -c "ip=bootp root=/dev/sda1 console=ttyS0,115200 cachepolicy=writealloc" June 2005 ® Intel I/O Processors Order Number: 306507001US Linux-Debian Installation Guide...
To enable the IA Linux host as an rdate server, issue the following commands on the server as root: # /sbin/chkconfig time on # /sbin/service xinetd restart Then on the Intel XScale download and install the rdate package. This only needs to be done once. # apt-get install rdate To manually update the time on the target: # rdate 192.168.0.1...
To upgrade the Debian installation to testing: 1. First edit the file “/etc/apt/sources.list”. 2. Replace the word “stable” with “testing” wherever it appears. 3. Then run the following: # apt-get update # apt-get dist-upgrade June 2005 ® Intel I/O Processors Order Number: 306507001US Linux-Debian Installation Guide...