Hi,
I’m confused when I use memcpy() in pandaboard android. The test code is very simple, as below:
#define PER_COPY_SIZE (1024*1024*4)
int main(int argc, char *argv[ ]){
char *src;
char *dst;
char *p;
src=(char *)malloc(PER_COPY_SIZE);
dst=(char*)malloc(PER_COPY_SIZE);
p=src;
#if 1
for(int i=0; i<PER_COPY_SIZE; i++){
*p++=i%255;
}
#endif
for(int j=0; j<1000; j++){
memcpy(dst, src, PER_COPY_SIZE);
}
free(src);
free(dst);
return 0;
}
It copies 4M byte data from source to dest repeatedly and takes 12 seconds. But when I get rid of the part of code in red color, it takes only 4 seconds. Why does the writing to source firstly has influence the memcpy( ) time so greatly?
Thanks & Best Regards!
牟刚
Actions Semiconductor Co.,Ltd
Tel: +86-756-3392353 ext.3103 Fax: +86-756-3392251
Email: mugang(a)actions-semi.com HTTP://www.actions-semi.com
________________________________
发件人: 牟刚
发送时间: 2012年10月30日 16:04
收件人: 'linaro-android(a)lists.linaro.org'
主题: pandaboard GPU driver
Hi,
I want compile pandaboard GPU driver myself and get the library, such as “libEGL_POWERVR_SGX540_120.so”, “libIMGegl.so” and so on. How can I get the GPU driver source code and compile environment?
Thanks & Best Regards!
牟刚
Actions Semiconductor Co.,Ltd
Tel: +86-756-3392353 ext.3103 Fax: +86-756-3392251
Email: mugang(a)actions-semi.com HTTP://www.actions-semi.com
Hi,
I want compile pandaboard GPU driver myself and get the library, such as “libEGL_POWERVR_SGX540_120.so”, “libIMGegl.so” and so on. How can I get the GPU driver source code and compile environment?
Thanks & Best Regards!
牟刚
Actions Semiconductor Co.,Ltd
Tel: +86-756-3392353 ext.3103 Fax: +86-756-3392251
Email: mugang(a)actions-semi.com HTTP://www.actions-semi.com
Hello all,
I am not able to do file test operations in android
if I am executing below command
-b /dev/ttyACM0
it is saying
*-b: not found*
if I am executing in script
device0="/dev/ttyACM0" # / (root directory)
if [ -b "$device0" ]
it is giving
*:] not found
*
I tried test -b /dev/ttyACM0 that is also giving error test not found
Can anybody tell me how to execute file test operations in android*
*Thanks & Regards
O S L Reddy*
*
Hi,
12.10 Release: Here is test result summary for Linaro Android
platform on following boards:
1) ARM Versatile Express A9
2) ST-Ericsson Snowball
3) TI Panda Board 4430
4) TI Panda Board 4460
5) Samsung Origen
*Synopsis - Minor glitch in rendering install instructions for all the
boards. **Tool chain version has been upgraded to the 12.10 officially
on Origen.
Snowball and vexpress builds work fine and no major difference observed
compared to last week testing. Panda on the other hand got some bugs fixed
and features such as wifi, powertop, google apps are working fine. For more
detail test results, please check the last column of the test spreadsheet
provided below. *
*
*
1) *ARM Versatile Express A9* -
https://docs.google.com/a/linaro.org/spreadsheet/ccc?key=0AkxwyUNxNaAadExQd…
Features like glmark2,
youtube, speech recorder, email, calendar and people still dont work. Test
results are similar to last week.
2) *ST-Ericsson Snowball * -
https://docs.google.com/a/linaro.org/spreadsheet/ccc?key=0AkxwyUNxNaAadEF1N…
No major difference
observed compared to 12.09 release. WiFi,BT,youtube still not working and
SD card not getting detected blocking few other test cases.
3)* TI Panda Board 4430 * -
https://docs.google.com/a/linaro.org/spreadsheet/ccc?key=0AkxwyUNxNaAadGVWd…
Email, calendar, wifi,
powertop are working fine with 12.10 release. Suspend/resume still not
working with 4430.
4) *TI Panda Board 4460 * -
https://docs.google.com/a/linaro.org/spreadsheet/ccc?key=0AkxwyUNxNaAadGVWd…
12.10 release fixes
few important features such as email,calendar,people, wifi, powertop etc.
SD card detects the content but not able to play video.
5) *Samsung Origen * -
https://docs.google.com/a/linaro.org/spreadsheet/ccc?key=0AkxwyUNxNaAadDRDV…
Tool chain version has been
upgraded to the 12.10 officially. For installation instruction, there are
some display error on web page and a bug has been raised for this. HDMI
works on another colleague's board but doesn't work on my own. All other
features remain same.
Note: Calendar week 42 result attached for reference.
Thanks,
Amit khare <amit.khare(a)linaro.org>
QA Services - Linaro Platform
http://wiki.linaro.org/Platform/QA
Hi Josep,
The graphics binaries are missing on the sdcard. Currently the graphics
installer script "install-binaries.sh" equivalent for windows is not
available . You will need a linux machine to install the binaries.
Regards,
Vishal
On 21 October 2012 01:19, Josep Soms <josep.soms(a)lefthome.net> wrote:
> Hello Michael,
>
> Thank you very much for your help.
>
> Unfortunately there are no instructions for this in the download page of
> the prebuild image (landing-panda.img is the only file mentioned in this
> section):
>
> Using pre-built image
>
> # Insert SD card and note the assigned '/dev/sdX' or '/dev/mmcblk0'
> $ dmesg
>
> $ SDCARD=/dev/sdX # sdcard found from dmesg above
> $ URL=http://releases.linaro.**org/12.01/android/images/**
> landing-panda/landing-panda.**img.gz<http://releases.linaro.org/12.01/android/images/landing-panda/landing-panda…>
> $ curl $URL | gunzip -c | sudo dd bs=64k of=$SDCARD
> Note: Windows users may use the Image Writer for Windows
>
> It would be very much appreciated if you could provide more detailed
> instructions about this on next working day in the office.......
>
> Sorry for my poor know-how about image writing.
>
> Have a nice Sunday.
>
>
> Josep
>
> -----Mensaje original----- From: Michael Trimarchi
> Sent: Saturday, October 20, 2012 9:14 PM
>
> To: Josep Soms
> Cc: Vishal Bhoj
> Subject: Re: Pandaboard ES platform issues.
>
> Hi
>
> Josep Soms <josep.soms(a)lefthome.net> ha scritto:
>
> Hello Michael,
>>
>> Thank you very much for your help.
>>
>> Where can I get the correct version of the opengl binary ?
>> Please could you confirm in which partition of SD-Card should I push it
>> ?
>>
>
> The correct version is always in the download page of the prebuild image.
> I'm
> with mobile and I can't help.
>
> Michael
>
>
>> Thanks,
>> Josep
>>
>> -----Mensaje original----- From: Michael Trimarchi
>> Sent: Saturday, October 20, 2012 8:42 PM
>> To: Josep Soms
>> Cc: Vishal Bhoj
>> Subject: Re: Pandaboard ES platform issues.
>>
>> Hi
>>
>>
>> Josep Soms <josep.soms(a)lefthome.net> ha scritto:
>>
>> Dear Michael,
>>>
>>> Thank you very much for your help.
>>>
>>> I think opengl should be included in the prebuilt image, shouldn't it
>>>
>> ?
>>
>>>
>>> In other case, please could you let me know how to add opengl binary
>>>
>> to
>>
>>> the
>>> prebuilt image on the SD-Card with Win32 Disk Imager ?
>>>
>>
>> You can try using adb and push in the correct position
>>
>> Michael
>>
>>>
>>> Thanks,
>>> Josep
>>>
>>>
>>> -----Mensaje original----- From: Michael Trimarchi
>>> Sent: Saturday, October 20, 2012 8:11 PM
>>> To: Vishal Bhoj ; Josep Soms
>>> Cc: linaro-android(a)lists.linaro.**org <linaro-android(a)lists.linaro.org>
>>> Subject: Re: Pandaboard ES platform issues.
>>>
>>> Hi
>>>
>>> Vishal Bhoj <vishal.bhoj(a)linaro.org> ha scritto:
>>>
>>> Hi Josep,
>>>>
>>>> Can you please point the link from where you fetched the images and
>>>>
>>> the
>>>
>>>> installation instructions ?
>>>>
>>>> Also Can you run the command "logcat" once the device is booted up
>>>>
>>> and
>>
>>> share the logs. That will be more helpful to debug the issue.
>>>>
>>>>
>>> I think that you don't install the binary for
>>> the opengl.
>>>
>>> Michael
>>>
>>> Regards,
>>>> Vishal
>>>>
>>>> On 20 October 2012 23:31, Josep Soms <josep.soms(a)lefthome.net> wrote:
>>>>
>>>> Dear Vishal,
>>>>>
>>>>> From the Linaro mailing list, I think you are the expert for
>>>>>
>>>> Pandaboard ES
>>>>
>>>>> platform issues.
>>>>>
>>>>> So your help for this problem would be very much appreciated:
>>>>>
>>>>> I am just getting started with Android prebuilt images on
>>>>>
>>>> Pandaboard
>>
>>> ES
>>>>
>>>>> platform, but I don’t have success with any prebuilt image
>>>>>
>>>> available
>>
>>> on
>>>>
>>>>> your download section.
>>>>> As I’m not a Linux expert, prebuilt images are written on SD-Card
>>>>>
>>>> with
>>>>
>>>>> Win32 Disk Imager.
>>>>>
>>>>> - Several prebuild images tested, but Android does not work with
>>>>>
>>>> any
>>
>>> of
>>>>
>>>>> them.
>>>>> - 2 diferent boards tested, but unfortunately the result is the
>>>>>
>>>> same
>>
>>> (even
>>>>
>>>>> hadware validation is ok for both boards).
>>>>>
>>>>> It has been observed the top of OMAP4460 device is getting very
>>>>>
>>>> hot,
>>
>>> so
>>>>
>>>>> the board has been powered off in order to avoid any hardware
>>>>>
>>>> damage.
>>>
>>>> Several error messages on the terminal, unable to analyze all of
>>>>>
>>>> them
>>>
>>>> one
>>>>
>>>>> by one.
>>>>>
>>>>> Please could you help me ?
>>>>>
>>>>> Thanks,
>>>>> Josep
>>>>>
>>>>> P.D. For example, there are some of the error messages:
>>>>>
>>>>>
>>>>> [ 2751.705169] acc_open
>>>>> [ 2751.707946] acc_release
>>>>> [ 2752.743469] omap_alert_zone:hot spot temp 101092
>>>>> [ 2752.768890] binder: release 31777:31777 transaction 483178 in,
>>>>>
>>>> still
>>>>
>>>>> active
>>>>> [ 2752.776489] binder: send failed reply for transaction 483178 to
>>>>> 31918:31918
>>>>> [ 2752.784301] binder: release 31777:31789 transaction 483160 in,
>>>>>
>>>> still
>>>>
>>>>> active
>>>>> [ 2752.791687] binder: send failed reply for transaction 483160 to
>>>>> 31891:31957
>>>>> [ 2752.799468] binder: release 31777:31949 transaction 483141 in,
>>>>>
>>>> still
>>>>
>>>>> active
>>>>> [ 2752.806884] binder: send failed reply for transaction 483141 to
>>>>> 31891:31891
>>>>> [ 2752.814392] binder: release 31777:31950 transaction 483176 in,
>>>>>
>>>> still
>>>>
>>>>> active
>>>>> [ 2752.821899] binder: send failed reply for transaction 483176 to
>>>>> 31879:31879
>>>>> [ 2752.829681] binder: send failed reply for transaction 483179 to
>>>>> 31911:31911
>>>>> [ 2752.837188] binder: send failed reply for transaction 483186 to
>>>>> 31958:31958
>>>>> [ 2752.844848] binder: 31851:31851 transaction failed 29189, size
>>>>>
>>>> 156-0
>>>>
>>>>> [ 2752.853607] binder: 31879:31879 transaction failed 29189, size
>>>>>
>>>> 292-8
>>>>
>>>>> [ 2752.877990] binder: 31891:31891 transaction failed 29189, size
>>>>>
>>>> 224-4
>>>>
>>>>> [ 2752.884735] binder: 31851:31851 transaction failed 29189, size
>>>>>
>>>> 100-0
>>>>
>>>>> [ 2752.917663] binder: 31851:31851 transaction failed 29189, size
>>>>>
>>>> 5348-4
>>>>
>>>>> [ 2753.003082] alarm_release: clear alarm, pending 0
>>>>> [ 2753.008209] alarm_release: clear alarm, pending 0
>>>>> [ 2753.243499] omap_monitor_zone:hot spot temp 94279
>>>>> [ 2754.050354] request_suspend_state: wakeup (0->0) at
>>>>>
>>>> 2754024597173
>>
>>> (2000-01-01 00:45:50.002624484 UTC)
>>>>> [ 2754.074890] init: untracked pid 31751 exited
>>>>> [ 2754.079956] init: untracked pid 31750 exited
>>>>> [ 2754.084747] init: untracked pid 31879 exited
>>>>> [ 2754.089416] init: untracked pid 31891 exited
>>>>> [ 2754.094390] init: untracked pid 31958 exited
>>>>> [ 2754.105621] init: untracked pid 31863 exited
>>>>> [ 2760.588409] request_suspend_state: wakeup (0->0) at
>>>>>
>>>> 2760562622075
>>
>>> (2000-01-01 00:45:56.540649386 UTC)
>>>>> [ 2761.124206] acc_open
>>>>> [ 2761.126556] acc_release
>>>>>
>>>>>
>>>>
>>>> ------------------------------**------------------------------**
>>>> ------------
>>>>
>>>> ______________________________**_________________
>>>> linaro-android mailing list
>>>> linaro-android(a)lists.linaro.**org <linaro-android(a)lists.linaro.org>
>>>> http://lists.linaro.org/**mailman/listinfo/linaro-**android<http://lists.linaro.org/mailman/listinfo/linaro-android>
>>>>
>>>
> --
> Sent from my Android phone with K-9 Mail. Please excuse my brevity.
>
Dear Vishal,
>From the Linaro mailing list, I think you are the expert for Pandaboard ES platform issues.
So your help for this problem would be very much appreciated:
I am just getting started with Android prebuilt images on Pandaboard ES platform, but I don’t have success with any prebuilt image available on your download section.
As I’m not a Linux expert, prebuilt images are written on SD-Card with Win32 Disk Imager.
- Several prebuild images tested, but Android does not work with any of them.
- 2 diferent boards tested, but unfortunately the result is the same (even hadware validation is ok for both boards).
It has been observed the top of OMAP4460 device is getting very hot, so the board has been powered off in order to avoid any hardware damage.
Several error messages on the terminal, unable to analyze all of them one by one.
Please could you help me ?
Thanks,
Josep
P.D. For example, there are some of the error messages:
[ 2751.705169] acc_open
[ 2751.707946] acc_release
[ 2752.743469] omap_alert_zone:hot spot temp 101092
[ 2752.768890] binder: release 31777:31777 transaction 483178 in, still active
[ 2752.776489] binder: send failed reply for transaction 483178 to 31918:31918
[ 2752.784301] binder: release 31777:31789 transaction 483160 in, still active
[ 2752.791687] binder: send failed reply for transaction 483160 to 31891:31957
[ 2752.799468] binder: release 31777:31949 transaction 483141 in, still active
[ 2752.806884] binder: send failed reply for transaction 483141 to 31891:31891
[ 2752.814392] binder: release 31777:31950 transaction 483176 in, still active
[ 2752.821899] binder: send failed reply for transaction 483176 to 31879:31879
[ 2752.829681] binder: send failed reply for transaction 483179 to 31911:31911
[ 2752.837188] binder: send failed reply for transaction 483186 to 31958:31958
[ 2752.844848] binder: 31851:31851 transaction failed 29189, size 156-0
[ 2752.853607] binder: 31879:31879 transaction failed 29189, size 292-8
[ 2752.877990] binder: 31891:31891 transaction failed 29189, size 224-4
[ 2752.884735] binder: 31851:31851 transaction failed 29189, size 100-0
[ 2752.917663] binder: 31851:31851 transaction failed 29189, size 5348-4
[ 2753.003082] alarm_release: clear alarm, pending 0
[ 2753.008209] alarm_release: clear alarm, pending 0
[ 2753.243499] omap_monitor_zone:hot spot temp 94279
[ 2754.050354] request_suspend_state: wakeup (0->0) at 2754024597173 (2000-01-01 00:45:50.002624484 UTC)
[ 2754.074890] init: untracked pid 31751 exited
[ 2754.079956] init: untracked pid 31750 exited
[ 2754.084747] init: untracked pid 31879 exited
[ 2754.089416] init: untracked pid 31891 exited
[ 2754.094390] init: untracked pid 31958 exited
[ 2754.105621] init: untracked pid 31863 exited
[ 2760.588409] request_suspend_state: wakeup (0->0) at 2760562622075 (2000-01-01 00:45:56.540649386 UTC)
[ 2761.124206] acc_open
[ 2761.126556] acc_release
Hi,
Calendar Week 42: Here is test result summary for Linaro Android
platform on following boards:
1) ARM Versatile Express A9
2) ST-Ericsson Snowball
3) TI Panda Board 4430
4) TI Panda Board 4460
5) Samsung Origen
*Synopsis - Android version for all the boards mentioned above
has changed to 4.1.2. Glmark2 and wifi/BT still not working on panda. On
other boards Vexpress-a9, Origen and Snowball no major differences are
observed compared to the last week testing. For more detail test results,
please check the last column of the spreadsheet provided above. *
*
*
1) *ARM Versatile Express A9* -
https://docs.google.com/a/linaro.org/spreadsheet/ccc?key=0AkxwyUNxNaAadExQd…
Features like glmark2,
youtube, speech recorder, email, calendar and people still dont work. Test
results are similar to last week.
2) *ST-Ericsson Snowball * -
https://docs.google.com/a/linaro.org/spreadsheet/ccc?key=0AkxwyUNxNaAadEF1N…
This week test result is
similar as week 41. WiFi,BT,youtube still not working. SD card still not
getting detected blocking few other test cases.
3)* TI Panda Board 4430 * -
https://docs.google.com/a/linaro.org/spreadsheet/ccc?key=0AkxwyUNxNaAadGVWd…
Phone app still missing on
panda. SD card is still an issue which blocks few test cases. Hardware
graphics acceleration works fine.
4) *TI Panda Board 4460 * -
https://docs.google.com/a/linaro.org/spreadsheet/ccc?key=0AkxwyUNxNaAadGVWd…
Same comment as Panda 4430.
5) *Samsung Origen * -
https://docs.google.com/a/linaro.org/spreadsheet/ccc?key=0AkxwyUNxNaAadDRDV…
All features remain the same
status as previous week, except the tool chain version has been switched to
the 12.10. Ethernet adapter can only work after a command line based
manually setting, and due to WiFi is unavailable, this is the only way we
let the board be online. Google Apps can only work on "local" mode, Device
Tree, Video playback and HDMI display are still unavailable.
Note: Calendar week 41 result attached for reference.
Thanks,
Amit khare <amit.khare(a)linaro.org>
QA Services - Linaro Platform
http://wiki.linaro.org/Platform/QA