WRTnode U-Boot instructions

From WRTnode Wiki Site
Jump to: navigation, search
This page contains changes which are not marked for translation.

Other languages:
English 100% • ‎中文(中国大陆)‎ 100%
  • Due to the special definition of gpio1 and gpio2 in uboot,so do not touch the two pins when using WRTnode.

Download uboot.bin

  • Features:support flashing firmware and uboot via web; support booting kernel from USB USB flash drives(or SD Card);The baud rate is 115200.
  • Tools: WRTnode, a power cord, a network cable connect to WRTnode, a short wire (such as DuPont line) (refresh firmware or uboot); USB flash drive(boot the kernel from USB flash drive).
  • If we boot from USB flash drive, we use three USB cable. So you can provide a port for USB flash drive.
  • Operation process:

1:Booting kernel from flash

If USB flash disk with uimage is not plugged and neither gpio1 nor gpio2 pin is grounding, WRTnode will boot the kernel from flash

2:booting kernel from USB flash drive.

The priority of WRTnode U-Boot U disk boot is higher than booting from flash. WRTnode U-Boot detects whether there is any USB flash drive(or SD card).

Then it detects whether there is any uimage in the USB flash drive. If yes, it will boot from the USB flash drive. Otherwise it will boot from flash.

Uboot6.png

Flowchart:

EMuboot.png

3: WRTnode U-Boot supports using web page refresh the firmware and the uboot, the language of the web page depends on the browser.

Before giving WRTnode power, use a network cable to connect LAN port and PC network port. Open the network connection and manually set an ip address 192.168.1.x.

gpio#1 (or gpio#2) pin is grounding with a Dupont Line (gpio referring [Pin-map]).

After to WRTnode power.

Then open the cmd window in the PC side and input: ping 192.168.1.1 -t.

Uboot2.png

receiving 192.168.1.1 response.

View the print information through the serial port,until shown below, disconnect the gpio#1(or gpio#2) pin and GND pin connection.

Uboot3.png

In PC client browser, input http://192.168.1.1/ to enter the WEB update mode. Select the new firmware that you want to brush, click upload. The only LED on WRTNode can indicate the current operating state. High frequency flash flash: Firmware checks error. About to enter the WEB update mode. Slow frequency flash: Refreshing firmware (if you look carefully enough, you will find slow frequency flash is divided into two stages. The frequency is slower in the first stage. It means that you are erasing flash. The second stage is faster, which means that data is being written to the flash). Click Uboot to enter the interface of refreshing Uboot.

图片7.png


Uboot8.png

Thank [Manfeel] gives us the magical uboot