Re: [android-kernel] How to create Virtual Network Interface on Android

2011-02-22 Thread Te-Yuan Huang
I solved this problem, and for others' reference: The veth device driver is not included in android kernel as default, thus, one needs to included it in order for 'ip link add type veth' to work To be more specific, set CONFIG_VETH=y then everything will work. -Te-Yuan On Mon, Feb 21, 2011 at

[android-kernel] Re: Build kernel android with netfilter

2011-02-22 Thread Glauco
Maybe you can get code from http://opensource.samsung.com/ To enable netfilter i think you only need to set CONFIG_NETFILTER=y on your defconfig file. On Feb 18, 2:25 pm, Rodrigo Chiossi wrote: > Samsung Salaxy S is not a dev phone, you won't have access to the code that > is shipped with the pho

[android-kernel] How to print out the current pid in kernel

2011-02-22 Thread Footballer
Hi fork, I'm now porting the Android to a processor core. Once the zygote is up, the processor trigger an illegal exception. It means that there is a wrong instruction is executed by the processor. I checked the program pointer when the exception is triggered, it should be in user space. I wouldn'

[android-kernel] init logging (gingerbread)

2011-02-22 Thread Ravi Chemudugunta
Hello, I am trying to debug a problem in the init process; I would like to know - generally speaking, what is the best way to debug the init process? ... there are several calls to INFO - where do these messages go? The main problem now is, it appears that init never returns from the function in

[android-kernel] How to create Virtual Network Interface on Android

2011-02-22 Thread Te-Yuan Huang
Hi all, (posted a similar post on android-platform, but maybe android-kernel is a more suitable for this question ) I would like to create a virtual network interface on android, just like usb0 or rmnet0/1/2. I tried to follow the traditional way on linux, that is: "ip link add type veth". Therefo

[android-kernel] Re: Android on PB11MPCORE

2011-02-22 Thread Earlence
you need a bootloader (u-boot most probably) to boot the kernel. flash this to the NAND flash memory that is designed to hold the bootloader (the jump address of the IPL) Cheers, Earlence On Feb 21, 9:30 pm, Rahul wrote: > Hi guys > I am a bit new to this so pardon me if this is a naive question