1.openwrt是码分什么意思
2.å¦ä½ç¼è¯OpenWrt
3.openWRT简介
4.OpenWRTå¼åä¹å建软件å
5.å¦ä½å¨OpenWRTç¯å¢ä¸åå¼å
6.openwrt的扩容——extroot
openwrt是什么意思
OpenWrt是什么意思 OpenWrt是一个用于无线路由器的自由开放源代码的Linux操作系统。它的码分名字取自于“开放的路由器”,旨在提供强大的码分网络功能和灵活性。OpenWrt可以给路由器添加各种网络功能,码分如防火墙、码分任务网网站源码虚拟专用网络(***)、码分定位追踪指标源码负载均衡等,码分也可以安装各种软件包,码分如Torrent下载器、码分Web服务器等。码分OpenWrt支持各种计算机芯片架构,码分包括x、码分MIPS、码分学院网站源码在哪ARM等。码分 OpenWrt的码分主要优势在于它的灵活性和可定制性。它提供了许多功能强大的网络功能,例如负载平衡、协会小程序 源码防火墙和***,可以帮助用户轻松构建安全可靠的网络。此外,OpenWrt还支持多种架构,云科技5.1源码如x、MIPS和ARM,因此可适用于各种类型的设备。 OpenWrt的适用场景 OpenWrt非常适合那些想要控制自己网络的用户。它可以轻松监控网络流量、DHCP设置和端口转发等,让用户更好地管理自己的网络。OpenWrt也被用于IoT设备、智能家居、无人机、自动驾驶汽车等领域。因为它可以定制各种计算机支持的处理器架构,因此可以轻松适配各种设备类型。å¦ä½ç¼è¯OpenWrt
ããOpenwrt å®æ¹æ£å¼çåè¡çæ¯å·²ç¼è¯å¥½äºçæ åæ件ï¼åç¼åbinætrxãtrx2ï¼ï¼æ¤æ åæ件å¯ä»Openwrtå®æ¹ç½ç«çä¸è½½é¡µé¢ä¸è½»æ¾è·åå°ï¼è¿æ¥å°å为 OpenWrtå®æ¹ç½ç«ãè¿äºç¼è¯å¥½çæ åæ件æ¯åºäºé»è®¤çé 置设置ï¼ä¸åªé对åæ¯æçå¹³å°æ设å¤çãå æ¤ï¼ä¸ºä»ä¹è¦æé ä¸ä¸ªèªå·±çæ åæ件ï¼çç±æ以ä¸åç¹ï¼
ããæ¨æ³æ¥æä¸ä¸ªä¸ªæ§åçé ç½®OpenWrtï¼å½°æ¾ä¸ªæ§ï¼å¨æåååéæ¾ææ¾æï¼å¼ä¸ªç©ç¬ï¼ï¼
ããæ¨æ³å¨å®éªæ§çå¹³å°ä¸æµè¯OpenWrtï¼
ããæ¨åä¸æµè¯æåä¸å¼åOpenWrtçå·¥ä½ï¼
ããæè ï¼æç®åçç®çå°±æ¯ä¸ºäºä¿æèªå·±çOpenwrt为ææ°çæ¬ï¼
ããè¥æ³å®ç°ä¸è¿°ç®çï¼å ¶å®å¾ç®åï¼æä¸è¿°æåå³å¯æåç¼è¯åºä¸ä¸ªæ¨çOpenwrtæ¥ã
ããåå¤å·¥ä½
ããå¨å¼å§ç¼è¯Openwrtä¹åéè¦æ¨åäºåå¤å·¥ä½ï¼ä¸å ¶ä»ç¼è¯è¿ç¨ä¸æ ·ï¼ç±»ä¼¼çç¼è¯å·¥å ·åç¼è¯ç¯å¢æ¯å¿ ä¸å¯å°çï¼
ããä¸ä¸ªæ建OpenWrtæ åçç³»ç»å¹³å°ï¼ç®å说就æ¯åå¤ä¸ä¸ªæä½ç³»ç»ï¼æ¯å¦UbuntuãDebiançï¼ï¼
ããç¡®ä¿å®è£ äºæéçä¾èµå ³ç³»åºï¼ ï¼å¨debianç³»ç»ä¸å°±æ¯å®è£ åç§éè¦ç软件å ï¼
ããOpenWrtæºä»£ç å¯æ¬
ããé¦å ï¼ å¼æºç»éå°æ¯æç¼è¯Openwrtçæä½ç³»ç»ï¼åºè¯äºï¼ãå®ä½æºæè èææº(Vmware æè Qemu)éçæä½ç³»ç»é½è¡ï¼è¿éæ¨è使ç¨Linuxç³»ç»ã bsdåmac osxç³»ç»ä¹å¯ä»¥ç¼ï¼ä½ä¸æ¨èï¼ä¸æªéªè¯æ¯å¦å¯ç¼è¯æåãä¸æåå®æ¨ä½¿ç¨çæ¯Debianæä½ç³»ç»ï¼ä½¿ç¨ apt-get æ¥ç®¡çå . æ¿ä»£çéæ©æ¯ Ubuntu (åæ¯ Kubuntu, Xubuntu çå³å¯)ã
ãã第äºæ¥, å°±æ¯å®è£ æéè¦çåç§è½¯ä»¶å , å æ¬ç¼è¯å¨,解åå·¥å ·,ç¹å®çåºç. è¿äºå·¥ä½å¯ä»¥ç®åçéè¿é®å ¥ä»¥ä¸å½ä»¤ (é常éè¦root æè æ¯ sudo æé)ï¼ä»¥rootæéå®è£ ä¸å软件å (å¯è½å¹¶ä¸å®æ´ï¼ä¼ææ示ï¼æ示缺å°å³è£ å°±å¯ä»¥äºï¼:
ããä½(x)请æ§è¡ä¸åå½ä»¤:
ãã# apt-get install build-essential asciidoc binutils bzip2 gawk gettext \
ããgit libncurses5-dev libz-dev patch unzip zlib1g-dev
ãã
ããä½(x_)请æ§è¡ä¸åå½ä»¤ï¼å¤è£ äºåªäºåºæ软件å å¢ï¼è¯·æ¨ä»ç»çä¸çå¦ï¼:
ãã# apt-get install build-essential asciidoc binutils bzip2 gawk gettext \
ããgit libncurses5-dev libz-dev patch unzip zlib1g-dev ia-libs \
ããlibgcc1 libc6-dev-i
ãã
ããåè æ¬åè¡¨ä¸ æåçç¼è¯ç¯å¢æéè¦è½¯ä»¶å æåºã
ããæäºä¾èµç为åºæ软件å ä¹è®¸æä½ç³»ç»ä¸å·²ç»å®è£ è¿ï¼æ¤æ¶apt-getä¼ä½åºæ示ï¼æ示æ¨å¿½ç¥æéæ°å®è£ çï¼ï¼å«ç´§å¼ ï¼æ¾è½»æ¾äºï¼ç¼è¯Openwrtä¸ä¼åç¼è¯DDï¼WRTé£æ ·é¾çï¼è³å°æ¬äººæ¯ä½ä¼å°äºç¼è¯DDï¼WRTçé¾ï¼ã
ããæåä¸è½½ä¸ä»½å®æ´ç Openwrt æºç å°ç¼è¯ç¯å¢ä¸ãå ³äºOpenwrtçæºä»£ç ä¸è½½ï¼éå¾æäºï¼ä¸æ¯éè¿ svn ï¼ä¸æ¯éè¿ gitï¼å»ºè®®ä½¿ç¨ svn ï¼å 为Openwrt主è¦ä»¥ svn æ¥ç»´æ¤Openwrtç³»ç»ççæ¬ãå¦å¤ï¼è¯·æ³¨æOpenwrtä¸ä¸åçåæ¯çæ¬ï¼ä¸ä¸ªæ¯ç¨å¾è¾å¤çå¼åå¿«ç §ï¼ä¿ç§° trunkï¼äºæ¯ç¨³å®çï¼ä¿ç§° backfireã
ããå®è£ Subversion
ããè¥ä½ æ³éè¿svnä¸è½½æºä»£ç ,ä½ éå®è£ SubversionãSubversion,æ称SVN, æ¯OpenWrtçprojectä¸ç¨æ¥æ§å¶çæ¬çç³»ç»,å®é常类似ç CVSççé¢å使ç¨æ¡æ¬¾ã æ§è¡ä¸è¿°å½ä»¤å³å¯å®è£ SVNï¼å¾å®¹æçï¼
ãã# apt-get install subversion
ãã
ããSubversionå®è£ å®æ¯ï¼éè¿SVNå½ä»¤å¯è·åå¾å°ä¸ä»½OpenWrt纯åæºä»£ç ãæ¨è¿å¾å建ä¸ä¸ªç®å½ä»¥ä¾¿åæ¾è·åå¾å°çOpenwrtæºä»£ç ï¼è¦è·åæºä»£ç ä½ è¿å¾è¾å ¥subversionå½ä»¤æ¥è·å (svnéè¿ç§æä½ç§°ä¹ä¸º'check out') ãå½ä»¤å¾ç®åçï¼ç»§ç»çä¸å»å°±è½è§å°äºï¼å«çæ¥ï¼èå¿ç¹å¿ã
ããç¼è¯æµç¨
ããç¼è¯ä¸å±äºæ¨ç设å¤çç¹å®Openwrtåºä»¶ä»¥ä¸ä¸äºä¸ªæ¥éª¤ï¼
ããéè¿Subversionå½ä»¤è·å¾æºä»£ç ï¼
ããæ´æ°(æå®è£ ) package feedsãpackage feedsæ æ³ç¡®åç¿»è¯ï¼å¾ è¯å§ï¼ï¼
ããå建ä¸ä¸ªé»è®¤é 置以æ£æ¥ç¼è¯ç¯å¢æ¯å¦æå»ºå¥½äº (åå¦éè¦çè¯)ï¼
ããç¨Menuconfigæ¥é ç½®å³å°ç¼è¯çæçåºä»¶æ åæ件çé 置项ï¼
ããæåå¼å§ç¼è¯åºä»¶ï¼
ããä¸è½½æºä»£ç
ããæåï¼ä¸è½½ä¸ä»½å®æ´çOpenWrtæºä»£ç ãä½ å¯éæ©ï¼
ããä¸è½½ç¨³å®åè¡çï¼æ
ããä¸è½½å¼åç (ä¿ç§°"trunk"ç)ã
ãã使ç¨åè¡ççæºç
ããæªæ¢æ¬ææ¶, Openwrtå ¬å¼åè¡ç稳å®ç为 OpenWrt . "backfire"ãæ¤çæ¬æ¯æ稳å®çï¼ä½ä¹è®¸ä¸å æ¬ææ°æ´æ°çè¡¥ä¸æææ°ç¼åçåºçæ°åè½ã
ããä¸è¿°ä»£ç å³ä¸¾ä¾è¯´æäºéè¿svnä»brandkfireè·å¾backfireæºä»£ç ï¼æ¤çæ¬æææ¯ä»trunkåæ¯çè¡¥ä¸ä¹å¨backfireçæ¬ä¸äºï¼å³å å«ä¿®å¤è¡¥ä¸ï¼ï¼
ãã# mkdir OpenWrt/
ãã# cd OpenWrt/
ãã# svn co svn://svn.openwrt.org/openwrt/branches/backfire
ãã
ãã注解: ä¸è¿°svnå½ä»¤å°å¨å½åç®å½å建ä¸ä¸ª OpenWrt/backfire/ åç®å½ï¼æ¤ç®å½å å«æ¤å½ä»¤è·åå°çæºä»£ç ã
ããæ¨ä¹å¯ä»¥éè¿ä¸è¿°å½ä»¤ï¼ä¸è½½ä¸å«ä¿®å¤è¡¥ä¸çbackfireçåçæºç ï¼
ãã# svn co svn://svn.openwrt.org/openwrt/tags/backfire_.
ãã
ãã使ç¨å¼åçæºä»£ç
ããå½åçå¼åçæ¬åæ¯(trunk)å·²å å«ææ°çå®éªè¡¥ä¸ãæ¤åæ¯æ许è¿çªç ´äºOpenwrtåæ¥æä¸æ¯æç硬件设å¤çéå¶å¦ï¼æåçåæ¶ä¹æé£é©åå¨ãå æ¤ï¼ç¼è¯trunkçï¼æ ä¹ï½
ãã# mkdir OpenWrt/
ãã# cd OpenWrt/
ãã# svn co svn://svn.openwrt.org/openwrt/trunk/
ãã
ããæ´å¤è¯¦ç»èµæ详è§ï¼ binations might break the build process, so it can take some experimentation before the expected result is reached. Added to this, the OpenWrt developers are themselves only maintaining a smaller set of packages â which includes all default packages â but, the feeds-script makes it very simple to handle a locally maintained set of packages and integrate them in the build-process.
ããåå¦ä½ éè¦LuCI, è¦å°Administration èåé,å¨LuCIç»ä»¶çåèåä¸, 并éæ©: luci-admin-core, luci-admin-full, and luci-admin-miniç»ä»¶å ã
ããåå¦ä½ ä¸éè¦PPP,ä½ å¯å°Networkèåä¸åæ¶å¯¹å®çéæ©ï¼ä»¥ä¾¿ç¼è¯æ¶ä¸å å«æ¤ç»ä»¶ã
ããMenuconfigç¨æ³: ç¡®ä¿è¿äºç»ä»¶å æ¯ä»¥ '*'æå·æ è®°èä¸æ¯ 'M'æ è®°ã
ããå¦æä½ æ¯ä»¥æå· '*'æ 记该ç»ä»¶å , å该ç»ä»¶å å°ç¼è¯è¿æç»çæçOpenWrtåºä»¶ä¸ã
ããå¦æä½ ä» ä»¥ 'M'æ 记该ç»ä»¶å , å该ç»ä»¶å å°ä¸ä¼ç¼è¯è¿æç»çæçOpenWrtåºä»¶ä¸ã
ããThe final step before the process of compiling the intended image(s) is to exit 'menuconfig' â this also includes the option to save a specific configuration or load an already existing, and pre-configured, version.
ããExit and save.
ããSource Mirrors
ããThe 'Build system settings' include some efficient options for changing package locations which makes it easy to handle a local package set:
ããLocal mirror for source packages
ããDownload folder
ããIn the case of the first option, you simply enter a full URL to the web or ftp server on which the package sources are hosted. Download folder would in the same way be the path to a local folder on the build system (or network). If you have a web/ftp-server hosting the tarballs, the OpenWrt build system will try this one before trying to download from the location(s) mentioned in the Makefiles . Similar if a local 'download folder', residing on the build system, has been specified. The 'Kernel modules' option is required if you need specific (non-standard) drivers and so forth â this would typically be things like modules for USB or particular network interface drivers etc.
ããç¼è¯åºä»¶
ããä¸äºå ·å¤ï¼åªæ¬ ä¸é£,éè¿ä¸é¢ç®åçmakeå½ä»¤æ¥ç¼è¯:
ãã# make
ãã
ããå¨å¤æ ¸çµèä¸ç¼è¯
ããå ·æå¤æ ¸CPUå¤çå¨ççµèè¿è¡ç¼è¯ï¼ä½¿ç¨ä¸è¿°åæ°å¯ä»¤ç¼è¯è¿ç¨å éã 常è§ç¨æ³ä¸º <æ¨cpuå¤çå¨çæ°ç® + 1> â ä¾å¦ä½¿ç¨3è¿ç¨æ¥ç¼è¯ (å³åæ ¸CPU), å½ä»¤ååæ°å¦ä¸:
ãã# make -j 3
ãã
ããåå°ç¼è¯
ããè¥ä½ å¨è¿ä¸ªç³»ç»å ç¼è¯OpenWrtçåæ¶è¿å¤çå ¶ä»ï¼å¯ä»¥è®©é²ç½®çI/OåCPUæ¥å¨åå°ç¼è¯åºä»¶ (åæ ¸CPU):
ãã# ionice -c 3 nice -n make -j 2
ãã
ããç¼è¯ç®åçåºæ¬ç软件å
ããå½ä½ 为OpenWrtå¼åææå 软件å ,ç¼è¯ç®åçåºæ¬ç软件å å¯ä»¥å¾è½»æå°ç¼è¯è¯¥è½¯ä»¶å (ä¾å¦ï¼ 软件å cups):
ãã# make package/cups/compile V=
ãã
ããä¸ä¸ªå¨Feedséç软件å 大约æ¯è¿æ ·åç:
ãã# make package/feeds/packages/ndyndns/compile V=
ãã
ããç¼è¯é误
ããå¦æå æç§ä¸ç¥éçåå èç¼è¯å¤±è´¥,ä¸é¢æç§ç®åçæ¹æ³æ¥å¾ç¥ç¼è¯å°åºéå¨åªéäº:
ãã# make V= 2>&1 |tee build.log |grep -i error
ãã
ããä¸è¿°ç¼è¯å½ä»¤æ为ï¼Våæ°ï¼å°åºéä¿¡æ¯ä¿åå¨build.logï¼çæè¾åºå®æ´è¯¦ç»çå¯æ¬ï¼with stdout piped to stderrï¼ï¼åªæå¨å±å¹ä¸æ¾ç¤ºçé误ã
ãã举ä¾è¯´æ:
ãã# ionice -c 3 nice -n make -j 2 V= CONFIG_DEBUG_SECTION_MISMATCH=y 2>&1 \
ãã|tee build.log |egrep -i '(warn|error)'
ãã
ããThe above saves a full verbose copy of the build output (with stdout piped to stderr) in build.log and outputs only warnings and errors while building using only background resources on a dual core CPU.
ããä¸é®ç¼è¯
ããå³ä½¿ç¨èæ¬æ¥ç¼è¯Openwrtåºä»¶ã许å¤æåç¼è¯Openwrtæ¯ç¨çèæ¬æ¥ç¼è¯çï¼è¯¦è§: /jian-soft/openwrt-package-example
åèæç« ï¼
å¦ä½å¨OpenWRTç¯å¢ä¸åå¼å
ãã1ãæ建å¼åç¯å¢é¦å ï¼å¨æ§è¡make menuconfigåï¼ä¼åºç°ä¸å¾ï¼
ããå ¶ä¸ï¼å¾ä¸çº¢æ¡é¨åæ¯æå®å¶è·¯ç±å¨çç³»ç»çæ¬ï¼å¤§å®¶å¯ä»¥æ ¹æ®ä¸åçè·¯ç±å¨è¿è¡ä¸åçéæ©ï¼ç»¿æ¡é¨å表示æ们éè¦ç¼è¯ä¸ä¸ªSDKå¼åç¯å¢ï¼é»è®¤æ åµä¸ï¼æ¤é¡¹æªå¾éï¼ã
ããç¼è¯è¿ç¨ä¸éè¦éè¿å®ç½ä¸è½½å¾å¤ç¸å ³ç软件å ï¼æä»¥å¿ é¡»ä¿è¯è½å¤é¡ºå©è¿ä¸å¤ç½ãç±äºä¸è½½é度çéå¶ï¼ç¼è¯è¿ç¨å¤§æ¦éè¦æ°å°æ¶ãç¼è¯ç»æåï¼ææç产åé½ä¼æ¾å¨ç¼è¯æ ¹ç®å½ä¸çbin/yourtarget/. ä¾å¦:ææç¼è¯ç产ç©é½æ¾å¨./bin/brcmxx/ä¸ï¼å ¶ä¸æ件主è¦æå ç±»ï¼
ããï¼1ï¼.bin/.trx æ件: è¿äºé½æ¯å¨æ们æéçtarget-systemçç±»å«ä¹ä¸ï¼é对ä¸åè·¯ç±å¨åå·ãçæ¬ç¼è¯çè·¯ç±å¨åºä»¶ãè¿äºä¸åè·¯ç±å¨çåå·åçæ¬æ¯openwrté¢å 设置好çï¼æ们ä¸éè¦æ´æ¹ãè³äº.binå.trxçåºå«ï¼ä¸ç§è¯´æ³æ¯ï¼ç¬¬ä¸æ¬¡å·è·¯ç±å¨çæ¶åï¼éè¦ç¨.binæ件ï¼å¦æéè¦åå级ï¼åä¸è½å使ç¨.binæ件ï¼èéè¦ç¨.trxæ件ãåå æ¯ï¼.binæ¯å°è·¯ç±å¨çç¸å ³é 置信æ¯å.trxå°è£ å¨ä¸èµ·èçæçå°å ï¼ä¹å°±æ¯è¯´æ¯å å«è·¯ç±å¨çæ¬ä¿¡æ¯ç.trxãå¨ç¬¬ä¸æ¬¡å·åºä»¶çæ¶åï¼æ们éè¦æä¾è¿æ ·çä¿¡æ¯ï¼èå¨åç»å级æ¶ï¼åä¸åéè¦ï¼ç¨.trxæ件å³å¯ã
ããï¼2ï¼packagesæ件夹: éé¢å å«äºæ们å¨é ç½®æ件é设å®çææç¼è¯å¥½ç软件å ãé»è®¤æ åµä¸ï¼ä¼æé»è®¤éæ©ç软件å ã
ããï¼3ï¼OpenWrt-SDK.**.tar.bz2: è¿ä¸ªä¹å°±æ¯æ们å®å¶ç¼è¯å¥½çOpenWRT SDKç¯å¢ãæ们å°ç¨è¿ä¸ªæ¥è¿è¡OpenWrt软件å çå¼åãä¾å¦ï¼ææç¼è¯å¥½çSDKç¯å¢å 为ï¼/bin/brcmxx/OpenWrt-SDK-brcmxx-for-Linux-x_-gcc-4.3.3+cs_uClibc-0.9..1.tar.bz2
å¯ä»¥ä»å称ä¸çåºï¼target systemæ¯brcmxxï¼host systemæ¯Linux-x_ï¼ä½¿ç¨çç¼è¯å·¥å ·ä»¥ååºæ¯4.3.3+cs_uClibc-0.9..1ã
ããï¼4ï¼md5sums æ件: è¿ä¸ªæ件记å½äºæææ们ç¼è¯å¥½çæ件çMD5å¼ï¼æ¥ä¿è¯æ件çå®æ´æ§ãå 为æ件çä¸å®æ´ï¼å¾å®¹æå°è·¯ç±å¨åæâç 头âã
ããéè¦ä¸»è¦çæ¯ï¼ç¼è¯å®æåï¼ä¸å®è¦å°ç¼è¯å¥½çbinç®å½è¿è¡å¤ä»½ï¼å¦æéé¢ä¸è¥¿å¯¹ä½ å¾éè¦çè¯ï¼ï¼å 为å¨ä¸æ¬¡ç¼è¯ä¹åï¼æ§è¡make clean ä¼å°binç®å½ä¸çæææ件ç»æ¸ é¤æ!!
ãã2ã æ´æ¹åæpackages
ããå¨ç¼è¯æ ¹ç®å½ä¸ä¼æä¸ä¸ªdlçç®å½ï¼è¿ä¸ªç®å½å ¶å®æ¯âdownloadâçç®åï¼å¨ç¼è¯åæï¼éè¦ä»ç½ç»ä¸è½½çæ°æ®å é½ä¼æ¾å¨è¿ä¸ªç®å½ä¸ï¼è¿äºè½¯ä»¶å çä¸ä¸ªç¹ç¹å°±æ¯ï¼ä¼èªå¨å®è£ å¨æç¼è¯çåºä»¶ä¸ï¼ä¹å°±æ¯æ们make menuconfigçæ¶åï¼ä¸ºåºä»¶é ç½®çä¸äºè½¯ä»¶å ãå¦ææ们éè¦æ´æ¹è¿äºæºç å ï¼åªéè¦å°æ´æ¹å¥½çæºç å æå æç¸åçååæ¾å¨è¿ä¸ªç®å½ä¸ï¼ç¶åå¼å§ç¼è¯å³å¯ãç¼è¯æ¶ï¼ä¼å°è½¯ä»¶å 解åå°build_dirç®å½ä¸ã
å½ç¶ï¼ä½ ä¹å¯ä»¥èªå·±å¨dléé¢å建èªå·±ç软件å ï¼ç¶åæ´æ¹ç¸å ³çé ç½®æ件ï¼è®©openwrtå¯ä»¥è¯å«è¿ä¸ªæ件å ã
ããç±äºæç项ç®æ´æ¹çå 容æ¯åºå±çï¼éè¦è·åºä»¶ä¸èµ·å®è£ ãæ以ï¼æ使ç¨çæ¹æ³å°±æ¯ç´æ¥æ´æ¹dlç®å½ä¸è½¯ä»¶å ï¼ç¶åéæ°è¿è¡åºä»¶ç¼è¯ãæè§ç±»ä¼¼äºLinuxçå æ ¸ç¼è¯ãåå¤ç¼è¿åå¤æ¬¡ï¼æ²¡æä»»ä½é®é¢ã
ãã3ã æ°å»ºèªå·±çpackages
对äºèªå·±æ°å»ºçpackageï¼èè¿ä¸ªpackageåä¸éè¦éåºä»¶ä¸èµ·å®è£ ï¼æ¢å¥è¯è¯´ï¼å°±æ¯å¯ä»¥å½åä¸ä¸ªå¯é软件å çè¯ãæ们å¯ä»¥å©ç¨æ们çSDKç¯å¢æ¥åç¬ç¼è¯ï¼ç¼è¯åä¼çæä¸ä¸ªipkçæ件å ãç¶åå©ç¨ opkg install xxx.ipk æ¥å®è£ è¿ä¸ªè½¯ä»¶ã
ããä¸é¢å ·ä½è¯´ä¸ï¼å¦ä½ç¼è¯ä¸ä¸ªhellowordç软件å ã
ï¼1ï¼é¦å ï¼ç¼åhelloworldç¨åº
ç¼åhelloworld.c
/