error in kernel compilation
Amit kumar Bag
amitkumarbag at gmail.com
Thu Feb 16 07:02:13 UTC 2012
Hi Kalle,
Thanks for your input now its compiling properly. But I have one more
problem.
I flashed that compiled image in the snowball board and connect my external
STE modem with that in USB OTG port, it has been detected. When I connect
that external modem its gives me the following logs
[ 338.913665] usb 1-1: new full speed USB device number 2 using musb-hdrc
[ 339.055786] usb 1-1: device v0403 p6010 is not supported
[ 339.075683] ftdi_sio 1-1:1.0: FTDI USB Serial Device converter detected
[ 339.083770] usb 1-1: Detected FT2232C
[ 339.087493] usb 1-1: Number of endpoints 2
[ 339.091644] usb 1-1: Endpoint 1 MaxPacketSize 64
[ 339.096466] usb 1-1: Endpoint 2 MaxPacketSize 64
[ 339.101135] usb 1-1: Setting MaxPacketSize 64
[ 339.107574] usb 1-1: FTDI USB Serial Device converter now attached to
ttyUSB0
[ 339.117126] ftdi_sio 1-1:1.1: FTDI USB Serial Device converter detected
[ 339.125091] usb 1-1: Detected FT2232C
[ 339.128784] usb 1-1: Number of endpoints 2
[ 339.132934] usb 1-1: Endpoint 1 MaxPacketSize 64
[ 339.137847] usb 1-1: Endpoint 2 MaxPacketSize 64
[ 339.142547] usb 1-1: Setting MaxPacketSize 64
[ 339.148406] usb 1-1: FTDI USB Serial Device converter now attached to
ttyUSB1
I then tried the logcat -b radio command to se the radio logs. The radio
logs are as follows.
# logcat -b radio
I/RIL ( 1483): Opening tty device /dev/ttyUSB2
I/PHONE ( 1860): Network Mode set to 0
I/PHONE ( 1860): Cdma Subscription set to 1
I/RILC ( 1483): libril: new connection
I/RILC ( 1483): RIL Daemon version: android reference-ril 1.0
I/RILJ ( 1860): Connected to 'rild' socket
D/RILJ ( 1860): [UNSL]< UNSOL_RESPONSE_RADIO_STATE_CHANGED
RADIO_UNAVAILABLE
I/PHONE ( 1860): Creating GSMPhone
D/PHONE ( 1860): mDoesRilSendMultipleCallRing=true
D/PHONE ( 1860): mCallRingDelay=3000
W/GSM ( 1860): Can't open /system/etc/voicemail-conf.xml
W/GSM ( 1860): Can't open /system/etc/spn-conf.xml
D/GSM ( 1860): [DSAC DEB] registerForPsRestrictedEnabled
D/GSM ( 1860): [DSAC DEB] registerForPsRestrictedDisabled
D/GSM ( 1860): [GsmDataConnection-1] DataConnection constructor E
D/GSM ( 1860): [GsmDataConnection-1] clearSettings
D/GSM ( 1860): [GsmDataConnection-1] DataConnection constructor X
D/GSM ( 1860): [GsmDataConnection-1] Made GsmDataConnection-1
D/RILJ ( 1860): [0000]> RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING
D/STK ( 1860): StkService: StkService: is running
D/STK ( 1860): StkService: NEW sInstance
D/RIL ( 1483): onRequest: REPORT_STK_SERVICE_IS_RUNNING
D/RILJ ( 1860): [0000]< RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING error:
com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE
D/RILJ ( 1860): [0001]> GET_CURRENT_CALLS
D/RIL ( 1483): onRequest: GET_CURRENT_CALLS
D/RILJ ( 1860): [0001]< GET_CURRENT_CALLS error:
com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE
E/GSM ( 1860): Wrong network type: 0
E/GSM ( 1860): Wrong network type: 0
D/GSM ( 1860): Poll ServiceState done: oldSS=[1 home null null null
Unknown CSS not supported 0 0RoamInd: 0DefRoamInd: 0EmergOnly: false]
newSS=[1 home null null null Unknown CSS not supporn
D/GSM ( 1860): [GsmDataConnection-1] DcInactiveState:
msg.what=EVENT_RESET, ignore we're already reset
D/GSM ( 1860): [GsmDataConnection-1] NotifyDisconnectCompleted
D/GSM ( 1860): [GsmDataConnection-1] clearSettings
D/GSM ( 1860): [DataConnection] Stop poll NetStat
D/GSM ( 1860): [DataConnection] Stop poll NetStat
D/GSM ( 1860): [DSAC DEB] trySetupData with mIsPsRestricted=false
D/GSM ( 1860): [IccCard] Broadcasting intent ACTION_SIM_STATE_CHANGED
NOT_READY reason null
D/STK ( 1860): StkService: Return current sInstance
D/STK ( 1860): StkAppService$ServiceHandler: OP_BOOT_COMPLETED
D/RILJ ( 1860): [0002]> SCREEN_STATE: false
D/RIL ( 1483): onRequest: SCREEN_STATE
D/RILJ ( 1860): [0002]< SCREEN_STATE error:
com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE
D/GSM ( 1860): [DataConnection] Stop poll NetStat
D/RILJ ( 1860): [0003]> SCREEN_STATE: true
D/RIL ( 1483): onRequest: SCREEN_STATE
D/RILJ ( 1860): [0003]< SCREEN_STATE error:
com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE
D/GSM ( 1860): [DataConnection] Stop poll NetStat
D/RILJ ( 1860): [0004]> SCREEN_STATE: false
D/RIL ( 1483): onRequest: SCREEN_STATE
D/RILJ ( 1860): [0004]< SCREEN_STATE error:
com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE
D/GSM ( 1860): [DataConnection] Stop poll NetStat
According to this logs the radio is not available. Then mean its not
detecting the modem ?
Or am I missing something ?
Please tell me what is wrong here .
Thanks,
Amit Bag
On 15 February 2012 16:40, Kalle Vahlman <kalle.vahlman at movial.com> wrote:
> 2012/2/15 Amit kumar Bag <amitkumarbag at gmail.com>
>
>> HI,
>>
>> I want to enable FDTI driver support in my android kernel. I followed the
>> below steps to enable the FTDI drivers
>> 1.make menuconfig ARCH=arm CROSS_COMPILE=arm-eabi-
>> and enable the FTDI single port serial driver inthe following path
>>
>
> Device Drivers-> USB support -> USB serial converter support -> USB FTDI
>> single port serial Driver
>> 2.make ARCH=arm CROSS_COMPILE=arm-eabi- uImage
>>
> [snip]
>
>> I am using android gingerbread source code having 3.0.1 kernel in that. I
>> downloaded the toolchain from the below location
>>
>
> For various reasons, the build of the Gingerbread kernel is not trivially
> possible without using the android buildsystem and toolchain.
>
> To achieve what you are doing you should be able to do:
>
> $ source build/envsetup.sh
> $ lunch ste_snowball-eng
> $ cd kernel
> $ mm menuconfig-kernel
> (select what you want)
> $ mm KERNEL_DEFCONFIG=local
>
> Defining KERNEL_DEFCONFIG to 'local' makes the build skip regenerating the
> configuration.
>
> --
> Kalle Vahlman, Movial Creative Technologies Inc.
> Porkkalankatu 20, FI-00180 Helsinki
> Tel +358 9 8567 6400
> Fax +358 9 8567 6401
> www.movial.com
>
>
> _______________________________________________
> kernel mailing list
> kernel at igloocommunity.org
> http://igloocommunity.org/cgi-bin/mailman/listinfo/kernel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://igloocommunity.org/pipermail/kernel/attachments/20120216/662dc9d4/attachment.html>
More information about the kernel
mailing list