Re: 答复: [android-kernel] Android Linux kernel

2010-09-20 Thread Rehmet
For Android porting, what things (libraries, kernel) that we need to modify to port on top of embedded linux? in Froyo, for example. On Sep 20, 7:15 pm, DanM wrote: > Here is a Wiki page on Android Kernel differentiation from a similar > post > > http://elinux.org/Android_Kernel_Features > > Dan

[android-kernel] Re: Linux commands not found in init.rc scripts

2010-09-20 Thread Chris Stratton
Some of the community roms offer a busybox based fdisk. On Sep 20, 1:21 pm, Vishnu Pratap Singh wrote: > Hi Chris, > > I want to use fdisk command, but that command is not not avilable in > toolbox, even not recognized by > init script also. so i want to add this command in android init language.

[android-kernel] What is meant by "init: untracked pid 2194 exited"? init.rc does not work?

2010-09-20 Thread archieval
I have a C program: #include #include #include #include #include #include #include #include #include #include #include int main(void) { if (fork() == 0) { int i, sret, ret = -1; unsigned char usb_dev[10]; struct stat st;

Re: [android-kernel] Re: Linux commands not found in init.rc scripts

2010-09-20 Thread Vishnu Pratap Singh
Hi Chris, I want to use fdisk command, but that command is not not avilable in toolbox, even not recognized by init script also. so i want to add this command in android init language. is it possible ? Regards, Vishnu On Mon, Sep 20, 2010 at 10:30 PM, archieval wrote: > Hi Chris, > > Where do y

[android-kernel] Re: Linux commands not found in init.rc scripts

2010-09-20 Thread archieval
Hi Chris, Where do you place exec? on boot trigger? Because it hasn't worked for me. On Sep 20, 9:02 pm, Chris Stratton wrote: > Try using symlink command instead of ln, there may already be examples > in your init.rc > > If /system is mounted by the time you want to do it you could also try > a

[android-kernel] Re: Linux commands not found in init.rc scripts

2010-09-20 Thread Chris Stratton
Try using symlink command instead of ln, there may already be examples in your init.rc If /system is mounted by the time you want to do it you could also try an exec on /system/bin/ln or /system/bin/toolbox with ln as the first argument. But probably better to use init's built in command. On Sep

Re: 答复: [android-kernel] Android Linux kernel

2010-09-20 Thread DanM
Here is a Wiki page on Android Kernel differentiation from a similar post http://elinux.org/Android_Kernel_Features Dan On Sep 19, 10:00 pm, "Dallas Lee" wrote: > Actually bionic is not a part of Android Linux Kernel, but a replacement of > glic which is used in normal Linux. > The differences