Re: compiling kernel module
On Wed, Mar 4, 2015 at 11:09 AM, Leon Romanovsky l...@leon.nu wrote: i tried downloading source from lenovo. they have instructions to compile with: ./mk x2ap n k however i cannot find 'mk' anywhere, not in their tar, not in android sdk nor ndk etc. ./mk is a symlink to ./makeMtk script which is part of Mediatek build system. The script is located at mediatek/build folder. thanks, where do i get Mediatek build system from ? -- Leon Romanovsky | Independent Linux Consultant www.leon.nu | l...@leon.nu ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: compiling kernel module
i tried downloading source from lenovo. they have instructions to compile with: ./mk x2ap n k however i cannot find 'mk' anywhere, not in their tar, not in android sdk nor ndk etc. ./mk is a symlink to ./makeMtk script which is part of Mediatek build system. The script is located at mediatek/build folder. -- Leon Romanovsky | Independent Linux Consultant www.leon.nu | l...@leon.nu ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: compiling kernel module
On Wed, Mar 4, 2015 at 11:12 AM, Erez D erez0...@gmail.com wrote: On Wed, Mar 4, 2015 at 11:09 AM, Leon Romanovsky l...@leon.nu wrote: i tried downloading source from lenovo. they have instructions to compile with: ./mk x2ap n k however i cannot find 'mk' anywhere, not in their tar, not in android sdk nor ndk etc. ./mk is a symlink to ./makeMtk script which is part of Mediatek build system. The script is located at mediatek/build folder. thanks, where do i get Mediatek build system from ? AFAIK It depends on phone/tablet manufacturer, since the build system is not GPL. Generally, you can try to setup it by yourself: 1. Take one of the available builds for other MTK chipset based phones [1]. 2. Download source code which was provided by Lenovo [2]. 3. Built new kernel with platform config from Lenovo's package [3] [1] https://github.com/suribi/Thunder-Kernel [2] http://support.lenovo.com/us/en/products/phones/vibe-series/vibe-x2/downloads/DS101342 [3] bsp/mediatek/config/mt6595/autoconfig/kconfig/platform -- Leon Romanovsky | Independent Linux Consultant www.leon.nu | l...@leon.nu -- Leon Romanovsky | Independent Linux Consultant www.leon.nu | l...@leon.nu ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: compiling kernel module
On Wed, Mar 4, 2015 at 11:55 AM, Leon Romanovsky l...@leon.nu wrote: On Wed, Mar 4, 2015 at 11:12 AM, Erez D erez0...@gmail.com wrote: On Wed, Mar 4, 2015 at 11:09 AM, Leon Romanovsky l...@leon.nu wrote: i tried downloading source from lenovo. they have instructions to compile with: ./mk x2ap n k however i cannot find 'mk' anywhere, not in their tar, not in android sdk nor ndk etc. ./mk is a symlink to ./makeMtk script which is part of Mediatek build system. The script is located at mediatek/build folder. thanks, where do i get Mediatek build system from ? AFAIK It depends on phone/tablet manufacturer, since the build system is not GPL. Generally, you can try to setup it by yourself: 1. Take one of the available builds for other MTK chipset based phones [1]. 2. Download source code which was provided by Lenovo [2]. 3. Built new kernel with platform config from Lenovo's package [3] [1] https://github.com/suribi/Thunder-Kernel [2] http://support.lenovo.com/us/en/products/phones/vibe-series/vibe-x2/downloads/DS101342 [3] bsp/mediatek/config/mt6595/autoconfig/kconfig/platform do you have a link for [3] ? thanks for your help -- Leon Romanovsky | Independent Linux Consultant www.leon.nu | l...@leon.nu -- Leon Romanovsky | Independent Linux Consultant www.leon.nu | l...@leon.nu ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: compiling kernel module
On Wed, Mar 4, 2015 at 2:21 PM, Erez D erez0...@gmail.com wrote: On Wed, Mar 4, 2015 at 11:55 AM, Leon Romanovsky l...@leon.nu wrote: On Wed, Mar 4, 2015 at 11:12 AM, Erez D erez0...@gmail.com wrote: On Wed, Mar 4, 2015 at 11:09 AM, Leon Romanovsky l...@leon.nu wrote: i tried downloading source from lenovo. they have instructions to compile with: ./mk x2ap n k however i cannot find 'mk' anywhere, not in their tar, not in android sdk nor ndk etc. ./mk is a symlink to ./makeMtk script which is part of Mediatek build system. The script is located at mediatek/build folder. thanks, where do i get Mediatek build system from ? AFAIK It depends on phone/tablet manufacturer, since the build system is not GPL. Generally, you can try to setup it by yourself: 1. Take one of the available builds for other MTK chipset based phones [1]. 2. Download source code which was provided by Lenovo [2]. 3. Built new kernel with platform config from Lenovo's package [3] [1] https://github.com/suribi/Thunder-Kernel [2] http://support.lenovo.com/us/en/products/phones/vibe-series/vibe-x2/downloads/DS101342 [3] bsp/mediatek/config/mt6595/autoconfig/kconfig/platform do you have a link for [3] ? I downloaded lenovo_x2_osc_20141013.zip file from link [2] and unzipped it. The platform config will be there. thanks for your help -- Leon Romanovsky | Independent Linux Consultant www.leon.nu | l...@leon.nu -- Leon Romanovsky | Independent Linux Consultant www.leon.nu | l...@leon.nu -- Leon Romanovsky | Independent Linux Consultant www.leon.nu | l...@leon.nu ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il