[Openwrt] [rt5350] [1] openwrt Development Environment setup

Source: Internet
Author: User

Host Creation]

My computer configuration is as follows:

CPU: Intel Core I3 3.3g dual-core

Memory: Kingston 8 GB

Hard drive: Seagate 1 TB 7200 RPM

Operating System: win7 flagship edition 64-bit

 

Openwrt is a hardware driver added on the basis of Linux, mainly for routers and embedded operating systems for some embedded device applications. First, we need to install the Linux host machine. You can install the host on a physical PC or a virtual machine. Because I love war-III and cannot discard windows, I will build the host machine on the vmwarevm.

1. Install Vmware

Please refer to Baidu experience. Haha, it is good to have a network!

Http://jingyan.baidu.com/article/08b6a591e505cb14a809220c.html

 

2. install linux

Download the latest deepin Linux version, which is currently deepin Linux 2014. I think deepin Linux is a good Linux product in China. Haha, I think it's better for the author, is it easy and clear!

Install deepin Linux according to the steps described in installing the Virtual Machine in VMware. After the installation is complete, our host machine will have it. The next step is a long process.

 

[Openwrt download and compilation]

1. download the software package to be installed to compile openwrt

First open the deepin terminal and execute the following command

Sudo apt-Get update(Update)

Install components required for compilation
Sudo apt-Get install gcc
Sudo apt-Get install g ++
Sudo apt-Get install binutils
Sudo apt-Get Install patch
Sudo apt-Get install Bzip2
Sudo apt-Get install flex
Sudo apt-Get install bison
Sudo apt-Get install make
Sudo apt-Get install Autoconf
Sudo apt-Get install gettext
Sudo apt-Get install texinfo
Sudo apt-Get install unzip
Sudo apt-Get install sharutils
Sudo apt-Get install Subversion
Sudo apt-Get install libncurses5-dev
Sudo apt-Get install ncurses-term
Sudo apt-Get install zlib1g-dev
Sudo apt-Get install gawk
Sudo apt-Get install asciidoc
Sudo apt-Get install libz-Dev

It may take a little longer to download the software package!

2. Download openwrt

[Email protected]: ~ $ Mkdir openwrt

[Email protected]: ~ $ CD openwrt

[Email protected]: ~ $ SVN Co SVN: // svn.openwrt.org/openwrt/trunk// download the trunk version of openwrt

[Email protected]: ~ $ CD trunk

[Email protected]: ~ $./Scripts/feeds update-A // update the software package

[Email protected]: ~ $./Scripts/feeds install-A // install the software package, which must be installed; otherwise, compilation may fail.

[Email protected]: ~ $ Make menuconfig // enter the custom interface (you can select the chip model, integrated components, and so on, depending on the actual situation)

[Email protected]: ~ $ Make v = S // make sure the network is smooth, because the make process goes back to the Internet to download a lot of software packages

 

The rt5350 chip is used here. Choose the following in menuconfig:

Target System (atheros ar7xxx/ar9xxx) ---> ralink rt288x/rt3xxx
Subtarget (rt3x5x/rt5350 based boards) ---> rt3x5x/rt5350 based boards
Target profile (default profile) --- & gt; hame MPR-A2

 

When you run make v = s, you can switch out the virtual machine, and press Dota under Windows. After completing the game, switch to the virtual machine to check whether the execution reports an error, because the execution process will be long, I ran the task for 6 hours and finally checked the size.

My Lady Gaga! 6 GB in total

If there is no error in the compilation process (obviously the author has a good character), then check the result.

Haha, seeOpenwrt-ramips-rt305x-mpr-a1-squashfs-sysupgrade.binRight? This is the result of a few hours of fighting.

 

 

Ah, the sky is bright, and I plan to go to bed!

 

[Openwrt] [rt5350] [1] openwrt Development Environment setup

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.