码迷,mamicode.com
首页 > 其他好文 > 详细

openwrt教程 第二章 下载openwrt源码

时间:2014-06-08 03:45:32      阅读:339      评论:0      收藏:0      [点我收藏+]

标签:openwrt教程   rt5350   物联网   openwrt   

2.1 开发环境

        我们工作室(F403科技创意室:http://f403tech.taobao.com/)写的该教程,所使用的环境为:

        VMware Workstation:VMware 8

        Ubuntu:Ubuntu12.04

        具体环境搭建过程,可以向客服索要用户手册!上面有非常详细的过程!

2.2 准备工作

        再下载、配置、编译openwrt系统之前,我们需要做些准备工作,安装一些必须的工具、库。

        (1) 安装SVN工具

        安装SVN工具,用于下载openwrt源码:

        $ sudo apt-get install subversion

        (2) 安装git工具

        $ sudo apt-get install git-core

        (3) 安装依赖的库文件

        $ sudo apt-get install gcc g++ binutils patch bzip2 flex bison make autoconf gettext

        $ sudo apt-get install texinfo unzip sharutils  ncurses-term zlib1g-dev libncurses5-dev gawk

2.3 下载openwrt源码

        编译openwrt首先需要下载源码,openwrt的源码是通过svn下载,openwrt目前已经很好的支持了RT5350芯片,openwrt在F403科技创意室_RT5350开发板也一样。下面开始openwrt学习之旅。

        新建一个openwrt文件夹,使用svn下载源码

        $ mkdir openwrt

        $ cd openwrt/

        $ svn co svn://svn.openwrt.org/openwrt/trunk       

        等待下载即可。






openwrt教程 第二章 下载openwrt源码,布布扣,bubuko.com

openwrt教程 第二章 下载openwrt源码

标签:openwrt教程   rt5350   物联网   openwrt   

原文地址:http://blog.csdn.net/wanyong89/article/details/29177075

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!