View Single Post
  #170 (permalink)  
Old 07-28-2011, 12:46 PM
Charles481's Avatar
Charles481
Lurker
Offline
 
Join Date: Jul 2011
Posts: 4
Reputation: 0
Charles481 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin

Quote:
Originally Posted by Lmiller1708 View Post
Just Copy and paste this to your script. It should work fine... From his orginal code before we update to squash.

Code:
echo "Compress modules to a tar.gz and move to output dir"
KER_VER="$(cat $KERNEL_PATH/include/config/kernel.release)"
cd $OUTPUT_PATH/modules
MODULES=$(find -name "*.ko")
for i in $MODULES ; do
    cp $i $OUTPUT_PATH/kernel/modules
done
cd $OUTPUT_PATH/kernel
tar -cvzf $OUTPUT_PATH/kernel/$KER_VER.tar.gz modules

Not sure what you are asking with your second question.
When gif clone done.I compiled the zImage and modules.then try to use zImage in my phone.
It doesn't work.Just vibrate twice and freezes.
What's wrong?

Last edited by Charles481; 07-28-2011 at 01:11 PM.
Reply With Quote