Quantcast
Channel: banana pi single board computer open source project official forum BPI team - Latest posts
Viewing all 43517 articles
Browse latest View live

Will the BPI-W2 work for my application? PCI 9052 IO Bus

$
0
0

Hey All,

I have an application where I am connecting a proprietary card over PCI-104 to a PCI 9052 chip which converts our signals when this has a PCIe X16 connector which I use on my PC on my desktop. The PC I am currently using is x86_64 architecture running Windows 10 and Ubuntu 18.04 kernel 5.0.0-32 generic. I have no issues with this card on this PC. The motherboard on my desktop PC only has PCIe X1 so I am using a StarTech PEX1PCI1 adapter and I am providing external 5V and 12V power (this also allows me to cycle power with a relay).

Note: I tried this with a RockPRO64 and I am having issues. The driver they have on their kernel is unable to detect this card. It is also causing a stack exception on bootup when the device is connected to the PCIe port which makes booting only work 2/10 times. I am currently working with the Dev to try and solve this but they have limited time and we have not been successful.

Was wondering what you guys think.

Thanks


BPI-R64 current u-boot support

$
0
0

I asked: if you boot board to uboot from SD, then load kernel from SD, do running linux has access to eMMC?

BPI-R64 current u-boot support

$
0
0

If i use old uboot:yes…see the hd on boot0 output. New uboot hangs on kernel load

BPI-R64 current u-boot support

$
0
0

Ok, thanks.

Which tree used to build that kernel?

BPI-R64 current u-boot support

$
0
0

It should be 5.4-r64-rc (as it was on rc1)…why is this important?

I just got a BPI R2 and it won't boot

$
0
0

That did it man. I had to keep it press for 10 seconds. Is there a way to shorten this ? or turning the device on by default if it gets power.

I just got a BPI R2 and it won't boot

$
0
0

You can bridge powerbutton (need to disable in software) or bring 5v to otg-port

[BPI-M64] Kernel Development 2019

$
0
0

@sinovoip Hi I have been testing M64 with older and newer kernel as well as uboots. My tests are explained here. Kernel 4.4 Works fine with anarsouls image for pine64-A64+ and also Avafingers Ubuntu with kernel 4.4 and older uboot but wifi/bt doesnt work this means v1.2 have newer chips.

As per Avafinger his Kernel 5.2 works fine on M64-Version1 and I have M64-version1.2 and his 5.2 doesnt seem to boot on V1.2.

Can you advice why the latest uboot and kernel5.2 is not working on v1.2 but same works fine on V1. Please advice, As I have been testing it for so many hours but couldn’t figure out. If only you can tell us what have changed between V1 and V1.2, it would be helpful


BPI-M2+ Packet drops UDP

$
0
0

Hello,

I test my M2+ boards (several) with iperf (ver. 2.0.1) and iperf3 (ver. 3.6 with cJSON 1.5.2) and I noticed strange packet losses reported by iperfs (regardless of version). Perhaps someone has experienced similar problems? I’m not sure if these are the iperf problem or the BananaPi boards are faulty.

The results below are collected with the iperf3 server running with default settings (iperf3 -s -i 1). (results from iperf confirm these findings, so I will skip them). For really low loads below 30mbps iperf3 reports no drops, later we have an increasing number of drops - note 50% (!!!) for 500mbps and then we are back at 3% drop for 1000mbps.

if I test my interface with netstat (netstat -i), no drops are reported on the interface:

Kernel Interface table
Iface      MTU    RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP TX-OVR Flg
eth0      1500   609836      0      0 0           804      0      0      0 BMRU
lo       65536        3      0      0 0             3      0      0      0 LRU
wlan0     1500        0      0      0 0             0      0      0      0 BMU

my kernel version Linux bpi2 5.1.1-BPI-Kernel #1 SMP Thu Aug 22 13:53:49 CST 2019 armv7l GNU/Linux

pi@bpi2:~$  lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 10 (buster)
Release:	10
Codename:	buster

Thanks in advance for any help!

============================ iperf3 results

iperf3 -c 192.168.1.11 -u -b 1000m -t 3
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  5]   0.00-3.00   sec   339 MBytes   949 Mbits/sec  0.000 ms  0/245798 (0%)  sender
[  5]   0.00-3.00   sec   329 MBytes   920 Mbits/sec  0.011 ms  7301/245683 (3%)  receiver

iperf3 -c 192.168.1.11 -u -b 500m -t 3
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  5]   0.00-3.00   sec   179 MBytes   500 Mbits/sec  0.000 ms  0/129456 (0%)  sender
[  5]   0.00-3.00   sec   100 MBytes   281 Mbits/sec  0.015 ms  56743/129456 (44%)  receiver


for iperf3 -c 192.168.1.11 -u -b 100m -t 3
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  5]   0.00-3.00   sec  35.8 MBytes   100 Mbits/sec  0.000 ms  0/25892 (0%)  sender
[  5]   0.00-3.00   sec  33.0 MBytes  92.3 Mbits/sec  0.033 ms  1975/25892 (7.6%)  receiver

for iperf3 -c 192.168.1.11 -u -b 50m -t 3
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  5]   0.00-3.00   sec  17.9 MBytes  50.0 Mbits/sec  0.000 ms  0/12946 (0%)  sender
[  5]   0.00-3.02   sec  17.7 MBytes  49.1 Mbits/sec  0.400 ms  98/12911 (0.76%)  receiver

[BPI-R64] Kernel-Development

$
0
0

tried to getting bluetooth to work (in 5.4-r64-rc) like i’ve done here, but no success yet:

root@bpi-r64:~# cat /sys/firmware/devicetree/base/serial@1100c000/bluetooth/status
okayroot@bpi-r64:~# ls /lib/firmware/mediatek/
mt7622pr2h.bin
root@bpi-r64:~#

root@bpi-r64:~# dmesg | grep -i hci
[    0.118222] Bluetooth: HCI device and connection manager initialized
[    0.118233] Bluetooth: HCI socket layer initialized
[    3.960775] xhci-mtk 1a0c0000.usb: xHCI Host Controller
[    3.966023] xhci-mtk 1a0c0000.usb: new USB bus registered, assigned bus number 1
[    3.975053] xhci-mtk 1a0c0000.usb: hcc params 0x01403198 hci version 0x96 quirks 0x0000000000210010
[    3.984136] xhci-mtk 1a0c0000.usb: irq 129, io mem 0x1a0c0000
[    3.998676] xhci-mtk 1a0c0000.usb: xHCI Host Controller
[    4.003914] xhci-mtk 1a0c0000.usb: new USB bus registered, assigned bus number 2
[    4.011319] xhci-mtk 1a0c0000.usb: Host supports USB 3.0 SuperSpeed
root@bpi-r64:~# dmesg | grep -i bluetooth
[    0.118192] Bluetooth: Core ver 2.22
[    0.118222] Bluetooth: HCI device and connection manager initialized
[    0.118233] Bluetooth: HCI socket layer initialized
[    0.118241] Bluetooth: L2CAP socket layer initialized
[    0.118256] Bluetooth: SCO socket layer initialized
[    1.338827] Bluetooth: RFCOMM TTY layer initialized
[    1.343745] Bluetooth: RFCOMM socket layer initialized
[    1.349031] Bluetooth: RFCOMM ver 1.11
[    1.352927] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    1.358390] Bluetooth: BNEP filters: protocol multicast
[    1.363770] Bluetooth: BNEP socket layer initialized
[    1.368766] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    1.374721] Bluetooth: HIDP socket layer initialized
root@bpi-r64:~#

root@bpi-r64:~# bluetoothctl
Agent registered
[bluetooth]# power on
No default controller available
[bluetooth]# 

seems i miss anything…i thought only the dts-node was missing in 4.19, no additional driver

seems like CONFIG_BT_HCIBTUART_MTK is no more available…i see only vendor independ BT_HCIUART

i found no commit removing the BT_HCIBTUART_MTK symbol…afair i had not added Patches for it in 4.19…found also the symbol not in Kconfigs in 4.19-r64-main

seems like the driver was renamed to CONFIG_BT_MTKUART, after changing that to y (from m) i see more info:

[    1.264907] bluetooth hci0: Direct firmware load for mediatek/mt7622pr2h.bin failed with error -2
[    1.273827] Bluetooth: hci0: Failed to load firmware file (-2)

i still have the firmware-file in same place

root@bpi-r64:~# ls -l /lib/firmware/mediatek/mt7622pr2h.bin
-rw-r--r-- 1 root root 78158 Oct 21 13:25 /lib/firmware/mediatek/mt7622pr2h.bin
root@bpi-r64:~#

[BPI-M64] Kernel Development 2019

$
0
0

Here is the update for the A1 Chip: https://github.com/avafinger/bpi-m64-firmware/commit/ace09cc39c858be208786434e44018c0fc2f8f65

The changes i found so far from v1.0 to v1.2 are:

  • new A1 Chip (Wifi / BT)
  • new DRAM chips with a lower value from 672 to 576, that was the fix but you told that did not work, so must be something else. Maybe DRAM settings should be even lower than this…
  • new eMMC version 5.0 (or 5.1, or another version)

BTW, the BPI BSP kernel (github) does not build DRM support (at least for LCDs)

BPI has Grub and u-boot that seem to be working on their video release if the u-boot source code is released the problem is solved.

I just got a BPI R2 and it won't boot

$
0
0

There are a few possibilities here:

  1. Which OS are you trying to boot with? I’ve had very good results using the Armbian for the bpi-r2

  2. your sd-card maybe does not want to play along, you could need to try another one.

Just remember to hold the boot-thing down until you see the lights go on.

BPI-M4 android Getting started

$
0
0

Hi now we’re getting somewhere. To burn the image from “NOR” to eMMC I’m going to have to get the bpi-tools not sure about the syntax. I noticed looking more at the schematics that the “BOOT_SEL” was hard coded also the doc on the Realtek has a lot of good information, btw can I connect to the composite video output in anyway. Br keith

I just got a BPI R2 and it won't boot

$
0
0

I am using OpenWRT and it is loading from sd right now. all of it is working fine so far. I just want to finish writing the code and do a demo in here =)

We will also install a modem to this board. This thing is nice =) all of it is working after the boot.

Thanks for the help!

BPI-R64 current u-boot support

$
0
0

for the not loading kernel (which was loaded from sd-card correctly) i guess it is a problem with loading ATF (missing offset/config-option)…if i load kernel with old uboot i see this:

Starting kernel ...

[ATF][     8.776223]save kernel info
[ATF][     8.779425]Kernel_EL2
[ATF][     8.782181]Kernel is 64Bit
[ATF][     8.785369]pc=0x40080000, r0=0x6bff7000, r1=0x0
INFO:    BL3-1: Preparing for EL3 exit to normal world, Kernel
INFO:    BL3-1: Next image address = 0x40080000
INFO:    BL3-1: Next image spsr = 0x3c9
[ATF][     8.803636]el3_exit
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]

[BPI-M64] Kernel Development 2019

$
0
0

Being around for source code since the day it was released.

Still waiting for their response

Banana Pi BPI-M64 new image: Grub demo with Debian 10 and ubuntu 19.10 2019-10-21

$
0
0

Tried this on new M64 v1.2 and it failed to boot.

UART Log here

U-Boot SPL 2019.07 (Sep 22 2019 - 00:30:50 +0800)
DRAM: 2048 MiB
Trying to boot from MMC1
NOTICE:  BL3-1: Running on A64/H64 (1689) in SRAM A2 (@0x44000)
NOTICE:  Configuring SPC Controller
NOTICE:  BL3-1: v1.0(debug):f0fac76
NOTICE:  BL3-1: Built : 00:30:17, Sep 22 2019
NOTICE:  DT: sun50i-a64-bananapi-m64
INFO:    Configuring AXP PMIC
INFO:    PMIC: DRAM voltage: 1.50V
INFO:    PMIC: setup succ�
U-Boot SPL 2019.07 (Sep 22 2019 - 00:30:50 +0800)
DRAM: 2048 MiB
Trying to boot from MMC1                                                                                      
NOTICE:  BL3-1: Running on A64/H64 (1689) in SRAM A2 (@0x44000)                                               
NOTICE:  Configuring SPC Controller                                                                           
NOTICE:  BL3-1: v1.0(debug):f0fac76                                                                           
NOTICE:  BL3-1: Built : 00:30:17, Sep 22 2019                                                                 
NOTICE:  DT: sun50i-a64-bananapi-m64                                                                          
INFO:    Configuring AXP PMIC                                                                                 
INFO:    PMIC: DRAM voltage: 1.50V                                                                            
INFO:    PMIC: setup succ�                                                                                    
U-Boot SPL 2019.07 (Sep 22 2019 - 00:30:50 +0800)                                                             
DRAM: 2048 MiB                                                                                                
Trying to boot from MMC1                                                                                      
NOTICE:  BL3-1: Running on A64/H64 (1689) in SRAM A2 (@0x44000)                                               
NOTICE:  Configuring SPC Controller                                                                           
NOTICE:  BL3-1: v1.0(debug):f0fac76                                                                           
NOTICE:  BL3-1: Built : 00:30:17, Sep 22 2019                                                                 
NOTICE:  DT: sun50i-a64-bananapi-m64                                                                          
INFO:    Configuring AXP PMIC                                                                                 
INFO:    PMIC: DRAM voltage: 1.50V                                                                            
INFO:    PMIC: setup su�                                                                                      
U-Boot SPL 2019.07 (Sep 22 2019 - 00:30:50 +0800)                                                             
DRAM: 2048 MiB                                                                                                
Trying to boot from MMC1                                                                                      
NOTICE:  BL3-1: Running on A64/H64 (1689) in SRAM A2 (@0x44000)                                               
NOTICE:  Configuring SPC Controller                                                                           
NOTICE:  BL3-1: v1.0(debug):f0fac76                                                                           
NOTICE:  BL3-1: Built : 00:30:17, Sep 22 2019                                                                 
NOTICE:  DT: sun50i-a64-bananapi-m64                                                                          
INFO:    Configuring AXP PMIC                                                                                 
INFO:    PMIC: DRAM voltage: 1.50V                                                                            
INFO:    PMIC: setup succ�                                                                                    
U-Boot SPL 2019.07 (Sep 22 2019 - 00:30:50 +0800)                                                             
DRAM: 2048 MiB                                                                                                
Trying to boot from MMC1                                                                                      
NOTICE:  BL3-1: Running on A64/H64 (1689) in SRAM A2 (@0x44000)                                               
NOTICE:  Configuring SPC Controller                                                                           
NOTICE:  BL3-1: v1.0(debug):f0fac76                                                                           
NOTICE:  BL3-1: Built : 00:30:17, Sep 22 2019                                                                 
NOTICE:  DT: sun50i-a64-bananapi-m64                                                                          
INFO:    Configuring AXP PMIC                                                                                 
INFO:    PMIC: DRAM voltage: 1.50V                                                                            
INFO:    PMIC: setup succ                                                                                     
U-Boot SPL 2019.07 (Sep 22 2019 - 00:30:50 +0800)                                                             
DRAM: 2048 MiB                                                                                                
Trying to boot from MMC1                                                                                      
NOTICE:  BL3-1: Running on A64/H64 (1689) in SRAM A2 (@0x44000)                                               
NOTICE:  Configuring SPC Controller                                                                           
NOTICE:  BL3-1: v1.0(debug):f0fac76                                                                           
NOTICE:  BL3-1: Built : 00:30:17, Sep 22 2019                                                                 
NOTICE:  DT: sun50i-a64-bananapi-m64                                                                          
INFO:    Configuring AXP PMIC                                                                                 
INFO:    PMIC: DRAM voltage: 1.50V                                                                            
INFO:    PMIC: setup succ                                                                                     
U-Boot SPL 2019.07 (Sep 22 2019 - 00:30:50 +0800)                                                             
DRAM: 2048 MiB                                                                                                
Trying to boot from MMC1                                                                                      
NOTICE:  BL3-1: Running on A64/H64 (1689) in SRAM A2 (@0x44000)                                               
NOTICE:  Configuring SPC Controller                                                                           
NOTICE:  BL3-1: v1.0(debug):f0fac76                                                                           
NOTICE:  BL3-1: Built : 00:30:17, Sep 22 2019                                                                 
NOTICE:  DT: sun50i-a64-bananapi-m64                                                                          
INFO:    Configuring AXP PMIC                                                                                 
INFO:    PMIC: DRAM voltage: 1.50V                                                                            
INFO:    PMIC: setup succ                                                                                     
U-Boot SPL 2019.07 (Sep 22 2019 - 00:30:50 +0800)                                                             
DRAM: 2048 MiB                                                                                                
Trying to boot from MMC1                                                                                      
NOTICE:  BL3-1: Running on A64/H64 (1689) in SRAM A2 (@0x44000)                                               
NOTICE:  Configuring SPC Controller                                                                           
NOTICE:  BL3-1: v1.0(debug):f0fac76                                                                           
NOTICE:  BL3-1: Built : 00:30:17, Sep 22 2019                                                                 
NOTICE:  DT: sun50i-a64-bananapi-m64                                                                          
INFO:    Configuring AXP PMIC                                                                                 
INFO:    PMIC: DRAM voltage: 1.50V                                                                            
INFO:    PMIC: setup succ                                                                                     
U-Boot SPL 2019.07 (Sep 22 2019 - 00:30:50 +0800)                                                             
DRAM: 2048 MiB                                                                                                
Trying to boot from MMC1                                                                                      
NOTICE:  BL3-1: Running on A64/H64 (1689) in SRAM A2 (@0x44000)                                               
NOTICE:  Configuring SPC Controller                                                                           
NOTICE:  BL3-1: v1.0(debug):f0fac76                                                                           
NOTICE:  BL3-1: Built : 00:30:17, Sep 22 2019                                                                 
NOTICE:  DT: sun50i-a64-bananapi-m64                                                                          
INFO:    Configuring AXP PMIC                                                                                 
INFO:    PMIC: DRAM voltage: 1.50V                                                                            
INFO:    PMIC: setup succ�                                                                                    
U-Boot SPL 2019.07 (Sep 22 2019 - 00:30:50 +0800)                                                             
DRAM: 2048 MiB                                                                                                
Trying to boot from MMC1                                                                                      
NOTICE:  BL3-1: Running on A64/H64 (1689) in SRAM A2 (@0x44000)                                               
NOTICE:  Configuring SPC Controller                                                                           
NOTICE:  BL3-1: v1.0(debug):f0fac76                                                                           
NOTICE:  BL3-1: Built : 00:30:17, Sep 22 2019                                                                 
NOTICE:  DT: sun50i-a64-bananapi-m64                                                                          
INFO:    Configuring AXP PMIC                                                                                 
INFO:    PMIC: DRAM voltage: 1.50V                                                                            
INFO:    PMIC: setup succ�                                                                                    
U-Boot SPL 2019.07 (Sep 22 2019 - 00:30:50 +0800)                                                             
DRAM: 2048 MiB                                                                                                
Trying to boot from MMC1                                                                                      
NOTICE:  BL3-1: Running on A64/H64 (1689) in SRAM A2 (@0x44000)                                               
NOTICE:  Configuring SPC Controller                                                                           
NOTICE:  BL3-1: v1.0(debug):f0fac76                                                                           
NOTICE:  BL3-1: Built : 00:30:17, Sep 22 2019                                                                 
NOTICE:  DT: sun50i-a64-bananapi-m64                                                                          
INFO:    Configuring AXP PMIC                                                                                 
INFO:    PMIC: DRAM voltage: 1.50V

BPI-R64 current u-boot support

Mainline linux uboot 2019.07 for banana pi on github

Banana Pi BPI-M64 new image: Grub demo with Debian 10 and ubuntu 19.10 2019-10-21

$
0
0

are you use DC power to power this board??? or use other way to power this board???

Viewing all 43517 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>