Hi,

I download the 2.6.31 kernel from kernel.org and updated it with our
board specific patch. Then I enabled Android specific stuff using make
menuconfig ->  device drivers->staging drivers->Andriod.

I havent updated the kernel with yaffs2 patch, as I am downloading the
andriod rootfs into SDRAM (ext2) and commenting out mounting yaffs2 in
init.rc file.

Apart from above kernel modifications do I need to make any other
changes in kernel?

Thanks

On Wed, Dec 16, 2009 at 7:05 AM, Novin S. <[email protected]> wrote:
> The problem is that the kernel you are using on your device is not
> suited for the version of the root fs or it is not properly patched
> with android specific diffs....
>
> On Dec 15, 3:24 pm, "Dennis.Yxun" <[email protected]> wrote:
>> do u use ramdisk or others?
>> make sure kernel can find 'init' program
>>
>> On Tue, Dec 15, 2009 at 4:34 PM, linux newbie 
>> <[email protected]>wrote:
>>
>>
>>
>> > Hi,
>>
>> > Thanks for your reply.
>>
>> > As the messages are printing on the lcd, I couldn't able to get the
>> > logs. Anyway I shall try tomorrow.
>> > After Freeing Init memory, I am getting this Kernel Panic (seems
>> > console is opened properly)
>>
>> > Please let me know, whether the procedure I am using to bring up
>> > Android is correct or not?
>>
>> > Thanks
>>
>> > On Tue, Dec 15, 2009 at 6:29 PM, jack <[email protected]> wrote:
>> > > Hello,
>>
>> > > According to my porting experience, there will be many causes
>> > > resulting in kernel panic.
>> > > Pasting more logs before the line kernel panic will help for others to
>> > > figure out your problem. Thanks.
>>
>> > > Regards
>> > > Jack
>>
>> > > On 12月15日, 上午11時58分, linux newbie <[email protected]> wrote:
>> > >> Hi,
>>
>> > >> Our embedded platform has pxa255. We downloaded linux_2_6_31_1,
>> > >> compiled with EABI (downloaded the toolchain from Codesourcery),
>> > >> modified the kernel to add our hardware based support. We also
>> > >> compiled the user space applications with latest tool chain and able
>> > >> to boot the system perfectly.
>>
>> > >> I downloaded the Android SDK, extracted the root file system.
>>
>> > >> As our system has 128MB of sdram, we extracted the contents of system
>> > >> and userdata image and put it in root fs system folder. Also I
>> > >> commented out mount yaffs2 section in init.rc file.
>>
>> > >> I copied the /dev contents to android root fs and etc -> /system/etc.
>>
>> > >> While booting it shows,
>>
>> > >> kernel panic - not syncing: attempted to kill init.
>>
>> > >> can anyone help me out in to fix this issue.
>>
>> > >> Thanks
>>
>> > > --
>> > > unsubscribe: 
>> > > [email protected]<android-porting%2Bunsubscribe@
>> > >  googlegroups.com>
>> > > website:http://groups.google.com/group/android-porting
>>
>> > --
>> > unsubscribe: 
>> > [email protected]<android-porting%2Bunsubscribe@
>> >  googlegroups.com>
>> > website:http://groups.google.com/group/android-porting
>
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-porting

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

Reply via email to