詳解在Nios Startkit上運(yùn)行uCLinux的實(shí)驗(yàn)
1. 點(diǎn)擊 uClinux For Nios II 下載 uClinux 開(kāi)發(fā)包,并按其說(shuō)明安裝到電腦上。
2. 將 C:alterakits ios2_60ineclipsepluginscom.microtronix.nios2linux.kernel_1.4.0 下的 linux-2.6.x 文件夾復(fù)制到 D:盤根目錄下。
3. 點(diǎn)擊 NE2000驅(qū)動(dòng) 下載 RTL8019AS 的驅(qū)動(dòng)程序,將解壓后的 8390.h、ne.c 文件復(fù)制到 D:linux-2.6.xdrivers et 下,覆蓋掉該文件夾下的同名文件。
4. 啟動(dòng) Nios II Command Shell,輸入 cd d:/linux-2.6.x 命令。

5. 在 Nios II Command Shell 窗口中,輸入 make hwselect SYSPTF=../lwip/niosII.ptf 命令。對(duì)于隨后的 cpu、ext_flash、sdram 選擇菜單,都輸入 1。

6. 在 Nios II Command Shell 窗口中輸入 make menuconfig 命令,進(jìn)入 uClinux 配置界面。

7. 進(jìn)入到 Processor type and features 設(shè)置頁(yè)面。將 Platform 設(shè)置為 Altera Cyclone Development board support,去掉對(duì) Enable leds,seven segment display 的選擇,退回到上一級(jí)界面。

交換機(jī)相關(guān)文章:交換機(jī)工作原理
評(píng)論