garywang
(gary)
November 28, 2017, 6:52am
1
BPI-R2 new image : ubuntu 16.04 V1.2.1 Release: BT and WIFI AP mode are working fine
V1.2.1 Release notes
About this release
This release is for banana pi R2 board which is based on MTK7623N, and it just includes Ubuntu image which is based on Ubuntu 16.04.2 LTS Mate Desktop with Linux kernel 4.4.70, we can get the Linux kernel 4.4.70 and u-boot from the link https://github.com/BPI-SINOVOIP/BPI-R2-bsp
The file system is based on Ubuntu 16.04.2 LTS Mate Desktop, the default user name/password are pi/bananapi , root/bananapi.
What’s new in this release
Support AP mode of onboard WIFI module(MT6625)
On board BT is supported
Fix an ethernet issue in u-boot
Add a command in u-boot to set partition configuration of EMMC
Known limitations
MIPI interface doesn’t work
Somtimes HDMI doesn’t work fine
Image link:
Google drive: https://drive.google.com/file/d/1KvVln42OTXeNUOpendfMgKMFNhBmIR60/view?usp=sharing
Baidu drive: https://pan.baidu.com/s/1o8R25N8
md5sum: b8f4b305f0301d121971ab575c65bb0f
FAQ
How to enable AP mode
Please refer to link: 2.4Ghz and 5.6Ghz Wifi Working fine
How to enable BT
Please use command: hciconfig hci0 up to enable it
How to program Ubuntu image to EMMC
a. Program ubuntu image to SD card
b. Install this SD to R2 board and boot from SD
c. Enter the Uboot prompt, and run command emmc pconf 48 to change Partition config of EMMC
d. And then run command reset, let it boot to OS
e. Enter the system with username pi or root
f. Run command
echo 0 > /sys/block/mmcblk1boot0/force_ro to enable /dev/mmcblk1boot0 write mode`
g. To write preloader to EMMC by running command:
bpi-bootsel BPI-R2-EMMC-boot0-DDR1600-0k-0905.img.gz /dev/mmcblk1boot0
where BPI-R2-EMMC-boot0-DDR1600-0k-0905.img.gz is the preloader for emmc, please download it from link https://github.com/BPI-SINOVOIP/BPI-files/blob/master/SD/100MB/BPI-R2-EMMC-boot0-DDR1600-0k-0905.img.gz
h. To copy ubuntu image to EMMC:
unzip -p <XXX.img.zip> | pv | dd of=<device> bs=10M status=noxfer
or
bpi-copy <XXX.img.zip> <device>
where the XXX.img.zip is ubuntu image we can get it from http://www.banana-pi.org/r2-download.html , and where should be /dev/mmcblk1.
i. power off
j, remove SD & power on
How to control GPIO
Please refer to link: https://github.com/BPI-SINOVOIP/BPI-R2-bsp/issues/11#issuecomment-326988062
2 Likes
sinovoip
(bpi team)
November 28, 2017, 7:33am
3
switch function working fine ,but VLAN not support
frank-w
(Frank W.)
November 28, 2017, 7:44am
4
DSA-driver will not be ported to 4.4.70 (current ubuntu-kernel)
The DSA driver will not be ported to 4.4.70(ubutu), because lots of code in core code of kernel need to be changed if DSA is supported.
4.14 is actually running well, only internal wlan/bt is not working yet
btw. baidu is hard to read for non-chinese people is there a way to turn language to english?
linkerosa
(dorabmon)
November 28, 2017, 8:09am
5
5.6G should be corrected into 5G (?)
st41ker
(Alexander)
November 28, 2017, 9:20am
6
What if I need only kernel\modules update?
How could this be achieved?
frank-w
(Frank W.)
November 28, 2017, 9:39am
7
build Kernel from https://github.com/BPI-SINOVOIP/BPI-R2-bsp and replace uImage (BPI-BOOT-Partition) and Modules (BPI-ROOT-Partition)
1 Like
st41ker
(Alexander)
November 28, 2017, 9:53am
8
But may be there is already built kernel/modules, but stored separately?
frank-w
(Frank W.)
November 28, 2017, 10:19am
9
if you build the kernel-modules are in the linux-mt-folder, but mixed with the code…simply search for *.ko, but you must use the same path for the module…so it’s easier to generate the SD-folder-structure with modules to copy all build modules (+index-files from depmod) together with uImage
st41ker
(Alexander)
November 28, 2017, 12:45pm
10
That is exactly what I do not want to do - build something.
That is why I have asked - is there already built kernel\modules stored separately?
Download new image and unpack it is also not so effective way to update only mentioned software.
frank-w
(Frank W.)
November 28, 2017, 1:33pm
11
I’ve uploaded the actual 4.4.70 (my config)…
fwu.config (132,9 KB)
v1.2.1 (Nov 23, 2017),including mt76x2/x3 wireless driver
Bootloader (u-boot): https://www.file-upload.net/download-12838584/BOOTLOADER-bpi-r2.tgz.html
BOOT-Partition (uImage): https://www.file-upload.net/download-12838580/BPI-BOOT-bpi-r2.tgz.html
ROOT-Partition (modules): https://www.file-upload.net/download-12838589/4.4.70-BPI-R2-Kernel.tgz.html
to download use the blue button with the cloud-icon…the other are advertisements
1 Like
garywang
(gary)
November 29, 2017, 3:09am
12
Build the latest BSP on host, and run below command:
Insert your SD card to host
cd SD
bpi-update -c bpi-r2.conf -d /dev/sdx
where the /dev/sdx is the disk of your SD
BenB
(Benoit)
December 1, 2017, 5:13pm
13
Could you deliver this image in google drive?
1 Like
Mariano
(Mariano Marinas)
December 2, 2017, 9:53pm
14
google drive image, please
frank-w
(Frank W.)
December 3, 2017, 5:52pm
15
2 Likes
Dima
(Dima)
December 6, 2017, 12:44pm
16
In current version bluetooth doesn’t work correct with device LE.
Tested by gatttool - Connection refued.
Also, tried hcitool lecc. It seems connected, but can’t disconnect.
Is it a way to make it works correctly?
ceeeru
December 17, 2017, 6:51am
17
Hello friends!
How can enter to u-boot prompt?
It is a simple terminal?
Thanks
frank-w
(Frank W.)
December 17, 2017, 7:05am
18
You have to use debug-uart ( http://www.fw-web.de/dokuwiki/doku.php?id=en:bpi-r2:debug-uart )
Before kernel is loaded you see a menu…take the last menuitem
1 Like
ceeeru
January 3, 2018, 8:08pm
19
Thank You Frank-W!
Nice work!
Hi i have some problems with getting emmc boot working i have serial console on windows machine using putty and it boots the lede test image off sd but it dosent stop on bpi-r2 in uboot but continues past any interaction from keboard it starts to recive garbage in the console reboot it boots fine and i can see the bpi-r2 line but folowed by some more like this
In: serial
Out: serial
Err: serial
Net: Eth0
Uip activated
Hit any key to stop autoboot: 0
BPI-R2>
BPI-R2>
BPI-R2>
BPI-R2> U-Boot 2014.04-rc1 (Sep 05 23>>>> U-Boot 2014.04-rc1 (Sep 05 23>>>> U-Boot 2014.04-rc1 (Sep 05 23>>>> U-Boot 2014.04-rc1 (Sep 05 23>>>> U-Boot 2014.04-rc1 (Sep 05 23>>>> U-Boot 2014.04-rc1 (Sep 05 23>>>> U-Boot 2014.04-rc1 (Sep 05 23>>>> U-Boot 2014.04-rc1 (Sep 05 23>>>> U-Boot 2014.04-rc1 (Sep 05 23>>>> U-Boot 2014.04-rc1 (Sep 05 23>>>> U-Boot 2014.04-rc1 (Sep 05 23>>>> U-Boot 2014.04-rc1 (Sep 05 23>>>> U-Boot 2014.04-rc1 (Sep 05 23>>>> U-Boot 2014.04-rc1 (Sep 05 23>>>> U-Boot 2014.04-rc1 (Sep 05 23>>>> U-Boot 2014.04-rc1 (Sep 05 23>>>> U-Boot 2014.04-rc1 (Sep 05 23>>>> U-Boot 2014.04-rc1 (Sep 05 23>>>> U-Boot 2014.04-rc1 (Sep 05 23>>>> U-Boot 2014.04-rc1 (Sep 05 23>>>> U-Boot 2014.04-rc1 (Sep 05 23>>>> U-Boot 2014.04-rc1 (Sep 05 23>>>> U-Boot 2014.04-rc1 (Sep 05 23>>>> U-Boot 2014.04-rc1 (Sep 05 23>>>> U-Boot 2014.04-rc1 (Sep 05 23>>>> U-Boot 2014.04-rc1 (Sep 05 23>>>> U-Boot 2014.04-rc1 (Sep 05 23>>>> U-Boot 2014.04-rc1 (Sep 05 23>>>> U-Boot 2014.04-rc1 (Sep 05 23>>>> U-Boot 2014.04-rc1 (Sep 05 23>>>> U-Bo