Hi,

MIPS SDK sounds very interesting project to me. Great job you are
working on.

ashmem is one of Android specific drivers. There's an android.txt
in Documentation directory.

Other than ashmen, some drivers should be ported like; binder,
lowmemorykiller, logger, yaffs2 and pmem.

Vanilla kernel 2.6.28 - 2.6.30 has staging/android drivers, but as
far as I know they are incomplete. It would be better to get codes
from http://android.git.kernel.org and checkout android-goldfish
branch.

Cheers,

On 10月12日, 午後7:07, yajin <[email protected]> wrote:
> Hi all,
>
> Now I am working on adding goldfish target support to MIPS target so
> that the MIPS users can have a SDK to play with.
>
> The kernel part works well until entering the userland. The init hangs
> when calling ashmem_create_region. In function ashmem_create_region,
> it will open /dev/ashmem and it return -1 and the errno is 19 which
> means no such devices. I do not find where this device(/dev/ashmem) is
> created? Can anyone tell me the code path of creating device /dev/
> ashmem? Thanks very much.
>
> int ashmem_create_region(const char *name, size_t size)
> {
>         ......
>         fd = open(ASHMEM_DEVICE, O_RDWR);
>         if (fd < 0)
>                 return fd;
>
>         ......
>
> }
>
> yajinhttp://vm-kernel.org/blog
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to