Ошибки при загрузке пользовательского образа Android для платформы Tegra - PullRequest
2 голосов
/ 24 мая 2011

Ошибки при загрузке пользовательского образа Android для платформы Tegra

Я пытаюсь установить собственный образ андроида на доску tegra 250.

Для этого я скачал исходники Android с сайта nv-tegra.nvidia.com и создаю собственное изображение.

Теперь я пытаюсь прошить наше собственное изображение с помощью утилиты flash, предоставленной nvidia.

Когда я просто прошиваю system.img и сохраняю ядро ​​таким же, как предоставлено nvidia, я получаю следующие ошибки во время загрузки. В этом случае система находится в состоянии зависания, а экран пуст.

Выход Logcat:

D/AndroidRuntime( 1805): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
D/AndroidRuntime( 1805): CheckJNI is ON
D/dalvikvm( 1805): creating instr width table
D/AndroidRuntime( 1805): --- registering native functions ---
I/SamplingProfilerIntegration( 1805): Profiler is disabled.
I/Zygote  ( 1805): Preloading classes...

E/Zygote  ( 1805): setreuid() failed. errno: 30

D/dalvikvm( 1805): GC_EXPLICIT freed 821 objects / 47496 bytes in 1ms
D/dalvikvm( 1805): GC_EXPLICIT freed 219 objects / 13600 bytes in 1ms
I/bluetooth_ScoSocket.cpp( 1805): Entry name = MY-CAR ScoTypes = 0x7f
I/bluetooth_ScoSocket.cpp( 1805): Entry name = Motorola HF850 ScoTypes = 0x7
D/dalvikvm( 1805): GC_EXPLICIT freed 253 objects / 14360 bytes in 1ms
D/dalvikvm( 1805): GC_EXPLICIT freed 466 objects / 28880 bytes in 2ms
D/dalvikvm( 1805): GC_EXPLICIT freed 2090 objects / 108352 bytes in 3ms

W/MediaProfiles( 1805): could not find media config xml file

D/dalvikvm( 1805): GC_EXPLICIT freed 264 objects / 15104 bytes in 3ms
D/dalvikvm( 1805): GC_FOR_MALLOC freed 5081 objects / 225952 bytes in 5ms
D/dalvikvm( 1805): GC_FOR_MALLOC freed 11277 objects / 382552 bytes in 7ms
D/dalvikvm( 1805): GC_FOR_MALLOC freed 9789 objects / 461648 bytes in 8ms
D/dalvikvm( 1805): GC_FOR_MALLOC freed 8711 objects / 423216 bytes in 9ms
D/dalvikvm( 1805): GC_FOR_MALLOC freed 7696 objects / 460744 bytes in 9ms
D/dalvikvm( 1805): GC_FOR_MALLOC freed 7196 objects / 460080 bytes in 9ms
D/dalvikvm( 1805): GC_FOR_MALLOC freed 8264 objects / 457520 bytes in 9ms
D/dalvikvm( 1805): GC_FOR_MALLOC freed 6875 objects / 455480 bytes in 9ms
D/dalvikvm( 1805): GC_EXPLICIT freed 1347 objects / 89480 bytes in 9ms
D/dalvikvm( 1805): GC_EXPLICIT freed 598 objects / 29376 bytes in 9ms
D/dalvikvm( 1805): GC_EXPLICIT freed 449 objects / 25120 bytes in 9ms
D/        ( 1804): 2s elapsed in InitFifo; is daemon started?
D/dalvikvm( 1805): GC_EXPLICIT freed 306 objects / 35040 bytes in 13ms
D/dalvikvm( 1805): GC_EXPLICIT freed 279 objects / 19072 bytes in 13ms
D/dalvikvm( 1805): GC_EXPLICIT freed 341 objects / 18552 bytes in 13ms
D/dalvikvm( 1805): GC_EXPLICIT freed 449 objects / 28312 bytes in 13ms
D/dalvikvm( 1805): GC_EXPLICIT freed 527 objects / 52888 bytes in 15ms
D/dalvikvm( 1805): GC_EXPLICIT freed 623 objects / 34000 bytes in 15ms
D/dalvikvm( 1805): GC_EXPLICIT freed 861 objects / 46888 bytes in 15ms
D/dalvikvm( 1805): GC_EXPLICIT freed 1747 objects / 85496 bytes in 15ms
D/dalvikvm( 1805): GC_EXPLICIT freed 447 objects / 29456 bytes in 16ms
D/dalvikvm( 1805): GC_EXPLICIT freed 315 objects / 20128 bytes in 16ms
I/Zygote  ( 1805): ...preloaded 1265 classes in 1373ms.
E/Zygote  ( 1805): setreuid() failed. errno: 30
D/dalvikvm( 1805): GC_EXPLICIT freed 104 objects / 14208 bytes in 16ms
I/Zygote  ( 1805): Preloading resources...
D/dalvikvm( 1805): GC_EXPLICIT freed 312 objects / 15568 bytes in 16ms
W/Zygote  ( 1805): Preloaded drawable resource #0x10801e8 (res/drawable-mdpi/jog_tab_bar_left_end_confirm_gray.9.png) that varies with configuration!!

W/Zygote  ( 1805): Preloaded drawable resource #0x10801ec (res/drawable-mdpi/jog_tab_bar_left_end_normal.9.png) that varies with configuration!!
W/Zygote  ( 1805): Preloaded drawable resource #0x10801ed (res/drawable-mdpi/jog_tab_bar_left_end_pressed.9.png) that varies with configuration!!
W/Zygote  ( 1805): Preloaded drawable resource #0x10801f1 (res/drawable-mdpi/jog_tab_bar_right_end_confirm_gray.9.png) that varies with configuration!
!
W/Zygote  ( 1805): Preloaded drawable resource #0x10801f5 (res/drawable-mdpi/jog_tab_bar_right_end_normal.9.png) that varies with configuration!!
W/Zygote  ( 1805): Preloaded drawable resource #0x10801f6 (res/drawable-mdpi/jog_tab_bar_right_end_pressed.9.png) that varies with configuration!!
D/dalvikvm( 1805): GC_EXPLICIT freed 392 objects / 23912 bytes in 16ms
W/Zygote  ( 1805): Preloaded drawable resource #0x10801fb (res/drawable-mdpi/jog_tab_left_confirm_gray.png) that varies with configuration!!
W/Zygote  ( 1805): Preloaded drawable resource #0x1080200 (res/drawable-mdpi/jog_tab_left_normal.png) that varies with configuration!!
W/Zygote  ( 1805): Preloaded drawable resource #0x1080201 (res/drawable-mdpi/jog_tab_left_pressed.png) that varies with configuration!!
W/Zygote  ( 1805): Preloaded drawable resource #0x1080203 (res/drawable-mdpi/jog_tab_right_confirm_gray.png) that varies with configuration!!
W/Zygote  ( 1805): Preloaded drawable resource #0x1080209 (res/drawable-mdpi/jog_tab_right_normal.png) that varies with configuration!!
W/Zygote  ( 1805): Preloaded drawable resource #0x108020a (res/drawable-mdpi/jog_tab_right_pressed.png) that varies with configuration!!
I/Zygote  ( 1805): ...preloaded 61 resources in 114ms.
I/Zygote  ( 1805): ...preloaded 15 resources in 3ms.
D/dalvikvm( 1805): GC_EXPLICIT freed 331 objects / 19968 bytes in 16ms
D/dalvikvm( 1805): GC_EXPLICIT freed 111 objects / 4392 bytes in 16ms
D/dalvikvm( 1805): GC_EXPLICIT freed 2 objects / 48 bytes in 16ms
I/dalvikvm( 1805): System server process 1808 has been created
I/Zygote  ( 1805): Accepting command socket connections
E/BatteryService( 1808): usbOnlinePath not found
I/sysproc ( 1808): Entered system_init()
I/sysproc ( 1808): ServiceManager: 0x11e058
I/SurfaceFlinger( 1808): SurfaceFlinger is starting
I/SurfaceFlinger( 1808): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...

Когда я заменяю образ ядра (boot.img) вместе с system.img, я получаю следующие ошибки. В этом случае система просто продолжает перезагружаться.

Выход Logcat:

- waiting for device -
--------- beginning of /dev/log/main
I/DEBUG   (  956): debuggerd: May 21 2011 00:17:27
E/dhcpcd  (  967): fopen `/system/etc/dhcpcd/dhcpcd.conf': Permission denied
E/logwrapper(  966): Usage: logwrapper [-x] BINARY [ARGS ...]
E/logwrapper(  966):
E/logwrapper(  966): Forks and executes BINARY ARGS, redirecting stdout and stderr to
E/logwrapper(  966): the Android logging system. Tag is set to BINARY, priority is
E/logwrapper(  966): always LOG_INFO.
E/logwrapper(  966):
E/logwrapper(  966): -x: Causes logwrapper to SIGSEGV when BINARY terminates
E/logwrapper(  966):     fault address is set to the status of wait()
--------- beginning of /dev/log/system
I/Vold    (  954): Vold 2.1 (the revenge) firing up
E/Vold    (  954): Error reading configuration (No such file or directory)... continuing anyways
D/AndroidRuntime(  978):
D/AndroidRuntime(  978): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
D/AndroidRuntime(  978): CheckJNI is ON
D/dalvikvm(  978): creating instr width table
D/dalvikvm(  978): Unable to stat classpath element '/system/framework/core.jar'
D/dalvikvm(  978): Unable to stat classpath element '/system/framework/ext.jar'
D/dalvikvm(  978): Unable to stat classpath element '/system/framework/framework.jar'
D/dalvikvm(  978): Unable to stat classpath element '/system/framework/android.policy.jar'
D/dalvikvm(  978): Unable to stat classpath element '/system/framework/services.jar'
D/dalvikvm(  978): Unable to stat classpath element '/system/framework/com.nvidia.graphics.jar'
E/dalvikvm(  978): ERROR: no valid entries found in bootclasspath '/system/framework/core.jar:/system/framework/ext.jar:/system/framework/framework.ja
r:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/com.nvidia.graphics.jar'
W/dalvikvm(  978): JNI_CreateJavaVM failed
E/AndroidRuntime(  978): JNI_CreateJavaVM failed
E/logwrapper( 1018): Usage: logwrapper [-x] BINARY [ARGS ...]
E/logwrapper( 1018):
E/logwrapper( 1018): Forks and executes BINARY ARGS, redirecting stdout and stderr to
E/logwrapper( 1018): the Android logging system. Tag is set to BINARY, priority is
E/logwrapper( 1018): always LOG_INFO.
E/logwrapper( 1018):
E/logwrapper( 1018): -x: Causes logwrapper to SIGSEGV when BINARY terminates
E/logwrapper( 1018):     fault address is set to the status of wait()
D/AndroidRuntime( 1013):
D/AndroidRuntime( 1013): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
D/AndroidRuntime( 1013): CheckJNI is ON
D/dalvikvm( 1013): creating instr width table
D/dalvikvm( 1013): Unable to stat classpath element '/system/framework/core.jar'
D/dalvikvm( 1013): Unable to stat classpath element '/system/framework/ext.jar'
D/dalvikvm( 1013): Unable to stat classpath element '/system/framework/framework.jar'
D/dalvikvm( 1013): Unable to stat classpath element '/system/framework/android.policy.jar'
D/dalvikvm( 1013): Unable to stat classpath element '/system/framework/services.jar'
D/dalvikvm( 1013): Unable to stat classpath element '/system/framework/com.nvidia.graphics.jar'
E/dalvikvm( 1013): ERROR: no valid entries found in bootclasspath '/system/framework/core.jar:/system/framework/ext.jar:/system/framework/framework.ja
r:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/com.nvidia.graphics.jar'
W/dalvikvm( 1013): JNI_CreateJavaVM failed
E/AndroidRuntime( 1013): JNI_CreateJavaVM failed
D/AndroidRuntime( 1030):
D/AndroidRuntime( 1030): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
D/AndroidRuntime( 1030): CheckJNI is ON
D/dalvikvm( 1030): creating instr width table
D/dalvikvm( 1030): Unable to stat classpath element '/system/framework/core.jar'
D/dalvikvm( 1030): Unable to stat classpath element '/system/framework/ext.jar'
D/dalvikvm( 1030): Unable to stat classpath element '/system/framework/framework.jar'
D/dalvikvm( 1030): Unable to stat classpath element '/system/framework/android.policy.jar'
D/dalvikvm( 1030): Unable to stat classpath element '/system/framework/services.jar'
D/dalvikvm( 1030): Unable to stat classpath element '/system/framework/com.nvidia.graphics.jar'
E/dalvikvm( 1030): ERROR: no valid entries found in bootclasspath '/system/framework/core.jar:/system/framework/ext.jar:/system/framework/framework.ja
r:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/com.nvidia.graphics.jar'
W/dalvikvm( 1030): JNI_CreateJavaVM failed
E/AndroidRuntime( 1030): JNI_CreateJavaVM failed
E/logwrapper( 1039): Usage: logwrapper [-x] BINARY [ARGS ...]
E/logwrapper( 1039):
E/logwrapper( 1039): Forks and executes BINARY ARGS, redirecting stdout and stderr to
E/logwrapper( 1039): the Android logging system. Tag is set to BINARY, priority is
E/logwrapper( 1039): always LOG_INFO.
E/logwrapper( 1039):
E/logwrapper( 1039): -x: Causes logwrapper to SIGSEGV when BINARY terminates
E/logwrapper( 1039):     fault address is set to the status of wait()
------------------------------------------------------------------------

1 Ответ

0 голосов
/ 14 мая 2013

Android-источник на http://nv -tegra.nvidia.com выглядит странно, большинство проектов Android очень старые, вероятно, их источник Android также неполон.Я вижу только примеры проектов устройств и вендоров.Лучше использовать конфиги устройств на основе aosp или cyanogenmod tegra в качестве начала для вашей доски.

...