Hi, All
Android team now has tools for updating the kernel related files without
recreating the sdcard.
The detail information about the tools is described here:
https://wiki.linaro.org/Platform/Android/KernelUpdateTools
And here just list some examples:
1. update all the kernel related files with boot.tar.bz2
./update-android.sh out/target/product/pandaboard/boot.tar.bz2
2. only update one file that will be in the boot.tar.bz2 when packaged,
Like board.dtb/uImage/cmdline
./update-android.sh out/target/product/pandaboard/boot/board.dtb
./update-android.sh out/target/product/pandaboard/boot/uImage
./update-android.sh out/target/product/pandaboard/boot/cmdline
3. update all kernel modules.
./update-android.sh out/target/product/pandaboard/obj/kernel
4. update files in uInitrd
./update-uInitrd.sh /tmp/init.rc
this will replace the /ini.rc file in uInitrd with the passed
/tmp/init.rc
Hope these tools will be helpful during your development of android.
Any comments/suggestion, please feel free to send to me.
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 builds on android-build page are currently being rearranged. The links
to the few of builds are broken.
It may take few hours to rearrange the builds. A mail will be sent out once
the builds are available for download again.
Regards,
Vishal
hi,
I want build from source. The branch is linaro-android-12.05-release.
I download linaro_android_build_cmds.sh and run it,but always failed :error:
Exited sync due to fetch errors
today , i run linaro_android_build_cmds.sh, a new problem:
……
repo has been initialized in /home/ymj/pandaboard/android/android
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 1753 0 1753 0 0 819 0 --:--:-- 0:00:02 --:--:--
2303
fatal: error parsing manifest
/home/ymj/pandaboard/android/android/.repo/manifest.xml: mismatched tag:
line 40, column 2
Why?
and today i can't find the Tutorials in
https://android-build.linaro.org/builds/~linaro-android/panda-ics-gcc47-til…
what happened ?
So I think this issue may be Android kernel related, because we seem
to be the only ones hitting it. This seems to imply that there's a
kernel change we don't have or the kernel has changed in our newer
versions. The symptom is:
W/SchedPolicy( 1193): add_tid_to_cgroup failed to write '1263'
(Permission denied); policy=1
W/ActivityManager( 1193): Failed setting process group of 1263 to -1
W/System.err( 1193): java.lang.SecurityException: No permission to set
to given group
W/System.err( 1193): at android.os.Process.setProcessGroup(Native Method)
W/System.err( 1193): at
com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:13516)
W/System.err( 1193): at
com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:13636)
W/System.err( 1193): at
com.android.server.am.ActivityManagerService.updateLruProcessLocked(ActivityManagerService.java:1903)
W/System.err( 1193): at
com.android.server.am.ActiveServices.realStartServiceLocked(ActiveServices.java:1089)
W/System.err( 1193): at
com.android.server.am.ActiveServices.attachApplicationLocked(ActiveServices.java:1472)
W/System.err( 1193): at
com.android.server.am.ActivityManagerService.attachApplicationLocked(ActivityManagerService.java:4269)
W/System.err( 1193): at
com.android.server.am.ActivityManagerService.attachApplication(ActivityManagerService.java:4317)
W/System.err( 1193): at
android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:386)
W/System.err( 1193): at
com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1675)
W/System.err( 1193): at android.os.Binder.execTransact(Binder.java:351)
W/System.err( 1193): at dalvik.system.NativeStart.run(Native Method)
Looking back at top:
I have:
1193 0 0% S 70 548684K 42168K fg system system_server
1263 0 0% S 13 476904K 36216K fg u0_a27 com.android.systemui
so system_server is attempting to write com.android.systemui and its
getting an error. The relevant native function seems to be:
/workspace/androids/4_juice-aosp/system/core/libcutils/sched_policy.c
I saw that Tixy also hit this,
https://bugs.launchpad.net/linaro-landing-team-arm/+bug/1037611
..but that the bug never got assigned, etc...
I tried setting:
chmod 0660 /dev/cpuctl/tasks
to
chmod 0666 /dev/cpuctl/tasks
but didn't see any difference.
This change from the Android automerger, seems to be related:
https://android.googlesource.com/platform/system/core/+/d7562ee3d61504ba5d2…
I also found what appears to be a workaround:
https://android.googlesource.com/platform/frameworks/native/+/f30fd01497a53…
Looking at additional logs I see what looks like an attempt to put the
process that needs to get changed into the right group:
W/System.err( 1192): java.lang.SecurityException: No permission to set
to given group
W/System.err( 1192): at android.os.Process.setProcessGroup(Native Method)
W/System.err( 1192): at
com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:13516)
W/System.err( 1192): at
com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:13636)
W/System.err( 1192): at
com.android.server.am.ActivityManagerService.updateLruProcessLocked(ActivityManagerService.java:1903)
W/System.err( 1192): at
com.android.server.am.ActiveServices.realStartServiceLocked(ActiveServices.java:1089)
W/System.err( 1192): at
com.android.server.am.ActiveServices.attachApplicationLocked(ActiveServices.java:1472)
W/SchedPolicy( 1192): add_tid_to_cgroup failed to write '1268'
(Permission denied); policy=1
W/ActivityManager( 1192): Failed setting process group of 1268 to -1
W/System.err( 1192): at
com.android.server.am.ActivityManagerService.attachApplicationLocked(ActivityManagerService.java:4269)
W/System.err( 1192): at
com.android.server.am.ActivityManagerService.attachApplication(ActivityManagerService.java:4317)
W/System.err( 1192): at
android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:386)
W/System.err( 1192): at
com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1675)
W/System.err( 1192): at android.os.Binder.execTransact(Binder.java:351)
W/System.err( 1192): at dalvik.system.NativeStart.run(Native Method)
1192 0 0% S 71 549636K 42460K fg system system_server
1268 0 0% S 14 477920K 36224K fg u0_a27 com.android.systemui
>From these logs I think system_server is trying to put
com.android.systemui into the bg because its using a lot of CPU, but
it can't because it either doesn't have access or something else is
going on.
Anyhow, attached some logs from a first boot scenario.
Any help or insight would be great.
--
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
Hi,
The agenda has been posted for tomorrow's meeting:
https://wiki.linaro.org/Platform/Android/Meetings/2013-01-23
Please update your weekly status and also go through the agenda and feel
free to update agenda items.
Can all volunteers go through the Howtos and update them for the builds.
Please update the BPs for the 13.01 cycle.
Regards,
Vishal
Hi.
I followed the documentation on
https://android-build.linaro.org/builds/~linaro-android/imx53-ics-gcc47-fre…
on Ubuntu 10.04 x86_64 LTS. I of course had to install gcc-4.7 first, but
that was easy to find on the Internet.
My problem it seems is some lines like the following (for libgcc_s.so and
libgcc.a too):
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so when searching for -lstdc++
It ends in:
make: ***
[out/host/linux-x86/obj/EXECUTABLES/fs_get_stats_intermediates/fs_get_stats]
Error 1
make: *** Waiting for unfinished jobs....
make: ***
[out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs] Error 1
The last line before the /usr/bin/ld lines and the make -lines is:
target StaticLib: liblog
(out/target/product/iMX53/obj/STATIC_LIBRARIES/liblog_intermediates/liblog.a)
Btw. I also tried the binaries from
http://releases.linaro.org/images/12.03/android/imx53-ics-gcc46-freescalelt…,
but I didn't get it to boot with the LCD screen. I tried to do manually
from uboot the same as the boot.scr script does, but I didn't get the
screen anyway.
Sp1
Hi all,
We have been working on unifying the tracking-origen and tracking-vexpress
android manifests into one. The last bits and pieces went in last week and
I was finally able to update the official builds this weekend.
There are some changes you should be aware of:
- tracking.xml introduced which supports both devices
- kernel and u-boot are now located under kernel/linaro/<device> and
u-boot/linaro/device
- tracking.xml uses repo groups to enable synching of only those gits
needed for either device (more on this below)
I will push a patch to remove the old manifests today. We hope to move more
devices to this format going forward.
To use the repo groups support use the -g flag when you do repo init.
$ repo init -u ... -b ... -m tracking.xml -g "group1, group2,..."
There are currently 3 groups you need to be aware of:
1. common, all gits which are common
2. origen, all gits which are specific for origen
3. vexpress, all gits which are specific for vexpress
Getting the vexpress code (for instance):
$ repo init -u ... -b ... -m tracking.xml -g "common,vexpress"
A REPO_GROUPS build config parameter has been introduced to
android-build.linaro, both the official builds are using it.
Regards,
Axel