make sure 1. you're using the correct defconfig 2. MTD drivers --> NAND/OneNAND is enabled correctly 3. getting MTD and yaffs related kernel logs are appearing 4. just compare the cmd line boot options with the working kernel
On Dec 1, 10:28 am, l l <android...@gmail.com> wrote: > Thanks for your adcice. > > There are lots of defferent infolders and files. > It's too hard to change the modify each point. > > I am trying t o modify official 2.2 source,adding yaff2 driver and nand > flash driver. > > I think the kernel can work by this. > After a trying,I will share more info. > Maybe we can think out a good way then. > Thanks. > > Best Regards, > 2010/11/30 Chris Stratton <cs07...@gmail.com> > > > You might want to try diff-ing the relevant parts of the customized > > Android 2.1 against the official version of 2.1 and then applying > > something similar to those changes to the official 2.2 > > > Of course this kind of approach doesn't work if there's been a change > > in an underlying mechanism between the versions. When that happens, > > your really have to understand how it works in detail. > > > On Nov 30, 1:02 am, l l <android...@gmail.com> wrote: > > > Hi, > > > I'm porting Android2.2 to S5PC100. > > > The kernel can't find partitons of nand flash. > > > I have the source code of Android2.1 that can run on S5PC100. > > > The kernel of Android2.1 called function of add_mtd_blktrans_dev() > > > related to nand flash, > > > but Android2.2 didn't. > > > Source code of Android 2.2 were downloaded from Google. Android 2.1 > > was > > > not. > > > > Nand flash chip is Samsung K9F2G08, 256M Bytes. > > > > ERROR information: > > > > VFS: Cannot open root device "mtdblock3" or unknown-block(2,0) > > > Please append a correct "root=" boot option; here are the available > > > partitions: > > > Kernel panic - not syncing: VFS: DIWEI2 Unable to mount root fs on > > > unknown-block(2,0) > > > [<c002ea88>] (unwind_backtrace+0x0/0xd0) from [<c02f8074>] > > > (panic+0x3c/0x10c) > > > [<c02f8074>] (panic+0x3c/0x10c) from [<c0009024>] > > > (mount_block_root+0x1d4/0x21c) > > > [<c0009024>] (mount_block_root+0x1d4/0x21c) from [<c00092c0>] > > > (prepare_namespace+0x164/0x1b8) > > > [<c00092c0>] (prepare_namespace+0x164/0x1b8) from [<c00085b4>] > > > (kernel_init+0xd8/0x10c) > > > [<c00085b4>] (kernel_init+0xd8/0x10c) from [<c0029f1c>] > > > (kernel_thread_exit+0x0/0x8) > > > > Thanks. > > > -- > > unsubscribe: > > android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com> > > website:http://groups.google.com/group/android-porting -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting