BPI-R2 new image: BPI-R2 OpenWrt(LEDE) Souce code : 2018-05-09

Thanks Frank!

Is there an Ubuntu image with kernel 4.9+ available?

You can build kernel (4.9 or 4.14) from my repo and simply replace your default kernel (after backup)

Not sure I understand how to do that. With all these images there isn’t a single one I can download and use out the box? If it is so simple why hasn’t anyone made one?

of course…on my gdrive: https://drive.google.com/open?id=15Y5Y3NAOwg_IMmN3k6hdb7pAQj9oTVTl

This link has many files. The img file is really small, so it can’t be the full image of the operating system. What should I do?

It is kernel only…

more infos (precompiled) Kernels for BPI-R2

Basicly backup /boot/bananapi/bpi-r2/linux/uImage and unpack contents of BPI-ROOT to /boot and from BPI-ROOT to /

Make sure /dev/mmcblkxp1 is mounted to /boot

thanks, which image should I use?

it depends on your use…i have my debian stretch running,but you wanted to use ubuntu so take the latest and replace Kernel

Hi Frank,

So I burned the image of ubuntu 16 from your images, than I copied the contents of BPI-BOOT the bananapi folder to the boot directory on disk and BPI-ROOT contents, the lib folder to the root directory overwriting the lib folder. But the bananapi will not boot, I get a blue screen and after a few seconds it turns black, saying no signal.

I guess you use hdmi? This is one of things only working on 4.4…but you can change network-settings like described on my wiki to login via ssh or use debug-uart (usb2serial).

I’ll give that a try. Where is your wiki on setting up ssh?

Hello, i get a “Bad Gateway” error for luci ???

Hi Roman

Yes, the HDMI is not supported in openwrt yet. We can use the below three ways to login to R2 board if you use latest openwrt image:

  1. Serial port,
  2. ssh [email protected] (from one of four lan ports), the 192.168.1.1 is the default gateway.
  3. web: http://192.168.1.1 (from one of four lan ports)

The Switch does works if you use ubuntu image, but HNAT doesn’t work, and we have no plan to support it.

I also faced this problem one week ago, the reason is latest source code of luci doen’t stable yet, also I report issue to here: https://github.com/jow-/lucihttp/issues/1, but have no time to find the root cause yet.

The workaround is to use stable luci code, so please change the source of luci package in feeds.conf.default to below:

src-git luci https://github.com/openwrt/luci.git;lede-17.01

1 Like

Thank nicoo. I found some other interfaces. Do you know they can be used?

/proc/sys/net/ipv6/conf/all/temp_prefered_lft
/proc/sys/net/ipv6/conf/all/temp_valid_lft
/proc/sys/net/ipv6/conf/all/use_tempaddr
/proc/sys/net/ipv6/conf/br-lan/temp_prefered_lft
/proc/sys/net/ipv6/conf/br-lan/temp_valid_lft
/proc/sys/net/ipv6/conf/br-lan/use_tempaddr
/proc/sys/net/ipv6/conf/default/temp_prefered_lft
/proc/sys/net/ipv6/conf/default/temp_valid_lft
/proc/sys/net/ipv6/conf/default/use_tempaddr
/proc/sys/net/ipv6/conf/eth0/temp_prefered_lft
/proc/sys/net/ipv6/conf/eth0/temp_valid_lft
/proc/sys/net/ipv6/conf/eth0/use_tempaddr
/proc/sys/net/ipv6/conf/eth1/temp_prefered_lft
/proc/sys/net/ipv6/conf/eth1/temp_valid_lft
/proc/sys/net/ipv6/conf/eth1/use_tempaddr
/proc/sys/net/ipv6/conf/gre0/temp_prefered_lft
/proc/sys/net/ipv6/conf/gre0/temp_valid_lft
/proc/sys/net/ipv6/conf/gre0/use_tempaddr
/proc/sys/net/ipv6/conf/gretap0/temp_prefered_lft
/proc/sys/net/ipv6/conf/gretap0/temp_valid_lft
/proc/sys/net/ipv6/conf/gretap0/use_tempaddr
/proc/sys/net/ipv6/conf/lan0/temp_prefered_lft
/proc/sys/net/ipv6/conf/lan0/temp_valid_lft
/proc/sys/net/ipv6/conf/lan0/use_tempaddr
/proc/sys/net/ipv6/conf/lan1/temp_prefered_lft
/proc/sys/net/ipv6/conf/lan1/temp_valid_lft
/proc/sys/net/ipv6/conf/lan1/use_tempaddr
/proc/sys/net/ipv6/conf/lan2/temp_prefered_lft
/proc/sys/net/ipv6/conf/lan2/temp_valid_lft
/proc/sys/net/ipv6/conf/lan2/use_tempaddr
/proc/sys/net/ipv6/conf/lan3/temp_prefered_lft
/proc/sys/net/ipv6/conf/lan3/temp_valid_lft
/proc/sys/net/ipv6/conf/lan3/use_tempaddr
/proc/sys/net/ipv6/conf/lo/temp_prefered_lft
/proc/sys/net/ipv6/conf/lo/temp_valid_lft
/proc/sys/net/ipv6/conf/lo/use_tempaddr
/proc/sys/net/ipv6/conf/wan/temp_prefered_lft
/proc/sys/net/ipv6/conf/wan/temp_valid_lft
/proc/sys/net/ipv6/conf/wan/use_tempaddr
/sys/devices/virtual/thermal/thermal_zone0/trip_point_3_temp
/sys/devices/virtual/thermal/thermal_zone0/trip_point_2_temp
/sys/devices/virtual/thermal/thermal_zone0/trip_point_1_temp
/sys/devices/virtual/thermal/thermal_zone0/trip_point_0_temp
/sys/devices/virtual/thermal/thermal_zone0/temp
/sys/firmware/devicetree/base/thermal-zones/cpu_thermal/trips/cpu_passive/temperature
/sys/firmware/devicetree/base/thermal-zones/cpu_thermal/trips/cpu_active/temperature
/sys/firmware/devicetree/base/thermal-zones/cpu_thermal/trips/cpu_hot/temperature
/sys/firmware/devicetree/base/thermal-zones/cpu_thermal/trips/cpu_crit/temperature

Is ssh enqbled in ubuntu by default with permitrootlogin? Have it also fixed on lan-ports?

Are you workin on integrating hdmi in 4.14?

@roman i hve no page for ssh yet…i mean configure network to get access to exing ssh-server. Network-config in 4.14 is different to 4.4 because of changed interface-names. But please make a new thread…this is for lede

Vendor has submited patch of HDMI to kernel 4.16, but we don’t have time to port it to 4.14 and 4.9(openwrt).

How can i compile as “hard-float” ? What i have to change during compile process ? Thanks a lot for all your help Guys

Please make sure you’re using latest source code from https://github.com/garywangcn/bpi-r2_lede/tree/bpi-r2-on-lede-v1, and then ensure the option Advanced configuration options ->Target Options ->Use software floating point by default is NOT selected. And then compile whole project.

1 Like

Great Thanks @garywang So in this case i think, is a good choice to check the checkbox for all the userspace packages, right ?