Giter VIP home page Giter VIP logo

uboot-princebox's Introduction

compile

clone uboot code

git clone https://github.com/gl-inet/uboot-ipq40xx.git

clone sdk, ie. toolchain to compile uboot:

git clone https://github.com/gl-inet/openwrt-sdk-ipq806x.git

edit toplevel Makefile: change STAGING_DIR varable to point to openwrt-sdk-ipq806x/staging_dir you just clone.

make

the uboot binary will be: bin/openwrt-ipq40xx-u-boot-stripped.elf

using uboot web:

  1. connect lan and PC by ethernet, your PC's ip should be 192.168.1.x
  2. push reset button and power on, about 10 seconds later release the button, until wifi led stop flashing and the middle led light on.
  3. using browser: access http://192.168.1.1 to flash firmware. access http://192.168.1.1/uboot.html to flash uboot.

tftp upgrade by uboot cmd line:

connect by serial port, use keyboard input

gl

to get into uboot cmd line.

setup tftpd server at ip 192.168.1.2, put firmware.bin at tftpd root directory. flash firmware(factory firmware or openwrt firmware) by:

run lf

setup tftpd server at ip 192.168.1.2, put openwrt-ipq40xx-u-boot-stripped.elf at tftpd root directory. flash uboot by:

run lu

automatic tftp upgrade:

  1. setup tftpd server at ip 192.168.1.2, put firmware.bin at tftpd root directory.
  2. connect the device and tfppd server, when the device power on, it will detect tftpd server to do flashing automatically.

uboot-princebox's People

Contributors

magicprince666 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.