Hi,

Currently I'm trying to port Eclair ( android-2.1 ) on top of
linux-2.6.29 kernel. Platform is SMDK6410 which is designed around
s3c6410 soc with ARM1176 core. I have already successfully ported
Framebuffer/lcd and SD card driver. Both of them are working fine. I
had to port SD card driver bcos I'm doing whole bring up from SD card.
Apart from driver porting, I did the necessary changes in Mach + Plat
directories. The resultant kernel is able to mount a linux file system
successfully, as the whole file system hierarchy is shown under / on
minicom when I do a ls. I am able to create and delete files as well.

Then I built Eclair and flashed the file system on to the SD card. Let
me tell u that I have
created two ext3 partitions in the SD card and left some place
unpartitioned at the end of SD card. I used zenovid.org quick boot
Bootloader which resulted out of openmoko project. This bootloader
sits in the unpartioned space at the end of the SD card. Then I
flashed the kernel image in one of the ext3 partitions and the file
system in the other ext3 partition.

This works fine with linux file system(busybox etc) + linux-2.6.29,
works fine with cupcake + linux-2.6.24. But with Eclair +
linux-2.6.29, it does not work. It stuck at "Attempting to kill init,
not syncing". I guess I need to do some modification in init.rc file.
But I don't know what are the changes. Can u pls help me ... I also
left u a scrap on orkut.

I am pasting the last few lines of Boot-log
First with Linux file system ----------------------------->>>
Successful
=====================================================================
<6>EXT3 FS on mmcblk0p2, internal journal
<6>EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) on device 179:2.
init started: BusyBox v1.9.1 (2008-10-17 18:22:46 IST)<7>mmc0
starting pid 798, tty '': '/etc/init.d/rcS'<7>mmc0
System initialization...

    Hostname       : SMDK6410
    Filesystem     : v1.0.2
    Kernel release : Linux 2.6.29
    Kernel version : #225 Mon Oct 25 16:34:06 IST 2010

    Mounting /proc
    Mounting /sys                       : [SUCCESS]
    Mounting /dev                       : [SUCCESS]
    Mounting /dev/pts                  : [SUCCESS]

 Populating /dev
 Setting shell environment ...
    - Path
    - Aliases
    - Touchscreen

    Done!
[r...@smdk6410 /]#ls
bin      etc      lib      man      proc     sbin     sys      usr
dev      home     linuxrc  mnt      root     share    tmp

=====================================================================

Now with Eclair ---------------------------------------------->
Unsuccessful ( last few lines only )

<4>EXT3-fs warning: maximal mount count reached, running e2fsck is
recommended
EXT3-fs warning: maximal mount count reached, running e2fsck is
recommended
<6>EXT3 FS on mmcblk0p2, internal journal
<6>EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) on device 179:2.
VFS: Mounted root (ext3 filesystem) on device 179:2.
<6>Freeing init memory: 104K
<0>Kernel panic - not syncing: Attempted to kill init!
Kernel panic - not syncing: Attempted to kill init!

=====================================================================

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

Reply via email to