zhen8838

  • Content Count

    12
  • Joined

  • Last visited

About zhen8838

  • Rank
    Member

Recent Profile Visitors

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

  1. thanks for your reply. i will read the doc to learn more .I will try your dtbo tomorrow.
  2. … i am noob .last month i build my board kernel version is 4.14 ,but now i don’t know how to build the last version kernel …
  3. I get the source and find the linux-4.17-y/arm64/boot/dts/allwinner/overlay/sun50i-h5-spi-spidev.dts : the spi status is disable. I modified “disable” to “okay”, then rebuild the .dts to .dtbo . and put the sun50i-h5-spi-spider.dtbo into the board. finally i insmod /lib/module/linux-4.17-y/kernel/drives/spi/spidev.ko But still can’t fix this problem … does anybody can help me?
  4. thanks for your advice. But I remove spi-jedec-nor overlay , Still no spidev ...
  5. I use the Armbian_5.45_Orangepizeroplus2-h5_Debian_stretch_next_4.14.44.img. I want to use a sensor based on the spi protocol. In armbian-config i enable the spi ,the armbianEnv.txt like this: verbosity=1 console=both overlay_prefix=sun50i-h5 overlays=i2c0 i2c1 spdif-out spi-add-cs1 spi-jedec-nor spi-spidev uart1 uart2 usbhost2 usbhost3 rootdev=UUID=bb48b498-7bd1-4018-b77d-ba00fa61a33d rootfstype=ext4 param_uart1_rtscts=1 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u But in /dev on spi-dev root@H5:~# ls /dev/s shm/ snd/ stderr stdin stdout Is it because
  6. I solved this problem,I refer to the answer to this question. This is indeed caused by the serial port baud rate being too low. I modified /etc/init.d/ap6212-bluetooth hciattach /dev/$PORT bcm43xx 115200 flow bdaddr $MAC_OPTIONS to hciattach /dev/$PORT bcm43xx 1500000 flow bdaddr $MAC_OPTIONS
  7. My Development board is Orange Pi zero plus2 H5. My bluetooth already in work,but I try to play a .wav for test.this circumstance occurs. This is my test wav file: 1045.wav I use : aplay 1045.wav Playing WAVE '1045.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo then I record the sounds as mypaly.mp3. I guess this problem is due to uart Baud rate 115200 is not high enough . How can i fix this? 1045.wav mypaly.mp3
  8. My problem has been solved,I compiled a new image :Armbian_5.45_Orangepizeroplus2-h5_Debian_stretch_next_4.14.44.img .
  9. Thank you ! I'm so sad , Because when i use Armbian_5.38_Orangepizeroplus2-h5_Ubuntu_xenial_next_4.14.14.img, This problem has arisen "Starting kernel" reboots. Now i try to use the nanopi-neo-plus2 image . If I successfully solve, I will feedback in time
  10. Thank you for your reply! but I'am already install devmem2,I think my mistake is somewhere else. i use this script to test: #!/bin/bash PORT="ttyS1" MAC_OPTIONS="43:29:B1:55:01:01" rfkill unblock all echo "0" > /sys/class/rfkill/rfkill0/state echo "1" > /sys/class/rfkill/rfkill0/state echo " " > /dev/$PORT devmem2 0x1f00060 b 1 echo 10 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio10/direction echo 0 > /sys/class/gpio/gpio10/value echo 1 > /sys/class/gpio/gpio10/value sleep 0.1 hciattach /dev/$PORT bcm43xx 115200 flow bdaddr $MAC_OPTIONS hciconfig
  11. I use this solution what you had wrote,but the effect is not significant. my img is Armbian_5.42_Orangepizeroplus2-h5_Debian_stretch_dev_4.16.img . It's my armbianEnv.txt: verbosity=1 console=both overlay_prefix=sun50i-h5 overlays=analog-codec i2c0 i2c1 i2c2 spdif-out spi-add-cs1 spi-jedec-nor spi-spi dev uart1 uart2 uart3 usbhost2 usbhost3 rootdev=UUID=7c11e787-9feb-44a1-9942-c646b86c1d10 rootfstype=ext4 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u param_uart1_rtscts=1 It's my /etc/init.d/ap6212-bluetoot # Start patching rfkill unblock all echo "0" &g