This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x rootfile system source code is not getting compile

Hi,

I am working on AM335x EVM board and followed exactly same step to fetch code from TI repository.

system configuration:

ubuntu 11.04 , Java 1.6.0_26, Path set according to the TI instruction.

I am able to get the latest code by performing "repo sync " .

Problems:

u-boot compilation worked with some warning.

Kernel source code got compiled and got uImage

Root filesystem compilation failed with follwing error:

target Generated: libwebcore <= external/webkit/WebCore/xml/XMLHttpRequestProgressEvent.idl
target Generated: libwebcore <= external/webkit/WebCore/xml/XMLHttpRequestUpload.idl
target Generated: libwebcore <= external/webkit/WebCore/xml/XMLSerializer.idl
target Generated: libwebcore <= external/webkit/WebCore/xml/XPathNSResolver.idl
target Generated: libwebcore <= external/webkit/WebCore/xml/XPathException.idl
target Generated: libwebcore <= external/webkit/WebCore/xml/XPathResult.idl
target Generated: libwebcore <= external/webkit/WebCore/inspector/InjectedScriptHost.idl
target Generated: libwebcore <= external/webkit/WebCore/inspector/InspectorBackend.idl
target Generated: libwebcore <= external/webkit/WebCore/notifications/Notification.idl
target Generated: libwebcore <= external/webkit/WebCore/inspector/InspectorFrontendHost.idl
target Generated: libwebcore <= external/webkit/WebCore/notifications/NotificationCenter.idl
target Generated: libwebcore <= external/webkit/WebCore/websockets/WebSocket.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/make_names.pl
target Generated: libwebcore <= external/webkit/WebCore/dom/make_names.pl
target Generated: libwebcore <= external/webkit/WebCore/dom/make_names.pl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLEntityNames.gperf
target Generated: libwebcore <= external/webkit/WebCore/platform/ColorData.gperf
target Generated: libwebcore <= external/webkit/WebCore/dom/make_names.pl
target Generated: libwebcore <= external/webkit/WebCore/dom/make_names.pl
target Generated: libwebcore <= external/webkit/WebCore/dom/make_names.pl
target Generated: libwebcore <= external/webkit/WebCore/dom/make_names.pl
target Generated: libwebcore <= external/webkit/WebCore/dom/make_names.pl
target Generated: libwebcore <= external/webkit/JavaScriptCore/pcre/pcre_internal.h
target Generated: libwebcore <= external/webkit/WebCore/css/tokenizer.flex
target Generated: libwebcore <= external/webkit/WebCore/html/DocTypeStrings.gperf
Notice file: external/webkit/NOTICE -- out/target/product/am335xevm/obj/NOTICE_FILES/src//system/lib/libwebcore.so.txt
Notice file: external/webkit/NOTICE -- out/target/product/am335xevm/obj/NOTICE_FILES/src//system/lib/libwebcore.a.txt
Notice file: external/libxml2/NOTICE -- out/target/product/am335xevm/obj/NOTICE_FILES/src//system/lib/libxml2.a.txt
Notice file: frameworks/base/cmds/backup/NOTICE -- out/target/product/am335xevm/obj/NOTICE_FILES/src//system/xbin/btool.txt
Notice file: system/extras/tests/cpueater/NOTICE -- out/target/product/am335xevm/obj/NOTICE_FILES/src//system/xbin/cpueater.txt
Notice file: system/core/debuggerd/NOTICE -- out/target/product/am335xevm/obj/NOTICE_FILES/src//system/xbin/crasher.txt
Notice file: system/extras/tests/cpueater/NOTICE -- out/target/product/am335xevm/obj/NOTICE_FILES/src//system/xbin/daemonize.txt
Notice file: system/extras/latencytop/NOTICE -- out/target/product/am335xevm/obj/NOTICE_FILES/src//system/xbin/latencytop.txt
Notice file: system/extras/librank/NOTICE -- out/target/product/am335xevm/obj/NOTICE_FILES/src//system/xbin/librank.txt
Notice file: external/netcat/NOTICE -- out/target/product/am335xevm/obj/NOTICE_FILES/src//system/xbin/nc.txt
Notice file: external/netperf/NOTICE -- out/target/product/am335xevm/obj/NOTICE_FILES/src//system/xbin/netperf.txt
Notice file: external/netperf/NOTICE -- out/target/product/am335xevm/obj/NOTICE_FILES/src//system/xbin/netserver.txt
Notice file: system/extras/procmem/NOTICE -- out/target/product/am335xevm/obj/NOTICE_FILES/src//system/xbin/procmem.txt
Notice file: system/extras/procrank/NOTICE -- out/target/product/am335xevm/obj/NOTICE_FILES/src//system/xbin/procrank.txt
Notice file: frameworks/base/cmds/rawbu/NOTICE -- out/target/product/am335xevm/obj/NOTICE_FILES/src//system/xbin/rawbu.txt
Notice file: external/dropbear/NOTICE -- out/target/product/am335xevm/obj/NOTICE_FILES/src//system/xbin/scp.txt
Notice file: system/extras/showmap/NOTICE -- out/target/product/am335xevm/obj/NOTICE_FILES/src//system/xbin/showmap.txt
Notice file: system/extras/showslab/NOTICE -- out/target/product/am335xevm/obj/NOTICE_FILES/src//system/xbin/showslab.txt
Notice file: external/sqlite/dist/NOTICE -- out/target/product/am335xevm/obj/NOTICE_FILES/src//system/xbin/sqlite3.txt
Notice file: external/dropbear/NOTICE -- out/target/product/am335xevm/obj/NOTICE_FILES/src//system/xbin/ssh.txt
Notice file: external/strace/NOTICE -- out/target/product/am335xevm/obj/NOTICE_FILES/src//system/xbin/strace.txt
Notice file: system/extras/su/NOTICE -- out/target/product/am335xevm/obj/NOTICE_FILES/src//system/xbin/su.txt
Notice file: external/libpcap/NOTICE -- out/target/product/am335xevm/obj/NOTICE_FILES/src//system/lib/libpcap.a.txt
Notice file: external/tcpdump/NOTICE -- out/target/product/am335xevm/obj/NOTICE_FILES/src//system/xbin/tcpdump.txt
Notice file: system/extras/timeinfo/NOTICE -- out/target/product/am335xevm/obj/NOTICE_FILES/src//system/xbin/timeinfo.txt
Notice file: system/core/debuggerd/NOTICE -- out/target/product/am335xevm/obj/NOTICE_FILES/src//system/xbin/vfp-crasher.txt
host Java: core-hostdex (out/host/common/obj/JAVA_LIBRARIES/core-hostdex_intermediates/classes)
host Java: cts-api-coverage (out/host/common/obj/JAVA_LIBRARIES/cts-api-coverage_intermediates/classes)
host Java: host-libprotobuf-java-2.3.0-lite (out/host/common/obj/JAVA_LIBRARIES/host-libprotobuf-java-2.3.0-lite_intermediates/classes)
host Java: host-libprotobuf-java-2.3.0-micro (out/host/common/obj/JAVA_LIBRARIES/host-libprotobuf-java-2.3.0-micro_intermediates/classes)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Generated: (out/target/product/am335xevm/android-info.txt)
host C: acp <= build/tools/acp/acp.c
host C: libhost <= build/libs/host/CopyFile.c
host C++: libhost <= build/libs/host/pseudolocalize.cpp
target Generated: libclearsilver-jni <= out/host/common/obj/JAVA_LIBRARIES/clearsilver_intermediates/javalib.jar
host C: libneo_util <= external/clearsilver/util/neo_err.c
target Generated: libclearsilver-jni <= out/host/common/obj/JAVA_LIBRARIES/clearsilver_intermediates/javalib.jar
host C: libneo_util <= external/clearsilver/util/neo_files.c
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
host C: libneo_util <= external/clearsilver/util/neo_misc.c
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
host C: libneo_util <= external/clearsilver/util/neo_rand.c
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
host C: libneo_util <= external/clearsilver/util/ulist.c
host C: libneo_util <= external/clearsilver/util/neo_hdf.c
host C: libneo_util <= external/clearsilver/util/neo_str.c
host C: libneo_util <= external/clearsilver/util/neo_date.c
host C: libneo_util <= external/clearsilver/util/wildmat.c
host C: libneo_util <= external/clearsilver/util/ulocks.c
host C: libneo_util <= external/clearsilver/util/neo_hash.c
host C: libneo_cs <= external/clearsilver/cs/csparse.c
host C: libneo_cgi <= external/clearsilver/cgi/cgiwrap.c
host C: libneo_cgi <= external/clearsilver/cgi/cgi.c
host C: libneo_cgi <= external/clearsilver/cgi/html.c
host C: libneo_cgi <= external/clearsilver/cgi/date.c
host C: libneo_cgi <= external/clearsilver/cgi/rfc2388.c
host C++: aapt <= frameworks/base/tools/aapt/AaptAssets.cpp
host C++: aapt <= frameworks/base/tools/aapt/Command.cpp
host C++: aapt <= frameworks/base/tools/aapt/Package.cpp
host C++: aapt <= frameworks/base/tools/aapt/Main.cpp
host C++: aapt <= frameworks/base/tools/aapt/StringPool.cpp
host C++: aapt <= frameworks/base/tools/aapt/ResourceTable.cpp
host C++: aapt <= frameworks/base/tools/aapt/XMLNode.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition

<built-in>:0:0: note: this is the location of the previous definition
host C++: aapt <= frameworks/base/tools/aapt/Images.cpp
host C++: aapt <= frameworks/base/tools/aapt/Resource.cpp
host C++: aapt <= frameworks/base/tools/aapt/SourcePos.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
host C++: aapt <= frameworks/base/tools/aapt/ZipEntry.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]host C++: aapt <= frameworks/base/tools/aapt/ZipFile.cpp

<built-in>:0:0: note: this is the location of the previous definition

<built-in>:0:0: note: this is the location of the previous definition
host C++: libutils <= frameworks/base/libs/utils/Asset.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]host C++: libutils <= frameworks/base/libs/utils/AssetDir.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]host C++: libutils <= frameworks/base/libs/utils/AssetManager.cpp

<built-in>:0:0: note: this is the location of the previous definition

<built-in>:0:0: note: this is the location of the previous definition

<built-in>:0:0: note: this is the location of the previous definition
host C++: libutils <= frameworks/base/libs/utils/BufferedTextOutput.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
host C++: libutils <= frameworks/base/libs/utils/CallStack.cpp
host C++: libutils <= frameworks/base/libs/utils/FileMap.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]host C++: libutils <= frameworks/base/libs/utils/Debug.cpp

<built-in>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition

<built-in>:0:0: note: this is the location of the previous definition
host C++: libutils <= frameworks/base/libs/utils/Flattenable.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]host C++: libutils <= frameworks/base/libs/utils/ObbFile.cpp

<built-in>:0:0: note: this is the location of the previous definition
host C++: libutils <= frameworks/base/libs/utils/RefBase.cpp
host C++: libutils <= frameworks/base/libs/utils/Pool.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition

<built-in>:0:0: note: this is the location of the previous definitionhost C++: libutils <= frameworks/base/libs/utils/ResourceTypes.cpp

host C++: libutils <= frameworks/base/libs/utils/SharedBuffer.cpp
host C++: libutils <= frameworks/base/libs/utils/Static.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]host C++: libutils <= frameworks/base/libs/utils/StopWatch.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition

<built-in>:0:0: note: this is the location of the previous definition

<built-in>:0:0: note: this is the location of the previous definition
host C++: libutils <= frameworks/base/libs/utils/StreamingZipInflater.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
host C++: libutils <= frameworks/base/libs/utils/String8.cpp
host C++: libutils <= frameworks/base/libs/utils/String16.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]host C++: libutils <= frameworks/base/libs/utils/StringArray.cpp

<built-in>:0:0: note: this is the location of the previous definition
host C++: libutils <= frameworks/base/libs/utils/SystemClock.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
host C++: libutils <= frameworks/base/libs/utils/TextOutput.cpp
host C++: libutils <= frameworks/base/libs/utils/Threads.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
host C++: libutils <= frameworks/base/libs/utils/VectorImpl.cpp
host C++: libutils <= frameworks/base/libs/utils/Timers.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
host C++: libutils <= frameworks/base/libs/utils/ZipFileCRO.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]host C++: libutils <= frameworks/base/libs/utils/ZipFileRO.cpp

<built-in>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
In file included from frameworks/base/tools/aapt/ZipFile.cpp:26:0:
frameworks/base/tools/aapt/ZipFile.h:65:5: warning: ‘typedef’ was ignored in this declaration [enabled by default]
host C++: libutils <= frameworks/base/libs/utils/ZipUtils.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
host C: liblog <= system/core/liblog/logd_write.c
host C++: libutils <= frameworks/base/libs/utils/misc.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]host C: liblog <= system/core/liblog/logprint.c
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
host C: liblog <= system/core/liblog/fake_log_device.c
host C: liblog <= system/core/liblog/event_tag_map.c

<built-in>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]host C: libcutils <= system/core/libcutils/atomic.c

<built-in>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
host C: libcutils <= system/core/libcutils/array.c

<built-in>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
host C: libcutils <= system/core/libcutils/hashmap.c
host C: libcutils <= system/core/libcutils/native_handle.c
host C: libcutils <= system/core/libcutils/buffer.c
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
host C: libcutils <= system/core/libcutils/socket_inaddr_any_server.c
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
host C: libcutils <= system/core/libcutils/socket_local_client.c
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
host C: libcutils <= system/core/libcutils/socket_local_server.c
host C: libcutils <= system/core/libcutils/socket_loopback_server.c
host C: libcutils <= system/core/libcutils/socket_loopback_client.c
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]host C: libcutils <= system/core/libcutils/socket_network_client.c
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition

<built-in>:0:0: note: this is the location of the previous definition
host C: libcutils <= system/core/libcutils/config_utils.c
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition

<built-in>:0:0: note: this is the location of the previous definition
host C: libcutils <= system/core/libcutils/cpu_info.c
host C: libcutils <= system/core/libcutils/load_file.c
host C: libcutils <= system/core/libcutils/open_memstream.c
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]system/core/liblog/logd_write.c: In function ‘__write_to_log_kernel’:

<built-in>:0:0: note: this is the location of the previous definition
system/core/liblog/logd_write.c:90:9: warning: implicit declaration of function ‘fakeLogWritev’ [-Wimplicit-function-declaration]
system/core/liblog/logd_write.c: In function ‘__write_to_log_init’:

system/core/liblog/logd_write.c:103:9: warning: implicit declaration of function ‘fakeLogOpen’ [-Wimplicit-function-declaration]
system/core/liblog/logd_write.c:112:13: warning: implicit declaration of function ‘fakeLogClose’ [-Wimplicit-function-declaration]<built-in>:0:0: note: this is the location of the previous definition

host C: libcutils <= system/core/libcutils/strdup16to8.c
host C: libcutils <= system/core/libcutils/record_stream.c
In file included from frameworks/base/tools/aapt/AaptAssets.h:18:0,
                 from frameworks/base/tools/aapt/AaptAssets.cpp:5:
frameworks/base/tools/aapt/ZipFile.h:65:5: warning: ‘typedef’ was ignored in this declaration [enabled by default]
host C: libcutils <= system/core/libcutils/strdup8to16.c
host C: libcutils <= system/core/libcutils/process_name.c
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
In file included from frameworks/base/tools/aapt/AaptAssets.h:18:0,
                 from frameworks/base/tools/aapt/Main.h:14,
                 from frameworks/base/tools/aapt/Main.cpp:6:
frameworks/base/tools/aapt/ZipFile.h:65:5: warning: ‘typedef’ was ignored in this declaration [enabled by default]
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]host C: libcutils <= system/core/libcutils/properties.c

<built-in>:0:0: note: this is the location of the previous definition
frameworks/base/libs/utils/RefBase.cpp: In member function ‘void android::RefBase::weakref_type::trackMe(bool, bool)’:
frameworks/base/libs/utils/RefBase.cpp:483:67: error: passing ‘const android::RefBase::weakref_impl’ as ‘this’ argument of ‘void android::RefBase::weakref_impl::trackMe(bool, bool)’ discards qualifiers [-fpermissive]
host C: libcutils <= system/core/libcutils/threads.c
host C: libcutils <= system/core/libcutils/sched_policy.c
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]host C: libcutils <= system/core/libcutils/iosched_policy.c
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libutils_intermediates/RefBase.o] Error 1
make: *** Waiting for unfinished jobs....

<built-in>:0:0: note: this is the location of the previous definition
host C: libcutils <= system/core/libcutils/abort_socket.c
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
In file included from frameworks/base/tools/aapt/AaptAssets.h:18:0,
                 from frameworks/base/tools/aapt/Main.h:14,
                 from frameworks/base/tools/aapt/StringPool.h:10,
                 from frameworks/base/tools/aapt/StringPool.cpp:7:
frameworks/base/tools/aapt/ZipFile.h:65:5: warning: ‘typedef’ was ignored in this declaration [enabled by default]
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
In file included from frameworks/base/tools/aapt/AaptAssets.h:18:0,
                 from frameworks/base/tools/aapt/Main.h:14,
                 from frameworks/base/tools/aapt/Package.cpp:6:
frameworks/base/tools/aapt/ZipFile.h:65:5: warning: ‘typedef’ was ignored in this declaration [enabled by default]
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]In file included from frameworks/base/tools/aapt/AaptAssets.h:18:0,
                 from frameworks/base/tools/aapt/Main.h:14,
                 from frameworks/base/tools/aapt/Command.cpp:6:
frameworks/base/tools/aapt/ZipFile.h:65:5: warning: ‘typedef’ was ignored in this declaration [enabled by default]
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition

<built-in>:0:0: note: this is the location of the previous definition

<built-in>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
In file included from frameworks/base/tools/aapt/AaptAssets.h:18:0,
                 from frameworks/base/tools/aapt/Main.h:14,
                 from frameworks/base/tools/aapt/StringPool.h:10,
                 from frameworks/base/tools/aapt/ResourceTable.h:10,
                 from frameworks/base/tools/aapt/ResourceTable.cpp:7:
frameworks/base/tools/aapt/ZipFile.h:65:5: warning: ‘typedef’ was ignored in this declaration [enabled by default]
In file included from frameworks/base/tools/aapt/AaptAssets.h:18:0,
                 from frameworks/base/tools/aapt/Main.h:14,
                 from frameworks/base/tools/aapt/StringPool.h:10,
                 from frameworks/base/tools/aapt/XMLNode.h:10,
                 from frameworks/base/tools/aapt/XMLNode.cpp:7:
frameworks/base/tools/aapt/ZipFile.h:65:5: warning: ‘typedef’ was ignored in this declaration [enabled by default]
In file included from frameworks/base/tools/aapt/AaptAssets.h:18:0,
                 from frameworks/base/tools/aapt/Main.h:14,
                 from frameworks/base/tools/aapt/StringPool.h:10,
                 from frameworks/base/tools/aapt/ResourceTable.h:10,
                 from frameworks/base/tools/aapt/Images.h:10,
                 from frameworks/base/tools/aapt/Images.cpp:9:
frameworks/base/tools/aapt/ZipFile.h:65:5: warning: ‘typedef’ was ignored in this declaration [enabled by default]
In file included from frameworks/base/tools/aapt/AaptAssets.h:18:0,
                 from frameworks/base/tools/aapt/Main.h:14,
                 from frameworks/base/tools/aapt/Resource.cpp:6:
frameworks/base/tools/aapt/ZipFile.h:65:5: warning: ‘typedef’ was ignored in this declaration [enabled by default]
frameworks/base/tools/aapt/StringPool.cpp: In function ‘void printStringPool(const android::ResStringPool*)’:
frameworks/base/tools/aapt/StringPool.cpp:33:43: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘size_t {aka unsigned int}’ [-Wformat]
frameworks/base/libs/utils/ResourceTypes.cpp: In member function ‘void android::ResTable::print(bool) const’:
frameworks/base/libs/utils/ResourceTypes.cpp:4369:84: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
frameworks/base/libs/utils/ResourceTypes.cpp:4375:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
frameworks/base/tools/aapt/Resource.cpp: In function ‘bool applyFileOverlay(Bundle*, const android::sp<AaptAssets>&, android::sp<ResourceTypeSet>*, const char*)’:
frameworks/base/tools/aapt/Resource.cpp:546:75: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘size_t {aka unsigned int}’ [-Wformat]
frameworks/base/tools/aapt/Resource.cpp:550:78: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘size_t {aka unsigned int}’ [-Wformat]
frameworks/base/tools/aapt/Resource.cpp:566:98: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘size_t {aka unsigned int}’ [-Wformat]
Note: external/protobuf/java/src/main/java/com/google/protobuf/micro/CodedInputStreamMicro.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: external/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

Another thing is I have SD card generated from prebuilt image, EVM logs following message on serial port and EVM boot stuck there..

[  113.269785] er.ServerThread (174): /proc/156/oom_adj is deprecated, please use /proc/156/oom_score_adj instead.
[ 1281.938098] init: sys_prop: mis-match msg size recieved: -1 expected: 128
[ 1430.567696] init: sys_prop: mis-match msg size recieved: -1 expected: 128
[ 7442.228699] init: sys_prop: mis-match msg size recieved: -1 expected: 128
[ 8663.423629] init: sys_prop: mis-match msg size recieved: -1 expected: 128
[10484.542995] init: sys_prop: mis-match msg size recieved: -1 expected: 128
[11170.720865] init: sys_prop: mis-match msg size recieved: -1 expected: 128
[13683.367952] init: sys_prop: mis-match msg size recieved: -1 expected: 128
[23229.845857] init: sys_prop: mis-match msg size recieved: -1 expected: 128
[27802.594561] init: sys_prop: mis-match msg size recieved: -1 expected: 128
[29777.124418] init: sys_prop: mis-match msg size recieved: -1 expected: 128
[33906.264597] init: sys_prop: mis-match msg size recieved: -1 expected: 128
[33980.554992] init: sys_prop: mis-match msg size recieved: -1 expected: 128
[35592.915949] init: sys_prop: mis-match msg size recieved: -1 expected: 128
[46373.679866] init: sys_prop: mis-match msg size recieved: -1 expected: 128
[46528.833433] init: sys_prop: mis-match msg size recieved: -1 expected: 128
 mis-match msg size recieved#

Please let me know if I am missing some steps ...

Thanks

Prasun

  • Hi

    Which manifest file are you using to sync source?

    Please follow below commands to sync sources.

    $ mkdir $HOME/rowboat-android 
    $ cd $HOME/rowboat-android $ repo init -u git://gitorious.org/rowboat/manifest.git -m TI-Android-GingerBread-2.3.4-DevKit-2.1.1.xml
     $ repo sync

    Board should boot with prebuilt image. What is thre revision of your board?

    Please post output of logcat command to debug this further.

    Regards,

    Pankaj Bharadiya

     

  • Thanks for response, I will do repo sync again with your repo init option. This option is not the same as on devloper's page. Let me try that and I will let you know my result.

  • EVM board: Rev 1.1A

  • Hi Prasun,

    Are you using 64-bit OS ( not machine) ? As I got similar kind of build error when I was trying with 64-bit ubuntu.

    Probably you need to follow

    http://source.android.com/source/initializing.html -> search for 64-bit

    Suggested to install extra packages on top of what you have installed already.

    sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev libc6-dev g++-multilib lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev libgl1-mesa-dev

     

    BR,

    satish

  • Hi Pankaj,

    I tried your repo init url and that helped me to fetch right source code, however Compiling Rootfs file with following option doesn't work:

    make TARGET_PRODUCT=am335xevm droid build_kernel wl12xx_compat am335xevm_modules -j, 
    when I do :
    make TARGET_PRODUCT=am335xevm droid build_kernel wl12xx_compat am335xevm_modules -j2, 
    i get compiled and I am able to generate rootfs file.

    Now I got stuck on kernel booting, below is the serial dump:

       Data Size:    2631128 Bytes = 2.5 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       XIP Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.
    [    0.000000] Linux version 3.1.0-g62911f8-dirty (pks@pks-desktop) (gcc version 4.4.3 (GCC) ) #2 Mon Feb 6 17:43:00 EST 2012
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    [    0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine: am335xevm
    [    0.000000] Memory policy: ECC disabled, Data cache writeback
    [    0.000000] AM335X ES1.0 (neon )
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait ip=none
    [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Memory: 256MB = 256MB total
    [    0.000000] Memory: 253292k/253292k available, 8852k reserved, 0K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     DMA     : 0xffa00000 - 0xffe00000   (   4 MB)
    [    0.000000]     vmalloc : 0xd0800000 - 0xf8000000   ( 632 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
    [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc04b5000   (4788 kB)
    [    0.000000]       .init : 0xc04b5000 - 0xc04e9000   ( 208 kB)
    [    0.000000]       .data : 0xc04ea000 - 0xc0532fa0   ( 292 kB)
    [    0.000000]        .bss : 0xc0532fdc - 0xc0669f48   (1244 kB)
    [    0.000000] NR_IRQS:396
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] Total of 128 interrupts on 1 active controller
    [    0.000000] OMAP clockevent source: GPTIMER1 at 24000000 Hz
    [    0.000000] OMAP clocksource: GPTIMER2 at 24000000 Hz
    [    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
    [    0.000000] Console: colour dummy device 80x30
    [    0.000208] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
    [    0.059021] pid_max: default: 32768 minimum: 301
    [    0.059154] Security Framework initialized
    [    0.059222] Mount-cache hash table entries: 512
    [    0.059610] CPU: Testing write buffer coherency: ok
    [    0.063695] print_constraints: dummy:
    [    0.063895] NET: Registered protocol family 16
    [    0.064080] GPMC revision 6.0
    [    0.064891] OMAP GPIO hardware version 0.1
    [    0.065521] omap_l3_smx omap_l3_smx.0: couldn't find resource
    [    0.065613] omap_mux_init: Add partition: #1: core, flags: 0
    [    0.067656]  omap_i2c.1: alias fck already exists
    [    0.068308]  omap2_mcspi.1: alias fck already exists
    [    0.068405]  omap2_mcspi.2: alias fck already exists
    [    0.075493] bio: create slab <bio-0> at 0
    [    0.076317] SCSI subsystem initialized
    [    0.077078] usbcore: registered new interface driver usbfs
    [    0.077171] usbcore: registered new interface driver hub
    [    0.077300] usbcore: registered new device driver usb
    [    0.078000] omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz
    [    0.078659] Advanced Linux Sound Architecture Driver Version 1.0.24.
    [    0.079222] Bluetooth: Core ver 2.16
    [    0.079302] NET: Registered protocol family 31
    [    0.079315] Bluetooth: HCI device and connection manager initialized
    [    0.079333] Bluetooth: HCI socket layer initialized
    [    0.079345] Bluetooth: L2CAP socket layer initialized
    [    0.079375] Bluetooth: SCO socket layer initialized
    [    0.079538] Switching to clocksource gp timer
    [    0.086101] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
    [    0.086263] musb-hdrc musb-hdrc.0: dma type: pio
    [    0.086801] musb-hdrc musb-hdrc.0: USB OTG mode controller at d080a000 using PIO, IRQ 18
    [    0.087060] musb-hdrc musb-hdrc.1: dma type: pio
    [    0.087541] musb-hdrc musb-hdrc.1: USB OTG mode controller at d080c800 using PIO, IRQ 19
    [    0.087832] NET: Registered protocol family 2
    [    0.088035] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.088369] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.088527] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.088623] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.088638] TCP reno registered
    [    0.088651] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.088677] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.088887] NET: Registered protocol family 1
    [    0.089100] Switched to NOHz mode on CPU #0
    [    0.089278] RPC: Registered named UNIX socket transport module.
    [    0.089292] RPC: Registered udp transport module.
    [    0.089302] RPC: Registered tcp transport module.
    [    0.089313] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.089537] NetWinder Floating Point Emulator V0.97 (double precision)
    [    0.089639] omap_init_opp_table: no hwmod or odev for iva, [8] cannot add OPPs.
    [    0.201764] Gpio value is :117
    [    0.202245] ashmem: initialized
    [    0.203060] msgmni has been set to 494
    [    0.203872] io scheduler noop registered
    [    0.203887] io scheduler deadline registered
    [    0.203955] io scheduler cfq registered (default)
    [    0.206129] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [    0.207057] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
    [    0.703308] console [ttyO0] enabled
    [    0.707188] WL1271: BT Enable
    [    0.710490] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    [    0.718048] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    [    0.725699] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    [    0.733291] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    [    0.740846] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    [    0.753502] brd: module loaded
    [    0.759506] loop: module loaded
    [    0.763025] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    0.770958] Detected a daughter card on AM335x EVM..
    [    0.775996] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    0.791404] Board name: A33515BB
    [    0.794767] Board version: 1.1A
    [    0.798037] SKU: SKU#01
    [    0.801147] The board is general purpose EVM in profile 0
    [    0.807445] da8xx_lcdc da8xx_lcdc.0: GLCD: Found TFC_S9700RTWV35TR_01B panel
    [    0.820737] TSC connected to beta GP EVM
    [    0.825497]  omap_i2c.2: alias fck already exists
    [    0.830677] omap_i2c omap_i2c.2: bus 2 rev4.0 at 100 kHz
    [    0.836779]  omap_hsmmc.0: alias fck already exists
    [    0.842068]  omap_hsmmc.2: alias fck already exists
    [    0.847311] Configure Bluetooth Enable pin...
    [    0.851940] _omap_mux_get_by_name: Could not find signal gpmc_a8.gpio1_22
    [    0.860338] omap2-nand driver initializing
    [    0.864976] ONFI flash detected
    [    0.868373] ONFI param page 0 valid
    [    0.872058] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08ABAEAWP)
    [    0.880446] Creating 8 MTD partitions on "omap2-nand.0":
    [    0.885991] 0x000000000000-0x000000020000 : "SPL"
    [    0.892050] 0x000000020000-0x000000040000 : "SPL.backup1"
    [    0.898527] 0x000000040000-0x000000060000 : "SPL.backup2"
    [    0.905025] 0x000000060000-0x000000080000 : "SPL.backup3"
    [    0.911497] 0x000000080000-0x000000260000 : "U-Boot"
    [    0.918216] 0x000000260000-0x000000280000 : "U-Boot Env"
    [    0.924644] 0x000000280000-0x000000780000 : "Kernel"
    [    0.932657] 0x000000780000-0x000010000000 : "File System"
    [    1.042076] OneNAND driver initializing
    [    1.089615] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    [    1.096068] davinci_mdio davinci_mdio.0: detected phy mask fffffffe
    [    1.103387] davinci_mdio.0: probed
    [    1.106944] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
    [    1.114424] Initializing USB Mass Storage driver...
    [    1.119627] usbcore: registered new interface driver usb-storage
    [    1.125885] USB Mass Storage support registered.
    [    1.132507]  gadget: Mass Storage Function, version: 2009/09/11
    [    1.138684]  gadget: Number of LUNs=1
    [    1.142544]  lun0: LUN: removable file: (no medium)
    [    1.147847]  gadget: android_usb ready
    [    1.151812] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [    1.157359] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    [    1.165668] hub 1-0:1.0: USB hub found
    [    1.169634] hub 1-0:1.0: 1 port detected
    [    1.174181] mousedev: PS/2 mouse device common for all mice
    [    1.180580] input: matrix-keypad as /devices/platform/matrix-keypad/input/input0
    [    1.189230] input: ti-tsc-adcc as /devices/platform/tsc/input/input1
    [    1.197253] using rtc device, omap_rtc, for alarms
    [    1.202159] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
    [    1.209062] i2c /dev entries driver
    [    1.213641] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    1.220173] device-mapper: uevent: version 1.0.3
    [    1.225172] device-mapper: ioctl: 4.21.0-ioctl (2011-07-06) initialised: dm-devel@redhat.com
    [    1.234005] Bluetooth: HCI UART driver ver 2.2
    [    1.238638] Bluetooth: HCI H4 protocol initialized
    [    1.243640] Bluetooth: HCILL protocol initialized
    [    1.249748] usbcore: registered new interface driver usbhid
    [    1.255559] usbhid: USB HID core driver
    [    1.260189] logger: created 256K log 'log_main'
    [    1.265008] logger: created 256K log 'log_events'
    [    1.270068] logger: created 256K log 'log_radio'
    [    1.274990] logger: created 256K log 'log_system'
    [    1.281243] _regulator_get: 2-001b supply IOVDD not found, using dummy regulator
    [    1.289030] _regulator_get: 2-001b supply DVDD not found, using dummy regulator
    [    1.296741] _regulator_get: 2-001b supply AVDD not found, using dummy regulator
    [    1.304410] _regulator_get: 2-001b supply DRVDD not found, using dummy regulator
    [    1.391200] mmc0: new SD card at address 98ed
    [    1.396270] mmcblk0: mmc0:98ed SD02G 1.84 GiB
    [    1.403614]  mmcblk0: p1 p2 p3
    [    1.514110] mmc1: card claims to support voltages below the defined range. These will be ignored.
    [    1.534359] asoc: tlv320aic3x-hifi <-> davinci-mcasp.1 mapping ok
    [    1.541345] ALSA device list:
    [    1.544439]   #0: AM335X EVM
    [    1.547595] nf_conntrack version 0.5.0 (3957 buckets, 15828 max)
    [    1.554319] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    1.560008] TCP cubic registered
    [    1.563382] NET: Registered protocol family 17
    [    1.568293] Bluetooth: RFCOMM TTY layer initialized
    [    1.573418] Bluetooth: RFCOMM socket layer initialized
    [    1.578772] Bluetooth: RFCOMM ver 1.11
    [    1.582693] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [    1.588229] Bluetooth: BNEP filters: protocol multicast
    [    1.593685] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [    1.600025] Registering the dns_resolver key type
    [    1.605010] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    1.613031] ThumbEE CPU extension supported.
    [    1.618282] omap2_set_init_voltage: unable to get clk dpll1_ck
    [    1.624393] omap2_set_init_voltage: unable to set vdd_mpu_iva
    [    1.630402] omap2_set_init_voltage: unable to get clk l3_ick
    [    1.636299] omap2_set_init_voltage: unable to set vdd_core
    [    1.646258] Detected MACID=d4:94:a1:36:99:7c
    [    1.652373] input: gpio-keys as /devices/platform/gpio-keys/input/input2
    [    1.659800] omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
    [    1.670911] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
    [    1.677910] mmc1: new SDIO card at address 0001
    [    1.684546] kjournald starting.  Commit interval 5 seconds
    [    1.700549] EXT3-fs (mmcblk0p2): using internal journal
    [    1.706006] EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode
    [    1.713424] VFS: Mounted root (ext3 filesystem) on device 179:2.
    [    1.720028] Freeing init memory: 208K
    [    1.728397] Kernel panic - not syncing: No init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
    [    1.741393] Backtrace:
    [    1.743978] [<c0016f24>] (dump_backtrace+0x0/0x110) from [<c038326c>] (dump_stack+0x18/0x1c)
    [    1.752788]  r7:00000013 r6:c003bc10 r5:c0533ed0 r4:c0533ed0
    [    1.758715] [<c0383254>] (dump_stack+0x0/0x1c) from [<c03832d4>] (panic+0x64/0x18c)
    [    1.766715] [<c0383270>] (panic+0x0/0x18c) from [<c0008680>] (init_post+0xa8/0xcc)
    [    1.774619]  r3:fffffffe r2:0000000e r1:0000f321 r0:c044209d
    [    1.780577] [<c00085d8>] (init_post+0x0/0xcc) from [<c04b52fc>] (kernel_init+0xf4/0x124)
    [    1.789009]  r5:c04e8c14 r4:c0533000
    [    1.792773] [<c04b5208>] (kernel_init+0x0/0x124) from [<c003bc10>] (do_exit+0x0/0x604)

    Kernel compilation didn't reported any bug, still I am getting this issue.
    uEnv.txt:
      bootargs=console=ttyO0,115200n8 androidboot.console=ttyO0 mem=256M root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait rootdelay=1 init=/init ip=off
      bootcmd=mmc rescan ; fatload mmc 0 82000000 uImage ; bootm 82000000
      uenvcmd=boo

    Please let me know what I am missing here.

    Thanks
    Prasun

  • Hi Prasun,

    I think rootfs is not properly flashed on the card.

    Could you flash again and try..

    Are you using mkmmc flash utility ?

     

    BR,

    satish

     


     

  • Hi,

    I got EVM board working, it was not working because, I moved some of the boot args together, idon't know that really affects kernel booting or not.

    problem occurred of below args:

    bootargs=console=ttyO0,115200n8 androidboot.console=ttyO0 mem=256M root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait init=/init ip=off
    bootcmd=mmc rescan ; fatload mmc 0 82000000 uImage ; bootm 82000000 uenvcmd=boot

    solved because of below Args:

    bootargs=console=ttyO0,115200n8 androidboot.console=ttyO0 mem=256M root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait init=/init ip=off
    bootcmd=mmc rescan ; fatload mmc 0 82000000 uImage ; bootm 82000000
    uenvcmd=boot

    The only difference is  "uenvcmd=boot"  is in new line.

    Thanks for your help and support.