Result on Fedora Core 9
Successful:
1. Build Bootloader_v1.8 with cross-compile arm-none-linux-gnueabi- (arm-linux- --> error message)
make clean
make CROSS_COMPILE=arm-none-linux-gnueabi-
2. Build u-boot_1.1.5 with cross-compile arm-none-linux-gnueabi-/arm-linux-
bzcat u-boot-x.x.x_atmel_y.y.diff.bz2 | patch -p1 (or cat ../u-boot-1.1.5_atmel_1.6.diff | patch -p1)
make distclean
make at91sam9263ek_config
make CROSS_COMPILE=arm-none-linux-gnueabi-(or arm-linux-)
3. Build kernel-2.6.22 with cross-compile arm-none-linux-gnueabi-/arm-linux-
tar jxvf /opt/AT91SAM/linux_src/linux-2.6.22.tar.bz2
zcat ../2.6.22-at91.patch.gz | patch -p1
zcat ../2.6.22-at91-exp.patch.gz | patch -p1
make ARCH=arm at91sam9263ek_defconfig
make ARCH=arm distclean
cp ../at91sam9263ek_config .config
make ARCH=arm oldconfig
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
mkimage -A arm -O linux -C none -T kernel -a 20008000 -e 20008000 -n linux-2.6 -d arch/arm/boot/zImage linux-2.6.22-uImage
4. minicom connection
minicom -s
-> (serial port setup->A->/dev/ttyS0) (serial port setup->F->No)
5. sam-ba 2.7 for linux [ tcl8.4 tclx8.4 tk8.4]
rmmod usbserial
modprobe usbserial vendor=0x03eb product=0x6124
lsusb -d 03eb:6124
Bus 004 Device 006: ID 03eb:6124 Atmel Corp
6. samba server setup&command
yum -y install samba
rpm -qa | grep samba
/etc/samba/smb.conf
/etc/init.d/smb start (or status or restart or stop)
netstat -tlnp |grep smb
setup
-> system service
reboot
7. sam-ba mount usb's auto-run command
creat new file
rmmod usbserial;modprobe usbserial vendor=0x03eb product=0x6124;lsusb -d 03eb:6124
save to at91usb and give it execute access
./at91usb
8. tftp server setup
netstat -a | grep tftp
remove line "disable = yes"and modify line " user = root" in the file /etc/xinetd.d/tftp and mpdify (server_args = -s /tftpboot -c)
mkdir /tftpboot
chmod o+w /tftpboot
service xinetd restart
阅读(1927) | 评论(0) | 转发(0) |