Il giorno 28/mar/2013 08:48, "Jens Brandenburg" <jens.bra...@hhi.fraunhofer.de> ha scritto:
>
> Hi,
>
> I think finally compilation worked fine but the deployment failed. Please see the attached log file. It seems to me the android device has been off-line but I already started "p12run --platform=gepop --host=arm --fabric=iss".
It seems a platform issue... before running make to install the update.zip, just check that the board is reachable via ADB, try a simple:
$ adb shell ps
... you should see the list of processes running in the emulator.
Otherwise, there are ADB communication problems... and this does not depends on BOSP.
However, I've never experiences this kind of issues, actually I've also never tested with ISS for the fabric side. Could you try using the posix mode the fabric, i.e.
p12run --platform=gepop --host=arm --fabric=posix
This provides you a functional simulation for the accelerator side, but it should be just enough for your purposes (i.e. application integration)
Maybe may configuration is faulty. I use the latest SDK and NDK (r8d) from the Android website. Additionally Germain provided me an arm-linux-androideabi-4.4.3, for what purpose ever.
Ok, that should be fine. However, just know that BOSP configured for Android/SThorm provides a gcc-4.6 cross-toolchain, which is installed in out/android-toolchain
>
> Best regards,
> Jens
Let me know if the POSIX simulation solves,
Ciao Patrick
Nope,
did not work. Same error again. Log file of make is attached and output of p12run is given below:
brandenburg@ubuntu10:~/custom/bosp$ p12run --platform=gepop --host=arm --fabric=posix
Preparing Android images
/tmp/androidRamdisk.nE426v ~/custom/bosp
521 blocks
1286 blocks
~/custom/bosp
/tmp/androidSystemdisk.V0AlT8 ~/custom/bosp
end of image
cp: cannot stat `/home/brandenburg/custom/sthorm-sdk-118/modules/vision/etc/*': No such file or directory
~/custom/bosp
Check if avd exists
Created AVD 'P2012-4.0.x-c0d0a69c806c446d048b' based on P2012 (STMicroelectronics), ARM (armeabi-v7a) processor,
with the following hardware config:
hw.lcd.density=240
vm.heapSize=24
p12.fabric.iss=false
p12.fabric.numClusters=1
hw.ramSize=512$ Gepop fabric side detected broken connection, leaving...
Best regards,
Jens
Hi Jens,
it seems the emulator is crashing, could you tell me which SDK are you using and if this happens with previous SDKs ?
Bye,
Germain
When you launch this command:
adb shell /data/bosp/sbin/barbeque
If I well remember, you have to keep it and launch the application in another terminal. Otherwise if you hit control C, this is killing BBQ, is it the case ?
Germain, yes, you are right... BBQ must be keept running in a separate terminal.However, from the log Jens forwarded, it seems more the case that BBQ is stock waiting for the device driver, in the emulator as well as it happens in the physical board... but here in Milano, Giuseppe is testing it again, BBQ in the emulator is working fine and SThorm resources are properly enumerated.Jens, maybe we could setup an hangout with desktop sharing to better check what's going wrong. Are you available?
It's a problem related to recipes... they are not the correct version for STHORM.Few mins and I'll be back with the solution.
Hi Patrick,
I tested the updated version. I think the log file (see logcat_2.log attached) looks different but the failure still remains (see below and in the log file attached):
E/bq.rl.xml( 114): Unable to get the system platform ID
E/bq.am ( 114): Load NEW recipe [BbqRTLibTestApp] FAILED (Error: 4)
E/bq.am ( 114): Create EXC [00125:exc_00:00] FAILED (Error while loading recipe [BbqRTLibTestApp])
E/bq.ap ( 114): APPs PRX: EXC [00125:bbque-testapp:00], name [exc_00] registration FAILED (Error: missing recipe or recipe load failure)
you can find the PIL in the SDK under modules/linux/lib/include/p2012_pil.h
Ok, yess... indeed that is the header we refer once BBQ is build from sources.Jens: please check in the BOSP menuconfig that, under "External" you point to the last STHorm SDK (i.e. v145).
Hi,
I checked the menuconfig and it points to the SDK v118 from 27th of March. What might be a problem is that I used the setup script from the SDK 2013.1. I changed this to SDK v118.
As you can see below the test application works fine at the third call of the test application. Maybe I should recompile Barbeque "make clean all"? Or should I use the new SDK v145 from yesterday? Anyway this will need some more time till the next test.
Best regards,
Jens
I would suggest to switch to SDK v145, which I've just tested it is working fine with Gepop in _ISS mode_, i.e.:p12run --platform=gepop --host=arm --fabric=posix
I switched to SDK v145. From my point of view two problems still remain. First during make the deployment did not work correctly.
Second the test application fails sometimes. At least after some tries I get the test application running.
Did you test BBQ with an NPM based application?
If so can you provide me the code of this test application to help me with integrating BBQ into the SVC decoder.
Best regards,
Jens
Hi,
make.log has been attached in the last mail (but I attached the file again). The problem is known:
minzip: Extracted file "/data/bosp/usr/bin/bbque-testapp"
about to run program [/system/bin/dd] with 3 args
/system/vendor/lib/libbbque_rtlib.so: cannot open for write: Out of memory
run_program: child exited with status 1
Concerning the second issue: As could be seen in the log at the end of the previous mail I had to restart the test application twice. I am also sorry but my experience in the Gepop+ISS+NPM scenario is also limited. So who is the expert I can pester with my issues?
Did I have to call make every time before starting Barbeque?
Okay I will try to create something running and cross fingers that it is that easy.
Best regards,
Jens
Hi Patrick,
I managed to reproduce the issue, I will debug it.
Ciao,
Germain
From: derk...@gmail.com [mailto:derk...@gmail.com] On Behalf Of Patrick Bellasi
Sent: Tuesday, April 09, 2013 1:48 PM
To: Germain HAUGOU; bosp-...@googlegroups.com
Cc: Jens Brandenburg
Subject: Re: Fwd: Re: [STHORM] Updated instruction on how to build BOSP for STHORM Platform
On Tue, Apr 9, 2013 at 1:24 PM, Patrick Bellasi <bel...@elet.polimi.it> wrote: