Thanks for the response.
I will try it and see what comes out.

On Jul 21, 3:40 am, Patrick Jacques <[email protected]>
wrote:
> It's rebooting because the system expects a proper boot partition (usually
> flashed with a boot.img) with the kernel zImage and a ramdisk combined.  You
> can use the ramdisk from an existing (working) boot.img by splitting it with
> split_bootimg.pl from:
>
> http://android-dls.com/files/linux/split_bootimg.zip
>
> <http://android-dls.com/files/linux/split_bootimg.zip>Then use the mkbootimg
> command (available in AOSP repo, in out/host/linux-x86/bin after you
> complete the first 'make') to build a proper boot.img
>
> mkbootimg --cmdline 'no_console_suspend=1 console=null quiet' --kernel
> your-kernel-file --ramdisk newramdisk.cpio.gz -o mynewboot.img
>
> More info on the boot process:
>
> http://www.androidenea.com/2009/06/android-boot-process-from-power-on...
>
> A (partially) outdated guide on making boot/recovery images:
>
> http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack,_Edit,_and_...
>
> Also, you should do a make oldconfig after copying the .config into your
> kernel source tree before compiling it.
>
> On Mon, Jul 19, 2010 at 10:31 PM, TDTwister <[email protected]> wrote:
> > Hi!
>
> > I tried compile the Linux Kernel that I got from
> >http://android.git.kernel.org/?p=kernel/msm.gitand the one provided
> > by HTC in the developer websitehttp://developer.htc.com/(HTC Dream
> > Kernel Source Code). After finishing the compilation I get a zImage
> > that I am trying to run on my ADP1. If I run it using fastboot boot
> > <location of zImage> the ADP1 reboots but the old kernel is loaded. If
> > I try fastboot flash:raw boot <loacation of zImage> then the ADP1
> > reboots and when it tries to boot it reboot again after a few seconds.
> > I suspect I must be getting some sort of kernel panic. Does anyone
> > know how can I debug the kernel while booting or why this problem
> > occurs and how can be fixed?
>
> > The kernel was compiled with the following commands.
> > Wile in the kernel directory:
> > adb pull /proc/config.gz .       (From the ADP1)
> > gunzip config.gz
> > mv config .config
>
> > make ARCH=arm CROSS_COMPILE='<directory of android project>/prebuilt/
> > linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-'
>
> > If you need any more information please let me know!
>
> > Thanks in advance!
>
> > --
> > unsubscribe: 
> > [email protected]<android-kernel%[email protected]>
> > website:http://groups.google.com/group/android-kernel

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

Reply via email to