Hi Mikko, I've pushed my changes on https://github.com/openwrt-vgv7519/openwrt (branch vgv7519-20141007-begin_vmmc)
If you want to try it on different router remember to adjust profiles and dts like VGV7519. bootargs = "console=ttyLTQ0,115200 init=/etc/preinit maxvpes=1 maxtcs=1 phym=64M mem=62M panic=1 vpe1_load_addr=0x83e00000 vpe1_mem=2M vpe1_wired_tlb_entries=1"; adjust; -phym to (memory on your board)M, -mem to (phym -2)M, -vpe1_load_addr to 0x(1<<31+phym<<20) (note that I haven't configured yet some gpio to get voice working correctly... but I doubt this is the real problem.. >From Daniel Schwierzeck: >that's the Lantiq propietary SSIO interface for analog SLIC chips which >is controlled by the voice firmware. You only need to setup GPIO's 8, >34, 35 and 36 as follows: >GPIO alt0 alt1 dir >8 1 0 1 CLKOUT0 >34 0 1 1 SSIO_TX >35 0 1 1 SSIO_RX >36 0 1 1 SSIO_CLK So i get firmware load on vpe1 but it crash on worker process.. Do you know if tapi works on other lantiq cpu with 3.14 kernel? folowing dmesg... Filesystem firmware binary used (/lib/firmware/voice_ar9_firmware.bin). [ 96.396000] I'm here 8a [ 96.456000] I'm here 8b [ 96.512000] eddi I'm here 9 - mps release [ 96.516000] eddi I'm here 9 - mps release done [ 96.520000] eddi I'm here 10 - start wdog [ 96.524000] eddi I'm here 10 - start wdog done [ 96.528000] eddi I'm here 11 - return version and exit [ 96.600000] MPS: FW checksum OK [ 96.604000] CPU 0 Unable to handle kernel paging request at virtual address 00000094, epc == 82f9d960, ra == 82843fd4 [ 96.612000] Oops[#1]: [ 96.612000] CPU: 0 PID: 558 Comm: kworker/0:2 Not tainted 3.14.18 #58 [ 96.612000] Workqueue: TAPIevents 0x82840000 [ 96.612000] task: 829b2a90 ti: 8283a000 task.ti: 8283a000 [ 96.612000] $ 0 : 00000000 00000000 f4000006 f4000006 [ 96.612000] $ 4 : 00000088 00000000 1100fd00 ffff00fe [ 96.612000] $ 8 : 8283bfe0 0000fd00 00000000 00000001 [ 96.612000] $12 : 00000000 00000000 00000000 77977ca0 [ 96.612000] $16 : 00000000 82fd9000 838b3408 829645f8 [ 96.612000] $20 : 00000000 00000000 80410000 8040b280 [ 96.612000] $24 : 7796a000 82843dec [ 96.612000] $28 : 8283a000 8283be30 803b6dc8 82843fd4 [ 96.612000] Hi : 000000a0 [ 96.612000] Lo : 0000008c [ 96.612000] epc : 82f9d960 IFXOS_MutexGet+0x8/0x48 [drv_ifxos] [ 96.612000] Not tainted [ 96.612000] ra : 82843fd4 IFX_TAPI_Event_Dispatch_ProcessCtx+0x1e8/0xfbc [drv_tapi] [ 96.880000] Status: 1100fd02 KERNEL EXL [ 96.880000] Cause : 80800008 [ 96.880000] BadVA : fffffff0 [ 96.880000] PrId : 00019555 (MIPS 34Kc) [ 96.880000] Modules linked in: rt2800pci rt2800mmio rt2800lib iptable_nat rt2x00pci t2x00mmio rt2x00lib pppoe nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multi port xt_mark xt_mac xt_limit xt_id xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT pppox ppp_async nf_nat_irc nf_nat_ftp nf_nat nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_irc nf_conntrack_ftp nf_conntrack ltq_deu_vr9 iptable_r aw iptable_mangle iptable_filter ipt_REJECT ip_tables drv_vmmc crc_itu_t crc_ccitt compat drv_dsl_cpe_api drv_mei_cpe ip6t_REJECT ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables pppoatm ppp_generic slhc br2684 atm drv_ta pi ipv6 eeprom_93cx6 drv_ifxos arc4 crypto_blkcipher ltq_hcd_vr9 gpio_button_hotplug [ 96.880000] Process kworker/0:2 (pid: 558, threadinfo=8283a000, task=829b2a90, tls=00000000) [ 96.880000] Stack : 8040b5d0 80408c60 83820970 829b2c6c 829b2a90 8000d478 8283bd80 800bebb 829ca1c0 00000000 00000001 829b2a88 829b2a90 83820970 829b2be8 829b2a88 829b2be8 00000020 00000012 800e7b88 829b2a90 80bb0000 80bb0000 801864cc 8283bc50 8283bc50 829b2c30 00000000 8283bc50 00000001 8283bd80 803b3fc0 0000000b 00000000 829b2a90 00000000 80410000 00030000 8283bd80 800ddd14 ... [ 96.880000] Call Trace: [ 96.880000] [<80189eec>] kthread_data+0x4/0xc [ 96.880000] [<80314074>] wq_worker_sleeping+0x14/0x100 [ 96.880000] [<8000d478>] __schedule+0xf0/0x578 [ 96.880000] [<800e7b88>] do_exit+0x840/0x858 Eddi _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel