Hi,
https://forum.openwrt.org/viewtopic.php?id=28035
on above link, user "meta96" gives me an idea, and i managed to make it work :)
I have successfully compiled, and started tvheadend on my tp-link 1043 openwrt router
but i faced few problems and need support from developer, or some advanced coder.
https://docs.google.com/leaf?id=0B8oQFOm_9mQ3NTI5YjVjNjctYjBmOC00MzU3LTg1NTYtZjZjZWQ1OGRjYmNh&hl=en
above link contains compiled package for openwrt backfire 10.03.1-rc4 TP-LINK 1043
I made few modifications in few files, but they are not significant,
just for making cross-compiler with uclibc happy.
my problem is function "clock_nanosleep" in rawtsinput.c.
I simply commented out line, and linker passed.
in function: static void process_ts_packet(rawts_t
rt, uint8_t tsb)
.............
d = delta + t->s_pcr_last_realtime;
slp.tv_sec = d / 1000000;
slp.tv_nsec = (d % 1000000)
1000;
//clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, &slp, NULL);*
didsleep = 1;
.......................
}
}
it seems that this mips32 CPU doesn't have this function.
tvheadend application is starting well, very low cpu usage in router while browsing web interface,
web interface is working, my DVB card is recognised.
Still don't know if tunning actually works, but tonight will know this :)
I am afraid that way of commenting "clock_nanosleep" will broke something in the code, and need help workarounding it.
my other problem is with FFDecsa
i am not able to find working combination of compiler options + parallel mode for this MIPS CPU
FFDecsa_test gives me FAILED, FAILED.. with every my attempt.
Help please!
it will be useful for others too
Regards, Lyubo
attached is diff i made for crosscompiling in toolchain for openwrt