porting android

It will be empty.

Regards,
Rupesh Gujare

Sonal,
I have updated wiki page, as per your findings. I have reconfirmed compilation of 2.6.27-android kernel. It is working fine for me. Please note that, latest android build will work with 2.6.27 version.

Regards,
sonal wrote:

Ok ,
I will try compiling 2.6.27 again.

Could you tell on which version is the pre-built kernel image ?

Because the pre-built uImage could detect the USB hub, but the 2.6.25
kernel does not.

Will 2.6.27 kernel work ? Will it give the same uImage as the pre-
built one ?

Sonal

Hi Rupesh,

The alsa_sound patch is gone ! Is it no more needed .. ?

Sonal

sonal wrote:

Ok ,
I will try compiling 2.6.27 again.

Could you tell on which version is the pre-built kernel image ?
  

2.6.27

Because the pre-built uImage could detect the USB hub, but the 2.6.25
kernel does not.

Will 2.6.27 kernel work ? Will it give the same uImage as the pre-
built one ?

  

Yes, It ll give same uImage as prebuild one.

old ALSA patch is no more applicable as there had been update to alsa_sound repository few days back.

Regards,

ok i am still getting the same issue with 2.6.27. kernel..
sorry to bother you..but could u tell me these two things..

a) how to check if i have modified anything locally in the kernel
source.. i mean i want to get the original checkled-out 2.6.27,
without having to download everything again..
b) how to update to gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu12)

I know this are not the relevant questions.. but i am stuck !! :frowning:

Rupesh Gujare wrote:

ok..
i do $git diff, and nothing is printed on the console.. i assume that
means that nothing is modified.
so, the only other doubt remains is the : updation to gcc
4.3.2......................

any help on that?

Sonal,
Looks like your kernel build is not in proper shape, Please clone kernel again. Post all logs here.
After following all steps, please post o/p of following command:-

$git log

Regards,
sonal wrote:

i would want to post the current o/p for this command..
but the log is too big ... can i send the attachment to you..

Send me initial few lines .

sonal wrote:

topmost is here:
commit 88b76dfb359f434983a4f600bb927e1d7f2a45a9
Author: Mike Chan <mike@android.com>

It looks good to me. Only environment difference is :-

gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu12)

Regards,
sonal wrote:

you are right. :slight_smile: i am struggling to get it installed. :frowning:

Hi Rupesh,

I hope all is going well:) Does this mean audio is now working? I've
haven't tried to build Android for a few weeks now. I'm going to try
it again today. Anything new I should be aware of before I begin?

Cheers,
Jay

Hi Rupesh,

I am using scripts/basic/fixdep binary from 2.6.25 kernel version..
and I am able to initiate the build..
but I wanted to know if there is any serious change in fixdep from
2.6.25 to 2.6.27 .. ?
because thats the only file causing build errors for me..

can i go ahead with this change?

sonal

Hi Rupesh,
When i use the file system built by me, mouse is not responding
properly. Every time i move the mouse , the GUI crashes...
Also, if i want to play some of my media files in the android, where
should i keep it ?
If i keep it in /system/ media/audio/, can i make him to find these
files?
I tried using Media Scanner, but that scans only sd-card it seems..

Sonal

Sonal,

Hi Rupesh,
When i use the file system built by me, mouse is not responding
properly. Every time i move the mouse , the GUI crashes…

I Haven’t tested it with latest android build.

Also, if i want to play some of my media files in the android, where
should i keep it ?
If i keep it in /system/ media/audio/, can i make him to find these
files?
I tried using Media Scanner, but that scans only sd-card it seems…

Yes, it uses sd-card to scan media files.

$copy song.mp3 on your SD card partition1(/dev/mmcblk0p1), before inserting card into beagleboard.

$mount -t vfat /dev/mmcblk0p1 /sdcard
$setprop EXTERNAL_STORAGE_STATE mounted
$am broadcast -a android.intent.action.MEDIA_MOUNTED --ez read-only false -d  file:///sdcard

Although not sure if these steps are still workable. Please let us know status.