硬件平台:mini6410
技术路线:启动内核后挂载本地的RAMDISK,在RAMDISK内配置无线网络,并连接无线网络,然后远程mount NFS后,从RAMDISK切换至服务器端NFS。
存在问题:
由RAMDISK切换至NFS时,LCD一直显示ANDROID_,有光标闪烁,串口打印消息:
[@(none) /tmp]# pivot_root . oldroot
[@(none) /]# ./init
init: cannot open '/initlogo.rle'
init (937): /proc/1/oom_adj is deprecated, please use /proc/1/oom_score_adj instead.
enabling adb
adb_open
s3c-udc: new address 4
android_usb gadget: high speed config #1: android
/system/bin/sh: can't access tty; job control turned off
/ # eth0: link down
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
usbcore: registered new interface driver ath9k_htc
warning: `dhcpcd' uses 32-bit capabilities (legacy support in use)
usbcore: registered new interface driver rt73usb
usbcore: registered new interface driver rt2800usb
rtw driver version=v3.0.1590.20110511
usbcore: registered new interface driver rtl8192cu
usbcore: registered new interface driver zd1211rw
fa_cpu_pfn: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
FriendlyARM proprietary driver for mini6410 initialized.
select 928 (sh), adj 0, size 67, to kill
select 1243 (zygote), adj 0, size 3865, to kill
send sigkill to 1243 (zygote), adj 0, size 3865
request_suspend_state: wakeup (3->0) at 202074133596 (2000-04-13 23:00:08.786064015 UTC)
init: untracked pid 1237 exited
init: untracked pid 1244 exited
使用logcat命令得到如下消息:
/ # logcat &
/ # --------- beginning of /dev/log/main
I/DEBUG ( 1238): debuggerd: Sep 28 2012 14:15:08
--------- beginning of /dev/log/system
I/Vold ( 1235): Vold 2.1 (the revenge) firing up
D/Vold ( 1235): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
I/Netd ( 1237): Netd 1.0 starting
D/Vold ( 1235): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
D/Vold ( 1235): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
D/AndroidRuntime( 1243):
D/AndroidRuntime( 1243): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 1243): CheckJNI is ON
D/dhcpcd ( 1345): dhcpcd 4.0.15 starting
D/dhcpcd ( 1345): hardware address = 08:90:90:90:90:90
D/dhcpcd ( 1345): executing `/system/etc/dhcpcd/dhcpcd-run-hooks', reason PREINIT
D/dhcpcd ( 1345): host does not support a monotonic clock - timing can skew
D/dhcpcd ( 1345): broadcasting for a lease
D/dhcpcd ( 1345): sending DHCP_DISCOVER with xid 0x4098a10b, next in 4.94 seconds
D/dhcpcd ( 1345): offered 192.168.1.27 from 192.168.1.1
D/dhcpcd ( 1345): sending DHCP_REQUEST with xid 0x4098a10b, next in 4.90 seconds
D/dhcpcd ( 1345): acknowledged 192.168.1.27 from 192.168.1.1
D/dhcpcd ( 1345): checking 192.168.1.27 is available on attached networks
D/dhcpcd ( 1345): sending ARP probe (1 of 3), next in 1.87 seconds
I/ ( 1244): ServiceManager: 0xad50
E/AudioHardwareALSA( 1244): ALSALib: external/alsa-lib/src/control/control.c:902:(snd_ctl_open_noupdate) Invalid CTL AndroidOut
W/AudioHardwareALSA( 1244): Unable to attach mixer to device AndroidOut: No such file or directory
E/AudioHardwareALSA( 1244): Unable to attach mixer to device default: No such file or directory
E/AudioHardwareALSA( 1244): ALSALib: external/alsa-lib/src/control/control.c:902:(snd_ctl_open_noupdate) Invalid CTL AndroidIn
W/AudioHardwareALSA( 1244): Unable to attach mixer to device AndroidIn: No such file or directory
E/AudioHardwareALSA( 1244): Unable to attach mixer to device default: No such file or directory
W/AudioHardwareALSA( 1244): ALSA Mixer is not valid. AudioFlinger will do software volume control.
W/AudioHardwareALSA( 1244): ALSA Mixer is not valid. AudioFlinger will do software volume control.
I/CameraService( 1244): CameraService started (pid=1244)
D/AudioHardwareALSA( 1244): openOutputStream called for devices: 0x00000002
D/ALSAModule( 1244): open called for devices 00000002 in mode 0...
E/AudioHardwareALSA( 1244): ALSALib: external/alsa-lib/src/confmisc.c:768:(parse_card) cannot find card '0'
E/AudioHardwareALSA( 1244): ALSALib: external/alsa-lib/src/conf.c:4154:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
E/AudioHardwareALSA( 1244): ALSALib: external/alsa-lib/src/confmisc.c:392:(snd_func_concat) error evaluating strings
E/AudioHardwareALSA( 1244): ALSALib: external/alsa-lib/src/conf.c:4154:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
E/AudioHardwareALSA( 1244): ALSALib: external/alsa-lib/src/confmisc.c:1251:(snd_func_refer) error evaluating name
E/AudioHardwareALSA( 1244): ALSALib: external/alsa-lib/src/conf.c:4154:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
E/AudioHardwareALSA( 1244): ALSALib: external/alsa-lib/src/conf.c:4633:(snd_config_expand) Evaluate error: No such file or directory
E/AudioHardwareALSA( 1244): ALSALib: external/alsa-lib/src/pcm/pcm.c:2210:(snd_pcm_open_noupdate) Unknown PCM default
E/ALSAModule( 1244): Failed to Initialize any ALSA PLAYBACK device: Unknown error: -2
E/AudioPolicyManagerBase( 1244): Failed to initialize hardware output stream, samplingRate: 0, format 0, channels 0
D/dhcpcd ( 1345): sending ARP probe (2 of 3), next in 1.48 seconds
D/dhcpcd ( 1345): sending ARP probe (3 of 3), next in 2.00 seconds
D/dhcpcd ( 1345): leased 192.168.1.27 for 86400 seconds
D/dhcpcd ( 1345): adding IP address 192.168.1.27/24
D/dhcpcd ( 1345): adding route to 0.0.0.0/0 via 192.168.1.1
D/dhcpcd ( 1345): executing `/system/etc/dhcpcd/dhcpcd-run-hooks', reason BOUND
D/dhcpcd ( 1345): forking to background
D/dhcpcd ( 1398): sending ARP announce (1 of 2), next in 2.00 seconds
D/dhcpcd ( 1398): sending ARP announce (2 of 2)
D/dhcpcd ( 1398): renew in 43196 seconds
I/SamplingProfilerIntegration( 1243): Profiler is disabled.
I/Zygote ( 1243): Preloading classes...
E/Zygote ( 1243): setreuid() failed. errno: 2
D/dalvikvm( 1243): GC_EXPLICIT freed 47K, 77% free 235K/1024K, external 0K/0K, paused 200ms
D/dalvikvm( 1243): GC_EXPLICIT freed 1K, 73% free 286K/1024K, external 0K/0K, paused 4ms
D/dalvikvm( 1243): GC_EXPLICIT freed 20K, 69% free 319K/1024K, external 0K/0K, paused 5ms
I/bluetooth_ScoSocket.cpp( 1243): Entry name = MY-CAR ScoTypes = 0x7f
I/bluetooth_ScoSocket.cpp( 1243): Entry name = Motorola HF850 ScoTypes = 0x7
D/dalvikvm( 1243): GC_EXPLICIT freed 17K, 66% free 357K/1024K, external 0K/0K, paused 5ms
D/dalvikvm( 1243): GC_EXPLICIT freed 26K, 63% free 384K/1024K, external 0K/0K, paused 5ms
D/dalvikvm( 1243): GC_EXPLICIT freed 21K, 57% free 443K/1024K, external 0K/0K, paused 18ms
W/MediaProfiles( 1243): could not find media config xml file
D/dalvikvm( 1243): GC_EXPLICIT freed 99K, 47% free 549K/1024K, external 0K/0K, paused 32ms
D/dalvikvm( 1243): GC_EXPLICIT freed 272K, 28% free 886K/1219K, external 0K/0K, paused 50ms
D/dalvikvm( 1243): GC_EXPLICIT freed 21K, 24% free 934K/1219K, external 0K/0K, paused 16ms
D/dalvikvm( 1243): GC_EXPLICIT freed 23K, 18% free 1000K/1219K, external 0K/0K, paused 34ms
D/dalvikvm( 1243): GC_EXPLICIT freed 47K, 5% free 1283K/1347K, external 0K/0K, paused 25ms
D/dalvikvm( 1243): GC_EXPLICIT freed 24K, 3% free 1312K/1347K, external 0K/0K, paused 25ms
D/dalvikvm( 1243): GC_EXPLICIT freed 28K, 6% free 1338K/1411K, external 0K/0K, paused 72ms
D/dalvikvm( 1243): GC_EXPLICIT freed 14K, 3% free 1378K/1411K, external 0K/0K, paused 34ms
W/Zygote ( 1243): Class not found for preloading: android.widget.TextView$SelectionModifierCursorController$1
D/dalvikvm( 1243): GC_EXPLICIT freed 28K, 5% free 1404K/1475K, external 0K/0K, paused 27ms
D/dalvikvm( 1243): GC_EXPLICIT freed 31K, 3% free 1443K/1475K, external 0K/0K, paused 27ms
D/dalvikvm( 1243): GC_EXPLICIT freed 38K, 6% free 1460K/1539K, external 0K/0K, paused 79ms
D/dalvikvm( 1243): GC_EXPLICIT freed 41K, 5% free 1475K/1539K, external 0K/0K, paused 30ms
D/dalvikvm( 1243): GC_EXPLICIT freed 55K, 8% free 1488K/1603K, external 0K/0K, paused 39ms
I/ServiceManager( 1234): service 'media.audio_flinger' died
I/ServiceManager( 1234): service 'media.audio_policy' died
I/ServiceManager( 1234): service 'media.player' died
I/ServiceManager( 1234): service 'media.camera' died
I/Netd ( 1412): Netd 1.0 starting
D/AndroidRuntime( 1413):
D/AndroidRuntime( 1413): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 1413): CheckJNI is ON
I/ ( 1411): ServiceManager: 0xad50
E/AudioHardwareALSA( 1411): ALSALib: external/alsa-lib/src/control/control.c:902:(snd_ctl_open_noupdate) Invalid CTL AndroidOut
W/AudioHardwareALSA( 1411): Unable to attach mixer to device AndroidOut: No such file or directory
E/AudioHardwareALSA( 1411): Unable to attach mixer to device default: No such file or directory
E/AudioHardwareALSA( 1411): ALSALib: external/alsa-lib/src/control/control.c:902:(snd_ctl_open_noupdate) Invalid CTL AndroidIn
W/AudioHardwareALSA( 1411): Unable to attach mixer to device AndroidIn: No such file or directory
E/AudioHardwareALSA( 1411): Unable to attach mixer to device default: No such file or directory
W/AudioHardwareALSA( 1411): ALSA Mixer is not valid. AudioFlinger will do software volume control.
W/AudioHardwareALSA( 1411): ALSA Mixer is not valid. AudioFlinger will do software volume control.
I/CameraService( 1411): CameraService started (pid=1411)
D/AudioHardwareALSA( 1411): openOutputStream called for devices: 0x00000002
D/ALSAModule( 1411): open called for devices 00000002 in mode 0...
E/AudioHardwareALSA( 1411): ALSALib: external/alsa-lib/src/confmisc.c:768:(parse_card) cannot find card '0'
E/AudioHardwareALSA( 1411): ALSALib: external/alsa-lib/src/conf.c:4154:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
E/AudioHardwareALSA( 1411): ALSALib: external/alsa-lib/src/confmisc.c:392:(snd_func_concat) error evaluating strings
E/AudioHardwareALSA( 1411): ALSALib: external/alsa-lib/src/conf.c:4154:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
E/AudioHardwareALSA( 1411): ALSALib: external/alsa-lib/src/confmisc.c:1251:(snd_func_refer) error evaluating name
E/AudioHardwareALSA( 1411): ALSALib: external/alsa-lib/src/conf.c:4154:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
E/AudioHardwareALSA( 1411): ALSALib: external/alsa-lib/src/conf.c:4633:(snd_config_expand) Evaluate error: No such file or directory
E/AudioHardwareALSA( 1411): ALSALib: external/alsa-lib/src/pcm/pcm.c:2210:(snd_pcm_open_noupdate) Unknown PCM default
E/ALSAModule( 1411): Failed to Initialize any ALSA PLAYBACK device: Unknown error: -2
E/AudioPolicyManagerBase( 1411): Failed to initialize hardware output stream, samplingRate: 0, format 0, channels 0
I/SamplingProfilerIntegration( 1413): Profiler is disabled.
I/Zygote ( 1413): Preloading classes...
D/dalvikvm( 1413): GC_EXPLICIT freed 47K, 78% free 233K/1024K, external 0K/0K, paused 25ms
D/dalvikvm( 1413): GC_EXPLICIT freed 1K, 73% free 284K/1024K, external 0K/0K, paused 5ms
D/dalvikvm( 1413): GC_EXPLICIT freed 20K, 70% free 317K/1024K, external 0K/0K, paused 5ms
I/bluetooth_ScoSocket.cpp( 1413): Entry name = MY-CAR ScoTypes = 0x7f
I/bluetooth_ScoSocket.cpp( 1413): Entry name = Motorola HF850 ScoTypes = 0x7
D/dalvikvm( 1413): GC_EXPLICIT freed 17K, 66% free 355K/1024K, external 0K/0K, paused 7ms
D/dalvikvm( 1413): GC_EXPLICIT freed 26K, 63% free 382K/1024K, external 0K/0K, paused 11ms
D/dalvikvm( 1413): GC_EXPLICIT freed 21K, 57% free 441K/1024K, external 0K/0K, paused 7ms
W/MediaProfiles( 1413): could not find media config xml file
D/dalvikvm( 1413): GC_EXPLICIT freed 99K, 47% free 547K/1024K, external 0K/0K, paused 26ms
D/dalvikvm( 1413): GC_EXPLICIT freed 272K, 28% free 886K/1219K, external 0K/0K, paused 49ms
D/dalvikvm( 1413): GC_EXPLICIT freed 21K, 24% free 934K/1219K, external 0K/0K, paused 17ms
D/dalvikvm( 1413): GC_EXPLICIT freed 23K, 19% free 1000K/1219K, external 0K/0K, paused 68ms
D/dalvikvm( 1413): GC_EXPLICIT freed 47K, 5% free 1283K/1347K, external 0K/0K, paused 122ms
D/dalvikvm( 1413): GC_EXPLICIT freed 24K, 3% free 1312K/1347K, external 0K/0K, paused 32ms
D/dalvikvm( 1413): GC_EXPLICIT freed 28K, 6% free 1337K/1411K, external 0K/0K, paused 49ms
D/dalvikvm( 1413): GC_EXPLICIT freed 14K, 3% free 1378K/1411K, external 0K/0K, paused 48ms
W/Zygote ( 1413): Class not found for preloading: android.widget.TextView$SelectionModifierCursorController$1
D/dalvikvm( 1413): GC_EXPLICIT freed 28K, 5% free 1404K/1475K, external 0K/0K, paused 29ms
D/dalvikvm( 1413): GC_EXPLICIT freed 31K, 3% free 1442K/1475K, external 0K/0K, paused 32ms
D/dalvikvm( 1413): GC_EXPLICIT freed 38K, 6% free 1460K/1539K, external 0K/0K, paused 70ms
D/dalvikvm( 1413): GC_EXPLICIT freed 41K, 5% free 1474K/1539K, external 0K/0K, paused 53ms
D/dalvikvm( 1413): GC_EXPLICIT freed 55K, 8% free 1488K/1603K, external 0K/0K, paused 49ms
select 928 (sh), adj 0, size 16, to kill
select 937 (init), adj 0, size 43, to kill
select 1234 (servicemanager), adj 0, size 57, to kill
select 1235 (vold), adj 0, size 80, to kill
select 1242 (rild), adj 0, size 114, to kill
select 1411 (mediaserver), adj 0, size 460, to kill
select 1413 (zygote), adj 0, size 3822, to kill
send sigkill to 1413 (zygote), adj 0, size 3822
one_wire_status: 2
request_suspend_state: wakeup (0->0) at 169137854348 (2000-04-13 23:06:56.854981641 UTC)
init: untracked pid 1411 exited
init: untracked pid 1412 exited
I/ServiceManager( 1234): service 'media.audio_flinger' died
I/ServiceManager( 1234): service 'media.audio_policy' died
I/ServiceManager( 1234): service 'media.player' died
I/ServiceManager( 1234): service 'media.camera' died
I/Netd ( 1434): Netd 1.0 starting
D/AndroidRuntime( 1435):
D/AndroidRuntime( 1435): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 1435): CheckJNI is ON
I/ ( 1433): ServiceManager: 0xad50
E/AudioHardwareALSA( 1433): ALSALib: external/alsa-lib/src/control/control.c:902:(snd_ctl_open_noupdate) Invalid CTL AndroidOut
W/AudioHardwareALSA( 1433): Unable to attach mixer to device AndroidOut: No such file or directory
E/AudioHardwareALSA( 1433): Unable to attach mixer to device default: No such file or directory
E/AudioHardwareALSA( 1433): ALSALib: external/alsa-lib/src/control/control.c:902:(snd_ctl_open_noupdate) Invalid CTL AndroidIn
W/AudioHardwareALSA( 1433): Unable to attach mixer to device AndroidIn: No such file or directory
E/AudioHardwareALSA( 1433): Unable to attach mixer to device default: No such file or directory
W/AudioHardwareALSA( 1433): ALSA Mixer is not valid. AudioFlinger will do software volume control.
W/AudioHardwareALSA( 1433): ALSA Mixer is not valid. AudioFlinger will do software volume control.
I/CameraService( 1433): CameraService started (pid=1433)
D/AudioHardwareALSA( 1433): openOutputStream called for devices: 0x00000002
D/ALSAModule( 1433): open called for devices 00000002 in mode 0...
E/AudioHardwareALSA( 1433): ALSALib: external/alsa-lib/src/confmisc.c:768:(parse_card) cannot find card '0'
E/AudioHardwareALSA( 1433): ALSALib: external/alsa-lib/src/conf.c:4154:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
E/AudioHardwareALSA( 1433): ALSALib: external/alsa-lib/src/confmisc.c:392:(snd_func_concat) error evaluating strings
E/AudioHardwareALSA( 1433): ALSALib: external/alsa-lib/src/conf.c:4154:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
E/AudioHardwareALSA( 1433): ALSALib: external/alsa-lib/src/confmisc.c:1251:(snd_func_refer) error evaluating name
E/AudioHardwareALSA( 1433): ALSALib: external/alsa-lib/src/conf.c:4154:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
E/AudioHardwareALSA( 1433): ALSALib: external/alsa-lib/src/conf.c:4633:(snd_config_expand) Evaluate error: No such file or directory
E/AudioHardwareALSA( 1433): ALSALib: external/alsa-lib/src/pcm/pcm.c:2210:(snd_pcm_open_noupdate) Unknown PCM default
E/ALSAModule( 1433): Failed to Initialize any ALSA PLAYBACK device: Unknown error: -2
E/AudioPolicyManagerBase( 1433): Failed to initialize hardware output stream, samplingRate: 0, format 0, channels 0
I/SamplingProfilerIntegration( 1435): Profiler is disabled.
I/Zygote ( 1435): Preloading classes...
D/dalvikvm( 1435): GC_EXPLICIT freed 47K, 78% free 233K/1024K, external 0K/0K, paused 4ms
D/dalvikvm( 1435): GC_EXPLICIT freed 1K, 73% free 284K/1024K, external 0K/0K, paused 5ms
D/dalvikvm( 1435): GC_EXPLICIT freed 20K, 70% free 317K/1024K, external 0K/0K, paused 5ms
I/bluetooth_ScoSocket.cpp( 1435): Entry name = MY-CAR ScoTypes = 0x7f
I/bluetooth_ScoSocket.cpp( 1435): Entry name = Motorola HF850 ScoTypes = 0x7
D/dalvikvm( 1435): GC_EXPLICIT freed 17K, 66% free 355K/1024K, external 0K/0K, paused 16ms
D/dalvikvm( 1435): GC_EXPLICIT freed 26K, 63% free 382K/1024K, external 0K/0K, paused 6ms
D/dalvikvm( 1435): GC_EXPLICIT freed 21K, 57% free 441K/1024K, external 0K/0K, paused 9ms
W/MediaProfiles( 1435): could not find media config xml file
本人菜鸟,求大神指点迷津。