Re: [android-kernel] Re: implementing custom system calls

2010-11-11 Thread Dianne Hackborn
On Thu, Nov 11, 2010 at 11:06 PM, Earlence wrote: > I dont need the total functionality of a driver. > I need a small (almost miniscule) extension, thats it. > It is probably easier to write, and far FAR easier to maintain, a small driver than a (!!) custom system call. Seriously. Just write a

[android-kernel] Re: implementing custom system calls

2010-11-11 Thread Earlence
I dont need the total functionality of a driver. I need a small (almost miniscule) extension, thats it. On Nov 12, 8:04 am, Earlence wrote: > would you care to enlighten me? > > On Nov 11, 11:06 pm, Dianne Hackborn wrote: > > > That is so very wrong. > > > Write a driver. > > > On Thu, Nov 11, 2

[android-kernel] Re: implementing custom system calls

2010-11-11 Thread Earlence
would you care to enlighten me? On Nov 11, 11:06 pm, Dianne Hackborn wrote: > That is so very wrong. > > Write a driver. > > > > On Thu, Nov 11, 2010 at 5:26 AM, Earlence wrote: > > Hi, > > > I need to implement a custom system call on msm2.6.29 > > I am following: > >http://tldp.org/HOWTO/html

Re: [android-kernel] implementing custom system calls

2010-11-11 Thread Dianne Hackborn
That is so very wrong. Write a driver. On Thu, Nov 11, 2010 at 5:26 AM, Earlence wrote: > Hi, > > I need to implement a custom system call on msm2.6.29 > I am following: > http://tldp.org/HOWTO/html_single/Implement-Sys-Call-Linux-2.6-i386/ > > But I cannot find the syscall_table.S for the ARM

[android-kernel] Re: implementing custom system calls

2010-11-11 Thread Earlence
I found it. For ARM archs, it is "calls.S" Cheers, Earlence On Nov 11, 2:26 pm, Earlence wrote: > Hi, > > I need to implement a custom system call on msm2.6.29 > I am > following:http://tldp.org/HOWTO/html_single/Implement-Sys-Call-Linux-2.6-i386/ > > But I cannot find the syscall_table.S for t

Re: [android-kernel] Re: iptables on msm2.6.29 (donut)

2010-11-11 Thread radovan lekanovic
Hi Erlance, You can add them to the init.rc script then init will do it each time you boot up. Here is some info on how this is done: http://www.kandroid.org/android_pdk/bring_up.html Good luck BR Lekanovic 2010/11/11 Earlence > I found the p

[android-kernel] Re: iptables on msm2.6.29 (donut)

2010-11-11 Thread Earlence
I found the problem. None of the modules were loaded. So I insmod'd all based on the modules.order from the build. Is there anyway to get this done automatically at boot up? Also, none of the modules existed in the device. I manually transferred them to the sdcard and insmod'd from there. Solution

[android-kernel] implementing custom system calls

2010-11-11 Thread Earlence
Hi, I need to implement a custom system call on msm2.6.29 I am following: http://tldp.org/HOWTO/html_single/Implement-Sys-Call-Linux-2.6-i386/ But I cannot find the syscall_table.S for the ARM arch. Is there a different procedure to do this? Cheers, Earlence -- unsubscribe: android-kernel+uns

[android-kernel] iptables on msm2.6.29 (donut)

2010-11-11 Thread Earlence
Hi, I have downloaded and built msm2.6.29 I also modded the msm_defconfig to allow module load/unload as well as netfilter config that is identical to the goldfish settings I used earlier. The build goes fine, and I obtain the zImage I then flash to mtd2 (HTC sapphire) and the boot up is correct.