Jump to content

cusna

Members
  • Posts

    9
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I'm not good at it, and I don't know if it will be the right way, but to make my PG12 high after booting, I modified the sun8i-h3-bananapi-m2-plus.dtb file (in my case the board is a bananapi m2 plus) in /boot/dtb after decompiling it adding then pwr_din { label = "bananapi-m2-plus:din:pwr"; gpios = <0xf 0x0 0x2 0x0>; default-state = "on"; }; and recompiling. In your case you will have to change the door and the gpio depending on your processor which I don't know if it's an H3
  2. I almost solved I do not understand where you can set the choice of firmware to load (if BCM43430A1.hcd or BCM43430A0.hcd). I need xxxA0 and it seems to always load xxxA1. For now I solved by renaming the xxxA0 in xxxA1, but it seems to me an incorrect solution
  3. Hi all, I wrote this dts to enable a high PG12 pin int the Bananapi M2P H3 can it be okay? /dts-v1/; /plugin/; / { compatible = "allwinner,sun8i-h3"; fragment@0 { target = <&pio>; __overlay__ { bt_pins:bt_pins { allwinner,pins = "PG12"; allwinner,function = "gpio_out"; }; }; }; fragment@1 { target-path = "/"; __overlay__ { bt: bt { compatible = "gpio-bt"; gpios = <&pio 6 12 1>; }; }; }; };
  4. I read this post trying to enable manually as described changing BT_RST_N pin and uart. # rfkill unblock all # echo "0" > /sys/class/rfkill/rfkill0/state # echo "1" > /sys/class/rfkill/rfkill0/state # echo " " > /dev/ttyS1 # devmem2 0x1f00060 b 1 # echo 204 > /sys/class/gpio/export # echo out > /sys/class/gpio/gpio204/direction # echo 0 > /sys/class/gpio/gpio204/value # echo 1 > /sys/class/gpio/gpio204/value # hciattach /dev/ttyS1 bcm43xx 115200 flow bdaddr my macaddress # hciconfig hci0 up But unfortunately hciattach always generates "Initialization time out" in the armbianEnv.txt I hae added: overlays=uart1 param_uart1_rtscts = 1
  5. Hello, Thanks for your answer. I have many difficulties, not having experience. I understand that the problem is the device tree. From the diagram I am sure that AP6212 in the Orange PI M2 plus board is connected to serial 1 and the BT_RST_N connected to PG12. I did various research before writing, but I have not yet succeeded. If you still have a little patience to make me understand: for example, the image https://dl.armbian.com/bananapim2plus/Debian_stretch_next.7z all right ? Do I just have to change the devicetree? Or there are other things to do. Thanks for your patience
  6. T he only thing I discovered is that the BT-RST-N pin (n.34 of the AP6212 chip) ie PG12, always remains at 0 (low) and this is not good because it is used to turn on and the BT does not work for this. I checked in bananapim2plus.fex is configured right: ;-------------------------------------------------------------------------------- ;bluetooth configuration ;bt_used: 0- no used, 1- used ;bt_uard_id: 0- uart0, 1- uart1, 2- uart2 ;bt_uart_baud: uart baud rate, unit: bps ;bt_rst_n: bt function enable io ;bt_wake: host wake-up bluetooth device ;bt_host_wake: bt device wake-up host ;bt_host_wake_invert: whether bt_host_wake use inverter between ap and module ; 0: not used, 1: used ;-------------------------------------------------------------------------------- [bt_para] bt_used = 1 bt_uart_id = 1 bt_uart_baud = 1500000 bt_rst_n = port:PG12<1><default><default><0> bt_wake = port:PG13<1><default><default><0> bt_host_wake = port:PG11<0><default><default><0> bt_host_wake_invert = 0 why the pin to turn on the BT AP6612 module is not high (1)? should I add something to armbianEnv.txt? Thanks
  7. Hello, I'm not using usb adapters but the ap6212 module is built with the Banana pi M2P board. If I install an image like UBUNTU type: img Ubuntu it works, all the drivers are installed. I would however like to use ARMBIAN, where it is written that it also supports the my board and supports Bluetooth, but I can not make it work. Link Armbian - Orange Pi M2P
  8. sorry but I'm inexperienced, so to run the BT what operations should I do? Thanks in advanced
  9. Hi all, I'm starting with armbian and Banana pi m2p card. I entered image 4.19.21-sunxi, I can not make BT work. with armbian-config I have enabled the BT, next systemctl start bluetooth. with systemctl status bluetooth: Feb 18 18:01:30 bananapim2plus systemd[1]: Starting Bluetooth service... Feb 18 18:01:30 bananapim2plus bluetoothd[1779]: Bluetooth daemon 5.48 Feb 18 18:01:30 bananapim2plus bluetoothd[1779]: Starting SDP server Feb 18 18:01:30 bananapim2plus systemd[1]: Started Bluetooth service. Feb 18 18:01:30 bananapim2plus bluetoothd[1779]: Bluetooth management interface and root@bananapim2plus:~# bluetoothctl Agent registered [bluetooth]# show No default controller available where am I wrong? Thanks
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines