<div dir="ltr"><span style="font-size:14px">You don't need to copy the mach file and kernel patch again if the firmware of mr13u works fine on mr12u.</span><div style="font-size:14px">Just use the following line in target/linux/ar71xx/image/Makefile:<br>$(eval $(call SingleProfile,TPLINK-LZMA,64kraw,TLMR12U,tl-mr12u-v1,TL-MR13U,ttyATH0,115200,0x00120101,1,4Mlzma))</div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-11 21:17 GMT+08:00 Daniel Petre <span dir="ltr"><<a href="mailto:daniel.petre@gmail.com" target="_blank">daniel.petre@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello awesome hackers,<br>
i am trying to patch support for tp-link mr12u in trunk by duplicating mr13u files with the proper changes specific to mr12u but i am failing at kernel patching with:<br>
<br>
make[3]: Entering directory '/home/dani/chaos_calmer/<u></u>target/linux'<br>
make[4]: Entering directory '/home/dani/chaos_calmer/<u></u>target/linux/ar71xx'<br>
if [ -s "/home/dani/chaos_calmer/<u></u>build_dir/target-mips_34kc_<u></u>uClibc-0.9.33.2/linux-ar71xx_<u></u>generic/linux-3.14.32/patches/<u></u>series" ]; then (cd "/home/dani/chaos_calmer/<u></u>build_dir/target-mips_34kc_<u></u>uClibc-0.9.33.2/linux-ar71xx_<u></u>generic/linux-3.14.32"; if quilt --quiltrc=- next >/dev/null 2>&1; then quilt --quiltrc=- push -a; else quilt --quiltrc=- top >/dev/null 2>&1; fi ); fi<br>
Applying patch platform/610-MIPS-ath79-<u></u>openwrt-machines.patch<br>
patching file arch/mips/ath79/machtypes.h<br>
patch: **** malformed patch at line 192: #endif /* _ATH79_MACHTYPE_H */<br>
<br>
Patch platform/610-MIPS-ath79-<u></u>openwrt-machines.patch does not apply (enforce with -f)<br>
Makefile:24: recipe for target '/home/dani/chaos_calmer/<u></u>build_dir/target-mips_34kc_<u></u>uClibc-0.9.33.2/linux-ar71xx_<u></u>generic/linux-3.14.32/.quilt_<u></u>checked' failed<br>
make[4]: *** [/home/dani/chaos_calmer/<u></u>build_dir/target-mips_34kc_<u></u>uClibc-0.9.33.2/linux-ar71xx_<u></u>generic/linux-3.14.32/.quilt_<u></u>checked] Error 1<br>
make[4]: Leaving directory '/home/dani/chaos_calmer/<u></u>target/linux/ar71xx'<br>
Makefile:13: recipe for target 'compile' failed<br>
make[3]: *** [compile] Error 2<br>
make[3]: Leaving directory '/home/dani/chaos_calmer/<u></u>target/linux'<br>
target/Makefile:21: recipe for target 'target/linux/compile' failed<br>
make[2]: *** [target/linux/compile] Error 2<br>
make[2]: Leaving directory '/home/dani/chaos_calmer'<br>
target/Makefile:16: recipe for target '/home/dani/chaos_calmer/<u></u>staging_dir/target-mips_34kc_<u></u>uClibc-0.9.33.2/stamp/.target_<u></u>compile' failed<br>
make[1]: *** [/home/dani/chaos_calmer/<u></u>staging_dir/target-mips_34kc_<u></u>uClibc-0.9.33.2/stamp/.target_<u></u>compile] Error 2<br>
make[1]: Leaving directory '/home/dani/chaos_calmer'<br>
/home/dani/chaos_calmer/<u></u>include/<a href="http://toplevel.mk:179" target="_blank">toplevel.mk:179</a>: recipe for target 'world' failed<br>
make: *** [world] Error 2<br>
<br>
May i ask for review of my ugly hacked patches please? They are at:<br>
<a href="http://codepad.org/vQbjmyrk" target="_blank">http://codepad.org/vQbjmyrk</a><br>
<br>
Thanks!<br>
______________________________<u></u>_________________<br>
openwrt-devel mailing list<br>
<a href="mailto:openwrt-devel@lists.openwrt.org" target="_blank">openwrt-devel@lists.openwrt.<u></u>org</a><br>
<a href="https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel" target="_blank">https://lists.openwrt.org/cgi-<u></u>bin/mailman/listinfo/openwrt-<u></u>devel</a><br>
</blockquote></div><br></div></div>