[OpenWrt-Devel] trying to add support for tp-link mr12u in trunk.

郭传鈜 gch981213 at gmail.com
Wed Feb 11 08:43:38 EST 2015


But if you really need to add a new mach file,you'd better create another
patch instead of modifying 610-MIPS-ath79-openwrt-machines.patch

BTW,You didn't modify the patch correctly.I think you should search for the
format of a patch.Sorry, I can't describe it here because of my bad
English:-D

2015-02-11 21:32 GMT+08:00 郭传鈜 <gch981213 at gmail.com>:

> You don't need to copy the mach file and kernel patch again if the
> firmware of mr13u works fine on mr12u.
> Just use the following line in target/linux/ar71xx/image/Makefile:
> $(eval $(call
> SingleProfile,TPLINK-LZMA,64kraw,TLMR12U,tl-mr12u-v1,TL-MR13U,ttyATH0,115200,0x00120101,1,4Mlzma))
>
> 2015-02-11 21:17 GMT+08:00 Daniel Petre <daniel.petre at gmail.com>:
>
>> Hello awesome hackers,
>> 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:
>>
>> make[3]: Entering directory '/home/dani/chaos_calmer/target/linux'
>> make[4]: Entering directory '/home/dani/chaos_calmer/target/linux/ar71xx'
>> if [ -s "/home/dani/chaos_calmer/build_dir/target-mips_34kc_
>> uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.14.32/patches/series" ];
>> then (cd "/home/dani/chaos_calmer/build_dir/target-mips_34kc_
>> uClibc-0.9.33.2/linux-ar71xx_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
>> Applying patch platform/610-MIPS-ath79-openwrt-machines.patch
>> patching file arch/mips/ath79/machtypes.h
>> patch: **** malformed patch at line 192:  #endif /* _ATH79_MACHTYPE_H */
>>
>> Patch platform/610-MIPS-ath79-openwrt-machines.patch does not apply
>> (enforce with -f)
>> Makefile:24: recipe for target '/home/dani/chaos_calmer/
>> build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_
>> generic/linux-3.14.32/.quilt_checked' failed
>> make[4]: *** [/home/dani/chaos_calmer/build_dir/target-mips_34kc_
>> uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.14.32/.quilt_checked] Error
>> 1
>> make[4]: Leaving directory '/home/dani/chaos_calmer/target/linux/ar71xx'
>> Makefile:13: recipe for target 'compile' failed
>> make[3]: *** [compile] Error 2
>> make[3]: Leaving directory '/home/dani/chaos_calmer/target/linux'
>> target/Makefile:21: recipe for target 'target/linux/compile' failed
>> make[2]: *** [target/linux/compile] Error 2
>> make[2]: Leaving directory '/home/dani/chaos_calmer'
>> target/Makefile:16: recipe for target '/home/dani/chaos_calmer/
>> staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.target_compile'
>> failed
>> make[1]: *** [/home/dani/chaos_calmer/staging_dir/target-mips_34kc_
>> uClibc-0.9.33.2/stamp/.target_compile] Error 2
>> make[1]: Leaving directory '/home/dani/chaos_calmer'
>> /home/dani/chaos_calmer/include/toplevel.mk:179: recipe for target
>> 'world' failed
>> make: *** [world] Error 2
>>
>> May i ask for review of my ugly hacked patches please? They are at:
>> http://codepad.org/vQbjmyrk
>>
>> Thanks!
>> _______________________________________________
>> openwrt-devel mailing list
>> openwrt-devel at lists.openwrt.org
>> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150211/45a92f20/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list