[OpenWrt-Devel] trying to add support for tp-link mr12u in trunk.
Daniel Petre
daniel.petre at gmail.com
Wed Feb 11 09:42:08 EST 2015
On 11/02/15 15:32, 郭传鈜 wrote:
> 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))
Thanks a lot, that worked!
>
> 2015-02-11 21:17 GMT+08:00 Daniel Petre <daniel.petre at gmail.com
> <mailto: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
> <http://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
> <mailto:openwrt-devel at lists.openwrt.org>
> https://lists.openwrt.org/cgi-__bin/mailman/listinfo/openwrt-__devel
> <https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel>
>
>
>
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>
_______________________________________________
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