[android-porting] How does Android init work?

2009-05-21 Thread neilnguyen_2...@yahoo.com
Dear all: Please bear with me, I am not an expert here. First of all, I have linux 2.6.27 downloaded from cupcake branch, running on my hardware platform. I got my own root fs, with busybox tool set. Everything is running very well so far. Now I would like to run Android cupcake, I believe ther

[android-porting] Is Cupcake branch good for new hardware?

2009-05-24 Thread neilnguyen_2...@yahoo.com
I got mixed understanding about which branch to use for porting Android onto a new hardware. I read somewhere, "device" branch is the one more appropriate for porting. Can someone please give me a hint here? Neil --~--~-~--~~~---~--~~ unsubscribe: android-porting+u

[android-porting] Re: android didn't start GUI after init

2009-05-24 Thread neilnguyen_2...@yahoo.com
Dear friend: I am trying to do the porting of Android on my hw too. However, I have gone this far as you. My problem is I do not know which "init" and "rootfs" I should use. My first crack is to use the "init", and "ramdisk.img" built by "make" from cupcake branch. I would appreciate if you can

[android-porting] Activity Manager crashes

2009-06-02 Thread neilnguyen_2...@yahoo.com
Dear all: I got some crash in the Activity Manager, can someone please lend a hand. Thank you, Neil. I/SystemServer( 1576): Starting Activity Manager. I/DEBUG ( 1550): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** I/ DEBUG ( 1550): Build fingerprint: 'generic/generic/generi

[android-porting] SIGSEGV during Android startup

2009-06-04 Thread neilnguyen_2...@yahoo.com
I have asked this question before but decided to format it a little for clarity. We are getting a crash SIGSEGV after starting "Activity Manager". Please refer to the "logcat" below. Please help help, thanks. Neil # logcat & # I/DEBUG ( 1552): debuggerd: Jun 3 2009 18:46:36 E/flash_image( 156

[android-porting] Re: SIGSEGV during Android startup

2009-06-04 Thread neilnguyen_2...@yahoo.com
The problem has been fixed by itself after updating to the latest version of cupcake. Still, I would appreciate if someone did the fix, please educate us. To keep Android moving forward we need experience developers to help us in the early stage. It is very learning intensive experience and often

[android-porting] how to use pmem?

2009-06-09 Thread neilnguyen_2...@yahoo.com
Dear all: Our DMA hardware requires the use of physical contiguous memory. I look around in Android source, I come across pmem feature. It is somewhat what I needed. Can someone please tell me how to use it? Neil --~--~-~--~~~---~--~~ unsubscribe: android-porti

[android-porting] PMEM crashing

2009-06-19 Thread neilnguyen_2...@yahoo.com
Dear all: Initially, I did not have PMEM implemented such as I did not provide 8MB for pmem, and pmem_adsp. Now I did provide that by reserving 16MB of memory out of my 128MB SDRAM part. Then Android won't boot, it keeps crashing after launching the "Service Manager". Can someone please tell me

[android-porting] Android prebuilt toolchain does not work with busybox

2009-03-14 Thread neilnguyen_2...@yahoo.com
Dear all: I am a newbie in the Kernel land. I would like to use the prebuilt toolchain included in the Android release to build BUSYBOX. I have lots of compilation error, and I need help. I understand that I could use CodeSourcery toolchain to build the busybox, and create a rootfs for the ker

[android-porting] emulator versus real target...

2009-03-27 Thread neilnguyen_2...@yahoo.com
Dear all: I am new to this Android porting, and I am very excited to get to know all of you. I have some starting questions about the "cup cake" branch. I just checked out the "cup cake" repo today. I succeed the building by typing "make". First I want to know: a) Is this make only generating

[android-porting] system.img how to flash it onto the NAND?

2009-03-28 Thread neilnguyen_2...@yahoo.com
I have a question after searching all over the web. Let's say I would like to flash the system.img onto a NAND device on my hw box, how do I do it. As you already guess, I must have both host/target software packages. Don't you think this is too much work? Is there an easier way to make Android