Openwrt (iii) firmware Installation

Source: Internet
Author: User

Navigation:

Method 1: TFTP;

Method 2: Online upgrade

Method 3: BIOS Installation

 

Method 1: TFTP

This should be the most omnipotent method. TFTP is a communication protocol that relies on the network port to transmit data. Yes, it only transmits data rather than burning data. Therefore, the uboot function is used to implement the burning function.
Preparation: the host has uboot.

Steps:

  1. Connect. Connect the computer's network port to any port of the router. Then, use SSH or serial ports (I usually use serial ports) to access the background Linux System of the router.
  2. Pc ip settings.
    1. Run reboot in the vro background. When the vro restarts, follow the prompts to enter the boot mode.
    2. Run the HELP command to view the current environment variable. My name is printenv. Find server_ip.
    3. On the computer, set IPv4 to a static address and enter the server address. Save and exit.
  3. Put the firmware in the path specified by TFTP (Baidu TFTP can be used), and then run the uboot command.
    1. Transmission: TFTP 0x80060000 lede. Bin // 0x80060000 is the flash firmware storage address. This is determined by uni's uboot. Different users can execute the 2.2 command to view the address. Lede. Bin is the file I want to burn.
    2. Erased: erase 0x9f050000 + $ filesize // 0x9f050000 indicates the start address of the firmware. $ filesize indicates the variable and the firmware size is automatically included. Do not miss the + number.
    3. Copy: CP. B 0x80060000 0x9f050000 $ filesize
    4. Set the start address: Set bootcmd 0x9f050000; save;
      1. This is really a pitfall. I don't know how to describe it. My situation is,
      2. When I install openwrt15, the start address is 0x9f050000.
      3. When I install lede17, set the startup address to 0x9f800000.
    5. Start: boot.

 

Method 2: Online upgrade

This is the most convenient method. However, only systems of the same version can be updated online. For example, I can only Update 15 for version 15, but not the lede version.

Step: Go to the router Page Management page, find the system upgrade, and select the firmware upgrade.

 

Method 3: BIOS burning (Final Version)

Why is this version written? I used TFTP to burn the file and erase to remember the wrong address and wiped the uboot. In this way, uboot cannot be used, and the system cannot be started, making it a brick.

At this time, I can only unload the flash chip and then re-burn the uboot. BiOS burning is a small device dedicated to burning falsh. Then, with the installation software, you can complete the installation. This is the bottom-layer installation. It is also a uboot installation. Then we can weld the Flash file again to save the trouble.

 

The above is my own burning method. There are other ways to do this, so I will not study it. At work, I will always encounter a lot of methods to burn and write firmware.

Above.

Openwrt (iii) firmware Installation

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.