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

Steps to boot from M.2 SSD?


[BPI-64] how to use dtoverlay with fit

$
0
0

@frank-w wrote:

Hi

On old bootchain i had separate dtb file which can be merged with dt-overlays in uboot. With the “new” fit image,the dtb is again builtin,so i cannot load it separately for mwrging with dto.

I found a way to integrate dto into fit,but i search for a way to load separate dto,so user needs only compile dto and not kernel/fit

Any idea how to archive this? @sam33 @ryder.lee

Regards Frank

Posts: 1

Participants: 1

Read full topic

[R2] Kernel Panic at PowerOff with soldered button

$
0
0

@Douglas_Orend wrote:

I have soldered my power button so that the R2 comes on when power is supplied. But when I execute “poweroff”, I get a kernel panic. I circumvented this by having the R2 reboot at kernel panic, which solves the immediate issue. But I thought maybe frank-w should know about this. Here is the text of the kernel panic:

[  114.775988] ------------[ cut here ]------------
[  114.780650] WARNING: CPU: 0 PID: 1 at /home/doug/R2/BPI-R2-4.14/drivers/power/reset/mt6323-poweroff.c:46 mt6323_do_pwroff+0x178/0x180
[  114.792670] Unable to power off system
[  114.796421] Modules linked in: nf_conntrack_netlink xt_addrtype iptable_nat xt_conntrack nft_counter nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nf_tables nfnetlink mt7615e mt7615_common mt76 lima gpu_sched pwm_mediatek spi_mt65xx ip_tables x_tables
[  114.822534] CPU: 0 PID: 1 Comm: systemd-shutdow Not tainted 5.10.11-bpi-r2-main #2
[  114.830110] Hardware name: Mediatek Cortex-A7 (Device Tree)
[  114.835683] Backtrace:
[  114.838145] [<c010d30c>] (dump_backtrace) from [<c010d658>] (show_stack+0x20/0x24)
[  114.845724]  r7:00000009 r6:60030013 r5:00000000 r4:c14ef938
[  114.851394] [<c010d638>] (show_stack) from [<c0dccd74>] (dump_stack+0xd0/0xe4)
[  114.858629] [<c0dccca4>] (dump_stack) from [<c0126f0c>] (__warn+0x110/0x114)
[  114.865683]  r7:00000009 r6:00000000 r5:c120fa60 r4:c2137ddc
[  114.871348] [<c0126dfc>] (__warn) from [<c0126f94>] (warn_slowpath_fmt+0x84/0xc0)
[  114.878841]  r9:00000009 r8:c0951984 r7:0000002e r6:c120fa60 r5:c120fa44 r4:c1404ec8
[  114.886596] [<c0126f14>] (warn_slowpath_fmt) from [<c0951984>] (mt6323_do_pwroff+0x178/0x180)
[  114.895131]  r9:0000001a r8:b76d02db r7:c1404ec8 r6:0ccccb60 r5:c1252388 r4:00000000
[  114.902885] [<c095180c>] (mt6323_do_pwroff) from [<c010b8d4>] (machine_power_off+0x34/0x38)
[  114.911247]  r9:2da84800 r8:fee1dead r7:c14124d8 r6:4321fedc r5:00000000 r4:c1404ec8
[  114.919003] [<c010b8a0>] (machine_power_off) from [<c0150e60>] (kernel_power_off+0x7c/0x80)
[  114.927367] [<c0150de4>] (kernel_power_off) from [<c0150fb8>] (__do_sys_reboot+0x154/0x200)
[  114.935731] [<c0150e64>] (__do_sys_reboot) from [<c01510d4>] (sys_reboot+0x18/0x1c)
[  114.943398]  r9:c2136000 r8:c0100264 r7:00000058 r6:00000000 r5:00000000 r4:004f6954
[  114.951153] [<c01510bc>] (sys_reboot) from [<c0100060>] (ret_fast_syscall+0x0/0x54)
[  114.958814] Exception stack(0xc2137fa8 to 0xc2137ff0)
[  114.963872] 7fa0:                   004f6954 00000000 fee1dead 28121969 4321fedc 2da84800
[  114.972058] 7fc0: 004f6954 00000000 00000000 00000058 be839c68 00000000 be839c00 004f56f8
[  114.980241] 7fe0: 00000058 be839b5c b6ef9d45 b6e7b746
[  114.985316] ---[ end trace 5dc0854ed2aaa00b ]---
[  114.989960] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000
[  114.997625] CPU: 0 PID: 1 Comm: systemd-shutdow Tainted: G        W         5.10.11-bpi-r2-main #2
[  115.006588] Hardware name: Mediatek Cortex-A7 (Device Tree)
[  115.012161] Backtrace:
[  115.014618] [<c010d30c>] (dump_backtrace) from [<c010d658>] (show_stack+0x20/0x24)
[  115.022197]  r7:ffffe000 r6:60030093 r5:00000000 r4:c14ef938
[  115.027864] [<c010d638>] (show_stack) from [<c0dccd74>] (dump_stack+0xd0/0xe4)
[  115.035097] [<c0dccca4>] (dump_stack) from [<c0dbd5f4>] (panic+0x120/0x338)
[  115.042064]  r7:ffffe000 r6:c113d198 r5:00000000 r4:c15bb7d8
[  115.047732] [<c0dbd4d4>] (panic) from [<c012d00c>] (do_exit+0x878/0xaf8)
[  115.054438]  r3:00000001 r2:c2150004 r1:00000000 r0:c113d198
[  115.060098]  r7:ffffe000
[  115.062638] [<c012c794>] (do_exit) from [<c0150fc0>] (__do_sys_reboot+0x15c/0x200)
[  115.070211]  r7:c14124d8
[  115.072751] [<c0150e64>] (__do_sys_reboot) from [<c01510d4>] (sys_reboot+0x18/0x1c)
[  115.080418]  r9:c2136000 r8:c0100264 r7:00000058 r6:00000000 r5:00000000 r4:004f6954
[  115.088171] [<c01510bc>] (sys_reboot) from [<c0100060>] (ret_fast_syscall+0x0/0x54)
[  115.095832] Exception stack(0xc2137fa8 to 0xc2137ff0)
[  115.100889] 7fa0:                   004f6954 00000000 fee1dead 28121969 4321fedc 2da84800
[  115.109076] 7fc0: 004f6954 00000000 00000000 00000058 be839c68 00000000 be839c00 004f56f8
[  115.117260] 7fe0: 00000058 be839b5c b6ef9d45 b6e7b746
[  115.122328] Rebooting in 1 seconds..

Posts: 6

Participants: 2

Read full topic

Lifetime of M3 Availability

$
0
0

@Neil_Benn wrote:

Hello,

I’m evaluating the M3 and intend to base a product on it. However that means I need to take account of the lifetime of the product. It is already quite old being fist released in 2015 - does anyone know how/who to ask this question to? I also need to buy in bulk; firstly 100 but ending up in 1,000.

Also I would need RoHS and REACH information for the M3 - is that available?

Cheers,

Neil

Posts: 2

Participants: 2

Read full topic

BPI M2 Zero hidden USB hosts

$
0
0

@VeeAyyDee wrote:

AllWinner H2+ does have 3 USB hosts available but only USB OTG is accessible on the board. I want to mod this board (BPI M2 Zero) so I can have access to those USB hosts, but before I buy the board and do that I want to ask if those hosts are not disabled by default.

Posts: 4

Participants: 2

Read full topic

OpenWRT on R64 with MT7615

$
0
0

@kumitterer wrote:

Hi all,

I have built OpenWRT from the repository at https://github.com/graphine27/openwrt/tree/r64-emmc

The BPI-R64 I bought came with a BPI-MT7615 module that is detected by OpenWRT as “MediaTek MT7615E 802.11bgn” but only works in 2.4Ghz mode. Is there any way to get it to work on 5Ghz? It works out of the box when I boot the Banana Pi into Debian.

Thanks in advance for your help!

Posts: 2

Participants: 2

Read full topic

BananaPi R64 - Ubuntu 18.04 System very slow performance

$
0
0

@anirudhan wrote:

We have used the vendor provided image taken from the link in the wiki page https://download.banana-pi.dev/d/3ebbfa04265d4dddb81b/files/?p=%2FImages%2FBPI-R64%2FUbuntu18.04%2F2020-12-20-ubuntu-18.04.3-bpi-r64-5.4-sd-emmc.img.zip&dl=1

We are running the system from the SD card since we were not able to find any support for EMMC. We observe the entire system to be responding extremely slow to any Linux CLI commands. To provide and example we have provided the screenshot of the CPU utilization and time taken in running the netplan utility in raspberry pi 4 and banana pi r64. We have used the /usr/bin/time command for profiling the time and memory requirements for netplan utility.

Please let us know is more information is required to debug this issue. The above provided images are only representing an example and the slow performance is prevelant across the system.

Posts: 4

Participants: 2

Read full topic

Banana-Pi-BPI-R64 how can I use two pcie port together?

$
0
0

@Water wrote:

how can I use two pcie port together? when I use one pcie for 4G module the other for MT7615, the MT7615 will cannot up. the wlan1 cannot create.

system: openwrt with kernel 4.19.

Posts: 7

Participants: 2

Read full topic


Video from OV5640, bpi-m2 zero

$
0
0

@koytorni8i wrote:

Hello all, is the bpi camera able to capture video stream? With which image and which kernel? I have tried with several images from the wiki (raspbian/4.4, raspbian/3.4,ubuntu/5.3.5, Armbian/3.4). I am now at Ubuntu server 16.04 kernel 4.4.

With fswebcam I only get single frames, not video.

ffmpeg -f v4l2 -list_formats all -i /dev/video0 says: ‘ioctl(VIDIOC_ENUMINPUT): Invalid argument /dev/video0: Invalid argument’

Gstreamer is not working and I am uncertain whether it needs a patch for the capabilities(software) or it is the camera interface that is not fully supported as I read in the forum. For ‘gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,format=YUY2,width=1280,height=720 ! fakesink dump=1’ it returns: ‘Call to S_FMT failed for YUYV @ 1280x720: Operation not permitted’

If anyone has achieved video stream, at least let me know that it is possible. Thank you.

Posts: 2

Participants: 2

Read full topic

Sata power connector

$
0
0

@SeaWolf wrote:

what socket type is the 2 pin sata power connector in the m2 ultra, looking to places to get sata power cable for 2.5" drive

Posts: 1

Participants: 1

Read full topic

What Is Norton Security Error 8504

Get Best Support To Fix Norton Live Update Error

R64 low performance

Ubuntu 18.04/20.04 with kernel 5.4 in Banana Pi R2

BPI-M4: M.2 E-Key - SD drive installation


BPI R64 openwrt with MT7615 issue

$
0
0

@Water wrote:

I encounter one strange thing. use: openwrt + kernel 4.19

  1. when I first time rm overlay/* then I setting the MT7615 wireless on AC, everything good to work. but strange thing happen when I reboot the R64 device, the interface wlan1(which is create for MT7615) is not up and I need to run wifi up or /etc/init.d/network reload then we can see it up. when I connect device with it, the device will hang then reboot. I cannot get any dump log in the console.
  2. but when I only let MT7615 work in 2.4ghz, although when device reboot wlan1 still not up, but it won’t reboot after I let wlan1 up and connect to it.

how I can debug it? I cannot get any log out in console.

thanks, Water

Posts: 1

Participants: 1

Read full topic

[BPI-R2] minicom setup

$
0
0

@couch wrote:

Hi, So I have been trying to get my Banana Pi R2 to show something on my minicom screen for the past couple of months whether it be post messages or an OS boot-up screen. I have tried using the Ubuntu image (BPI-R2 Ubuntu 16.04 Kernel4.4 V1.3 ) and the centOS 7 (BPI-R2 Centos 7 Kernel4.4 20180112) that were provided on the Banana Pi R2 wiki page and nothing is displaying. Am I missing a step on the setup on the board or the minicom screen?

my settings for minicom are Serial Port: /dev/ttyUSB0 Bps/par/bits: 115200 8N1 HW flowcontrol: off SW flowcontrol: off

this is my output when I use dmesg | grep tty [ 0.390436] printk: console [tty0] enabled [ 1.232986] 0000:00:16.3: ttyS4 at I/O 0x50b0 (irq = 19, base_baud = 115200) is a 16550A [ 1036.566867] usb 1-1.1: ch341-uart converter now attached to ttyUSB0

any help is much appreciated thanks!

Posts: 4

Participants: 2

Read full topic

BPI-M4: m.2 extension board with nvme ssd

BPI-M4: m.2 extension board with sata3 disk

Official OpenWrt Support for BananaPi BPi-R64

$
0
0

@Bluse wrote:

Hi all,

The OpenWrt team has added full target support (sdcard & emmc boot) for the Mediatek mt7622 based BananaPi BPi-R64 [1]. A big thank you goes to dangowrt that did the major coding work in the last days: One question remains, as we could not find the EEPROM with the calibration and mac data for the internal on-board wifi mt7615 card… so for now the wifi has an uncalibrated state leading to just 6dBm output power and a random generated mac address … both information should be in an EEPROM somewhere on the board … who can help here ?

Greeting Thomas

[1] https://github.com/openwrt/openwrt/commit/dfa0a38d1f4d5bbac768569e3769ae4438a57e73

Posts: 2

Participants: 2

Read full topic

Viewing all 6437 articles
Browse latest View live