Поддержка AT91RM9200 для uClinux http://www.ucrouter.ru/download/EVM9200-uClinux-20041215.patch.tgz
Поддержка AT91RM9200 для uClinux
http://www.ucroute …nux-20041215.patch.tgz
1. Copy & Unpack uClinux distributive to opt
cp uClinux-dist-20041215.tar.bz2 /opt
cd /opt
tar -xjvf ./uClinux-dist-20041215.tar.bz2
2. Copy & Unpack Atmel Linux kernel to uClinux tree
cp linux-2.4.19-rmk7.tar.gz /opt/uClinux-dist
cd /opt/uClinux-dist
tar -xzvf linux-2.4.19-rmk7.tar.gz
3. Copy & apply EVM9200 support for linux-2.4.19-rmk7
cp linux-2.4.19-rmk7-EVM9200.patch /opt/uClinux-dist
cd /opt/uClinux-dist
cat ./linux-2.4.19-rmk7-EVM9200.patch | patch -p0
ln -s /opt/uClinux-dist/linux-2.4.19-rmk7 /opt/uClinux-dist/linux-2.4.19.rmk7.x
4. Copy & Apply EVM9200 support for uClinux
cp EVM9200-uClinux-20041215.patch /opt
cd ./opt
cat ./EVM9200-uClinux-20041215.patch | patch -p0
5. Configure & compile linux-2.4.19-rmk7 & uClinux user applications
type:
make menuconfig
From main menu select item: 'Vendor/Product Selection'
From 'Vendor/Product Selection' dialog
Select Vendor:
'(Atmel) Vendor'
Select Product:
'(EVM9200)'
From main menu select item:'Kernel/Library/Default Selection'
Аrom 'Kernel/Library/Default Selection' dialog
Select kernel version:(linux-2.4.19-rmk7.x)
and Libc Version : (glibc)
Select "Exit" to exit from 'make menuconfig' utility.
type:
make dep 2>&1 | tee make_dep.out
make | tee make.out
/opt/uClinux-s/images/ucImage - ядро для прошивки u-boot-ом
/opt/uClinux-s/images/ucInitrd - initrd диск для прошивки u-boot-ом