Hi, Linas 

Sorry, one thing I want to make sure is that you are using the android images from https://android-build.linaro.org/?

Hi, All

If you have met such problems as below, please give your suggestion.

Thanks,
Yongqin Liu

---------- Forwarded message ----------
From: Linas Chang <shchang@marvell.com>
Date: 2 May 2012 15:46
Subject: RE: adb question
To: YongQin Liu <yongqin.liu@linaro.org>


Hi YongQin

 

I test more times , I found the case since be changed

 

I found device hard to get ip , so I install a dhcp server at my computer , and ethnet connect to snowboard directly

 

After device boot up , through your command “netcfg eth0 dhcp” ,I still can’t obtain IP

 

But I found strange thing , even console show up “dhcp time out” ,but the log for dhcp server at my computer told me , it has assign a IP to snowboard , even snowboard console show dhcp time out

 

At this case , I used fixed IP that same as my computer dhcp log said for snow board , I could ping device form host , and adb look ok ,connect and push also work

 

But I need to connect to my server to do further thing , so I can’t used above method to fixed adb issue ,and if I connect to server I hard to know which IP server assign to snow board

 

 

So do you have any idea why dhcp server assign IP to snowboard , but snowboard console still told me it can’t obtain IP from DHCP server

 

 

 

Linas

 

From: YongQin Liu [mailto:yongqin.liu@linaro.org]
Sent: Tuesday, April 24, 2012 11:54 AM
To: Linas Chang
Subject: Re: adb question

 

Hi, Linas

On 24 April 2012 11:29, Linas Chang <shchang@marvell.com> wrote:

Thanks for your help

 

Currently , I could do the adb shell follow your instruction

 

But I still can’t do adb push

Could you paste your error information?

From this sentence, I think we can't see why it can't do the adb push command.

 

And about the question below, I am sorry I can't give you any help.

You can wait other members for help.

 

Thanks,

Yongqin Liu 

 

And I notice there are code dump during system boot up , I don’t build the linux BSP and android , I used pre-build binary , the code dump as below

 

Another question , I found your product spec said , snowboard need 5V power , could you let me know which amp is device needed

 

9.562652] ------------[ cut here ]------------

[    9.567291] WARNING: at /mnt/jenkins/workspace/linaro-android_snowball-ics-gcc46-igloo-stable-blob-12.03-release/build/kernel/kernel/softirq.c:159 local_bh_enable_ip+0xa0/0xd4()

[    9.583129] Modules linked in: gator(O)

[    9.586975] [<c001d8a0>] (unwind_backtrace+0x0/0x144) from [<c05d9e2c>] (dump_stack+0x20/0x24)

[    9.595611] [<c05d9e2c>] (dump_stack+0x20/0x24) from [<c003378c>] (warn_slowpath_common+0x5c/0x74)

[    9.604553] [<c003378c>] (warn_slowpath_common+0x5c/0x74) from [<c00337d0>] (warn_slowpath_null+0x2c/0x34)

[    9.614227] [<c00337d0>] (warn_slowpath_null+0x2c/0x34) from [<c003af64>] (local_bh_enable_ip+0xa0/0xd4)

[    9.623687] [<c003af64>] (local_bh_enable_ip+0xa0/0xd4) from [<c05e1f58>] (_raw_spin_unlock_bh+0x48/0x4c)

[    9.633270] [<c05e1f58>] (_raw_spin_unlock_bh+0x48/0x4c) from [<c040b61c>] (cg2900_hu_dequeue+0x7c/0x244)

[    9.642852] [<c040b61c>] (cg2900_hu_dequeue+0x7c/0x244) from [<c040db10>] (cg2900_hci_uart_tx_wakeup+0x124/0x180)

[    9.653106] [<c040db10>] (cg2900_hci_uart_tx_wakeup+0x124/0x180) from [<c040dbcc>] (hci_uart_tty_wakeup+0x60/0x7c)

[    9.663452] [<c040dbcc>] (hci_uart_tty_wakeup+0x60/0x7c) from [<c028bd0c>] (tty_wakeup+0x60/0x6c)

[    9.672332] [<c028bd0c>] (tty_wakeup+0x60/0x6c) from [<c02a71a8>] (uart_write_wakeup+0x28/0x30)

[    9.681030] [<c02a71a8>] (uart_write_wakeup+0x28/0x30) from [<c02aa1ac>] (pl011_int+0x518/0x5b0)

[    9.689819] [<c02aa1ac>] (pl011_int+0x518/0x5b0) from [<c00946d4>] (handle_irq_event_percpu+0x78/0x2e0)

[    9.699218] [<c00946d4>] (handle_irq_event_percpu+0x78/0x2e0) from [<c0094988>] (handle_irq_event+0x4c/0x6c)

[    9.709045] [<c0094988>] (handle_irq_event+0x4c/0x6c) from [<c00978cc>] (handle_fasteoi_irq+0xa8/0x168)

[    9.718444] [<c00978cc>] (handle_fasteoi_irq+0xa8/0x168) from [<c0093e70>] (generic_handle_irq+0x3c/0x50)

[    9.728027] [<c0093e70>] (generic_handle_irq+0x3c/0x50) from [<c0016058>] (handle_IRQ+0x5c/0xbc)

[    9.736816] [<c0016058>] (handle_IRQ+0x5c/0xbc) from [<c0008544>] (gic_handle_irq+0x34/0xb8)

[    9.745239] [<c0008544>] (gic_handle_irq+0x34/0xb8) from [<c0014c80>] (__irq_svc+0x40/0x70)

[    9.753601] Exception stack(0xed1d5d68 to 0xed1d5db0)

[    9.758636] 5d60:                   c090a880 00000000 ed1d5e6c c0029324 fffffffd 00000000

[    9.766815] 5d80: 00000000 ed1d5e6c 00000000 00000000 00000000 ed1d5dd4 c090a880 ed1d5db0

[    9.774993] 5da0: c005afa4 c0029324 20000013 ffffffff

[    9.780059] [<c0014c80>] (__irq_svc+0x40/0x70) from [<c0029324>] (qos_delayed_cpufreq_notifier+0x0/0xb8)

[    9.789550] [<c0029324>] (qos_delayed_cpufreq_notifier+0x0/0xb8) from [<c005b168>] (__srcu_notifier_call_chain+0x54/0x70)

[    9.800506] [<c005b168>] (__srcu_notifier_call_chain+0x54/0x70) from [<c005b1ac>] (srcu_notifier_call_chain+0x28/0x30)

[    9.811187] [<c005b1ac>] (srcu_notifier_call_chain+0x28/0x30) from [<c03cf124>] (cpufreq_notify_transition+0xc4/0x2dc)

[    9.821899] [<c03cf124>] (cpufreq_notify_transition+0xc4/0x2dc) from [<c03d43a0>] (dbx500_cpufreq_target+0x9c/0x150)

[    9.832427] [<c03d43a0>] (dbx500_cpufreq_target+0x9c/0x150) from [<c03ce29c>] (__cpufreq_driver_target+0x88/0xc4)

[    9.842681] [<c03ce29c>] (__cpufreq_driver_target+0x88/0xc4) from [<c03d29b8>] (do_dbs_timer+0x498/0x4b0)

[    9.852264] [<c03d29b8>] (do_dbs_timer+0x498/0x4b0) from [<c004f170>] (process_one_work+0x138/0x4ac)

[    9.861389] [<c004f170>] (process_one_work+0x138/0x4ac) from [<c004f88c>] (worker_thread+0x188/0x374)

[    9.870605] [<c004f88c>] (worker_thread+0x188/0x374) from [<c0054b64>] (kthread+0x98/0xa4)

[    9.878875] [<c0054b64>] (kthread+0x98/0xa4) from [<c0016318>] (kernel_thread_exit+0x0/0x8)

[    9.887237] ---[ end trace c0fe18d58f2dc323 ]---

 

 

Linas

 

From: YongQin Liu [mailto:yongqin.liu@linaro.org]
Sent: Monday, April 23, 2012 7:48 PM
To: Linas Chang
Cc: linaro-android@lists.linaro.org
Subject: Re: adb question

 

Hi, Linas

 

Maybe you can try following commands:

 

----------------------------------------------------------------------------------------------

netcfg eth0 dhcp                 #get your eth network up

ifconfig eth0                       #get your board IP 

echo 0>/sys/class/android_usb/android0/enable  #enable adb via IP

setprop service.adb.tcp.port 5555                      #set the adb connection port

stop adbd                                                       # restart adbd

start adbd

----------------------------------------------------------------------------------------------

 

If the above commands work for you, please let me know.

I will update the wiki then.

 

Thanks,

Yongqin Liu

 

On 23 April 2012 19:06, Linas Chang <shchang@marvell.com> wrote:

Dear linaro-support team

 

Currently , I used linaro-android_snowball-ics-gcc46-igloo-stable-blob-12.03-release at your snowboard

 

I face a question , that is

 

When I used adb , follow below command form your web-site

 

  • ADB only works over IP
    In the console type:

·           stop adbd

·           setprop service.adb.tcp.port 6565

·           start adbd

·           ifconfig eth0 # to get boardsIP

 

after my host connect to device

, I try to used adb push –s <device IP>:6565 <my txt file> /data or adb –s <device ip>:6565 shell form host

Both fail ,and I didn’t see any error meaage , it look like hang after I type above adb command

 

Do you have any suggestion about this

 

Thanks for your help

 

Linas

 

 

 


_______________________________________________
linaro-android mailing list
linaro-android@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-android