Open Bahir opened 5 years ago
I will have a look at it when possible. I think brcm_patchram_plus should not be needed or dtb is with the wrong configuration.
ok, i just gave it a new try, firmware (bt) is missing for the mainline and not to mention that HDMI is broken. I will need more time to find the fix In case you want to search for the bt firmware and put it in the right place, attached is the correct BT dtb configuration. (but HDMI is broken).
bpi-m2-zero-v4.dtb_5.3.1.tar.gz copy it to /boot and overwrite the old dtb.
[ 471.282066] Bluetooth: hci0: command 0x1003 tx timeout
[ 473.362081] Bluetooth: hci0: command 0x1001 tx timeout
[ 475.442152] Bluetooth: hci0: command 0x1009 tx timeout
[ 481.282173] Bluetooth: hci0: command 0x1003 tx timeout
[ 483.362299] Bluetooth: hci0: command 0x1001 tx timeout
[ 485.442222] Bluetooth: hci0: command 0x1009 tx timeout
[ 489.714481] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 489.714496] Bluetooth: BNEP filters: protocol multicast
[ 489.714527] Bluetooth: BNEP socket layer initialized
[ 523.043304] random: crng init done
[ 523.043356] random: 7 urandom warning(s) missed due to ratelimiting
Bluetooth and HDMI fixed. No need to patchram for 5.3.1. I will push the changes asap.
ubuntu@bpi-m2z:~$ uname -ra
Linux bpi-m2z 5.3.1 #2 SMP Tue Sep 24 18:23:12 -03 2019 armv7l armv7l armv7l GNU/Linux
ubuntu@bpi-m2z:~$ rfkill list
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
ubuntu@bpi-m2z:~$ hcitool devi
Devices:
hci0 AA:AA:AA:AA:AA:AA
ubuntu@bpi-m2z:~$
Thank you all is good except...
bluetoothd: Can't open input device: No such file or directory (2)
bluetoothd: AVRCP: failed to init uinput for 00:16:44:FD:6B:A0
Looks like uinput kernel module missing.
Device Drivers --->
Input device support --->
[*] Miscellaneous devices --->
<M> User level driver support
Could you please make this module?
done. rootfs_modules_5.3.1.tar.gz
Install with: sudo tar -xvpzf rootfs_modules_5.3.1.tar.gz -C / --numeric-ow
I have played with BT and unfortunately, there is some issue. I think we have to use the patchram, the old way.
Here is my failed attempt to connect to a JBL speaker and Phone:
bluetoothctl -a
[NEW] Controller CC:B8:A8:A9:E5:67 bpi-m2z [default]
Agent registered
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# agent on
Agent is already registered
[bluetooth]# default-agent
Default agent request successful
[bluetooth]# scan on
Discovery started
[CHG] Controller CC:B8:A8:A9:E5:67 Discovering: yes
[NEW] Device 8E:06:78:D2:E1:3C CHARGE3
[NEW] Device 00:17:CA:F7:38:18 00-17-CA-F7-38-18
[CHG] Device 00:17:CA:F7:38:18 LegacyPairing: no
[CHG] Device 00:17:CA:F7:38:18 Name: Haier HW-W910
[CHG] Device 00:17:CA:F7:38:18 Alias: Haier HW-W910
[bluetooth]# scan off
[CHG] Device 00:17:CA:F7:38:18 RSSI is nil
[CHG] Device 8E:06:78:D2:E1:3C RSSI is nil
Discovery stopped
[CHG] Controller CC:B8:A8:A9:E5:67 Discovering: no
[bluetooth]# trust 8E:06:78:D2:E1:3C
[CHG] Device 8E:06:78:D2:E1:3C Trusted: yes
Changing 8E:06:78:D2:E1:3C trust succeeded
[bluetooth]# pair 8E:06:78:D2:E1:3C
Attempting to pair with 8E:06:78:D2:E1:3C
[CHG] Device 8E:06:78:D2:E1:3C Connected: yes
[CHG] Device 8E:06:78:D2:E1:3C UUIDs: 0000110b-0000-1000-8000-00805f9b34fb
[CHG] Device 8E:06:78:D2:E1:3C UUIDs: 0000110e-0000-1000-8000-00805f9b34fb
[CHG] Device 8E:06:78:D2:E1:3C UUIDs: 0000111e-0000-1000-8000-00805f9b34fb
[CHG] Device 8E:06:78:D2:E1:3C Paired: yes
Pairing successful
[CHG] Device 8E:06:78:D2:E1:3C Connected: no
[bluetooth]# connect 8E:06:78:D2:E1:3C
Attempting to connect to 8E:06:78:D2:E1:3C
Failed to connect: org.bluez.Error.Failed
[bluetooth]# connect 8E:06:78:D2:E1:3C
Attempting to connect to 8E:06:78:D2:E1:3C
Failed to connect: org.bluez.Error.Failed
[bluetooth]# devices
Device 8E:06:78:D2:E1:3C CHARGE3
Device 00:17:CA:F7:38:18 Haier HW-W910
[bluetooth]# trust 00:17:CA:F7:38:18
[CHG] Device 00:17:CA:F7:38:18 Trusted: yes
Changing 00:17:CA:F7:38:18 trust succeeded
[bluetooth]# pair 00:17:CA:F7:38:18
Attempting to pair with 00:17:CA:F7:38:18
[CHG] Device 00:17:CA:F7:38:18 Connected: yes
Request confirmation
[agent] Confirm passkey 750807 (yes/no): yes
[Haier HW-W910]# connect 00:17:CA:F7:38:18
Attempting to connect to 00:17:CA:F7:38:18
Failed to pair: org.bluez.Error.AuthenticationFailed
Failed to connect: org.bluez.Error.Failed
[CHG] Device 00:17:CA:F7:38:18 Connected: no
The connect fail. Something is missing. i made sure pulseaudio was running.
Mine is good with connection and pairing but I can't make it work with sound playing.
[ 6.837977] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 6.870887] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.sinovoip,bananapi zero.txt failed with error -2
[ 6.882750] brcmfmac mmc1:0001:1: Falling back to sysfs fallback for: brcm/brcmfmac43430-sdio.sinovoip,bananapi zero.txt
[ 6.990811] Bluetooth: Core ver 2.22
[ 6.999210] Bluetooth: HCI device and connection manager initialized
[ 6.999245] Bluetooth: HCI socket layer initialized
[ 7.010583] Bluetooth: L2CAP socket layer initialized
[ 7.015775] Bluetooth: SCO socket layer initialized
[ 7.038011] Bluetooth: HCI UART driver ver 2.3
[ 7.044249] Bluetooth: HCI UART protocol H4 registered
[ 7.049571] Bluetooth: HCI UART protocol BCSP registered
[ 7.054926] Bluetooth: HCI UART protocol ATH3K registered
[ 7.060629] Bluetooth: HCI UART protocol Intel registered
[ 7.067018] Bluetooth: HCI UART protocol Broadcom registered
[ 7.074003] Bluetooth: HCI UART protocol AG6XX registered
[ 7.113685] Bluetooth: RFCOMM TTY layer initialized
[ 7.118605] Bluetooth: RFCOMM socket layer initialized
[ 7.123879] Bluetooth: RFCOMM ver 1.11
[ 7.247370] Bluetooth: hci0: BCM: chip id 94
[ 7.260078] Bluetooth: hci0: BCM: features 0x2e
[ 7.288210] Bluetooth: hci0: BCM43430A1
[ 7.292895] Bluetooth: hci0: BCM43430A1 (001.002.009) build 0000
[ 9.260053] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 9.993284] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Oct 23 2017 03:55:53 version 7.45.98.38 (r674442 CY) FWID 01-e58d219f
[ 11.034933] Bluetooth: hci0: BCM43430A1 (001.002.009) build 0106
[ 15.722882] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 15.722896] Bluetooth: BNEP filters: protocol multicast
[ 15.722926] Bluetooth: BNEP socket layer initialized
root@bpi-m2z:~# rfkill list all
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
root@bpi-m2z:~# hciconfig -a
hci0: Type: Primary Bus: UART
BD Address: 8C:F7:10:4B:29:08 ACL MTU: 1021:8 SCO MTU: 64:1
UP RUNNING PSCAN
RX bytes:4300 acl:29 sco:0 events:289 errors:0
TX bytes:37453 acl:30 sco:0 commands:253 errors:0
Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH SNIFF
Link mode: SLAVE ACCEPT
Name: 'bpi-m2z'
Class: 0x200000
Service Classes: Audio
Device Class: Miscellaneous,
HCI Version: 4.0 (0x6) Revision: 0x6a
LMP Version: 4.0 (0x6) Subversion: 0x2209
Manufacturer: Broadcom Corporation (15)
root@bpi-m2z:~# pulseaudio --start
Oct 5 13:43:59 bpi-m2z bluetoothd[463]: Endpoint registered: sender=:1.62 path=/MediaEndpoint/A2DPSource/VENDOR/LDAC
Oct 5 13:43:59 bpi-m2z bluetoothd[463]: Endpoint registered: sender=:1.62 path=/MediaEndpoint/A2DPSource/VENDOR/APTXHD
Oct 5 13:43:59 bpi-m2z bluetoothd[463]: Endpoint registered: sender=:1.62 path=/MediaEndpoint/A2DPSource/VENDOR/APTX
Oct 5 13:43:59 bpi-m2z bluetoothd[463]: Endpoint registered: sender=:1.62 path=/MediaEndpoint/A2DPSource/AAC
Oct 5 13:43:59 bpi-m2z bluetoothd[463]: Endpoint registered: sender=:1.62 path=/MediaEndpoint/A2DPSource/SBC
Oct 5 13:43:59 bpi-m2z bluetoothd[463]: Endpoint registered: sender=:1.62 path=/MediaEndpoint/A2DPSink/VENDOR/APTXHD
Oct 5 13:43:59 bpi-m2z bluetoothd[463]: Endpoint registered: sender=:1.62 path=/MediaEndpoint/A2DPSink/VENDOR/APTX
Oct 5 13:43:59 bpi-m2z bluetoothd[463]: Endpoint registered: sender=:1.62 path=/MediaEndpoint/A2DPSink/AAC
Oct 5 13:43:59 bpi-m2z bluetoothd[463]: Endpoint registered: sender=:1.62 path=/MediaEndpoint/A2DPSink/SBC
root@bpi-m2z:~# bluetoothctl
Agent registered
[bluetooth]# list
Controller 8C:F7:10:4B:29:08 bpi-m2z [default]
[bluetooth]# connect FC:A8:9A:68:8D:4A
Attempting to connect to FC:A8:9A:68:8D:4A
Failed to connect: org.bluez.Error.Failed
[bluetooth]# quit
root@bpi-m2z:~# bluetoothctl
Agent registered
[bluetooth]# list
Controller 8C:F7:10:4B:29:08 bpi-m2z [default]
[bluetooth]# connect FC:A8:9A:68:8D:4A
Attempting to connect to FC:A8:9A:68:8D:4A
[CHG] Device FC:A8:9A:68:8D:4A Connected: yes
Connection successful
[JBL E45BT]# info
Device FC:A8:9A:68:8D:4A (public)
Name: JBL E45BT
Alias: JBL E45BT
Class: 0x00240404
Icon: audio-card
Paired: yes
Trusted: yes
Blocked: no
Connected: yes
LegacyPairing: no
UUID: Headset (00001108-0000-1000-8000-00805f9b34fb)
UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: Advanced Audio Distribu.. (0000110d-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: Handsfree (0000111e-0000-1000-8000-00805f9b34fb)
[CHG] Device FC:A8:9A:68:8D:4A ServicesResolved: yes
Oct 5 13:48:31 bpi-m2z bluetoothd[463]: /org/bluez/hci0/dev_FC_A8_9A_68_8D_4A/fd0: fd(26) ready
Oct 5 13:48:31 bpi-m2z kernel: [75185.512490] input: FC:A8:9A:68:8D:4A as /devices/virtual/input/input7
So, all seems OK in logs but... But, when I try to play something via this BT connection I either receive broken sound in headset (it is what expected but very dirty one) or connection is interrupted.
root@bpi-m2z:~# paplay /usr/share/sounds/alsa/Front_Center.wav
Connection failure: Connection terminated
Stream error: Connection terminated
And pulseaudio process also goes down.
Also, I noticed that when I activate something with BT (pulseaduio, bluetoothctl) the WIFI connection sometimes interrupts responding (strange delays when i type in ssh console). And sometimes I need to restart ssh session at all after I activated BT.
And, the same is for 4.20.17 and for 5.3.1 so I have an idea that something is wrong with firmware or sdio.txt.
Here are mine I use.
root@bpi-m2z:/lib/firmware/brcm# ls -lA
lrwxrwxrwx 1 root root 15 Sep 25 14:06 BCM43430A1.hcd -> BRCM43438A1.hcd
lrwxrwxrwx 1 root root 35 Sep 25 01:16 BRCM43438A1.hcd -> /lib/firmware/ap6212/bcm43438a1.hcd
lrwxrwxrwx 1 root root 31 Oct 4 16:30 brcmfmac43430-sdio.bin -> brcmfmac43430-sdio.bin.20190923
-rw-rw-r-- 1 root root 388739 Sep 23 14:23 brcmfmac43430-sdio.bin.20190923
lrwxrwxrwx 1 root root 27 Oct 4 16:11 brcmfmac43430-sdio.txt -> brcmfmac43430-sdio.txt.orig
-rw------- 1 root root 979 Nov 28 2017 brcmfmac43430-sdio.txt.orig
root@bpi-m2z:/lib/firmware/ap6212# ls -lA
-rw-rw-r-- 1 root root 38630 Dec 3 2017 bcm43438a0.hcd
-rw-r--r-- 1 root root 33376 Sep 24 20:32 bcm43438a1.hcd
-rw-r--r-- 1 root root 62 Jun 28 2018 config.txt
-rw-rw-r-- 1 root root 336323 Dec 3 2017 fw_bcm43438a0.bin
-rw-rw-r-- 1 root root 309352 Dec 3 2017 fw_bcm43438a0_apsta.bin
lrwxrwxrwx 1 root root 17 Sep 24 09:59 fw_bcm43438a0_p2p.bin -> fw_bcm43438a0.bin
-rw-rw-r-- 1 root root 374608 Dec 3 2017 fw_bcm43438a1.bin
-rw-rw-r-- 1 root root 374608 Dec 3 2017 fw_bcm43438a1_apsta.bin
-rw-rw-r-- 1 root root 374608 Dec 3 2017 fw_bcm43438a1_apsta.bin.orig
-rw-r--r-- 1 root root 374608 Sep 24 20:33 fw_bcm43438a1_p2p.bin
-rw-rw-r-- 1 root root 902 Dec 3 2017 nvram.txt
-rw-rw-r-- 1 root root 902 Dec 3 2017 nvram.txt.orig
-rw-r--r-- 1 root root 979 Jun 28 2018 nvram_ap6212.txt
-rw-r--r-- 1 root root 979 Mar 1 2017 nvram_ap6212a.txt
root@bpi-m2z:/lib/firmware/brcm# cat brcmfmac43430-sdio.txt
#AP6212_NVRAM_V1.0.1_20160606
# 2.4 GHz, 20 MHz BW mode
# The following parameter values are just placeholders, need to be updated.
manfid=0x2d0
prodid=0x0726
vendid=0x14e4
devid=0x43e2
boardtype=0x0726
boardrev=0x1101
boardnum=22
macaddr=00:90:4c:c5:12:38
sromrev=11
boardflags=0x00404201
xtalfreq=26000
nocrc=1
ag0=255
aa2g=1
ccode=ALL
pa0itssit=0x20
extpagain2g=0
#PA parameters for 2.4GHz, measured at CHIP OUTPUT
pa2ga0=-168,7161,-820
AvVmid_c0=0x0,0xc8
cckpwroffset0=5
# PPR params
maxp2ga0=90
txpwrbckof=6
cckbw202gpo=0x5555
legofdmbw202gpo=0x77777777
mcsbw202gpo=0xaaaaaaaa
# OFDM IIR :
ofdmdigfilttype=7
# PAPD mode:
papdmode=2
il0macaddr=00:90:4c:c5:12:38
wl0id=0x431b
#OOB parameters
hostwake=0x40
hostrdy=0x41
usbrdy=0x03
usbrdydelay=100
deadman_to=0xffffffff
# muxenab: 0x1 for UART enable, 0x10 for Host awake
muxenab=0x10
# CLDO PWM voltage settings - 0x4 - 1.1 volt
#cldo_pwm=0x4
glitch_based_crsmin=1
Interesting. I could see the first time you tried to connect failed. And the next attempt was a success. I can't remember where I got the firmware from... My attempt:
sudo bt-device -c 8E:06:78:D2:E1:3C
Connecting to: 8E:06:78:D2:E1:3C
Error: GDBus.Error:org.bluez.Error.AlreadyExists: Already Exists
ubuntu@bpi-m2z:~$ sudo bt-device -c 8E:06:78:D2:E1:3C
Connecting to: 8E:06:78:D2:E1:3C
Error: GDBus.Error:org.bluez.Error.AlreadyExists: Already Exists
ubuntu@bpi-m2z:~$ sudo bluetoothctl
[NEW] Controller CC:B8:A8:A9:E5:67 bpi-m2z [default]
[NEW] Device 8E:06:78:D2:E1:3C CHARGE3
[bluetooth]# remove 8E:06:78:D2:E1:3C
[DEL] Device 8E:06:78:D2:E1:3C CHARGE3
Device has been removed
[bluetooth]# exit
[DEL] Controller CC:B8:A8:A9:E5:67 bpi-m2z [default]
ubuntu@bpi-m2z:~$ sudo bt-device -c 8E:06:78:D2:E1:3C
Connecting to: 8E:06:78:D2:E1:3C
Error: Device not found.
ubuntu@bpi-m2z:~$ sudo bt-device -l 8E:06:78:D2:E1:3C
No devices found
ubuntu@bpi-m2z:~$ sudo bt-device -l
No devices found
ubuntu@bpi-m2z:~$ sudo bluetoothctl
[NEW] Controller CC:B8:A8:A9:E5:67 bpi-m2z [default]
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# agent on
Agent registered
[bluetooth]# default-agent
Default agent request successful
[bluetooth]# scan on
Discovery started
[CHG] Controller CC:B8:A8:A9:E5:67 Discovering: yes
[NEW] Device 8E:06:78:D2:E1:3C CHARGE3
[bluetooth]# scan off
[CHG] Device 8E:06:78:D2:E1:3C RSSI is nil
Discovery stopped
[CHG] Controller CC:B8:A8:A9:E5:67 Discovering: no
[bluetooth]# quit
Agent unregistered
[DEL] Controller CC:B8:A8:A9:E5:67 bpi-m2z [default]
ubuntu@bpi-m2z:~$ sudo bluetoothctl
[NEW] Controller CC:B8:A8:A9:E5:67 bpi-m2z [default]
[NEW] Device 8E:06:78:D2:E1:3C CHARGE3
[bluetooth]# quit
[DEL] Controller CC:B8:A8:A9:E5:67 bpi-m2z [default]
Then:
ubuntu@bpi-m2z:~$ sudo bt-device -c 8E:06:78:D2:E1:3C
Connecting to: 8E:06:78:D2:E1:3C
Done
I read somewhere you must have the device listed here in order to play sound, i need to find this info, but i think is a pulse configuration.
ubuntu@bpi-m2z:~$ rfkill list
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
Play audio to HDMI
ubuntu@bpi-m2z:~$ sudo aplay -D sysdefault:CARD=1 /usr/share/sounds/alsa/Front_Left.wav
Home directory not accessible: Permission denied
Playing WAVE '/usr/share/sounds/alsa/Front_Left.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
your command
ubuntu@bpi-m2z:~$ paplay /usr/share/sounds/alsa/Front_Center.wav
ubuntu@bpi-m2z:~$ ps -e|grep pulse
873 ? 00:00:00 pulseaudio
ubuntu@bpi-m2z:~$ paplay /usr/share/sounds/alsa/Front_Center.wav
ubuntu@bpi-m2z:~$ ps -e|grep pulse
873 ? 00:00:00 pulseaudio
So, i think the problem is the right pulse configuration that must be done to make a link to the hw be available. Still, we need to investigate.
Configuration for mainline:
cat /etc/asound.conf
pcm.!default {
type plug
slave {
pcm "hw:1,0"
}
}
ctl.!default {
type hw
card 1
}
@Bahir Can you try to use this firmware or see the differences? Try the full stack.
https://github.com/RPi-Distro/firmware-nonfree/blob/master/brcm/brcmfmac43430-sdio.txt
Interesting. I could see the first time you tried to connect failed. And the next attempt was a success. That's because of I forgot to run pulseaudio first time :-)
With this: https://github.com/RPi-Distro/firmware-nonfree/blob/master/brcm/brcmfmac43430-sdio.txt
Did you get all files from https://github.com/RPi-Distro/firmware-nonfree/tree/master/brcm or just the brcmfmac43430-sdio.txt ?
Yes I've got all of the files.
It does not work only if I replace my brcmfmac43430-sdio.txt
with the one from there.
Restore the previous firmware and try this and check any improvement on wlan:
cd /lib/firmware/brcm/
sudo ln -sf brcmfmac43430-sdio.txt "brcmfmac43430-sdio.sinovoip,bananapi zero.txt"
sync
sudo reboot
That was exactly my configuration (long quotes story I posted today).
My file brcmfmac43430-sdio.txt
points to brcmfmac43430-sdio.txt.orig
that is the copy of brcmfmac43430-sdio.sinovoip,bananapi zero.txt
.
I posted the content of the file brcmfmac43430-sdio.txt
and you can check it in the last quote.
It is the same as brcmfmac43430-sdio.sinovoip,bananapi zero.txt
.
So, what do you suggest is my original configuration and it has no luck.
Not exactly the same:
[ 6.870887] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.sinovoip,bananapi zero.txt failed with error -2
with the symlink there will be a direct firmware load and can have different behavior than the fallback, that was a hope.
Just for information, i just repeated the exact same instructions with another board (not bpi-m2z) and i confirm the paplay /usr/share/sounds/alsa/Front_Center.wav is enough to play sound in the CHARGE3. No need for the device to be shown in rfkill list.
Update info TESTED WITH KERNEL 4.4 AND I WILL CHECK WITH 5.3
Anyway, you can install hcidump and run it in the second instance of ssh and monitor the messages during play and try to get a clue where it breaks. You are still ahead of me.
Maybe you can re-install pulse and Bluez and bt tools, and check again until i find out why i can't connect..
I changed it as you suggested (made symlinks) now dmesg is
[ 6.488202] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 6.580235] Bluetooth: Core ver 2.22
[ 6.591334] Bluetooth: HCI device and connection manager initialized
[ 6.598184] Bluetooth: HCI socket layer initialized
[ 6.604680] Bluetooth: L2CAP socket layer initialized
[ 6.609834] Bluetooth: SCO socket layer initialized
[ 6.632913] Bluetooth: HCI UART driver ver 2.3
[ 6.637435] Bluetooth: HCI UART protocol H4 registered
[ 6.642622] Bluetooth: HCI UART protocol BCSP registered
[ 6.647936] Bluetooth: HCI UART protocol ATH3K registered
[ 6.659153] Bluetooth: HCI UART protocol Intel registered
[ 6.665010] Bluetooth: HCI UART protocol Broadcom registered
[ 6.672983] Bluetooth: HCI UART protocol AG6XX registered
[ 6.710676] Bluetooth: RFCOMM TTY layer initialized
[ 6.716213] Bluetooth: RFCOMM socket layer initialized
[ 6.716384] Bluetooth: RFCOMM ver 1.11
[ 6.766892] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 6.954734] Bluetooth: hci0: BCM: chip id 94
[ 6.969026] Bluetooth: hci0: BCM: features 0x2e
[ 7.004613] Bluetooth: hci0: BCM43430A1
[ 7.010604] Bluetooth: hci0: BCM43430A1 (001.002.009) build 0000
[ 8.780413] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Oct 23 2017 03:55:53 version 7.45.98.38 (r674442 CY) FWID 01-e58d219f
[ 11.354717] Bluetooth: hci0: BCM43430A1 (001.002.009) build 0106
[ 16.136176] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 16.136190] Bluetooth: BNEP filters: protocol multicast
[ 16.136219] Bluetooth: BNEP socket layer initialized
But the behavoiur is the same
root@bpi-m2z:~# aplay -D pulse /usr/share/sounds/alsa/Front_Center.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
aplay: pcm_write:2053: write error: Input/output error
root@bpi-m2z:~# paplay /usr/share/sounds/alsa/Front_Center.wav
Connection failure: Connection terminated
Stream error: Connection terminated
Also, I tried to install fresh bluez (5.51 from git) and bluez-alsa plugin (https://github.com/Arkq/bluez-alsa) With this plugin we do no need to run pulseaudio. The progress is that with bluez-alsa there no crashes (so there no need to run hcidump) but sound played so dirty as well as with pulseaudio.
Seems like firmware issue or bluez issue.
FYI, i have the same problem with the other board (that had kernel 4.4 and speaker works with BT) now running kernel 5.3.1. Since both Images (bpi-m2z and the other board) are build from scratch for the kernel 5.3.1 some configuration might be missing (in my case).
@Bahir Do you have /etc/bluetooth/audio.conf and configured? [General] Enable=Source,Sink,Media,Socket
Sometimes i see this: Enable=Source,Sink,Media,Socket,Gateway,Control
@Bahir After some configurations and installations..... I get the sound coming out from the BT speaker now, playing Front_Center is almost clear but in slow motion, something like Froooooonnnnt Ceeeeeenter.
Pulse is still running after several play commands:
paplay /usr/share/sounds/alsa/Front_Center.wav
and
aplay -D pulse /usr/share/sounds/alsa/Front_Center.wav
The CHARGE3 battery is very low, could be this.... Just turned off now. So there is hope...
Forgot to mention i am using eth0 , wlan0 is connected to a second network but not in use.
ubuntu@bpi-m2z:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 66:81:e7:d5:09:ae
inet addr:192.168.254.100 Bcast:192.168.255.255 Mask:255.255.0.0
inet6 addr: fe80::6481:e7ff:fed5:9ae/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1800 errors:0 dropped:0 overruns:0 frame:0
TX packets:1282 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:155648 (155.6 KB) TX bytes:225122 (225.1 KB)
Interrupt:39
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:80 errors:0 dropped:0 overruns:0 frame:0
TX packets:80 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5920 (5.9 KB) TX bytes:5920 (5.9 KB)
wlan0 Link encap:Ethernet HWaddr cc:b8:a8:a9:e5:66
inet addr:192.168.254.102 Bcast:192.168.255.255 Mask:255.255.0.0
inet6 addr: fe80::ceb8:a8ff:fea9:e566/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:33 errors:0 dropped:0 overruns:0 frame:0
TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2291 (2.2 KB) TX bytes:3058 (3.0 KB)
ubuntu@bpi-m2z:~$
@Bahir After some configurations and installations..... I get the sound coming out from the BT speaker now, playing Front_Center is almost clear but in slow motion, something like Froooooonnnnt Ceeeeeenter.
Mine is the same effect but with some distortion (like Matrix sound). As for me it not depends on battery level. What about my /etc/bluetooth/audio.conf. It is. This section contains general options [General] Enable=Source,Sink,Media,Socket
Also, I noticed that when I activate something with BT (pulseaduio, bluetoothctl) the WIFI connection sometimes interrupts responding (strange delays when i type in ssh console). And sometimes I need to restart ssh session at all after I activated BT.
Ok, i am now testing with wlan0. BT plays most of the time but sometimes very laggy. There must be a way to parametrize this or change this delay.
To fix the ssh issue you have, edit the fie /etc/network/interfaces and uncomment the two lines:
If there isn't a way to change this lag (BT) i will try to create Ubuntu EON Image if that is possible with armhf. No time frame for this.
Small update. I just tried to play some mp3 and the sound is really bad, maybe similar to what you described.
I used sox
sudo apt-get install sox libsox-fmt-all
:
play music.mp3
I played this: https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3
Today I pushed an 8GB Image here: https://github.com/avafinger/bananapi-zero-ubuntu-base-minimal/releases/tag/v2.4
You still need to install ALSA, Bluetooth and then test the latest Bluez stack. So we can see if it has been fixed with the latest and cutting edge.
The Image is a bare minimum Image that can suit every need, Desktop side or Server side
Install BT stack:
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install dialog alsa-utils libasound2 alsa-base
sudo apt-get install bluez bluez-tools libbluetooth-dev
sudo apt-get install pulseaudio pulseaudio-utils pavucontrol pulseaudio-module-bluetooth
then start configuring...
Update. Playing aplay -D pulse /usr/share/sounds/alsa/Front_Center.wav is now fixed in Ubuntu 19.10 but playing mp3 audio no. I think must be a way to configure a2dp but did not find a way.... :(
pactl list cards | awk -v card="#2" -v ORS="\n" -v FS="\n" -v RS="" 'split($1,var," ") var[1] ~ /Card/ && var[2] == card {print}'
Card #2
Name: bluez_card.8E_06_78_D2_E1_3C
Driver: module-bluez5-device.c
Owner Module: 25
Properties:
device.description = "CHARGE3"
device.string = "8E:06:78:D2:E1:3C"
device.api = "bluez"
device.class = "sound"
device.bus = "bluetooth"
device.form_factor = "headset"
bluez.path = "/org/bluez/hci0/dev_8E_06_78_D2_E1_3C"
bluez.class = "0x340404"
bluez.alias = "CHARGE3"
device.icon_name = "audio-headset-bluetooth"
device.intended_roles = "phone"
Profiles:
a2dp_sink: High Fidelity Playback (A2DP Sink) (sinks: 1, sources: 0, priority: 40, available: yes)
headset_head_unit: Headset Head Unit (HSP/HFP) (sinks: 1, sources: 1, priority: 30, available: no)
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
Active Profile: a2dp_sink
Ports:
headset-output: Headset (priority: 0, latency offset: 0 usec)
Part of profile(s): a2dp_sink, headset_head_unit
headset-input: Headset (priority: 0, latency offset: 0 usec, not available)
Part of profile(s): headset_head_unit
Hi!
I installed from scratch v.24 (Ubuntu 19.10/5.3.5) With bluetooth the same situation.
Mac-Pro:~ $ ssh ubuntu@192.168.1.24
Welcome to Ubuntu Eoan Ermine (development branch) (GNU/Linux 5.3.5 armv7l)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
Last login: Fri Oct 11 14:54:30 2019 from 192.168.1.11
ubuntu@bpi-m2z:~$ bluetoothctl
Agent registered
[bluetooth]# connect FC:A8:9A:68:8D:4A
Attempting to connect to FC:A8:9A:68:8D:4A
[CHG] Device FC:A8:9A:68:8D:4A Connected: yes
Connection successful
[JBL E45BT]# info
Device FC:A8:9A:68:8D:4A (public)
Name: JBL E45BT
Alias: JBL E45BT
Class: 0x00240404
Icon: audio-card
Paired: yes
Trusted: no
Blocked: no
Connected: yes
LegacyPairing: no
UUID: Headset (00001108-0000-1000-8000-00805f9b34fb)
UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: Handsfree (0000111e-0000-1000-8000-00805f9b34fb)
[CHG] Device FC:A8:9A:68:8D:4A ServicesResolved: yes
[JBL E45BT]# quit
ubuntu@bpi-m2z:~$ aplay -D pulse /usr/share/sounds/alsa/Front_Center.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
ubuntu@bpi-m2z:~$ aplay -D pulse /usr/share/sounds/alsa/Front_Center.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
aplay: pcm_write:2057: write error: Input/output error
ubuntu@bpi-m2z:~$
And the sound is played old way Frooooonnnttt....Ceeeeeenteeeer :-)
ubuntu@bpi-m2z:~$ pactl list cards | awk -v card="#2" -v ORS="\n" -v FS="\n" -v RS="" 'split($1,var," ") var[1] ~ /Card/ && var[2] == card {print}'
Card #2
Name: bluez_card.FC_A8_9A_68_8D_4A
Driver: module-bluez5-device.c
Owner Module: 25
Properties:
device.description = "JBL E45BT"
device.string = "FC:A8:9A:68:8D:4A"
device.api = "bluez"
device.class = "sound"
device.bus = "bluetooth"
device.form_factor = "headset"
bluez.path = "/org/bluez/hci0/dev_FC_A8_9A_68_8D_4A"
bluez.class = "0x240404"
bluez.alias = "JBL E45BT"
device.icon_name = "audio-headset-bluetooth"
device.intended_roles = "phone"
Profiles:
headset_head_unit: Headset Head Unit (HSP/HFP) (sinks: 1, sources: 1, priority: 30, available: yes)
a2dp_sink: High Fidelity Playback (A2DP Sink) (sinks: 1, sources: 0, priority: 40, available: no)
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
Active Profile: headset_head_unit
Ports:
headset-output: Headset (priority: 0, latency offset: 0 usec)
Part of profile(s): headset_head_unit, a2dp_sink
headset-input: Headset (priority: 0, latency offset: 0 usec)
Part of profile(s): headset_head_unit
I have:
Active Profile: a2dp_sink
and you
Active Profile: headset_head_unit
Any specific reason?
ahh ok your JBL is headset, just ignore...
I just tried to play the MP3 file on another board and i got the exact same results as bpi-m2z.
I can play Wav sound just fine with:
sudo paplay /usr/share/sounds/alsa/Front_Left.wav
But... Playing the mp3 (the one i linked) is just noise..
So, i will put it this way... BT is broken on 5.x regarding sound OR we need a codec (the right codec) to play that mp3.
Maybe someone with BT experience read this and share the right way to configure this.
Just for the record: aplay /usr/share/sounds/alsa/Front_Left.wav Playing WAVE '/usr/share/sounds/alsa/Front_Left.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
aplay file_example_WAV_1MG.wav Playing WAVE 'file_example_WAV_1MG.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Stereo
aplay SoundHelix-Song-1.mp3 Playing raw data 'SoundHelix-Song-1.mp3' : Unsigned 8 bit, Rate 8000 Hz, Mono
BT is working on the other board using sox (kernel 5.3.1). I will check a few things and if i get something new i will report here. Sorry for the noise.
wget https://dl.espressif.com/dl/audio/ff-16b-2c-44100hz.mp3
play ff-16b-2c-44100hz.mp3
ff-16b-2c-44100hz.mp3:
File Size: 2.99M Bit Rate: 128k
Encoding: MPEG audio Info: 2016-04-12
Channels: 2 @ 16-bit
Samplerate: 44100Hz
Replaygain: off
Duration: 00:03:07.12
In:100% 00:03:07.12 [00:00:00.00] Out:8.25M [ | ] Clip:0
FYI:
ubuntu@bpi-m2z:~$ play ff-16b-2c-44100hz.mp3
play WARN alsa: can't encode 0-bit Unknown or not applicable
Floating point exception
Hurrah, it works! Crystal clear sound.
Something strange happened after the error below and everything started to work now. I had to redo everything. Just need to know if it will survive a reboot...
ubuntu@bpi-m2z:~$ play file_example_WAV_1MG.wav
file_example_WAV_1MG.wav:
File Size: 1.07M Bit Rate: 256k
Encoding: Signed PCM
Channels: 2 @ 16-bit
Samplerate: 8000Hz
Replaygain: off
Duration: 00:00:33.53
In:9.16% 00:00:03.07 [00:00:30.46] Out:24.6k [ -====|====- ] Hd:1.7 Clip:0 play FAIL sox: `default' error writing to pulse audio device: Connection terminated: Operation not permitted
Done.
ubuntu@bpi-m2z:~$ ps -e|grep pulse
775 ? 00:00:00 pulseaudio
ubuntu@bpi-m2z:~$ play ff-16b-2c-44100hz.mp3
ff-16b-2c-44100hz.mp3:
File Size: 2.99M Bit Rate: 128k
Encoding: MPEG audio Info: 2016-04-12
Channels: 2 @ 16-bit
Samplerate: 44100Hz
Replaygain: off
Duration: 00:03:07.12
In:67.9% 00:02:07.06 [00:01:00.06] Out:5.60M [-=====|======] Hd:1.5 Clip:0
Aborted.
ubuntu@bpi-m2z:~$ play ff-16b-2c-44100hz.mp3
ff-16b-2c-44100hz.mp3:
File Size: 2.99M Bit Rate: 128k
Encoding: MPEG audio Info: 2016-04-12
Channels: 2 @ 16-bit
Samplerate: 44100Hz
Replaygain: off
Duration: 00:03:07.12
In:67.9% 00:02:07.06 [00:01:00.06] Out:5.60M [-=====|======] Hd:1.5 Clip:0
Aborted.
ubuntu@bpi-m2z:~$ play ff-16b-2c-44100hz.mp3
ff-16b-2c-44100hz.mp3:
File Size: 2.99M Bit Rate: 128k
Encoding: MPEG audio Info: 2016-04-12
Channels: 2 @ 16-bit
Samplerate: 44100Hz
Replaygain: off
Duration: 00:03:07.12
In:3.23% 00:00:06.04 [00:03:01.08] Out:266k [ =|- ] Clip:0
Aborted.
ubuntu@bpi-m2z:~$ play file_example_WAV_1MG.wav
file_example_WAV_1MG.wav:
File Size: 1.07M Bit Rate: 256k
Encoding: Signed PCM
Channels: 2 @ 16-bit
Samplerate: 8000Hz
Replaygain: off
Duration: 00:00:33.53
In:18.3% 00:00:06.14 [00:00:27.39] Out:49.2k [-=====|===== ] Hd:2.4 Clip:0
Aborted.
ubuntu@bpi-m2z:~$ ls *.mp3
SoundHelix-Song-1.mp3 ff-16b-2c-44100hz.mp3
ubuntu@bpi-m2z:~$ play SoundHelix-Song-1.mp3
SoundHelix-Song-1.mp3:
File Size: 8.95M Bit Rate: 192k
Encoding: MPEG audio Info: 2009
Channels: 2 @ 16-bit
Samplerate: 44100Hz
Replaygain: off Artist: SoundHelix
Duration: 00:06:12.73
In:9.39% 00:00:35.02 [00:05:37.71] Out:1.54M [!=====|=====!] Hd:0.1 Clip:0
Aborted.
ubuntu@bpi-m2z:~$ dmesg|tail
[ 17.579632] Bluetooth: BNEP socket layer initialized
[ 32.483852] vcc3v0: disabling
[ 32.483909] vcc5v0: disabling
[ 51.287977] random: crng init done
[ 51.288029] random: 7 urandom warning(s) missed due to ratelimiting
[ 52.793962] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 57.793843] Bluetooth: RFCOMM TTY layer initialized
[ 57.793891] Bluetooth: RFCOMM socket layer initialized
[ 57.793940] Bluetooth: RFCOMM ver 1.11
[ 181.010273] input: 8E:06:78:D2:E1:3C as /devices/virtual/input/input6
ubuntu@bpi-m2z:~$ pulseaudio --dump-modules
module-allow-passthrough When a passthrough stream is requested, route all the other streams to a dummy device
module-alsa-card ALSA Card
module-alsa-sink ALSA Sink
module-alsa-source ALSA Source
module-always-sink Always keeps at least one sink loaded even if it's a null one
module-always-source Always keeps at least one source loaded even if it's a null one
module-augment-properties Augment the property sets of streams with additional static information
module-bluetooth-discover Detect available Bluetooth daemon and load the corresponding discovery module
module-bluetooth-policy Policy module to make using bluetooth devices out-of-the-box easier
module-bluez5-device BlueZ 5 Bluetooth audio sink and source
module-bluez5-discover Detect available BlueZ 5 Bluetooth audio devices and load BlueZ 5 Bluetooth audio drivers
module-card-restore Automatically restore profile of cards
module-cli Command line interface
module-cli-protocol-tcp Command line interface protocol (TCP sockets)
module-cli-protocol-unix Command line interface protocol (UNIX sockets)
module-combine Compatibility module (module-combine rename)
module-combine-sink Combine multiple sinks to one
module-console-kit Create a client for each ConsoleKit session of this user
module-dbus-protocol D-Bus interface
module-default-device-restore Automatically restore the default sink and source
module-detect Detect available audio hardware and load matching drivers
module-device-manager Keep track of devices (and their descriptions) both past and present and prioritise by role
module-device-restore Automatically restore the volume/mute state of devices
module-echo-cancel Echo Cancellation
module-filter-apply Load filter sinks automatically when needed
module-filter-heuristics Detect when various filters are desirable
module-http-protocol-tcp HTTP (TCP sockets)
module-http-protocol-unix HTTP (UNIX sockets)
module-intended-roles Automatically set device of streams based on intended roles of devices
module-ladspa-sink Virtual LADSPA sink
module-loopback Loopback from source to sink
module-match Playback stream expression matching module
module-mmkbd-evdev Multimedia keyboard support via Linux evdev
module-native-protocol-fd Native protocol autospawn helper
module-native-protocol-tcp Native protocol (TCP sockets)
module-native-protocol-unix Native protocol (UNIX sockets)
module-null-sink Clocked NULL sink
module-null-source Clocked NULL source
module-oss OSS Sink/Source
module-pipe-sink UNIX pipe sink
module-pipe-source UNIX pipe source
module-position-event-sounds Position event sounds between L and R depending on the position on screen of the widget triggering them.
module-remap-sink Virtual channel remapping sink
module-remap-source Virtual channel remapping source
module-rescue-streams When a sink/source is removed, try to move its streams to the default sink/source
module-role-cork Mute & cork streams with certain roles while others exist
module-role-ducking Apply a ducking effect based on streams roles
module-rtp-recv Receive data from a network via RTP/SAP/SDP
module-rtp-send Read data from source and send it to the network via RTP/SAP/SDP
module-rygel-media-server UPnP MediaServer Plugin for Rygel
module-simple-protocol-tcp Simple protocol (TCP sockets)
module-simple-protocol-unix Simple protocol (UNIX sockets)
module-sine Sine wave generator
module-sine-source Sine wave generator source
module-snap-policy Ubuntu Snap policy management
module-stream-restore Automatically restore the volume/mute/device state of streams
module-suspend-on-idle When a sink/source is idle for too long, suspend it
module-switch-on-connect When a sink/source is added, switch to it or conditionally switch to it
module-switch-on-port-available Switches ports and profiles when devices are plugged/unplugged
module-systemd-login Create a client for each login session of this user
module-tunnel-sink Tunnel module for sinks
module-tunnel-sink-new Create a network sink which connects via a stream to a remote PulseAudio server
module-tunnel-source Tunnel module for sources
module-tunnel-source-new Create a network source which connects via a stream to a remote PulseAudio server
module-udev-detect Detect available audio hardware and load matching drivers
module-virtual-sink Virtual sink
module-virtual-source Virtual source
module-virtual-surround-sink Virtual surround sink
module-volume-restore Compatibility module
module-x11-bell X11 bell interceptor
module-x11-cork-request Synthesize X11 media key events when cork/uncork is requested
module-x11-publish X11 credential publisher
module-x11-xsmp X11 session management
ubuntu@bpi-m2z:~$
ubuntu@bpi-m2z:~$ pacmd list-cards
2 card(s) available.
index: 0
name: <alsa_card.platform-1c22c00.codec>
driver: <module-alsa-card.c>
owner module: 8
properties:
alsa.card = "0"
alsa.card_name = "H3 Audio Codec"
alsa.long_card_name = "H3 Audio Codec"
alsa.driver_name = "sun4i_codec"
device.bus_path = "platform-1c22c00.codec"
sysfs.path = "/devices/platform/soc/1c22c00.codec/sound/card0"
device.form_factor = "internal"
device.string = "0"
device.description = "Built-in Audio"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card"
profiles:
input:stereo-fallback: Stereo Input (priority 51, available: unknown)
input:mono-fallback: Mono Input (priority 1, available: unknown)
input:multichannel-input: Multichannel Input (priority 1, available: unknown)
output:stereo-fallback: Stereo Output (priority 5100, available: unknown)
output:stereo-fallback+input:stereo-fallback: Stereo Output + Stereo Input (priority 5151, available: unknown)
output:stereo-fallback+input:mono-fallback: Stereo Output + Mono Input (priority 5101, available: unknown)
output:stereo-fallback+input:multichannel-input: Stereo Output + Multichannel Input (priority 5101, available: unknown)
output:mono-fallback: Mono Output (priority 100, available: unknown)
output:mono-fallback+input:stereo-fallback: Mono Output + Stereo Input (priority 151, available: unknown)
output:mono-fallback+input:mono-fallback: Mono Output + Mono Input (priority 101, available: unknown)
output:mono-fallback+input:multichannel-input: Mono Output + Multichannel Input (priority 101, available: unknown)
output:multichannel-output: Multichannel Output (priority 100, available: unknown)
output:multichannel-output+input:stereo-fallback: Multichannel Output + Stereo Input (priority 151, available: unknown)
output:multichannel-output+input:mono-fallback: Multichannel Output + Mono Input (priority 101, available: unknown)
output:multichannel-output+input:multichannel-input: Multichannel Duplex (priority 101, available: unknown)
off: Off (priority 0, available: unknown)
active profile: <output:stereo-fallback+input:stereo-fallback>
sinks:
alsa_output.platform-1c22c00.codec.stereo-fallback/#1: Built-in Audio Stereo
sources:
alsa_output.platform-1c22c00.codec.stereo-fallback.monitor/#1: Monitor of Built-in Audio Stereo
alsa_input.platform-1c22c00.codec.stereo-fallback/#2: Built-in Audio Stereo
ports:
analog-input: Analog Input (priority 10000, latency offset 0 usec, available: unknown)
properties:
multichannel-input: Multichannel Input (priority 0, latency offset 0 usec, available: unknown)
properties:
analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
properties:
multichannel-output: Multichannel Output (priority 0, latency offset 0 usec, available: unknown)
properties:
index: 1
name: <alsa_card.platform-soc_sound>
driver: <module-alsa-card.c>
owner module: 25
properties:
alsa.card = "1"
alsa.card_name = "allwinner,hdmi"
alsa.long_card_name = "allwinner,hdmi"
alsa.driver_name = "snd_soc_simple_card"
device.bus_path = "platform-soc:sound"
sysfs.path = "/devices/platform/soc/soc:sound/sound/card1"
device.form_factor = "internal"
device.string = "1"
device.description = "Built-in Audio"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card"
profiles:
output:stereo-fallback: Stereo Output (priority 5100, available: unknown)
output:multichannel-output: Multichannel Output (priority 100, available: unknown)
off: Off (priority 0, available: unknown)
active profile: <output:stereo-fallback>
sinks:
alsa_output.platform-soc_sound.stereo-fallback/#2: Built-in Audio Stereo
sources:
alsa_output.platform-soc_sound.stereo-fallback.monitor/#3: Monitor of Built-in Audio Stereo
ports:
analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
properties:
multichannel-output: Multichannel Output (priority 0, latency offset 0 usec, available: unknown)
properties:
ubuntu@bpi-m2z:~$ pacmd list-sinks
3 sink(s) available.
index: 0
name: <alsa_output.hw_1_0>
driver: <module-alsa-sink.c>
flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9000
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max request: 0 KiB
max rewind: 0 KiB
monitor source: 0
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
module: 6
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "1c22800.i2s-i2s-hifi i2s-hifi-0"
alsa.id = "1c22800.i2s-i2s-hifi i2s-hifi-0"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "1"
alsa.card_name = "allwinner,hdmi"
alsa.long_card_name = "allwinner,hdmi"
alsa.driver_name = "snd_soc_simple_card"
device.bus_path = "platform-soc:sound"
sysfs.path = "/devices/platform/soc/soc:sound/sound/card1"
device.form_factor = "internal"
device.string = "hw:1,0"
device.buffering.buffer_size = "352800"
device.buffering.fragment_size = "58800"
device.access_mode = "mmap+timer"
device.description = "Built-in Audio"
device.icon_name = "audio-card"
index: 1
name: <alsa_output.platform-1c22c00.codec.stereo-fallback>
driver: <module-alsa-card.c>
flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9000
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max request: 0 KiB
max rewind: 0 KiB
monitor source: 1
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
card: 0 <alsa_card.platform-1c22c00.codec>
module: 8
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "CDC PCM Codec-0"
alsa.id = "CDC PCM Codec-0"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "H3 Audio Codec"
alsa.long_card_name = "H3 Audio Codec"
alsa.driver_name = "sun4i_codec"
device.bus_path = "platform-1c22c00.codec"
sysfs.path = "/devices/platform/soc/1c22c00.codec/sound/card0"
device.form_factor = "internal"
device.string = "hw:0"
device.buffering.buffer_size = "352800"
device.buffering.fragment_size = "58800"
device.access_mode = "mmap+timer"
device.profile.name = "stereo-fallback"
device.profile.description = "Stereo"
device.description = "Built-in Audio Stereo"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card"
ports:
analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
properties:
active port: <analog-output>
* index: 2
name: <alsa_output.platform-soc_sound.stereo-fallback>
driver: <module-alsa-card.c>
flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9000
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max request: 0 KiB
max rewind: 0 KiB
monitor source: 3
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
card: 1 <alsa_card.platform-soc_sound>
module: 25
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "1c22800.i2s-i2s-hifi i2s-hifi-0"
alsa.id = "1c22800.i2s-i2s-hifi i2s-hifi-0"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "1"
alsa.card_name = "allwinner,hdmi"
alsa.long_card_name = "allwinner,hdmi"
alsa.driver_name = "snd_soc_simple_card"
device.bus_path = "platform-soc:sound"
sysfs.path = "/devices/platform/soc/soc:sound/sound/card1"
device.form_factor = "internal"
device.string = "hw:1"
device.buffering.buffer_size = "352800"
device.buffering.fragment_size = "58800"
device.access_mode = "mmap+timer"
device.profile.name = "stereo-fallback"
device.profile.description = "Stereo"
device.description = "Built-in Audio Stereo"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card"
ports:
analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
properties:
active port: <analog-output>
ubuntu@bpi-m2z:~$
I have:
Active Profile: a2dp_sink
and youActive Profile: headset_head_unit
Any specific reason?
I have no idea. Now it is SINK
Card #4
Name: bluez_card.FC_A8_9A_68_8D_4A
Driver: module-bluez5-device.c
Owner Module: 27
Properties:
device.description = "JBL E45BT"
device.string = "FC:A8:9A:68:8D:4A"
device.api = "bluez"
device.class = "sound"
device.bus = "bluetooth"
device.form_factor = "headset"
bluez.path = "/org/bluez/hci0/dev_FC_A8_9A_68_8D_4A"
bluez.class = "0x240404"
bluez.alias = "JBL E45BT"
device.icon_name = "audio-headset-bluetooth"
device.intended_roles = "phone"
Profiles:
headset_head_unit: Headset Head Unit (HSP/HFP) (sinks: 1, sources: 1, priority: 30, available: yes)
a2dp_sink: High Fidelity Playback (A2DP Sink) (sinks: 1, sources: 0, priority: 40, available: yes)
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
Active Profile: a2dp_sink
Ports:
headset-output: Headset (priority: 0, latency offset: 0 usec)
Part of profile(s): headset_head_unit, a2dp_sink
headset-input: Headset (priority: 0, latency offset: 0 usec)
Part of profile(s): headset_head_unit
I've noticed that pactl list card
shows sink as active profile until aplay
or paplay
crashed.
After that it is Active Profile: headset_head_unit
.
And, now I suddenly started to get these errors (without touching any configs and no new packages installed, just played with bluetoothctl connecting headset and played sounds).
Oct 12 15:28:13 bpi-m2z pulseaudio[633]: E: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.45" (uid=1000 pid=633 comm="/usr/bin/pulseaudio --daemonize=no ") interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" error name="(unset)" requested_reply="0" destination="org.bluez" (uid=0 pid=381 comm="/usr/lib/bluetooth/bluetoothd ")
Reboot did not help. The error is still here.
I think Bluetooth (armhf) is buggy. In Arm64 BT works pretty good and stable. Unfortunately, my fix did not survive a reboot and now the same error i mentioned above forces a disconnect from pulseaudio.
You could try:
pusleaudio -k
pusleaudio --start
pactl set-card-profile 2 a2dp_sink
and check for some error:
sudo cat /var/log/syslog | grep -i blue
sudo cat /var/log/syslog | grep -i err
sudo cat /var/log/syslog | grep -i fail
A bit of progress. I connected antenna to bpi and now bluetooth does not crash while playing sound, like aplay: pcm_write:2053: write error: Input/output error
. One problem found and gone.
But the sound is still barking while playing. Seems like something wrong with baudrate and a channel speed is not enough to pass WAV or it drops packets (I'm not sure, just a guess)
Hey, with the new Kernel 5.3.18 I was able to pair and connect to a bluetooth speaker. But when I try to play a .wav file the sound is very choppy
Why is it that choppy ? I wan't to detect objects with an attached Coral Edge TPU from Google and what to hear the result over the speaker.
[bluetooth]# info C8:84:47:1A:DF:08
Device C8:84:47:1A:DF:08 (public)
Name: Sound Kick
Alias: Sound Kick
Class: 0x00240404
Icon: audio-card
Paired: yes
Trusted: yes
Blocked: no
Connected: no
LegacyPairing: no
UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: Advanced Audio Distribu.. (0000110d-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
[bluetooth]# connect C8:84:47:1A:DF:08
Attempting to connect to C8:84:47:1A:DF:08
[CHG] Device C8:84:47:1A:DF:08 Connected: yes
Connection successful
[CHG] Device C8:84:47:1A:DF:08 ServicesResolved: yes
[Sound Kick]# quit
(cv) ubuntu@bpi-m2z:~/Master$ pico2wave --lang=de-DE --wave=/tmp/test.wav "hallo welt hier spricht der räspberri pei"; play /tmp/test.wav;rm /tmp/test.wav
play WARN alsa: can't encode 0-bit Unknown or not applicable
/tmp/test.wav:
File Size: 90.8k Bit Rate: 256k
Encoding: Signed PCM
Channels: 1 @ 16-bit
Samplerate: 16000Hz
Replaygain: off
Duration: 00:00:02.84
In:100% 00:00:02.84 [00:00:00.00] Out:45.4k [ | ] Hd:2.3 Clip:0
Done.
(cv) ubuntu@bpi-m2z:~/Master$
The same problem with a connected Bluetooth Headphones...
I also tried out with connected monitor on the banana pi with disabling wlan0. But still the same. The sound is always very choppy
[Teufel AIRY]# info
Device A0:E9:DB:01:71:AF (public)
Name: Teufel AIRY
Alias: Teufel AIRY
Class: 0x00240404
Icon: audio-card
Paired: yes
Trusted: yes
Blocked: no
Connected: yes
LegacyPairing: no
UUID: Headset (00001108-0000-1000-8000-00805f9b34fb)
UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: Handsfree (0000111e-0000-1000-8000-00805f9b34fb)
[Teufel AIRY]# quit
(cv) ubuntu@bpi-m2z:~$ play temp.wav
play WARN alsa: can't encode 0-bit Unknown or not applicable
temp.wav:
File Size: 229k Bit Rate: 256k
Encoding: Signed PCM
Channels: 1 @ 16-bit
Samplerate: 16000Hz
Replaygain: off
Duration: 00:00:07.14
In:100% 00:00:07.14 [00:00:00.00] Out:114k [ | ] Hd:5.4 Clip:0
Done.
(cv) ubuntu@bpi-m2z:~$
Please, try this possible fix:
untar the attached file
copy bpi-m2-zero-v4.dtb_5.3.18 to /boot and overwrite the file
make sure you have:
lrwxrwxrwx 1 root root 32 Feb 26 13:43 bpi-m2-zero.dtb -> bpi-m2-zero-v4.dtb_5.3.18
reboot sudo reboot
Correction
At the beginning it seems to fix the problem. Sound started with good quality but after maybe 1 sec the sound is interrupted completely and the device lost the connection to the banana pi. Bluetoothctl is no longer connected.
(cv) ubuntu@bpi-m2z:~$ bluetoothctl
Agent registered
[Sound Kick]# info
Device C8:84:47:1A:DF:08 (public)
Name: Sound Kick
Alias: Sound Kick
Class: 0x00240404
Icon: audio-card
Paired: yes
Trusted: yes
Blocked: no
Connected: yes
LegacyPairing: no
UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: Advanced Audio Distribu.. (0000110d-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
[Sound Kick]# quit
(cv) ubuntu@bpi-m2z:~$ play temp.wav
play WARN alsa: can't encode 0-bit Unknown or not applicable
temp.wav:
File Size: 229k Bit Rate: 256k
Encoding: Signed PCM
Channels: 1 @ 16-bit
Samplerate: 16000Hz
Replaygain: off
Duration: 00:00:07.14
In:35.8% 00:00:02.56 [00:00:04.58] Out:41.0k [======|======] Hd:2.2 Clip:0 play WARN alsa: Input/output error
play FAIL sox: `default' Input/output error: Operation not permitted
Done.
(cv) ubuntu@bpi-m2z:~$ bluetoothctl
Agent registered
[bluetooth]# info
Missing device address argument
[bluetooth]#
Looks like BT speed is still wrong. I have seen 921600 and 1500000 max speed for this device. Currently set to 1500000, maybe it should be 921600.
You could try different speed values.
Install DTC
sudo apt-get install device-tree-compiler
Decompile bpi-m2-zero-v4.dtb_5.3.18 change max-speed= to the new value
Re-compile bpi-m2-zero-v4.dtb_5.3.18
reboot
PS: make a backup file
After decompiling
(cv) ubuntu@bpi-m2z:/boot$ dtc -I dtb -O dts bpi-m2-zero-v4.dtb_5.3.18 -o /tmp/test/tmp.dts
/tmp/test/tmp.dts: Warning (unit_address_vs_reg): /soc/pinctrl@1c20800/bt_pwr_pin@0: node has a unit name, but no reg property
/tmp/test/tmp.dts: Warning (unit_address_vs_reg): /soc/pinctrl@1f02c00/r_i2c@0: node has a unit name, but no reg property
/tmp/test/tmp.dts: Warning (unit_address_vs_reg): /soc/pinctrl@1f02c00/led_pins@0: node has a unit name, but no reg property
/tmp/test/tmp.dts: Warning (unit_address_vs_reg): /soc/pinctrl@1f02c00/key_pins@0: node has a unit name, but no reg property
/tmp/test/tmp.dts: Warning (unit_address_vs_reg): /soc/pinctrl@1f02c00/regulator_pins@0: node has a unit name, but no reg property
/tmp/test/tmp.dts: Warning (avoid_unnecessary_addr_size): /soc/mixer@1100000/ports/port@1: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
/tmp/test/tmp.dts: Warning (avoid_unnecessary_addr_size): /soc/lcd-controller@1c0c000/ports/port@0: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
/tmp/test/tmp.dts: Warning (avoid_unnecessary_addr_size): /soc/ethernet@1c30000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
/tmp/test/tmp.dts: Warning (unique_unit_address): /soc/spi@1c68000/spi@0: duplicate unit-address (also used in node /soc/spi@1c68000/spiflash@0)
/tmp/test/tmp.dts: Warning (unique_unit_address): /soc/spi@1c68000/spi@0: duplicate unit-address (also used in node /soc/spi@1c68000/pitft@0)
/tmp/test/tmp.dts: Warning (unique_unit_address): /soc/spi@1c68000/spiflash@0: duplicate unit-address (also used in node /soc/spi@1c68000/pitft@0)
/tmp/test/tmp.dts: Warning (alias_paths): /aliases: aliases property name must include only lowercase and '-'
/tmp/test/tmp.dts: Warning (graph_child_address): /soc/mixer@1100000/ports/port@1: graph node has single child node 'endpoint', #address-cells/#size-cells are not necessary
/tmp/test/tmp.dts: Warning (graph_child_address): /soc/lcd-controller@1c0c000/ports/port@0: graph node has single child node 'endpoint', #address-cells/#size-cells are not necessary
I changed the value using "jed Editor" as you said from:
bluetooth {
compatible = "brcm,bcm43438-bt";
max-speed = < 0x16e360 >;
clocks = < 0x11 0x01 >;
clock-names = "lpo";
vbat-supply = < 0x09 >;
vddio-supply = < 0x09 >;
device-wakeup-gpios = < 0x0c 0x06 0x0d 0x00 >;
host-wakeup-gpios = < 0x0c 0x06 0x0b 0x00 >;
shutdown-gpios = < 0x0c 0x06 0x0c 0x00 >;
to
bluetooth {
compatible = "brcm,bcm43438-bt";
max-speed = < 0xe1000 >;
clocks = < 0x11 0x01 >;
clock-names = "lpo";
vbat-supply = < 0x09 >;
vddio-supply = < 0x09 >;
device-wakeup-gpios = < 0x0c 0x06 0x0d 0x00 >;
host-wakeup-gpios = < 0x0c 0x06 0x0b 0x00 >;
shutdown-gpios = < 0x0c 0x06 0x0c 0x00 >;
after saving and recompiling with
dtc -I dts -O dtb -f tmp.dts -o bpi-m2-zero-v4.dtb_5.3.18
There were several warnings but the file was created.
bpi-m2-zero-v4.dtb_5.3.18: Warning (unit_address_vs_reg): /soc/pinctrl@1c20800/bt_pwr_pin@0: node has a unit name, but no reg property
bpi-m2-zero-v4.dtb_5.3.18: Warning (unit_address_vs_reg): /soc/pinctrl@1f02c00/r_i2c@0: node has a unit name, but no reg property
bpi-m2-zero-v4.dtb_5.3.18: Warning (unit_address_vs_reg): /soc/pinctrl@1f02c00/led_pins@0: node has a unit name, but no reg property
bpi-m2-zero-v4.dtb_5.3.18: Warning (unit_address_vs_reg): /soc/pinctrl@1f02c00/key_pins@0: node has a unit name, but no reg property
bpi-m2-zero-v4.dtb_5.3.18: Warning (unit_address_vs_reg): /soc/pinctrl@1f02c00/regulator_pins@0: node has a unit name, but no reg property
bpi-m2-zero-v4.dtb_5.3.18: Warning (avoid_unnecessary_addr_size): /soc/mixer@1100000/ports/port@1: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
bpi-m2-zero-v4.dtb_5.3.18: Warning (avoid_unnecessary_addr_size): /soc/lcd-controller@1c0c000/ports/port@0: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
bpi-m2-zero-v4.dtb_5.3.18: Warning (avoid_unnecessary_addr_size): /soc/ethernet@1c30000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
bpi-m2-zero-v4.dtb_5.3.18: Warning (unique_unit_address): /soc/spi@1c68000/spi@0: duplicate unit-address (also used in node /soc/spi@1c68000/spiflash@0)
bpi-m2-zero-v4.dtb_5.3.18: Warning (unique_unit_address): /soc/spi@1c68000/spi@0: duplicate unit-address (also used in node /soc/spi@1c68000/pitft@0)
bpi-m2-zero-v4.dtb_5.3.18: Warning (unique_unit_address): /soc/spi@1c68000/spiflash@0: duplicate unit-address (also used in node /soc/spi@1c68000/pitft@0)
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /chosen/framebuffer-hdmi:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /chosen/framebuffer-hdmi:clocks: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /chosen/framebuffer-hdmi:clocks: cell 4 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /chosen/framebuffer-tve:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /chosen/framebuffer-tve:clocks: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/clock@1000000:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/clock@1000000:clocks: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/mixer@1100000:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/mixer@1100000:clocks: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/dma-controller@1c02000:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/lcd-controller@1c0c000:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/lcd-controller@1c0c000:clocks: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/mmc@1c0f000:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/mmc@1c0f000:clocks: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/mmc@1c0f000:clocks: cell 4 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/mmc@1c0f000:clocks: cell 6 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/mmc@1c10000:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/mmc@1c10000:clocks: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/mmc@1c10000:clocks: cell 4 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/mmc@1c10000:clocks: cell 6 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/mmc@1c11000:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/mmc@1c11000:clocks: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/mmc@1c11000:clocks: cell 4 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/mmc@1c11000:clocks: cell 6 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/usb@1c19000:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/phy@1c19400:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/phy@1c19400:clocks: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/phy@1c19400:clocks: cell 4 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/phy@1c19400:clocks: cell 6 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/usb@1c1a000:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/usb@1c1a000:clocks: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/usb@1c1a400:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/usb@1c1a400:clocks: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/usb@1c1a400:clocks: cell 4 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/usb@1c1b000:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/usb@1c1b000:clocks: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/usb@1c1b400:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/usb@1c1b400:clocks: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/usb@1c1b400:clocks: cell 4 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/usb@1c1c000:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/usb@1c1c000:clocks: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/usb@1c1c400:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/usb@1c1c400:clocks: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/usb@1c1c400:clocks: cell 4 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/usb@1c1d000:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/usb@1c1d000:clocks: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/usb@1c1d400:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/usb@1c1d400:clocks: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/usb@1c1d400:clocks: cell 4 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/clock@1c20000:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/clock@1c20000:clocks: cell 1 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/pinctrl@1c20800:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/pinctrl@1c20800:clocks: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/pinctrl@1c20800:clocks: cell 3 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/ths@1c25000:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/ths@1c25000:clocks: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/timer@1c20c00:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/ethernet@1c30000:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/ethernet@1c30000/mdio-mux/mdio@1/ethernet-phy@1:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/spi@1c68000:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/spi@1c68000:clocks: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/spi@1c69000:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/spi@1c69000:clocks: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/spdif@1c21000:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/spdif@1c21000:clocks: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/pwm@1c21400:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/i2s@1c22000:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/i2s@1c22000:clocks: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/i2s@1c22400:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/i2s@1c22400:clocks: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/i2s@1c22800:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/i2s@1c22800:clocks: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/codec@1c22c00:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/codec@1c22c00:clocks: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/serial@1c28000:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/serial@1c28400:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/serial@1c28400/bluetooth:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/serial@1c28800:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/serial@1c28c00:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/i2c@1c2ac00:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/i2c@1c2b000:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/i2c@1c2b400:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/camera@1cb0000:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/camera@1cb0000:clocks: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/camera@1cb0000:clocks: cell 4 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/hdmi@1ee0000:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/hdmi@1ee0000:clocks: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/hdmi@1ee0000:clocks: cell 4 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/hdmi-phy@1ef0000:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/hdmi-phy@1ef0000:clocks: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/hdmi-phy@1ef0000:clocks: cell 4 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/rtc@1f00000:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/clock@1f01400:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/clock@1f01400:clocks: cell 1 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/clock@1f01400:clocks: cell 3 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/clock@1f01400:clocks: cell 5 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/ir@1f02000:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/ir@1f02000:clocks: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/i2c@1f02400:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/pinctrl@1f02c00:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/pinctrl@1f02c00:clocks: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/pinctrl@1f02c00:clocks: cell 3 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/video-codec@1c0e000:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/video-codec@1c0e000:clocks: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/video-codec@1c0e000:clocks: cell 4 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/gpu@1c40000:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /soc/gpu@1c40000:clocks: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /cpus/cpu@0:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /cpus/cpu@1:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /cpus/cpu@2:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (clocks_property): /cpus/cpu@3:clocks: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (cooling_device_property): /thermal-zones/cpu_thermal/cooling-maps/cpu-warm-limit:cooling-device: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (cooling_device_property): /thermal-zones/cpu_thermal/cooling-maps/cpu_warm_limit_cpu:cooling-device: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (cooling_device_property): /thermal-zones/cpu_thermal/cooling-maps/cpu_hot_limit_cpu:cooling-device: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (cooling_device_property): /thermal-zones/cpu_thermal/cooling-maps/cpu_very_hot_limit_cpu:cooling-device: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (dmas_property): /soc/spi@1c68000:dmas: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (dmas_property): /soc/spi@1c68000:dmas: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (dmas_property): /soc/spi@1c69000:dmas: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (dmas_property): /soc/spi@1c69000:dmas: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (dmas_property): /soc/spdif@1c21000:dmas: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (dmas_property): /soc/i2s@1c22000:dmas: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (dmas_property): /soc/i2s@1c22000:dmas: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (dmas_property): /soc/i2s@1c22400:dmas: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (dmas_property): /soc/i2s@1c22400:dmas: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (dmas_property): /soc/i2s@1c22800:dmas: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (dmas_property): /soc/codec@1c22c00:dmas: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (dmas_property): /soc/codec@1c22c00:dmas: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (dmas_property): /soc/serial@1c28000:dmas: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (dmas_property): /soc/serial@1c28000:dmas: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (dmas_property): /soc/serial@1c28400:dmas: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (dmas_property): /soc/serial@1c28400:dmas: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (dmas_property): /soc/serial@1c28800:dmas: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (dmas_property): /soc/serial@1c28800:dmas: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (dmas_property): /soc/serial@1c28c00:dmas: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (dmas_property): /soc/serial@1c28c00:dmas: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (phys_property): /soc/usb@1c19000:phys: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (phys_property): /soc/usb@1c1b000:phys: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (phys_property): /soc/usb@1c1b400:phys: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (phys_property): /soc/usb@1c1c000:phys: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (phys_property): /soc/usb@1c1c400:phys: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (phys_property): /soc/usb@1c1d000:phys: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (phys_property): /soc/usb@1c1d400:phys: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (phys_property): /soc/hdmi@1ee0000:phys: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/clock@1000000:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/mixer@1100000:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/dma-controller@1c02000:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/lcd-controller@1c0c000:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/mmc@1c0f000:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/mmc@1c10000:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/mmc@1c11000:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/usb@1c19000:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/phy@1c19400:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/phy@1c19400:resets: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/phy@1c19400:resets: cell 4 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/phy@1c19400:resets: cell 6 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/usb@1c1a000:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/usb@1c1a000:resets: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/usb@1c1a400:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/usb@1c1a400:resets: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/usb@1c1b000:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/usb@1c1b000:resets: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/usb@1c1b400:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/usb@1c1b400:resets: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/usb@1c1c000:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/usb@1c1c000:resets: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/usb@1c1c400:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/usb@1c1c400:resets: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/usb@1c1d000:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/usb@1c1d000:resets: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/usb@1c1d400:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/usb@1c1d400:resets: cell 2 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/ths@1c25000:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/ethernet@1c30000:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/ethernet@1c30000/mdio-mux/mdio@1/ethernet-phy@1:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/spi@1c68000:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/spi@1c69000:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/spdif@1c21000:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/i2s@1c22000:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/i2s@1c22400:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/i2s@1c22800:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/codec@1c22c00:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/serial@1c28000:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/serial@1c28400:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/serial@1c28800:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/serial@1c28c00:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/i2c@1c2ac00:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/i2c@1c2b000:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/i2c@1c2b400:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/camera@1cb0000:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/hdmi@1ee0000:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/hdmi-phy@1ef0000:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/ir@1f02000:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/i2c@1f02400:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/video-codec@1c0e000:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (resets_property): /soc/gpu@1c40000:resets: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (sound_dai_property): /soc/sound/simple-audio-card,codec:sound-dai: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (sound_dai_property): /soc/sound/simple-audio-card,cpu:sound-dai: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (thermal_sensors_property): /thermal-zones/cpu_thermal:thermal-sensors: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (gpios_property): /soc/phy@1c19400:usb0_id_det-gpios: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (gpios_property): /soc/spi@1c68000:cs-gpios: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (gpios_property): /soc/spi@1c68000:cs-gpios: cell 4 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (gpios_property): /soc/spi@1c68000/pitft@0:dc-gpios: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (gpios_property): /soc/spi@1c68000/pitft@0:reset-gpios: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (gpios_property): /soc/spi@1c68000/pitft-ts@1:pendown-gpio: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (gpios_property): /soc/serial@1c28400/bluetooth:device-wakeup-gpios: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (gpios_property): /soc/serial@1c28400/bluetooth:host-wakeup-gpios: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (gpios_property): /soc/serial@1c28400/bluetooth:shutdown-gpios: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (gpios_property): /ahci-5v:gpio: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (gpios_property): /usb0-vbus:gpio: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (gpios_property): /usb1-vbus:gpio: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (gpios_property): /usb2-vbus:gpio: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (gpios_property): /leds/pwr_led:gpios: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (gpios_property): /wifi_pwrseq:reset-gpios: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (gpios_property): /gpio-regulator:gpios: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (gpios_property): /r_gpio_keys/k1:gpios: cell 0 is not a phandle reference
bpi-m2-zero-v4.dtb_5.3.18: Warning (alias_paths): /aliases: aliases property name must include only lowercase and '-'
bpi-m2-zero-v4.dtb_5.3.18: Warning (graph_child_address): /soc/mixer@1100000/ports/port@1: graph node has single child node 'endpoint', #address-cells/#size-cells are not necessary
bpi-m2-zero-v4.dtb_5.3.18: Warning (graph_child_address): /soc/lcd-controller@1c0c000/ports/port@0: graph node has single child node 'endpoint', #address-cells/#size-cells are not necessary
(cv) ubuntu@bpi-m2z:/tmp/test$
after copying back to /boot/ and rebooting the controller wasn't available anymore..
What went wrong ? I copied back your initial file before modification and after rebooting the controller was available again.
Any ideas ?
Board: BPI M2 Zero.
I'm trying to setup bluetooth. The same command worked fine with 4.20.17
brcm_patchram_plus -d --patchram /lib/firmware/ap6212/bcm43438a1.hcd --enable_hci --bd_addr b8:27:eb:b7:f9:60 --no2bytes --tosleep 5000 /dev/ttyS1
With 5.3.1 it produced infinite output
writing 01 03 0c 00 writing 01 03 0c 00 writing 01 03 0c 00 writing 01 03 0c 00 writing 01 03 0c 00
And is not finished with "Done setting line discpline"