BPI-R2 boot / power suppy

I can confirm that sound support isn’t compiled into the kernel - I configured and built the R2 kernel with support for some mediatek SoC sound drivers I saw listed and updated my SD card. Sound is now working fine through the HDMI port :slight_smile:

They might of not compiled it in for a good reason that I don’t yet know about - but so far so good :slight_smile:

Watching youtube videos in a window is smooth, sound works fine - full screen is slow (around 10fps with quality of 480p on youtube) - I guess we’re still waiting for hardware decoding support etc

PCIe is working fine - have a broadcom WIFI adapter setup (had to add cfg80211 to the kernel as a requirement of the broadcom module) - I’ve also got a mini PCIe to full sized PCIe converter which I tested - it identified an Nvidia graphics card and the Nvidia ARM drivers worked great - similar performance (in my engine) when the mini PCIe extender was used on an Intel laptop - the two available PCIe ports might make this cheap board an attractive coin mining solution.

Still had no issues with sound, all working fine - there’s a specific option for the MT7623N - it appear to share a driver for another MTK chip which gets enabled upon selection.

Both network adapters are fully functional - created a bridge between the two and then transferred 10gb of data between two GB LAN capable machines with the R2 in the middle - performance was the same as if I’d connected them directly.

Not tested SATA performance yet - I read there might be issues on this SATA chip with two drives simultaneously but it appears that it was fixed long ago and the fixes seem to match the source that’s currently being used - so probably nothing to worry about if you’re using both.

Played around with some basic GPIO - worked fine - not tested I2C/SPI yet.

So far so good! everything is stable and running great - will be handy to have the internal WIFI/BT working (the MT6625L 4 in 1 chip also supports FM + GPS but since there’s a single antenna connector and the datasheet shows the WIFI antenna pin as being different from the GPS + FM pins - I’m assuming this functionality wasn’t intended to be used and will simply not be part of the drivers)

the sound source you tested is with HDMI ? and specific option you mentioned here is for I2S? the SoC having I2C/I2S , so i assume they should work for some codec board.

the 6625 the version bpi r2 used doesn’t include FM and GPS . and BT/WIFI is probably sharing single antenna

Audio over HDMI - I don’t currently have the capability to test the I2S bitstream (if it’s currently working) - I lack sufficient hardware to test all the pin-out features listed (UART, I2C, SPI, PWM, I2S) - for the time being, full reports on that functionality will have to be from somebody better equipped.

Ah I see - so just WIFI and BT on this version if the 6625 - thanks for the info!

Yes - there’s a single antenna connector and the 6625 datasheet states that BT effectively shares the 2.5G antenna (there’s a diplexer splitting the single antenna between the 2.5G and 5G pins )

It’s useful to have the bluetooth but I can’t imagine the 1T1R WIFI setup is going to be earth shattering - if I employ one of these boards for heavy WIFI use? I’ll probably drop in a decent ac capable mPCIe card.

I believe the board has the MT7530B switch - there’s port/vlan specific functionality according to the driver in the kernel (or at least when I just googled) - I’ve not tested that - if anybody does then please post your results for the people intending to use the board as a router/firewall/whatever.

I’ve also not tested the battery capability - I need to identify the connector used - standard 3.7v lithium so I assume there’s a step-up converter on the board - it’s unclear what the battery will power and how many amps it’ll draw. (just the SoC/emmc/card reader? SATA power too? what about two drives?)

I note that the second SATA power connector is a four pin - I’ve not got my meter on it yet but I imagine it’s providing the 12v and 5v lines or they’d of just provided a 2 pin like the first connector. So that implies it was intended to power a 3 inch drive for example - two drives, one of them being a 3 inch? well - that’s a lot of power to pull across the board - I’ll test that when I’ve got one to spare :wink:

I imagine there are people with far more relevant experience to do testing - just trying to put some information out there so other people know what to expect at this stage.

I get the exact same problem. It seems to start, I get HDMI signal and a grey screen then I loose HDMI signal. Pressing the reset button and same thing, get signal for around 10 seconds then blank no matter how many times I reset. Using the latest image dated 2017-08-1

I’ve now tried 3 different images and exactly the same for each one. Preview 2, Preview 3 plus the nodered image. Installing a Ubuntu vm to try making my own build but fast coming to the conclusion that I’m not going to get anywhere.

Ok managed to get it to boot by compiling and deploying from git. Now though the Monitor comes up with an INVALID FORMAT error but I can SSH into the unit.

Hi, you can test wolfson codec which has been supported on mainline.

https://patchwork.kernel.org/patch/9652397/

you should tell sinovoip to add so much good thing what you did for the hardware into the r2 board. Otherwise, it appears to waste your effort sadly and bury such kind of function in the blank.

Thought I might be able to use it without the HDMI but now it just floods the network taking every device offline including my PC. Then it goes into a reboot loop.

Well after several attempts at reburning images I now have it working without xorg but there seems to be a problem with the kernel features. iptables always comes up with the below error

root@bpi-iot-ros-ai:/home/pi# iptables --list

modprobe: ERROR: ../libkmod/libkmod-module.c:192 kmod_module_parse_depline() ctx=0x7f5ec008 path=/lib/modules/4.4.70-BPI-R2-Kernel/kernel/net/netfilter/x_tables.ko error=No such file or directory
modprobe: ERROR: ../libkmod/libkmod-module.c:192 kmod_module_parse_depline() ctx=0x7f5ec008 path=/lib/modules/4.4.70-BPI-R2-Kernel/kernel/net/netfilter/x_tables.ko error=No such file or directory
modprobe: ERROR: could not insert 'ip_tables': Unknown symbol in module, or unknown parameter (see dmesg)
iptables v1.6.0: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

I don’t see this problem, Can you please try the latest firmware? (get it from this link http://www.banana-pi.org/r2-download.html)

I have been doing all my testing from preview2, preview3 (https://drive.google.com/drive/folders/0B_YnvHgh2rwjbUNpZXIzMnlKSGM) and a manual build from git. I will go back to preview2 once more and try again but fairly certain.

Hi all, I have just received a BPI-R2 V1.1 And When I try to boot with SDCard, during 4seconds I have a green screen and after I lost the display. No activity on LAN and WLAN port. A red led is ON near the HDMI port Leds green and blue is ON

I have tried with img:

  • ubuntu-16.04-mate-desktop-docker-preview2-bpi-r2-sd-emmc.img-2017-08-01
  • Raspbian :2017-03-10-raspbian-jessie-preview-bpi-r2-sd-emmc.img

I’m so sorry for this.

Can you please share us the boot log when the issue happens? I guess this is an known issue, please see https://github.com/BPI-SINOVOIP/BPI-R2-bsp/issues/5 for details, we’re debugging it.

Can you please try below image ?

No, it’s appears directly after the power ON:

  1. T0: I push Power ON during 10s: Leds blue,green,red is ON
  2. T+10s: a green screen: Leds blue,green is ON, red is OFF and HDMI red led is ON, I unpush powerON button
  3. T+14s: display power OFF: Leds blue,green is ON, red is OFF and HDMI red led is ON

could you provide any console log?

I guess the HDMI LED is the LED shown in below picture, if yes, that means the bootloader is loaded and ran correctly when RED LED(near HDMI) is on. After unpushing power button key, it will take a few minutes to boot Ubuntu system if the Kernel doesn’t hang. So now I need the serial port log to see what happens?

hello, I have tried to boot with serial console, but I have only a lot of special caracters I have tried to change UTF8 to other caracters code without results!