Hello,

It seems the failure is caused by RTC device. What's the spec of your
device? What kind of RTC device are you using? Is it the same with what
hctosys.c could serve?

There is another porting work base on S3C2443. You'd like to take a look at
it.

http://groups.google.com/group/android-porting/browse_thread/thread/5392e33cb309aad2
http://kumikomi.asablo.jp/blog/cat/mini2440/

Regards,
--
Adam

On Wed, Nov 4, 2009 at 7:23 PM, bigfly <bigfly...@gmail.com> wrote:

> Hi,
>
> I'm trying to port the Android Donut to the S3C2443, but the system
> cannot execute init and dump the following message:
>
> ...
> android init
> mice: PS/2 mouse device common for all mice
> S3C24XX RTC, (c) 2004,2006 Simtec Electronics
> s3c2410-i2c s3c2410-i2c: slave address 0x10
> s3c2410-i2c s3c2410-i2c: bus frequency set to 378 KHz
> s3c2410-i2c s3c2410-i2c: i2c-0: S3C I2C adapter
> S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
> s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq
> enabled
> logger: created 64K log 'log_main'
> logger: created 256K log 'log_events'
> logger: created 64K log 'log_radio'
> TCP cubic registered
> drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
> Freeing init memory: 128K
> Kernel panic - not syncing: Attempted to kill init!
>
>
> I tracked down the code and found the kernel received the SIGILL
> signal and tried to kill the init.
>
> I used the following steps to build the kernel and the SDK (donut):
>
> 1. Download the donut source code and patch it with android-donut-
> armv4t-20090825-1.patch from Christopher.
> 2. Set TARGET_ARCH_VERSION to armv4t and make the donut with its
> prebuilt toolchain (arm-eabi-4.2.1).
> 3. Download the android kernel 2.6.29 and enable the ARM EABI option
> (CONFIG_AEABI) and other necessary options.
> 4. Modify the 'Makefile'
>
> -NONSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-
> name=include)
> +NONSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-
> name=include) -Dlinux
>
> 5. Build the kernel with the donut's prebuilt toolchain(arm-
> eabi-4.2.1).
> 6. Use the kernel command line option 'initrd' to pass the
> 'ramdisk.img'.
>
> I didn't download the system.img and userdata.img.
>
> Any ideas? Thanks in advance.
>
>
> bigfly
>
>
>
> --
> unsubscribe: 
> android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com>
> website: http://groups.google.com/group/android-porting
>



-- 
Adam Jiang
------------------------------------------
e-mail:jiang.a...@gmail.com <e-mail%3ajiang.a...@gmail.com>
http://www.adamjiang.com

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to