Mariano Lasala
Forum Replies Created
-
AuthorPosts
-
Mariano LasalaParticipant
Hello,
We’ve already solved this issue.
The SD Card was damaged.
We tried with other SD card and works perfectly.
Thanks!
Mariano Lasala
Mariano LasalaParticipantHello,
He have 3 diferent MTCDP models: MTCDP-H4, MTCDP-E1 and MTCDP-G2.
The last ones (G2), seems like is not mounting the SD Card properly.
If we seach for mmcblk0 in /dev/ we can’t find anything.
Is there any way to manually mount the SD card.
The purpose of this is upgrade the coreCDP-1.1.1 of these devices to the CoreCDP-2.0.2.
Regards,
Mariano Lasala
Mariano LasalaParticipantOK, thank you for the info.
Regards,
Mariano Lasala
Mariano LasalaParticipantHello Jesse,
In ${OETREE}/openembedded/recipes the only folder I see that contains the words nfs is nfs-utils-1.1.2 and nfs-utils-1.0.6. I can’t see any package called ‘nfs-utils-client’.
How can I install it?
Regards,
Mariano Lasala
Mariano LasalaParticipantHello Jesse,
By one hand there is the cost problem for the SD, we are thinking in buying >50 units in the first approach.
By the other hand, the idea is that if our application by any reason crashes (full file system for example), the OS doesn’t get affected and we can connect to the device and fix the problem. The devices can be allocated all over Spain and we should offer support with lower possible cost.
Regards,
Mariano Lasala
Mariano LasalaParticipantHello Jesse,
This is what I’ve run:
mount -t nfs -o nfsvers=2 server_ip:public /home/root/NFS
And this is the output:
mount: wrong fs type, bad option, bad superblock on server_ip:public,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)
In some cases useful info is found in syslog – try
dmesg | tail or so
Mariano LasalaParticipantHello,
The issue is solved! We had a misconfiguration with the tftp server.
At this moment we have reached to load the corecdp-openjdk-image but only the rootfs.jffs2. We loaded the uImage.bin from the corecdp-full-image (corecdp 1.1.1) with the rootfs.jffs2 from the corecdp-openjdk-image (corecdp 2.0.0). We did in this way because if we tried to load both files from corecdp 2.0.0 compilation, the device never boots. The proccess finished but the output only shows RomBOOT and we can’t do anything.
Does each uImage.bin must be loaded with their rootfs? There is some trouble in this practice?
We have realise for example that there wasn’t a /dev/ttyS1 and we’ve to use the command:
mknod /dev/ttyS1 c 4 65
This is because the uImage.bin file doesn’t correspond to their rootfs?
If we have to load another uImage.bin, how can we compile only the uImage.bin file and how can we be sure this file will work properly before to transfer to the device?
Regards,
Mariano Lasala
Mariano LasalaParticipantHello,
I think we’ve made some progress. I’m pretty sure we had a problem sending the uboot-setenv through minicom.
Trying to find a workaround, we’ve connected to serial port with teraterm. We get the U-Boot> prompt and send one by one all the setenv that appears in uboot-setenv (without send and characters). At the end we send a printenv and we can see all the variables.
At this point, we send a ping to the xinet.d/tftp server ip address and we can see:
U-Boot> ping 1.2.3.4
macb0: Starting autonegotiation…
macb0: Autonegotiation complete
macb0: link up, 100Mbps full-duplex (lpa: 0xcde1)
Using macb0 device
host 1.2.3.4 is alive
But, when we try to execute run tftp_kernel it seems like start to work but doesn’t do anything.
This is the output:
macb0: link up, 100Mbps full-duplex (lpa: 0xcde1)
Using macb0 device
TFTP from server 1.2.3.4; our IP address is 1.2.3.5
Filename ‘oe_uImage.bin’.
Load address: 0x21400000
Loading: T T T T T T T T T T T T T T T T T T T T T T T
Abort
U-Boot> <INTERRUPT>
Any idea?
We have another IPs configured.
Mariano LasalaParticipantWe’ve tried to send the script uboot-setenv through minicom ALT+A G and then we put in C /home/username/uboot-setenv, enter + enter and it begins to send the script. It never finishes.
We’ve tried to see what’s happening there using screen command but can’t see anything.
Not sure why but several times we have broken the u-boot and we have used the procedure to restore it.
I don’t remember last time we have this problem it were so problematic. The only thing we change in the uboot-setenv is the serverip and the ipaddr.
As we told you before, we’ve tried to execute the uboot-setenv step by step and we still are seen that output wen executing this setenv:
setenv bootcmd ‘nboot.jffs2 ${loadaddr} 0 ${kernel_addr}; bootm ${loadaddr}’
Wrong Image Format for bootm command
ERROR: can’t get kernel image!
I think that this script reaches the erase part but doesn’t load anything.
Can we be sure this script is correct?
ATM the deploy environment we are using is a Ubuntu 11.10 Desktop distro.
Mariano LasalaParticipantStill having the same problem.
We’re not able to load an image from U-Boot.
There is any other way to do this task? Remember we have no boot ATM.
We have the SAM-BA v2.10 app, it’s possible to load an image with this app?
Any hint in how to successfully finish this task?
Mariano LasalaParticipantWe’re flashing from 1.1.1 (corecdp-full-image). Now we’re trying to go back and reflash with the factory image. But with same results. In minicom we only see, saving… for a long time. Not sure what’s happening.
We’ll continue next Monday with this task. I’ll tell you if there has been any news.
Thanks!
Regards,
Mariano Lasala
Mariano LasalaParticipantHello Jesse,
We’ve attempt to flash the openjdk image by putting it on the SD card into a folder called flash-upgrade. But it doesn’t work for us. Well, the proccess began but i think it doesn’t finished successfuly.
We’re going to reflash the device with the corecdp-base-image (is this the factory image?), and then let’s see if this time works.
The linux dirstro and vesion is:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.04
Linux 2.6.38-12-generic #51-Ubuntu i686 i686 i386 GNU/Linux
I think it’s up to date.
The file rootfs.jffs2 size is 57.088 KB, it’s too big for U-Boot?
Mariano LasalaParticipantSorry, this is the output:
| gcc -I/home/mlasala/corecdp-1.1.1/build/tmp/work/armv5te-corecdp-linux-gnueabi/gcc-cross-intermediate-4.3.3-r11.1/gcc-4.3.3/libcpp -I. -I/home/mlasala/corecdp-1.1.1/build/tmp/work/armv5te-corecdp-linux-gnueabi/gcc-cross-intermediate-4.3.3-r11.1/gcc-4.3.3/libcpp/../include -I/home/mlasala/corecdp-1.1.1/build/tmp/work/armv5te-corecdp-linux-gnueabi/gcc-cross-intermediate-4.3.3-r11.1/gcc-4.3.3/libcpp/include -isystem/home/mlasala/corecdp-1.1.1/build/tmp/staging/i686-linux/usr/include -O2 -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -I/home/mlasala/corecdp-1.1.1/build/tmp/work/armv5te-corecdp-linux-gnueabi/gcc-cross-intermediate-4.3.3-r11.1/gcc-4.3.3/libcpp -I. -I/home/mlasala/corecdp-1.1.1/build/tmp/work/armv5te-corecdp-linux-gnueabi/gcc-cross-intermediate-4.3.3-r11.1/gcc-4.3.3/libcpp/../include -I/home/mlasala/corecdp-1.1.1/build/tmp/work/armv5te-corecdp-linux-gnueabi/gcc-cross-intermediate-4.3.3-r11.1/gcc-4.3.3/libcpp/include -c -o init.o -MT init.o -MMD -MP -MF .deps/init.Po /home/mlasala/corecdp-1.1.1/build/tmp/work/armv5te-corecdp-linux-gnueabi/gcc-cross-intermediate-4.3.3-r11.1/gcc-4.3.3/libcpp/init.c
| rm -f libcpp.a
| ar cru libcpp.a charset.o directives.o directives-only.o errors.o expr.o files.o identifiers.o init.o lex.o line-map.o macro.o mkdeps.o pch.o symtab.o traditional.o
| ranlib libcpp.a
| gcc -isystem/home/mlasala/corecdp-1.1.1/build/tmp/staging/i686-linux/usr/include -O2 -g -L/home/mlasala/corecdp-1.1.1/build/tmp/staging/i686-linux/usr/lib -Wl,-rpath-link,/home/mlasala/corecdp-1.1.1/build/tmp/staging/i686-linux/usr/lib -Wl,-rpath,/home/mlasala/corecdp-1.1.1/build/tmp/staging/i686-linux/usr/lib -Wl,-O1 -o makedepend
| makedepend.o libcpp.a ../libiberty/libiberty.a
|
| make[2]: Leaving directory `/home/mlasala/corecdp-1.1.1/build/tmp/work/armv5te-corecdp-linux-gnueabi/gcc-cross-intermediate-4.3.3-r11.1/gcc-4.3.3/build.i686-linux.arm-corecdp-linux-gnueabi/libcpp’
| make[1]: Leaving directory `/home/mlasala/corecdp-1.1.1/build/tmp/work/armv5te-corecdp-linux-gnueabi/gcc-cross-intermediate-4.3.3-r11.1/gcc-4.3.3/build.i686-linux.arm-corecdp-linux-gnueabi’
| make: *** [all] Error 2
| FATAL: oe_runmake failed
| ERROR: Function do_compile failed
NOTE: package gcc-cross-intermediate-4.3.3-r11.1: task do_compile: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/mlasala/corecdp-1.1.1/openembedded/recipes/gcc/gcc-cross-intermediate_4.3.3.bb do_compile failed
ERROR: Task 980 (/home/mlasala/corecdp-1.1.1/openembedded/recipes/gcc/gcc-cross-intermediate_4.3.3.bb, do_compile) failed with 256
Waiting for 1 active tasks to finish:
1: ncurses-native-5.4-r19 do_compile (pid 29629)
ERROR: ‘/home/mlasala/corecdp-1.1.1/openembedded/recipes/gcc/gcc-cross-intermediate_4.3.3.bb’ failed
NOTE: package ncurses-native-5.4-r19: task do_compile: Succeeded
ERROR: ‘/home/mlasala/corecdp-1.1.1/openembedded/recipes/gcc/gcc-cross-intermediate_4.3.3.bb’ failed
ERROR: ‘/home/mlasala/corecdp-1.1.1/openembedded/recipes/gcc/gcc-cross-intermediate_4.3.3.bb’ failed
Mariano LasalaParticipantTrying to figure out where is our problem, we’ve tried to compile again the corecdp-1.1.1. Long time ago, when we received this device for first time, we successfully completed this task. But at this moment we are having some trouble too.
This is the output for bitbake corecdp-base-image
Could you please tell us if you can see something we are wrong?
Thanks again.
Mariano Lasala
Mariano LasalaParticipantThere is someone who have had success compiling the corecpd-openjdk-image?
One more time we tried to compile it and this is the result:
+ do_compile
+ mkdir -p build
+ bcp_arg=’-bootclasspath /home/mlasala/corecdp-2.0.0/build/tmp/sysroots/i686-linux/usr/share/classpath/glibj.zip’
++ find src -name ‘*.java’
+ javac -bootclasspath /home/mlasala/corecdp-2.0.0/build/tmp/sysroots/i686-linux/usr/share/classpath/glibj.zip -source 1.5 -sourcepath src -d build src/org/mozilla/javascript/Ref.java src/org/mozilla/javascript/PolicySecurityController.java src/org/mozilla/javascript/NativeScript.java src/org/mozilla/javascript/SecureCaller.java src/org/mozilla/javascript/NativeWith.java src/org/mozilla/javascript/ScriptRuntime.java src/org/mozilla/javascript/WrapFactory.java src/org/mozilla/javascript/Delegator.java src/org/mozilla/javascript/ClassShutter.java src/org/mozilla/javascript/JavaAdapter.java src/org/mozilla/javascript/SpecialRef.java src/org/mozilla/javascript/NativeNumber.java src/org/mozilla/javascript/ClassCache.java src/org/mozilla/javascript/NativeJavaMethod.java src/org/mozilla/javascript/JavaScriptException.java src/org/mozilla/javascript/IRFactory.java src/org/mozilla/javascript/JavaMembers.java src/org/mozilla/javascript/regexp/NativeRegExpCtor.java src/org/mozilla/javascript/regexp/NativeRegExp.java src/org/mozilla/javascript/regexp/SubString.java src/org/mozilla/javascript/regexp/RegExpImpl.java src/org/mozilla/javascript/Undefined.java src/org/mozilla/javascript/MemberBox.java src/org/mozilla/javascript/NativeDate.java src/org/mozilla/javascript/NativeGlobal.java src/org/mozilla/javascript/DefaultErrorReporter.java src/org/mozilla/javascript/IdScriptableObject.java src/org/mozilla/javascript/Evaluator.java src/org/mozilla/javascript/debug/DebuggableObject.java src/org/mozilla/javascript/debug/DebuggableScript.java src/org/mozilla/javascript/debug/Debugger.java src/org/mozilla/javascript/debug/DebugFrame.java src/org/mozilla/javascript/Context.java src/org/mozilla/javascript/ScriptableObject.java src/org/mozilla/javascript/Script.java src/org/mozilla/javascript/xml/XMLLib.java src/org/mozilla/javascript/xml/XMLObject.java src/org/mozilla/javascript/RefCallable.java src/org/mozilla/javascript/NativeJavaPackage.java src/org/mozilla/javascript/continuations/Continuation.java src/org/mozilla/javascript/VMBridge.java src/org/mozilla/javascript/Synchronizer.java src/org/mozilla/javascript/Parser.java src/org/mozilla/javascript/jdk11/VMBridge_jdk11.java src/org/mozilla/javascript/DToA.java src/org/mozilla/javascript/RhinoException.java src/org/mozilla/javascript/LazilyLoadedCtor.java src/org/mozilla/javascript/GeneratedClassLoader.java src/org/mozilla/javascript/BaseFunction.java src/org/mozilla/javascript/CompilerEnvirons.java src/org/mozilla/javascript/ContextFactory.java src/org/mozilla/javascript/ImporterTopLevel.java src/org/mozilla/javascript/NativeJavaClass.java src/org/mozilla/javascript/InterpreterData.java src/org/mozilla/javascript/Decompiler.java src/org/mozilla/javascript/FunctionNode.java src/org/mozilla/javascript/NativeJavaObject.java src/org/mozilla/javascript/Node.java src/org/mozilla/javascript/NativeMath.java src/org/mozilla/javascript/NativeJavaArray.java src/org/mozilla/javascript/FunctionObject.java src/org/mozilla/javascript/jdk15/VMBridge_jdk15.java src/org/mozilla/javascript/Wrapper.java src/org/mozilla/javascript/NativeObject.java src/org/mozilla/javascript/Callable.java src/org/mozilla/javascript/UintMap.java src/org/mozilla/javascript/Scriptable.java src/org/mozilla/javascript/ContextAction.java src/org/mozilla/javascript/NativeFunction.java src/org/mozilla/javascript/InterpretedFunction.java src/org/mozilla/javascript/NativeJavaConstructor.java src/org/mozilla/javascript/NativeArray.java src/org/mozilla/javascript/SecurityUtilities.java src/org/mozilla/javascript/NativeGenerator.java src/org/mozilla/javascript/SecurityController.java src/org/mozilla/javascript/Token.java src/org/mozilla/javascript/optimizer/OptRuntime.java src/org/mozilla/javascript/optimizer/Optimizer.java src/org/mozilla/javascript/optimizer/ClassCompiler.java src/org/mozilla/javascript/optimizer/OptFunctionNode.java src/org/mozilla/javascript/optimizer/Codegen.java src/org/mozilla/javascript/optimizer/OptTransformer.java src/org/mozilla/javascript/optimizer/DataFlowBitSet.java src/org/mozilla/javascript/optimizer/Block.java src/org/mozilla/javascript/DefiningClassLoader.java src/org/mozilla/javascript/NativeCall.java src/org/mozilla/javascript/Arguments.java src/org/mozilla/javascript/Interpreter.java src/org/mozilla/javascript/jdk13/VMBridge_jdk13.java src/org/mozilla/javascript/NativeIterator.java src/org/mozilla/javascript/Kit.java src/org/mozilla/javascript/NativeError.java src/org/mozilla/javascript/ObjToIntMap.java src/org/mozilla/javascript/ConstProperties.java src/org/mozilla/javascript/IdFunctionObject.java src/org/mozilla/javascript/ErrorReporter.java src/org/mozilla/javascript/NativeBoolean.java src/org/mozilla/javascript/ScriptOrFnNode.java src/org/mozilla/javascript/serialize/ScriptableOutputStream.java src/org/mozilla/javascript/serialize/ScriptableInputStream.java src/org/mozilla/javascript/UniqueTag.java src/org/mozilla/javascript/WrappedException.java src/org/mozilla/javascript/NativeString.java src/org/mozilla/javascript/InterfaceAdapter.java src/org/mozilla/javascript/ObjArray.java src/org/mozilla/javascript/IdFunctionCall.java src/org/mozilla/javascript/TokenStream.java src/org/mozilla/javascript/ContextListener.java src/org/mozilla/javascript/Function.java src/org/mozilla/javascript/NodeTransformer.java src/org/mozilla/javascript/EvaluatorException.java src/org/mozilla/javascript/NativeJavaTopPackage.java src/org/mozilla/javascript/EcmaError.java src/org/mozilla/javascript/RegExpProxy.java src/org/mozilla/classfile/ByteCode.java src/org/mozilla/classfile/ClassFileWriter.java
LOG: [0xb758a6d0] We received a SIGSEGV and tried to handle it, but we were
LOG: [0xb758a6d0] unable to find a Java method at:
LOG: [0xb758a6d0]
LOG: [0xb758a6d0] PC=0xb74aa64a
LOG: [0xb758a6d0]
LOG: [0xb758a6d0] Dumping the current stacktrace:
at NULL.newarray_byte(I)[B(builtin)
at java.util.zip.OutputWindow.<init>()V(OutputWindow.java:54)
at java.util.zip.Inflater.<init>(Z)V(Inflater.java:183)
at java.util.zip.ZipFile.getInputStream(Ljava/util/zip/ZipEntry;)Ljava/io/InputStream;(ZipFile.java:452)
at java.util.jar.JarFile.getInputStream(Ljava/util/zip/ZipEntry;)Ljava/io/InputStream;(JarFile.java:454)
at gnu.java.net.loader.JarURLResource.getInputStream()Ljava/io/InputStream;(JarURLResource.java:63)
at java.net.URLClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;(URLClassLoader.java:538)
at java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;(ClassLoader.java:341)
at java.lang.ClassLoader$1.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;(ClassLoader.java:1112)
at java.lang.ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;(ClassLoader.java:293)
at org.eclipse.jdt.internal.compiler.parser.Parser.consumeFormalParameter(Z)V(Parser.java:3803)
at org.eclipse.jdt.internal.compiler.parser.Parser.consumeRule(I)V(Parser.java:5430)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse()V(Parser.java:9368)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Lorg/eclipse/jdt/internal/compiler/env/ICompilationUnit;Lorg/eclipse/jdt/internal/compiler/CompilationResult;II)Lorg/eclipse/jdt/internal/compiler/ast/CompilationUnitDeclaration;(Parser.java:9605)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Lorg/eclipse/jdt/internal/compiler/env/ICompilationUnit;Lorg/eclipse/jdt/internal/compiler/CompilationResult;)Lorg/eclipse/jdt/internal/compiler/ast/CompilationUnitDeclaration;(Parser.java:9562)
at org.eclipse.jdt.internal.compiler.parser.Parser.dietParse(Lorg/eclipse/jdt/internal/compiler/env/ICompilationUnit;Lorg/eclipse/jdt/internal/compiler/CompilationResult;)Lorg/eclipse/jdt/internal/compiler/ast/CompilationUnitDeclaration;(Parser.java:8155)
at org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile([Lorg/eclipse/jdt/internal/compiler/env/ICompilationUnit;I)V(Compiler.java:712)
at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile([Lorg/eclipse/jdt/internal/compiler/env/ICompilationUnit;)V(Compiler.java:377)
at org.eclipse.jdt.internal.compiler.Compiler.compile([Lorg/eclipse/jdt/internal/compiler/env/ICompilationUnit;)V(Compiler.java:422)
at org.eclipse.jdt.internal.compiler.batch.Main.performCompilation()V(Main.java:3716)
at org.eclipse.jdt.internal.compiler.batch.Main.compile([Ljava/lang/String;)Z(Main.java:1666)
at org.eclipse.jdt.internal.compiler.batch.Main.main([Ljava/lang/String;)V(Main.java:1379)
LOG: [0xb758a6d0] vm_abort: WARNING, port me to C++ and use os::abort() instead.
LOG: [0xb758a6d0] Exiting…
LOG: [0xb758a6d0] Backtrace (12 stack frames):
LOG: [0xb758a6d0] /home/mlasala/corecdp-2.0.0/build/tmp/sysroots/i686-linux/usr/bin/../lib/libjvm.so(_ZN2os15print_backtraceEv+0x32) [0xb74e01a2]
LOG: [0xb758a6d0] /home/mlasala/corecdp-2.0.0/build/tmp/sysroots/i686-linux/usr/bin/../lib/libjvm.so(vm_abort+0x41) [0xb74ec231]
LOG: [0xb758a6d0] /home/mlasala/corecdp-2.0.0/build/tmp/sysroots/i686-linux/usr/bin/../lib/libjvm.so(methodtree_find+0xb6) [0xb7508096]
LOG: [0xb758a6d0] /home/mlasala/corecdp-2.0.0/build/tmp/sysroots/i686-linux/usr/bin/../lib/libjvm.so(stacktrace_stackframeinfo_add+0x133) [0xb751a0f3]
LOG: [0xb758a6d0] /home/mlasala/corecdp-2.0.0/build/tmp/sysroots/i686-linux/usr/bin/../lib/libjvm.so(trap_handle+0x123) [0xb751df23]
LOG: [0xb758a6d0] /home/mlasala/corecdp-2.0.0/build/tmp/sysroots/i686-linux/usr/bin/../lib/libjvm.so(md_signal_handler_sigsegv+0x2c) [0xb7507dac]
LOG: [0xb758a6d0] [0xb785c410]
LOG: [0xb758a6d0] /home/mlasala/corecdp-2.0.0/build/tmp/sysroots/i686-linux/usr/bin/../lib/libjvm.so(GC_core_malloc_atomic+0xef) [0xb74aa92f]
LOG: [0xb758a6d0] /home/mlasala/corecdp-2.0.0/build/tmp/sysroots/i686-linux/usr/bin/../lib/libjvm.so(GC_malloc_atomic+0xcd) [0xb74b4e1d]
LOG: [0xb758a6d0] /home/mlasala/corecdp-2.0.0/build/tmp/sysroots/i686-linux/usr/bin/../lib/libjvm.so(heap_alloc+0x90) [0xb74a2230]
LOG: [0xb758a6d0] /home/mlasala/corecdp-2.0.0/build/tmp/sysroots/i686-linux/usr/bin/../lib/libjvm.so(builtin_newarray_byte+0x7d) [0xb74f34bd]
LOG: [0xb758a6d0] [0xb6ae5766]
/home/mlasala/corecdp-2.0.0/build/tmp/sysroots/i686-linux/usr/bin/javac: line 17: 26672 Aborted ${RUNTIME} -Xmx1024m -cp ${ECJ_JAR} org.eclipse.jdt.internal.compiler.batch.Main ${1+”$@”}
Thanks for your support.
October 21, 2011 at 11:51 am in reply to: Comunicating with an external modem through R232 port #3463Mariano LasalaParticipantOK! Thank 4 the info, i guess it’s a ‘straight’ cable.
Mariano LasalaParticipantOK Thx!!
Mariano LasalaParticipantThere is any guide that explains how to build and install tcpdump or any other package?
Mariano LasalaParticipantHello,
We have executed “bitbake expat -c distclean” and then we have relaunched “bitbake corecdp-openjdk-image” but we see the same error again:
ERROR: Unable to unpack ‘/home/mlasala/corecdp-2.0.0/sources/expat-2.0.1.tar.gz’ to ‘/home/mlasala/corecdp-2.0.0/build/tmp/work/armv5te-corecdp-linux-gnueabi/expat-2.0. 1-r3.0’ (cmd: tar xz –no-same-owner -f /home/mlasala/corecdp-2.0.0/sources/expat-2.0.1.tar.gz):
Execution of ‘tar xz –no-same-owner -f /home/mlasala/corecdp-2.0.0/sources/expat-2.0.1.tar.gz’ failed with exit code 2:
gzip: stdin: invalid compressed data–crc error
tar: Child returned status 1
tar: Exiting with failure status due to previous errors
NOTE: package expat-2.0.1-r3.0: task base_do_unpack: Failed
ERROR: Function ‘base_do_unpack’ failed
ERROR: Task 2579 (/home/mlasala/corecdp-2.0.0/openembedded/recipes/expat/expat_2.0.1.bb, do_unpack) failed with exit code ‘1’
Waiting for 1 active tasks to finish:
0: eglibc-2.12-r21.8+svnr12323 do_populate_sysroot (pid 29056)
NOTE: package eglibc-2.12-r21.8+svnr12323: task do_populate_sysroot: Succeeded
ERROR: ‘/home/mlasala/corecdp-2.0.0/openembedded/recipes/expat/expat_2.0.1.bb’ failed
Any idea?
Mariano LasalaParticipantHello,
Last day we left the server working with the bitbake task and today we’ve seen this output (yesterday we didn’t work, it was holiday here in Barcelona):
ERROR: Unable to unpack ‘/home/mlasala/corecdp-2.0.0/sources/expat-2.0.1.tar.gz’ to ‘/home/mlasala/corecdp-2.0.0/build/tmp/work/armv5te-corecdp-linux-gnueabi/expat-2.0.1-r3.0’ (cmd: tar xz –no-same-owner -f /home/mlasala/corecdp-2.0.0/sources/expat-2.0.1.tar.gz):
Execution of ‘tar xz –no-same-owner -f /home/mlasala/corecdp-2.0.0/sources/expat-2.0.1.tar.gz’ failed with exit code 2:
gzip: stdin: invalid compressed data–crc error
tar: Child returned status 1
tar: Exiting with failure status due to previous errors
NOTE: package expat-2.0.1-r3.0: task base_do_unpack: Failed
ERROR: Function ‘base_do_unpack’ failed
ERROR: Task 2579 (/home/mlasala/corecdp-2.0.0/openembedded/recipes/expat/expat_2.0.1.bb, do_unpack) failed with exit code ‘1’
Waiting for 1 active tasks to finish:
0: eglibc-2.12-r21.8+svnr12323 do_compile (pid 26543)
NOTE: package eglibc-2.12-r21.8+svnr12323: task do_compile: Succeeded
ERROR: ‘/home/mlasala/corecdp-2.0.0/openembedded/recipes/expat/expat_2.0.1.bb’ failed
Can you give us some tip about what wrong?
Thanks a lot!
Regards,
Mariano LasalaParticipantHi again,
Once again, relaunched source env-oe.sh and bitbake corecdp-openjdk-image (last time, after installing chrpath i didn’t launch source env-oe.sh).
I think this time is working properly.
Thanks again for your support.
Mariano LasalaParticipantWe have installed the chrpath utility and relaunched bitbake.
This is the output:
Loading cache: 100% |###########################################| ETA: 00:00:00
Loaded 7193 entries from dependency cache.
NOTE: Angstrom DOES NOT support ipkg because ipkg has been superseded by opkg:54
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replace ment is used
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replace ment is used
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replace ment is used
NOTE: Angstrom DOES NOT support fso-apm because regular apmd is good enough00:13
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been repla ced by bluez4
NOTE: Angstrom DOES NOT support bluez-utils because bluez-utils 3.x has been rep laced by bluez4
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been repla ced by bluez4
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been repla ced by bluez4
NOTE: Angstrom DOES NOT support bluez-utils because bluez-utils 3.x has been rep laced by bluez4
Parsing recipes: 100% |#########################################| ETA: 00:00:00
Parsing of 7362 .bb files complete (6562 cached, 800 parsed). 8013 targets, 365 skipped, 2 masked, 0 errors.
Build Configuration:
BB_VERSION = “1.12.0”
METADATA_BRANCH = “<unknown>”
METADATA_REVISION = “56a79a3”
TARGET_ARCH = “arm”
TARGET_OS = “linux-gnueabi”
MACHINE = “mtcdp”
DISTRO = “corecdp”
DISTRO_VERSION = “2.0.0-beta1”
TARGET_FPU = “soft”
ERROR: Nothing PROVIDES ‘corecpd-openjdk-image’
ERROR: Command execution failed: Traceback (most recent call last):
File “/home/mlasala/corecdp-2.0.0/bitbake/lib/bb/command.py”, line 102, in run AsyncCommand
commandmethod(self.cmds_async, self, options)
File “/home/mlasala/corecdp-2.0.0/bitbake/lib/bb/command.py”, line 200, in bui ldTargets
command.cooker.buildTargets(pkgs_to_build, task)
File “/home/mlasala/corecdp-2.0.0/bitbake/lib/bb/cooker.py”, line 753, in buil dTargets
taskdata.add_provider(localdata, self.status, k)
File “/home/mlasala/corecdp-2.0.0/bitbake/lib/bb/taskdata.py”, line 353, in ad d_provider
self.add_provider_internal(cfgData, dataCache, item)
File “/home/mlasala/corecdp-2.0.0/bitbake/lib/bb/taskdata.py”, line 373, in ad d_provider_internal
raise bb.providers.NoProvider(item)
NoProvider: corecpd-openjdk-image
mlasala@multitech:~/corecdp-2.0.0$ bitbake corecpd-openjdk-image
Loading cache: 100% |###################################################################################################################################| ETA: 00:00:00
Loaded 7193 entries from dependency cache.
NOTE: Angstrom DOES NOT support ipkg because ipkg has been superseded by opkg | ETA: 00:00:46
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used | ETA: 00:00:29
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used
NOTE: Angstrom DOES NOT support fso-apm because regular apmd is good enough | ETA: 00:00:11
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4 | ETA: 00:00:08
NOTE: Angstrom DOES NOT support bluez-utils because bluez-utils 3.x has been replaced by bluez4 | ETA: 00:00:08
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4
NOTE: Angstrom DOES NOT support bluez-utils because bluez-utils 3.x has been replaced by bluez4
Parsing recipes: 100% |#################################################################################################################################| ETA: 00:00:00
Parsing of 7362 .bb files complete (6562 cached, 800 parsed). 8013 targets, 365 skipped, 2 masked, 0 errors.
Build Configuration:
BB_VERSION = “1.12.0”
METADATA_BRANCH = “<unknown>”
METADATA_REVISION = “56a79a3”
TARGET_ARCH = “arm”
TARGET_OS = “linux-gnueabi”
MACHINE = “mtcdp”
DISTRO = “corecdp”
DISTRO_VERSION = “2.0.0-beta1”
TARGET_FPU = “soft”
ERROR: Nothing PROVIDES ‘corecpd-openjdk-image’
ERROR: Command execution failed: Traceback (most recent call last):
File “/home/mlasala/corecdp-2.0.0/bitbake/lib/bb/command.py”, line 102, in runAsyncCommand
commandmethod(self.cmds_async, self, options)
File “/home/mlasala/corecdp-2.0.0/bitbake/lib/bb/command.py”, line 200, in buildTargets
command.cooker.buildTargets(pkgs_to_build, task)
File “/home/mlasala/corecdp-2.0.0/bitbake/lib/bb/cooker.py”, line 753, in buildTargets
taskdata.add_provider(localdata, self.status, k)
File “/home/mlasala/corecdp-2.0.0/bitbake/lib/bb/taskdata.py”, line 353, in add_provider
self.add_provider_internal(cfgData, dataCache, item)
File “/home/mlasala/corecdp-2.0.0/bitbake/lib/bb/taskdata.py”, line 373, in add_provider_internal
raise bb.providers.NoProvider(item)
NoProvider: corecpd-openjdk-image
Mariano LasalaParticipantOps, I wrote last post before the bitbake finished.
There is some problem else:
NOTE: Angstrom DOES NOT support ipkg because ipkg has been superseded by opkg:28
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replace ment is used
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replace ment is used
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replace ment is used
NOTE: Angstrom DOES NOT support fso-apm because regular apmd is good enough01:20
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been repla ced by bluez4
NOTE: Angstrom DOES NOT support bluez-utils because bluez-utils 3.x has been rep laced by bluez4
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been repla ced by bluez4
NOTE: Angstrom DOES NOT support bluez-utils because bluez-utils 3.x has been rep laced by bluez4
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been repla ced by bluez4
Parsing recipes: 100% |#########################################| Time: 00:02:16
Parsing of 7362 .bb files complete (0 cached, 7362 parsed). 8013 targets, 365 sk ipped, 2 masked, 0 errors.
ERROR: Openembedded’s config sanity checker detected a potential misconfigurati on.
Either fix the cause of this error or at your own risk disable the check er (see sanity.conf).
Following is the list of potential problems / advisories:
Please install following missing utilities: chrpath
ERROR: Command execution failed: Exited with 1
The bitbake tells that has finished with no errors but openembedded sanity say other thing.
What should I do? Can we load this image?
Mariano LasalaParticipantHello Jesse,
Althought I chowned all the directory structure with my user, it should be any ploblem else.
I’ve relaunched in my home directory and everything works perfectly.
Thanks for your support.
Best Regards,
Mariano Lasala
Mariano LasalaParticipantHello Jesse,
This is the output for the commands you indicate:
mlasala@multitech:~$ cd /corecdp-2.0.0/
mlasala@multitech:/corecdp-2.0.0$ ./setup.sh
Overwrite env-oe.sh with defaults? (y/N) y
Copying default environment script…
Overwrite conf/local.conf with defaults? (y/N) y
Creating default bitbake configuration…
Creating directory structure…
Updating git submodules…
Setup Done.
To build corecdp-base-image:
source env-oe.sh
bitbake corecdp-base-image
mlasala@multitech:/corecdp-2.0.0$ source env-oe.sh
mlasala@multitech:/corecdp-2.0.0$ bitbake corecdp-openjdk-image
ERROR: Please set the ‘PERSISTENT_DIR’ or ‘CACHE’ variable
Thanks,
Mariano
-
AuthorPosts