Hi to all, I've applied to kernel patch for vpe committed for falcon, fixed for vr9 ltq-vmmc, modified VGV7519 dts for passing new parameters
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 Now I get: [ 175.672000] Here I am: #1 [ 175.672000] Here I am: #2 [ 175.676000] Here I am: #3 [ 175.680000] Here I am: #4 [ 175.680000] Here I am: #5 [ 175.684000] Here I am: cpu1_base_addr: 83e00000 #6 [ 175.688000] Here I am: #7 [ 175.692000] Here I am: #8 [ 175.700000] Unhandled kernel unaligned access[#1]: [ 175.700000] CPU: 0 PID: 1516 Comm: tapidemo Not tainted 3.14.18 #40 [ 175.700000] task: 829819b0 ti: 82b54000 task.ti: 82b54000 [ 175.700000] $ 0 : 00000000 77d95290 bf001f38 cc123456 [ 175.700000] $ 4 : a3e00000 00082280 ffff0000 80000000 [ 175.700000] $ 8 : a6e5d6ef 00080080 ffff00ff 91008110 [ 175.700000] $12 : 807f807f 293f1500 00000000 00fe00fe [ 175.700000] $16 : 82b55da0 82960000 82960000 00000000 [ 175.700000] $20 : 00000001 82b55e88 00000000 00000000 [ 175.700000] $24 : 00000000 00000000 [ 175.700000] $28 : 82b54000 82b55d60 7fd3aec8 8295ee84 [ 175.700000] Hi : 00001b08 [ 175.700000] Lo : 00006c20 [ 175.700000] epc : bf001f44 0xbf001f44 [ 175.700000] Not tainted [ 175.700000] ra : 8295ee84 ifx_mps_download_firmware+0x378/0x43c [drv_vmmc] [ 175.700000] Status: 1100fd03 KERNEL EXL IE [ 175.700000] Cause : 00800014 [ 175.700000] BadVA : cc123456 [ 175.700000] PrId : 00019555 (MIPS 34Kc) [ 175.700000] Modules linked in: rt2800pci rt2800mmio rt2800lib iptable_nat rt2x00pci rt2x00mmio rt2x00lib pppoe nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport 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_raw 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_tapi ipv6 eeprom_93cx6 drv_ifxos arc4 crypto_blkcipher ltq_hcd_vr9 gpio_button_hotplug [ 175.700000] Process tapidemo (pid: 1516, threadinfo=82b54000, task=829819b0, tls=77e7b440) [ 175.700000] Stack : 829640f0 cc123456 8040bd94 80408c60 00000000 82b55e68 0000cf68 ffffffea [ 175.700000] 82964f90 20004f11 82b55e04 8295ad0c 00000007 82960000 82961b88 8294c084 [ 175.700000] 77d13008 00082280 00000000 00000000 829640f0 20000000 00000000 20000000 [ 175.700000] 7fe68968 2000560f 829640f0 8294fb5c 82b55ef8 82b01000 ffffff9c 00000000 [ 175.700000] 8004710e 82fd9800 77d13008 000822a0 00000000 00000000 00000000 00000000 [ 175.700000] ... [ 175.700000] Call Trace: [ 175.700000] [<8295ad0c>] ifx_mps_ioctl+0x4c8/0x754 [drv_vmmc] [ 175.700000] [<8294c084>] VMMC_ChipAccessInit+0xd4/0xe64 [drv_vmmc] [ 175.700000] [<8294fb5c>] VMMC_Dev_Spec_Ioctl+0x4bc/0x5f0 [drv_vmmc] [ 175.700000] [<8004710e>] __kfifo_alloc+0xfe/0x100 [ 175.700000] [<8019580c>] lookup_fast+0x58/0x2e8 [ 175.700000] [<8004710e>] __kfifo_alloc+0xfe/0x100 [ 175.700000] [<82846254>] TAPI_Ioctl+0xd4/0xda0 [drv_tapi] [ 175.700000] [<800e837c>] do_filp_open+0x3c/0xa4 [ 175.700000] [<828403a4>] 0x828403a4 [ 175.700000] [<800f7d80>] do_vfs_ioctl+0x558/0x5c0 [ 175.700000] [<8012e6b4>] getname_flags+0x40/0x14c [ 175.700000] [<800f5258>] do_sys_open+0x218/0x240 [ 175.700000] [<8001c034>] SyS_ioctl+0x50/0x94 [ 175.700000] [<8000843c>] handle_sys+0x11c/0x140 [ 175.700000] [ 175.700000] [ 175.700000] Code: 3c06ffff 34ca00ff 00aa4824 <ac690000> 8c680000 240cc0ff 35070100 ac670000 ac600010 [ 175.984000] ---[ end trace 108c9297dfbeb9c8 ]--- It seems kernel crash on /* copy FW image to base address of CPU1 */ IFXOS_CpyFromUser ((IFX_void_t *)cpu1_base_addr, (IFX_void_t *)pFWDwnld->data, pFWDwnld->length)) Any suggestion? On Sat, Oct 11, 2014 at 5:35 PM, Eddi De Pieri <e...@depieri.net> wrote: > Hi to all, > > I've started to figure out how much work is needed to support fxs on vr9 > board like mine. > > On latest trunk : > - owsip is missing (i know is bugged with >32mbram) > - ltq-tapidemo is m issing > - lantiq falcon fxs support seems broken > > It seems to me that by rebasing some patch for falcon should be possible to > make vmmc for vr9 working (or at least to build for now...). > > You agree? > > Eddi _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel