Re: [OpenWrt-Devel] trying to add support for tp-link mr12u in trunk.
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.pe...@gmail.com mailto:daniel.pe...@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 21; then quilt --quiltrc=- push -a; else quilt --quiltrc=- top /dev/null 21; 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@lists.openwrt.__org mailto:openwrt-devel@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@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] trying to add support for tp-link mr12u in trunk.
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 21; then quilt --quiltrc=- push -a; else quilt --quiltrc=- top /dev/null 21; 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@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] trying to add support for tp-link mr12u in trunk.
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.pe...@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 21; then quilt --quiltrc=- push -a; else quilt --quiltrc=- top /dev/null 21; 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@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] trying to add support for tp-link mr12u in trunk.
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 郭传鈜 gch981...@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.pe...@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 21; then quilt --quiltrc=- push -a; else quilt --quiltrc=- top /dev/null 21; 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@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel