色偷偷偷久久伊人大杳蕉,色爽交视频免费观看,欧美扒开腿做爽爽爽a片,欧美孕交alscan巨交xxx,日日碰狠狠躁久久躁蜜桃

x
x

U-boot-2009.08移植TE2440II開發(fā)板--環(huán)境搭建

發(fā)布時間:2011-3-23 13:43    發(fā)布者:techshare
平臺:      
虛擬機(jī):VirtualBox Ubuntu 9.10      
文件傳輸工具:SSHSecureShellClient-3.2.9      
交叉編譯環(huán)境:arm-linux-gcc-4.3.2      
與開發(fā)板通信:tftp      
Uboot移植步驟一:      
建立交叉編譯環(huán)境:arm-linux-gcc-4.3.2      
1.將arm-linux-gcc-4.3.2.tgz復(fù)制到任意路徑下;      
2.確保安裝了標(biāo)準(zhǔn)C開發(fā)環(huán)境,sudo apt-get install build-essential libncurses5-dev;      
3.在終端進(jìn)入arm-linux-gcc-4.3.2.tgz存放目錄,再sudo tar -zxvf arm-linux-gcc-4.3.2.tgz -C /(注意大寫C字母后留一個空格),這樣會自動解壓到/usr/local/4.3.2目錄下);      
4.修改環(huán)境變量,使交叉編譯環(huán)境生效。      
vim "/.profile      
在這個文件最后添加上自己的環(huán)境變量:export PATH=$PATH:/usr/local/arm/4.3.2/bin      
然后在終端執(zhí)行source "/.profile ,即可立即生效。      
5. arm-linux-gcc -v      
Using built-in specs.      
Target: arm-none-linux-gnueabi      
Configured with: /scratch/julian/lite-respin/linux/src/gcc-4.3/configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=arm-none-linux-gnueabi --enable-threads --disable-libmudflap --disable-libssp --disable-libstdcxx-pch --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --enable-shared --enable-symvers=gnu --enable-__cxa_atexit --with-pkgversion='Sourcery G++ Lite 2008q3-72' --with-bugurl=https://support.codesourcery.com/GNUToolchain/ --disable-nls --prefix=/opt/codesourcery --with-sysroot=/opt/codesourcery/arm-none-linux-gnueabi/libc --with-build-sysroot=/scratch/julian/lite-respin/linux/install/arm-none-linux-gnueabi/libc --with-gmp=/scratch/julian/lite-respin/linux/obj/host-libs-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr --with-mpfr=/scratch/julian/lite-respin/linux/obj/host-libs-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr --disable-libgomp --enable-poison-system-directories --with-build-time-tools=/scratch/julian/lite-respin/linux/install/arm-none-linux-gnueabi/bin --with-build-time-tools=/scratch/julian/lite-respin/linux/install/arm-none-linux-gnueabi/bin      
Thread model: posix      
gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72)   
步驟二:      
搭建tftp      
1、安裝server與client      
sudo apt-get install tftpd tftp openbsd-inetd      
2、新建inetd啟動文件      
sudo gedit /etc/inetd.conf      
tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /home/hacker/tftpboot??? # /home/hacker/tftpboot為tftp主目錄      
3、重新啟動inetd服務(wù)      
sudo /etc/init.d/openbsd-inetd start      
4、測試tftpd服務(wù)是否成功      
tftp localhost      
tftp> verbose      
應(yīng)該顯示:Verbose mode on.      
tftp> trace      
應(yīng)該顯示 Packet tracing on.      
在/home/hacker 建立tftpdown目錄      
mkdir /home/hacker/tftpdown      
新建文件 2.txt 設(shè)置權(quán)限      
touch 2.txt      
chmod 777 2.txt      
在 /home/hacker/tftpboot中      
新建文件 1.txt      
touch 1.txt      
chmod 777 1.txt      
chmod 777 tftpboot      
chmod 777 tftpdown      
tftp>get 1.txt? 從tftpboot接受文件      
如果想向tftpboot上傳文件,先在tftpboot中建一個空的2.txt      
然后 tftp>put 2.txt?   
步驟三:  
1.首先查看Ubuntu的IP地址,在windows下可以Ping通  


   
2.開啟SSH服務(wù),實(shí)現(xiàn)linux與windows之間的文件傳輸  
Windows中,從網(wǎng)上下載SSHSecureShellClient-3.2.9,界面如圖:  


  
3.Ubuntu中如果使本機(jī)開放SSH服務(wù)就需要安裝openssh-server  
sudo apt-get install openssh-server  
然后確認(rèn)sshserver是否啟動了:  
ps –e |grep ssh  
如果看到sshd,那說明ssh-server已經(jīng)啟動了。  
4.開啟到linux連接,如下:  
點(diǎn)擊Quick connect,在對話框中根據(jù)自己的情況進(jìn)行輸入  


  
5. 輸入你的密碼。  


  
6.這樣就登陸成功了。  


  
7.上傳文件  




李萬鵬
本文地址:http://www.54549.cn/thread-59527-1-1.html     【打印本頁】

本站部分文章為轉(zhuǎn)載或網(wǎng)友發(fā)布,目的在于傳遞和分享信息,并不代表本網(wǎng)贊同其觀點(diǎn)和對其真實(shí)性負(fù)責(zé);文章版權(quán)歸原作者及原出處所有,如涉及作品內(nèi)容、版權(quán)和其它問題,我們將根據(jù)著作權(quán)人的要求,第一時間更正或刪除。
您需要登錄后才可以發(fā)表評論 登錄 | 立即注冊

相關(guān)視頻

關(guān)于我們  -  服務(wù)條款  -  使用指南  -  站點(diǎn)地圖  -  友情鏈接  -  聯(lián)系我們
電子工程網(wǎng) © 版權(quán)所有   京ICP備16069177號 | 京公網(wǎng)安備11010502021702
快速回復(fù) 返回頂部 返回列表