Hi, bero
Sorry, just copied my question in IRC here.
<liuyq> bero, can our toolchain be used directly for NDK?
<bero> liuyq: Probably just needs a few minor tweaks
<liuyq> in ndk/build/tools/DEV-SCRIPTS-USAGE.TXT, I see such things:
<liuyq> The AOSP toolchain/ repository contains sources corresponding to
toolchains
<liuyq> that are used to build the Android platform tree. For various
reasons, they
<liuyq> need to be slightly patched for use with the NDK.
<liuyq> bero, I am confused that if the toolchain used for normal build can
be used directly for NDK?
<liuyq> bero, in our normal build, we just specify TARGET_TOOLS_PREFIX
before build, are the jni files built with the same toolchain specified by
TARGET_TOOLS_PREFIX?
--
Thanks,
Yongqin Liu
---------------------------------------------------------------
#mailing list
linaro-android(a)lists.linaro.org <linaro-dev(a)lists.linaro.org>
http://lists.linaro.org/mailman/listinfo/linaro-android
linaro-validation(a)lists.linaro.org <linaro-dev(a)lists.linaro.org>
http://lists.linaro.org/pipermail/linaro-validation
Hi,
The agenda has been posted for tomorrow's meeting:
https://wiki.linaro.org/Platform/Android/Meetings/2013-01-16
Please update your weekly status and also go through the agenda and feel
free to update agenda items. Please think about any ideas for connect
discussions and demos for Demo Friday.
Regards,
Vishal
This should be set in all our builds. It disables the first boot
wizard and the lockscreen (among other things I'm still looking into).
There also seems to be a nifty little way to do this using the Trade
Federation stuff, which I've just started looking at.
--
Zach Pfeffer
Android Platform Team Lead, Linaro Platform Teams
Linaro.org | Open source software for ARM SoCs
Follow Linaro: http://www.facebook.com/pages/Linarohttp://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog
sir,
i have successfully done the porting of ICS on pandaboard by prebuild
binaries
as a part of my project i have to do something more but i don't know java
and cann't write android app
so what else can i do on system level
how can i customize these prebuild binaries so that i can install
additional services like bluetooth, ethernet, camera, temperature sensors .
TUSHAR GOYAL
i am currently porting icecream sandwich on pandaboard and facing problem
while partitioning SD card. please suggest a solution to ocvercome this
error.
I see...
Device Mount point Size
/dev/sda none 152587MB
/dev/sda1 none 54MB
/dev/sda10 none 35840MB
/dev/sda11 / 10244MB
/dev/sda2 none 30725MB
/dev/sda3 none 120346MB
/dev/sda5 /media/_1 30725MB
/dev/sda6 /media/_home1 20481MB
/dev/sda7 none 2565MB
/dev/sda8 /media/DAC 10244MB
/dev/sda9 /media/DESD 10244MB
/dev/sdb none 3780MB
Are you 100% sure, on selecting [/dev/sdb] (y/n)? y
bzip2: Compressed file ends unexpectedly;
perhaps it is corrupted? *Possible* reason follows.
bzip2: Inappropriate ioctl for device
Input file = (stdin), output file = (stdout)
It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.
You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
Traceback (most recent call last):
File "./linaro-image-tools/linaro-android-media-create", line 141, in
<module>
unpack_android_binary_tarball(args.system, SYSTEM_DIR)
File
"/opt/try/linaro-image-tools/linaro_image_tools/media_create/unpack_binary_tarball.py",
line 27, in unpack_android_binary_tarball
proc.wait()
File "/opt/try/linaro-image-tools/linaro_image_tools/cmd_runner.py", line
100, in wait
raise SubcommandNonZeroReturnValue(self._my_args, returncode)
linaro_image_tools.cmd_runner.SubcommandNonZeroReturnValue: Sub process
"['sudo', '-E', 'tar', '--numeric-owner', '-C', '/tmp/tmpCtNKd8/system',
'-jxf', 'system.tar.bz2']" returned a non-zero value: 2
Calendar Week 2, 2013: Here is test result summary for Linaro android
Linaro android on following board:
[1] TI Panda board 4430
[2] TI Panda board 4460
[3] ST Ericsson snowball
[4] Samsung origen board.
synopsis: after board bootup on panda board the primary display on HDMI
colour is inverted. on Samsung origen Linaro android youtube bug is fixed.
playback of youtube is work fine. audio test PASS.
[1] TI Panda 4430 Linaro android [column :X]
https://docs.google.com/a/linaro.org/spreadsheet/ccc?key=0AkxwyUNxNaAadGVWd…
After board bootup Primary-vid out on HDMI colour is inverted in this build,
audio test PASS, glmark2 test fail, suspend resume doesnot work,
powertop-test fail, suspend-resume test fail,
wifi failed to connect.
[2] TI Panda 4460 Linaro android [column : Z]
https://docs.google.com/a/linaro.org/spreadsheet/ccc?key=0AkxwyUNxNaAadGVWd…
After board bootup Primary-vid out on HDMI colour is inverted in this build,
audio test PASS, glmark2 test fail, suspend resume doesnot work,
powertop-test fail, suspend-resume test fail, BT enable failed from UI,
speech recorder crashes, wifi failed to connect.
[3] ST Ericsson snowball Linaro android [column : U]
https://docs.google.com/a/linaro.org/spreadsheet/ccc?key=0AkxwyUNxNaAadEF1N…
result is exactly same as last few build test, youtube, audio, and video
playback fail, device tree is not present in snowball kernel,
[4] Samsung Origen Linaro Android [column: P ]
https://docs.google.com/a/linaro.org/spreadsheet/ccc?key=0AkxwyUNxNaAadDRDV…
audio-test is PASS, youtube bug is fixed , play youtube vid OK, gallery
does not show the content of sd-card, wifi and BT test failed, calender,
people and email sync failed.
Thanks and regards
Soumya Basak.
On Wed, 2013-01-09 at 16:04 +0000, Punit Agrawal wrote:
> >>
> >> I am not quite sure where to send this patch to get it included in Linaro. But
> >> you seem to have a few patches in this repo, so maybe you can apply this one.
> >
> > Yes, I can do that. It looks like it copes OK for devices without any
> > A7's but will give it a test to check that first :-)
> I tried to ensure this was the case, but don't have anything other than
> TC2, so testing on other devices is most appreciated.
I had to fix the line which gets the script called at boot:
-service setirqaffinity /set_irq_affinity 0xc07
+service setirqaffinity /set_irq_affinity.sh 0xc07
and testing on TC2, A9, and big.LITTLE Fast Models shows IRQ affinities
getting set as we expect, i.e. to A7 cores if they exist, otherwise to
all cores. I spoke to someone about the possible issues with IKS (the In
Kernel Switcher for big.LITTLE) and the conclusion was that this patch
would be innocuous.
After fixing some whitespace issues and adding that '.sh' into
init.arm-versatileexpress I've pushed the change into Gerrit
http://review.android.git.linaro.org/#change,3240
--
Tixy
> >>
> >> device.mk | 3 ++-
> >> init.arm-versatileexpress.rc | 6 ++++++
> >> set_irq_affinity.sh | 45 ++++++++++++++++++++++++++++++++++++++++++
> >> 3 files changed, 53 insertions(+), 1 deletion(-)
> >> create mode 100755 set_irq_affinity.sh
> >>
> >> diff --git a/device.mk b/device.mk
> >> index 6e6c6dd..9ca73e3 100644
> >> --- a/device.mk
> >> +++ b/device.mk
> >> @@ -9,7 +9,8 @@ PRODUCT_COPY_FILES += \
> >> device/linaro/vexpress/init.v2p-aarch64.rc:root/init.v2p-aarch64.rc \
> >> device/linaro/vexpress/ueventd.v2p-aarch64.rc:root/ueventd.v2p-aarch64.rc \
> >> device/linaro/vexpress/init.vexpress.sh:system/etc/init.vexpress.sh \
> >> - device/linaro/vexpress/initlogo.rle:root/initlogo.rle
> >> + device/linaro/vexpress/initlogo.rle:root/initlogo.rle \
> >> + device/linaro/vexpress/set_irq_affinity.sh:root/set_irq_affinity.sh
> >>
> >> PRODUCT_CHARACTERISTICS := tablet,nosdcard
> >>
> >> diff --git a/init.arm-versatileexpress.rc b/init.arm-versatileexpress.rc
> >> index a71e491..d710f36 100644
> >> --- a/init.arm-versatileexpress.rc
> >> +++ b/init.arm-versatileexpress.rc
> >> @@ -33,6 +33,12 @@ on boot
> >> chown system system /sys/class/graphics/fb0/fit_to_screen
> >> chown system system /sys/class/graphics/fb1/overlays
> >>
> >> +# setup IRQ affinity to the A7s
> >> +service setirqaffinity /set_irq_affinity 0xc07
> >> + class main
> >> + user root
> >> + oneshot
> >> +
> >> service faketsd /system/bin/faketsd
> >> class main
> >> user bluetooth
> >> diff --git a/set_irq_affinity.sh b/set_irq_affinity.sh
> >> new file mode 100755
> >> index 0000000..4a09d61
> >> --- /dev/null
> >> +++ b/set_irq_affinity.sh
> >> @@ -0,0 +1,45 @@
> >> +#!/system/bin/sh
> >> +
> >> +# This script sets the default affinity to the processors with the given part id.
> >> +# - part id is in hex (as seen in /proc/cpuinfo)
> >> +
> >> +function build_mask_from_part_id {
> >> + local IFS
> >> + local mask
> >> + local ref_part_id
> >> +
> >> + ref_part_id=$1
> >> + IFS=$'\n'
> >> +
> >> + for line in `cat /proc/cpuinfo`
> >> + do
> >> + IFS=':'
> >> + set -A tokens $line
> >> +
> >> + if [ "${line#'processor'}" != "$line" ]
> >> + then
> >> + cpu="${tokens[1]##' '}"
> >> + elif [ "${line#'CPU part'}" != "$line" ]
> >> + then
> >> + part_id="${tokens[1]##' '}"
> >> +
> >> + if [ "$part_id" == "$ref_part_id" ]
> >> + then
> >> + (( mask |= 1 << $cpu ))
> >> + fi
> >> + fi
> >> + done
> >> + echo $(printf "%x" $mask)
> >> +}
> >> +
> >> +ref_part_id=$(echo $1 | tr '[A-Z]' '[a-z]')
> >> +mask=$(build_mask_from_part_id $ref_part_id)
> >> +[ -z "$mask" ] && exit
> >> +
> >> +echo $mask > /proc/irq/default_smp_affinity
> >> +
> >> +for i in `ls /proc/irq`
> >> +do
> >> + affinity_file="/proc/irq/$i/smp_affinity"
> >> + [ -e $affinity_file ] && echo $mask > $affinity_file
> >> +done
> >> --
> >> 1.7.9.5
> >
>
>
> -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
>