經過幾天的試裝,沒一次裝成,終於還是呼叫瞻營全工程師,與其溝通也照著他們提供的安裝步驟執行,似乎是不可行,最後的解決方案為他們公司將提供一裝好的映像檔給我直接映進去,就這樣等待了一天。
終於回信說,他們也照著提供給我的安裝步驟執行一次,結果是和我一樣,是不可行的,嗯~~事實證明,我真的是按照步驟,所以不行.....
最後提供正確步驟 (#號是指令,沒#的都是說明)與所提供之檔案
Install linux-headers
# dpkg -i linux-headers-2.6.32.20-vortex86-sg-rtai_1.0_i386.deb
Install linux-image
# dpkg -i linux-image-2.6.32.20-vortex86-sg-rtai_1.0_i386.deb
update-initramfs
# update-initramfs -c -k 2.6.32.20-vortex86-sg-rtai
update-grub
# update-grub
reboot
Update package index files
# aptitude update
Install libreadline5
# aptitude install libreadline5
Install python-tk
# aptitude install python-tk
Install python-imaging-tk
# aptitude install python-imaging-tk
Install python-numpy
# aptitude install python-numpy
Install bwidget
# aptitude install bwidget
Install gettext
# aptitude install gettext
Untar rtai to /root
Untar emc2 to /root
Get the root permission
In /usr/src directory
# ln -sf linux-headers-2.6.32.20-vortex86-sg-rtai linux
In root/rtai/magma directory
# make install
In emc2/src directory
# make install
Then run /opt/emc2/bin/emc
沒有留言:
張貼留言