sys13: as root (in X window): #ARM gcc cross compiler (optional) get IA32 GNU/Linux Installer http://www.codesourcery.com/sgpp/lite/arm/portal/release644 sh arm-2008q3-72-arm-none-linux-gnueabi.bin minicom -s /dev/ttyS0 Ctrl-A z o serial a /dev/ttyS0 e 38400 8N1 f Hardware Flow Control : No Save setup as _dev_ttyS0 exit add to /etc/iptables: -A RH-Firewall-1-INPUT -i eth1 -j ACCEPT -A RH-Firewall-1-INPUT -p tcp -s 152.14.86.208 --dport 111 -j ACCEPT -A RH-Firewall-1-INPUT -p tcp -s 152.14.86.208 --dport 2049 -j ACCEPT create /etc/exports: /opt/arm sys56(rw,no_root_squash) /etc/init.d/iptables restart /etc/init.d/nfs restart #file system image http://www.linux.onarm.com/index.php/Main_Page http://linux.onarm.com/download/images/generic-2/20090807/ wget http://linux.onarm.com/download/images/generic-2/20090807/generic-20090807-rootstrap.tar.gz wget http://linux.onarm.com/download/images/generic-2/20090807/generic-20090807.tar.gz #NSF root http://www.linux.onarm.com/index.php/NFS_boot_up http://linux.onarm.com/gitweb/?p=generic/config/generic.git;a=blob;f=bin/prepare-nfsroot.sh download into /root/arm/: generic-20090807-rootstrap.tar.gz bin_prepare-nfsroot.sh chmod: cannot access `/opt/arm/etc/ssh*key*': No such file or directory chmod: cannot access `/opt/arm/etc/ssh*key*': No such file or directory chown: cannot access `/opt/arm/etc/ssh*key*': No such file or directory mkdir /opt/arm cd /opt/arm tar xzf /root/arm/generic-20090807-rootstrap.tar.gz sh /root/arm/bin_prepare-nfsroot.sh /opt/arm add to /etc/exports: /opt/arm 152.14.86.208(rw,no_root_squash) sys56(rw,no_root_squash) /etc/init.d/nfs restart #enable nfs service for level 5 chkconfig --level 5 -add nfs #TFTP yum install -y tftp-server.x86_64 (see opt.txt for more) as user: add to ~/.bashrc: PATH="$PATH:/opt/CodeSourcery/Sourcery_G++_Lite/bin" #U-Boot (optional) wget ftp://ftp.denx.de/pub/u-boot/u-boot-latest.tar.bz2 tar xjf u-boot-latest.tar.bz2 cd u-boot-2009.06/ edit Makefile CROSS_COMPILE = arm-none-linux-gnueabi- #CROSS_COMPILE = arm-linux- make versatileab_config make ?convert bin->axf? 1) http://www.linux-arm.org/git 2) http://www.arm.com/products/os/linux_download.html RealView EB and PB: U-Boot --> u-boot-bin-u-boot_realview.axf [RealView-v6-smp, config] --> kernel_bin_2.6.28-arm1_uImage-2.6.28-arm1-realview-v6-smp kernel/config/2.6.28-arm1/config-2.6.28-arm1-realview-v6-smp #insert SD card on PC: cp u-boot-bin-u-boot_realview.axf /media/disk/ubootrv.axf cp kernel_bin_2.6.28-arm1_uImage-2.6.28-arm1-realview-v6-smp /mnt/disk/kernel sync #move SD card into slot on ARM board, reset w/ all switches in OFF #Notice: Switch 2 ON means DVI output, not serial (for ARM Boot Prompt) #Uboot does not support DVI output, always serial console minicom /dev/ttyS0 flash write binary M:\KERNEL NAME LINUX FLASH_ADDRESS 0x44000000 exit m: run ubootrv.axf Ctrl-C during bootup bdinfo cp 0x44000000 0x7fc0 0x1B9484 setenv bootargs bootargs=root=/dev/nfs ip=dhcp mem=128M console=ttyAMA0 video=vc:1-2clcdfb: nfsroot=152.14.86.195:/opt/arm saveenv #runlevel 1, only once to get root console setenv bootargs bootargs=root=/dev/nfs 1 ip=dhcp mem=128M console=ttyAMA0 video=vc:1-2clcdfb: nfsroot=152.14.86.195:/opt/arm bootm ... passwd... -- From: "Poulomi Pal" Following is information that I used while setting up the board. A look into the uboot environment variables was extremely useful for me. These comprise the different addresses. I used an online reference( http://www.embedian.com/index.php?main_page=ubootev) The MAC address is the variable 'ethaddr' The MAC address should also be somewhere on the board itself(my board has a sticker on it with the MAC address). Since I used a board that already had uboot on it I always used the preset environment variable. This information is present on the EEPROM as well. The ARM document DUI0303D (Emulation Baseboard User guide) provides information about the boot monitor commands that are useful. Uboot on start executes the default boot command as set in the environment variable bootcmd. The important environment variables (with example values) that need to be set are: bootcmd=tftpboot ; bootm bootdelay=2 baudrate=38400 bootfile=uImage stdin=serial stdout=serial stderr=serial verify=n ipaddr=192.168.1.100 bootargs=root=/dev/nfs ip=dhcp console=ttyAMA0 video=vc:1-2clcdfb: nfsroot=192.168.1.42:/local/home/ppal/nfs mem=128M A 'printenv' will display the current values. Similarly 'setenv' and 'savenv' can be used to set the environment variables and save them respectively. Since I had to work from the uboot onwards, the above information is what was required for the setup. I hope this is useful. Please let me know if there's anything else I can help you with.