Navigation

    • Register
    • Login
    • Search
    • 版块
    1. Home
    2. yangfan
    Y
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Groups

    yangfan

    @yangfan

    9
    Posts
    1343
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    yangfan Follow

    Best posts made by yangfan

    This user hasn't posted anything yet.

    Latest posts made by yangfan

    • RE: airplay 不能用了

      测试shairport-mmap可用.
      碰到几个问题:
      1.有时候配置之后, 在iphone仍然找不到airport (重启也无效). 重新用sysupgrade刷一遍就可用了.
      2.声音出不来. 后来运行了其他播放或录音程序, 就能出声了. 什么道理还搞不明白

      posted in MTK
      Y
      yangfan
    • airplay 不能用了

      我的iphone搜不到板子的airplay. ios版本10.2.1

      posted in MTK
      Y
      yangfan
    • RE: 播放PCM时崩溃,各位大神帮忙看看

      多谢啦。我先试试看吧。

      posted in MTK
      Y
      yangfan
    • RE: 播放PCM时崩溃,各位大神帮忙看看

      用Alsa. 已经是mmap方式。如果确定是ctrl+c的原因那就没事了。我测试确实经常要ctrl+c强制退出。

      posted in MTK
      Y
      yangfan
    • RE: 播放PCM时崩溃,各位大神帮忙看看

      0_1492698310639_openwrt-ramips-mt7688-Widora-squashfs-sysupgrade.bin

      运行命令:
      cd /tmp
      xxzlyl ddd

      有时候会崩溃,而且是随机性的崩溃。

      posted in MTK
      Y
      yangfan
    • 播放PCM时崩溃,各位大神帮忙看看

      [ 394.160000] CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 8013a480, ra c
      [ 394.160000] Oops[#1]:
      [ 394.160000] CPU: 0 PID: 1437 Comm: xxzlyl Not tainted 3.18.29 #13
      [ 394.160000] task: 87900e88 ti: 86bc2000 task.ti: 86bc2000
      [ 394.160000] $ 0 : 00000000 00000000 86b75de0 00000000
      [ 394.160000] $ 4 : 00000000 803099f4 fffffffc 00000000
      [ 394.160000] $ 8 : 85c03a41 86b05eb0 00000000 00000013
      [ 394.160000] $12 : 0000000e 00000007 00000001 802db464
      [ 394.160000] $16 : 86bc3de0 803099f4 00000000 00000001
      [ 394.160000] $20 : 85c05eb0 fffffdfc 86bc3de0 00000001
      [ 394.160000] $24 : 0000000e 80040c2c
      [ 394.160000] $28 : 86bc2000 86bc3d18 86bc3e18 8013b55c
      [ 394.160000] Hi : 0000005b
      [ 394.160000] Lo : c5c44c00
      [ 394.160000] epc : 8013a480 rb_erase+0x27c/0x3cc
      [ 394.160000] Not tainted
      [ 394.160000] ra : 8013b55c timerqueue_del+0x6c/0x88
      [ 394.160000] Status: 1100e402 KERNEL EXL
      [ 394.160000] Cause : 00800008
      [ 394.160000] BadVA : 00000000
      [ 394.160000] PrId : 00019655 (MIPS 24KEc)
      [ 394.160000] Modules linked in: pppoe ppp_async iptable_nat pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nh
      [ 394.160000] Process xxzlyl (pid: 1437, threadinfo=86bc2000, task=87900e88, tls=7710f960)
      [ 394.160000] Stack : 87900e88 86bc3de0 87900e88 87902b98 803099e8 86bc3de0 00000000 800501fc
      86bc3e18 8005076c 86bc3da8 86bc3de0 00000001 00000004 ffffffff 00000007
      00c0054c 800502fc 86bc3e18 8005d2f0 00000007 87903578 86bc3de0 80050340
      0000c350 00000000 86bc3f00 00000000 86bc3f00 8005dc8c 00000000 00000000
      00989680 00000000 86bc3e18 00000000 00000064 86bc3dac 86bc3dac 86bc3db4
      ...
      [ 394.160000] Call Trace:
      [ 394.160000] [<8013a480>] rb_erase+0x27c/0x3cc
      [ 394.160000] [<8013b55c>] timerqueue_del+0x6c/0x88
      [ 394.160000] [<800501fc>] __remove_hrtimer+0x48/0xf8
      [ 394.160000] [<800502fc>] hrtimer_try_to_cancel+0x50/0x7c
      [ 394.160000] [<80050340>] hrtimer_cancel+0x18/0x34
      [ 394.160000] [<8005dc8c>] futex_wait+0x1c4/0x1f8
      [ 394.160000] [<8005f1fc>] do_futex+0xdc/0x810
      [ 394.160000] [<8005fa34>] SyS_futex+0x104/0x194
      [ 394.160000] [<80006b5c>] handle_sys+0x11c/0x140
      [ 394.160000]
      [ 394.160000]
      Code: ac460004 0804e95d ac620008 <8c670000> 30e70001 14e00013 00602021 8c640004 34470001
      [ 394.490000] ---[ end trace e3d651df6c96f43a ]---
      [ 394.500000] CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 00000000, ra ==0
      [ 394.510000] Oops[#2]:
      [ 394.510000] CPU: 0 PID: 1455 Comm: xxzlyl Tainted: G D 3.18.29 #13
      [ 394.510000] task: 86b7e1e8 ti: 86b74000 task.ti: 86b74000
      [ 394.510000] $ 0 : 00000000 00000000 00000000 00000002
      [ 394.510000] $ 4 : 00000001 8793d360 1100e400 ffff00fe
      [ 394.510000] $ 8 : 86b75fe0 0000e400 00000000 00000013
      [ 394.510000] $12 : 0000000e 00000007 00000001 802db464
      [ 394.510000] $16 : 00000000 00000000 00000000 00000000
      [ 394.510000] $20 : 00000000 00000000 00000000 00000000
      [ 394.510000] $24 : 0000000e 80040c2c
      [ 394.510000] $28 : 86b74000 86b75d68 00000000 00000000
      [ 394.510000] Hi : 0000005b
      [ 394.510000] Lo : da084900
      [ 394.510000] epc : 00000000 (null)
      [ 394.510000] Tainted: G D
      [ 394.510000] ra : 00000000 (null)
      [ 394.510000] Status: 1100e403 KERNEL EXL IE
      [ 394.510000] Cause : 10800008
      [ 394.510000] BadVA : 00000000
      [ 394.510000] PrId : 00019655 (MIPS 24KEc)
      [ 394.510000] Modules linked in: pppoe ppp_async iptable_nat pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nh
      [ 394.510000] Process xxzlyl (pid: 1455, threadinfo=86b74000, task=86b7e1e8, tls=75a0d960)
      [ 394.510000] Stack : 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      00000000 00000000 00000000 00000000 00000000 00000000 85c03a41 00000000
      87918060 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      ...
      [ 394.510000] Call Trace:
      [ 394.510000]
      [ 394.510000]
      Code: (Bad address in epc)
      [ 394.510000]
      [ 394.770000] ---[ end trace e3d651df6c96f43b ]---
      [ 394.960000] ummap MMAP[8]=0x86A90000
      [ 394.960000] capture free_dma_buffer
      [ 394.970000] ptri2s_config->mmap_index:16
      [ 394.970000] ****** wm8960_preinit ******

      posted in MTK
      Y
      yangfan
    • 新固件,无法切换到apcli

      切换模式的log:
      root@Widora:/# widora_mode repeater
      mt7628(mt7628): Interface type not supported
      uci: Invalid argument
      uci: Invalid argument
      uci: Entry not found
      [ 94.180000] br-lan: port 1(eth0) entered disabled state
      [ 94.190000] device eth0 left promiscuous mode
      [ 94.190000] br-lan: port 1(eth0) entered disabled state
      [ 94.200000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
      root@Widora:/# [ 96.000000] device eth0 entered promiscuous mode
      [ 96.030000] br-lan: port 1(eth0) entered forwarding state
      [ 96.030000] br-lan: port 1(eth0) entered forwarding state
      [ 98.030000] br-lan: port 1(eth0) entered forwarding state

      posted in MTK
      Y
      yangfan
    • 用Clion开发OpenWrt C/C++程序 交叉编译 远程调试

      在原Eclipse远程调试说明文档的基础上添加了Clion远程调试说明。
      原Eclipse远程调试教程:
      https://github.com/zym060050/Widora_Doc/blob/master/How_To/Widora_How_To_用Eclipse开发OpenWrt_C_C%2B%2B程序_交叉编译_远程调试.md

      Clion远程调试教程:
      https://github.com/yfkkkk/Clion-Remote-Debug-For-Widora/blob/master/Widora_How_To_用Clion开发OpenWrt_C_C%2B%2B程序_交叉编译_远程调试.md

      posted in MTK
      Y
      yangfan
    • RE: 有没有对寄存器操作的例子?

      例子1_1482464297487_GPIO.h 0_1482464297487_GPIO.c

      posted in MTK
      Y
      yangfan