BPI-W2 new image :Burn OpenWRT with Linux kernel 4.4 2018-4-25

BPI-W2 Burn OpenWRT with Linux kernel 4.4

image

1.About this release

This release is for banana pi W2 board to run OpenWRT,you will know how to burn and run OpenWRT on W2.

2.Burn OpenWRT on W2 steps:

The Bootloader of OpenWRT is u-boot64, there are two ways to burn it on W2 EMMC.

A. Use RTK MP_Tool burn uboot on W2:

1)You need these files and tool:

  • MP_Tool
  • RTD1296_hwsetting_BOOT_4DDR4_4Gb_s1866.config(hardware configuration file)
  • dvrboot.exe.bin(u-boot binary file)

2)Connect W2 debug console to windows PC,and run MP_Tool:

image

  • Set your console parameters
  • Choose config file and uboot file
  • Choose “LK option”
  • Click Wirte button and then power on W2, and waiting for response “OK”

B. Use hypertrm burn uboot on W2:

1)You need these files and tool:

  • hypertrm
  • RTD1296_hwsetting_BOOT_4DDR4_4Gb_s1866_padding.bin(hardware configuration binary file)
  • dvrboot.exe.bin(u-boot binary file)

2)Connect W2 debug console to windows PC:

  • Run hypertrm ,config console parameters right

  • Holding on press “ctrl + q” and power on board,after the screen show “d/g/r”,then loose “ctrl + q”

  • Input “h”,use Y-modem way to send “RTD1296_hwsetting_BOOT_4DDR4_4Gb_s1866_padding.bin” to W2 board

  • After finish transferred,input these parameters:

    s98007058
    01500000

  • Input “d”,and send u-boot binary file

  • after finish transferred,input “g” to burn u-boot file on W2 EMMC

After succeed to burn u-boot on W2, then install OpenWRT on W2.

1)You need these tools and files:

  • U disk
  • install.img

2)Burn OpenWRT on W2 steps:

  • Format U disk as FAT32 filesystem

  • Copy install.img to U disk root directory

  • Decompress install.img to get four files:

    emmc.uImage

    rescue.root.emmc.cpio.gz_pad.img

    bluecore.audio

    rescue.emmc.dtb

  • Plug U disk to W2 USB3.0 interface,holding press “Esc” button to power on W2 board

  • Then W2 board will go into u-boot console

  • Input these commands step by step:

    setenv bootargs "earlycon=uart8250,mmio32,0x98007800 console=ttyS0,115200 loglevel=7

    init=/etc/init root=/dev/mmcblk0p1 rootfstype=squashfs rootwait"

    save

    go ru

  • Waiting for OpenWRT burning,after finished,W2 will reboot and go into OpenWRT system.

image

3.Image & Tools link:

Baidu Drive: https://pan.baidu.com/s/1Rs9F46wNJibORaeCfVh4wg PinCode:1w4w

Google Drive:https://drive.google.com/file/d/10kfP142Jw0sA92uwaIYZt7CeXcDKelO1/view?usp=sharing

4.BPI-W2 run OpenWRT video:

1 Like

I have followed all the instructions and get to the same OpenWRT splash screen. I’ve watched the video, where the command

ifconfig br-lan 10.10.10.3

is executed. When I do this and open a browser to 10.10.10.3, I get a page “This site can’t be reached (ERR_CONNECTION_TIMED_OUT)”. If I reboot, the initial values for ifconfig are

root@OpenWrt:/# ifconfig
br-lan    Link encap:Ethernet  HWaddr 00:10:20:30:40:51
          inet addr:192.168.0.9  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::210:20ff:fe30:4051/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3398 errors:0 dropped:0 overruns:0 frame:0
          TX packets:205 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1412071 (1.3 MiB)  TX bytes:22273 (21.7 KiB)

eth0      Link encap:Ethernet  HWaddr 00:10:20:30:40:50
          inet addr:192.168.1.9  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:9

eth1      Link encap:Ethernet  HWaddr 00:10:20:30:40:51
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3400 errors:0 dropped:2 overruns:0 frame:0
          TX packets:145 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1473363 (1.4 MiB)  TX bytes:21485 (20.9 KiB)
          Interrupt:9

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1945 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1945 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:135230 (132.0 KiB)  TX bytes:135230 (132.0 KiB)

root@OpenWrt:/#

If I put 192.168.0.9 in the browser, I get the same timeout message.

What value should I be using for ifconfig br-lan {value}?

Are you sure that your computer is in the same subnet?

If you set br-lan 10.10.10.3, your computer should be 10.x.x.x and netmask 255.0.0.0.

if you use default 192.168.0.9, computer should be 192.168.0.x and netmask 255.255.255.0.

I tried to burn this image to the W2 board. I successfully burnt the bootloader by following the instructions. I decompressed the install.img into a U-disk. But how to enter the “u-boot console”? What is this “Esc button” mentioned in the instruction?

After burnt the bootloader, when power up the HDMI output it becomes a “Realtek” logo instead of running the Android but stays there forever. I also tried to reset/reboot the board by keep pressing the small “USB” button near the “boot selector” while power up and with the U-disk into the USB3.0 slot. Now the HDMI output is black instead of the “Realtek” logo.

ESC on your computer while having uart session established.

I’m burning this image to the W2 board,but failed.Got an error, how to solve this?

Debes copiar install.img a la memoria USB, despues extraer en raiz los siguientes archivos: emmc.uImage, rescue.root.emmc.cpio.gz_pad.img, bluecore.audio, rescue.emmc.dtb.

Reinicias y dejas presionada la tecla ESC, e introduces los comandos:

setenv bootargs "earlycon=uart8250,mmio32,0x98007800 console=ttyS0,115200 loglevel=7

init=/etc/init root=/dev/mmcblk0p1 rootfstype=squashfs rootwait"

save

go ru