微型机与应用
微型機與應用
미형궤여응용
MICROCOMPUTER & ITS APPLICATIONS
2012年
22期
53-56
,共4页
动态主机配置协议%嵌入式系统%交叉编译
動態主機配置協議%嵌入式繫統%交扠編譯
동태주궤배치협의%감입식계통%교차편역
dynamic host configuration protocol(DHCP)%embedded system%cross compiler
为了解决嵌入式设备无法自动获取或释放IP的问题,针对ARM9(S3C2440)嵌入式开发板,在Fedora操作系统上,配置了交叉编译环境,编写了动态主机配置协议(DHCP)客户端程序代码。利用交叉编译环境对其进行编译,将编译成功产生的程序移植到以ARM9开发板为核心的嵌入式操作系统上。测试结果表明,该软件可以在ARM9处理器的Linux和Android嵌入式操作系统上运行,在嵌入式设备开机时,软件自动运行,广播发送报文寻找DHCP服务器,自动获取IP后,动态配置嵌入式设备的IP及各项网络参数。
為瞭解決嵌入式設備無法自動穫取或釋放IP的問題,針對ARM9(S3C2440)嵌入式開髮闆,在Fedora操作繫統上,配置瞭交扠編譯環境,編寫瞭動態主機配置協議(DHCP)客戶耑程序代碼。利用交扠編譯環境對其進行編譯,將編譯成功產生的程序移植到以ARM9開髮闆為覈心的嵌入式操作繫統上。測試結果錶明,該軟件可以在ARM9處理器的Linux和Android嵌入式操作繫統上運行,在嵌入式設備開機時,軟件自動運行,廣播髮送報文尋找DHCP服務器,自動穫取IP後,動態配置嵌入式設備的IP及各項網絡參數。
위료해결감입식설비무법자동획취혹석방IP적문제,침대ARM9(S3C2440)감입식개발판,재Fedora조작계통상,배치료교차편역배경,편사료동태주궤배치협의(DHCP)객호단정서대마。이용교차편역배경대기진행편역,장편역성공산생적정서이식도이ARM9개발판위핵심적감입식조작계통상。측시결과표명,해연건가이재ARM9처리기적Linux화Android감입식조작계통상운행,재감입식설비개궤시,연건자동운행,엄파발송보문심조DHCP복무기,자동획취IP후,동태배치감입식설비적IP급각항망락삼수。
In order to solve the problem that the embedded device can not obtain or release IP, according to ARM9(S3C2440) embedded development board, cross-compilation environment was set to embedded operating system of Fedora, client software based on dynamic host configuration protocol(DHCP) was compiled. DHCP client program that was compiled on cross-compilation environ-ment was transplanted to the embedded operating system as the core of ARM9 development board. Test experiments show that the DHCP client can be run on the ARM9 (S3C2440) version of Linux and Android embedded operating system, automatically run the DHCP client when the embedded device was turned on, send the packet to find a DHCP server to automatically obtain IP in the way of radio, dynamically configure IP and other network parameters for embedded devices.