Age | Commit message (Collapse) | Author |
|
Change-Id: If02b256451396c4a30c1a013ed60bf08c2e4da8f
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
|
|
Change-Id: Iacfaf3c2e7df08d6b66992c9b4864b0232de1674
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
|
|
Change-Id: Ie4b641cd62b56f713178932cc5c08083c0d2452a
(cherry picked from commit dbab598466b93cf9c72e6da423269aa02820b3fe)
|
|
Change-Id: I5502b71d0c7c24d7fd59e4880033657f840b341a
(cherry picked from commit d65627e81a7369a66371a27fdc9a09ca25e28de8)
|
|
Update ion_test.h to include a padding word to keep the same
struct size on 32-bit and 64-bit.
Change-Id: I68086ce49ca4cc4ed8e251752eaed331a35fbbd2
(cherry picked from commit bb09192e59819ebcff1b2f5b2cc0ba82d6a68ef0)
|
|
Pull the uapi headers from android-3.10 directly into libion.
No other modules should be directly calling ion kernel
interfaces, so there is no reason to have those interfaces
exposed.
Change-Id: I2d3fef08f6bb381522ecf7bcffea2b8280d5e737
(cherry picked from commit dfebb0d32d323659744d96343ebd54e99fe304d3)
|
|
Return -errno from ion_close instead of -1 on error.
Change-Id: Idb828aa4b4d1a660b79d2dba8be32f306eac959d
(cherry picked from commit 1e78c288c89dea367ac1cbfeee788d47bcd0e865)
|
|
Add sys/types.h include for size_t
Change-Id: Ica764b1f5eca2df21d82c86493fc4e0d70b6628a
(cherry picked from commit a6177e1b53cde333509c1f560fd1ea82a3144695)
|
|
Check for NULL in any library function that takes a pointer.
Change-Id: I9ae8887b5ae0f231583173ee6a9dfd2f8c4611ec
(cherry picked from commit 9919436a5f7d01bd3ea090888fb3712c7bf0d5f4)
|
|
Convert everything to 4 space indents, no tabs.
Change-Id: I376fad866864f0579b91ffad406e872fcce566ad
(cherry picked from commit 87d78eb7ae49992ece78f59d8ba1e84161b0c00d)
|
|
Export it to users of libion with LOCAL_C_EXPORT_INCLUDE_DIRS
Change-Id: I4d00a9dd2e99953723994d0304ca77e0ad50a3a9
(cherry picked from commit 5be2a214e6b99b57675f640bccbcdfc735fe49a8)
|
|
- Replacing struct ion_handle * with ion_user_handle_t
- Replacing heap_mask field name with heap_id_mask
Change-Id: Iaba1ccc62b9398a7b37c5a734bc21a9ecbbc8277
(cherry picked from commit 13c21686b45d114c963f8b4d58db01d00e9acd7b)
|
|
Change-Id: If92fc31ab676a569530c21e655a1b5b451f5c5e5
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
(cherry picked from commit c0f3f805fde1ca33e0941fae9327284806943523)
|
|
Change-Id: I6552bf9f83faa97bd5a844381aceb3ef85f86c76
(cherry picked from commit 2436eccdd6f9d8560df5902b8b37db72df75713d)
|
|
If the system doesn't have the expected battery configuration then
healthd is quite noisy with it's log messages during boot and every
minute thereafter. Rather than have this spamming the kernels serial
console, direct this instead to Android's logging system.
This also has the effect of working around a serial port bug on
vexpress: https://bugs.launchpad.net/linaro-android/+bug/1254738
but reducing mostly spurious serial port noise is a good aim in itself.
Change-Id: I0eff5637009cfee47891a9c2363145634cbf0ae1
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
The legacy mount point for sdcards conflicts with current AOSP examples
and is no longer useful, so remove this and let init.<hardware>.rc be
responsible for defining the mount point and creating the /sdcard
symlink.
Change-Id: I45d9aec68b24f4fd975a35342a22777220e9460e
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
A common scenario is for developers and testers to build custom kernels
for use with Android images and forget or not know to also rebuild then
install the gator module. This leads to a kernel version mismatch in the
gator module preventing it from loading and causing the user-side gator
daemon to fail to start. When this occurs, the gatord service is
repeatedly restarted every five seconds and this background activity can
affect any profiling and benchmarking activity being undertaken.
We can prevent this situation by marking gatord as a 'oneshot' service
so there is only one attempt to start it at boot.
Change-Id: I824b306f7b6618ce210bc44843dd2e1730ce8304
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
Logcat is full of warnings like:
W/SchedPolicy( 2013): add_tid_to_cgroup failed to write '2371' (Permission denied); policy=1
This is fixed by giving /dev/cpuctl group write permissions, which was
surely the original intention of the init.rc setup as this is done for
the sub-directories it creates.
This fixes bug launchpad bug #1037611
Change-Id: I47ff539ef4dd9922aba0be67dbf8bd4f0a234163
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
gcc 4.8 has a new warning for unused parameters - we need to override
-Werror on that.
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
|
|
get_hardware_name() uses a fixed size buffer to slurp the contents of
/proc/cpuinfo into and with newer multicore systems this is not big
enough, leading to the inability to pick up the hardware name.
Fix this by using a dynamically allocated, exponentially growing buffer.
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
|
|
An outdated build environment results in a host adb build failure
because libcrypto needs libdl, but libdl isn't linked explicitly:
out/host/linux-x86/obj/STATIC_LIBRARIES/libcrypto_static_intermediates/libcrypto_static.a(dso_dlfcn.o):
In function `dlfcn_globallookup':
/mnt/jenkins/workspace/linaro-android_galaxynexus-jb-gcc47-aosp-blob/build/external/openssl/crypto/dso/dso_dlfcn.c:474:
undefined reference to `dlopen'
/mnt/jenkins/workspace/linaro-android_galaxynexus-jb-gcc47-aosp-blob/build/external/openssl/crypto/dso/dso_dlfcn.c:478:
undefined reference to `dlsym'
/mnt/jenkins/workspace/linaro-android_galaxynexus-jb-gcc47-aosp-blob/build/external/openssl/crypto/dso/dso_dlfcn.c:479:
undefined reference to `dlclose'
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
|
|
Make sure __USE_GNU is actually set before ucontext.h is included
(even implicitly).
This should fix the build inside android-build (wasn't broken locally
in the first place).
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
|
|
Files in $PREFIX/libexec, such as gcc's cc1, need to be executable.
Don't let make_ext4fs strip executable permissions from them.
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
|
|
Linaro is starting to use the TARGET_BUILD_VARIANT=tests, slowly
transitioning from the traditional TARGET_BUILD_VARIANT=eng builds.
Testing has found that LAVA (specifically the lava-android-test project)
expects adb shell to offer full root access. This is not the case in
'tests' builds where adb shell drops privileges and runs as the 'shell'
user.
Since it does not decrease security in any way (tests builds are marked
as insecure) would like to have adb root shell access in
TARGET_BUILD_VARIANT=tests as well.
Change-Id: I20cbe3f32385162f9dc2b6b71c47ad22b9a0924f
|
|
Use -fno-strict-aliasing here so we don't have to use it globally.
Performance on tests isn't important anyway.
Change-Id: I92ae7209ced60176cc5608f32b8ff6a911c09f10
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
|
|
This is a the daemon that the Streamline tool talks to
from ARM Development Studio 5 (DS-5)
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
|
|
Update init.rc for wifi to create sockets folder wifi
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
|
|
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
|
|
The size of hardware is 32 bytes and the tmp variable should fit
'init.' and '.rc' as well. In some cases like for the ST-Ericsson
Snowball the 32 bytes were not enouth.
hardware = "st-ericssonsnowballplatform"
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
|
|
The size of hardware is 32 bytes and the tmp variable should fit
'uevent.' and '.rc' as well. In some cases like for the ST-Ericsson
Snowball the 32 bytes were not enouth.
hardware = "st-ericssonsnowballplatform"
Signed-off-by: Patrik Ryd <patrik.ryd@linaro.org>
|
|
Don't force -O2 over -O3 -- the O2 hardcode is there to force
optimizations, not to reduce them...
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
|
|
The kernel's default is between 4~20.
Prepare for javaland to modify the value at runtime.
It can be done via
setprop sys.sysctl.tcp_def_init_rwnd <value>
Bug: 12020135
Change-Id: Id34194b085206fd02e316401c0fbbb9eb52522d2
(cherry picked from commit 7c862c8b5e59cbe216a5bc092c01f1ecba8e9de4)
|
|
Bug: 12613118
Change-Id: I5a84b13d2151075d5136e3682431fbcc9307df13
(cherry picked from commit dc3a42bb11dc2aefee37f799b5a1cce87cf35aaf)
|
|
Since ca8e66a8b0f843812014a28d49208f9f6f64ecbc, init has
been handling reboots and filesystem unmounts. Remove obsolete
call to vdc.
Bug: 12504045
Change-Id: If8704ca042cb3a68857743b9973e48c52e7eb881
(cherry picked from commit 225459a5da21e9397ca49b0d9af7d5fe3462706b)
|
|
e975716e: am 03d4eb29: am d63fb078: am e89e09dd: Fix overflow in adb_client
* commit '02d90b92ce65ad4e7f49565f0e97373e1d8b0fbf':
Fix overflow in adb_client
|
|
03d4eb29: am d63fb078: am e89e09dd: Fix overflow in adb_client
* commit '33e7f915d6a27880dd4c4c0709dcc921f549eea2':
Fix overflow in adb_client
|
|
d63fb078: am e89e09dd: Fix overflow in adb_client
* commit '54a80bcf88060b21f527c631c7ec911171bdb13f':
Fix overflow in adb_client
|
|
e89e09dd: Fix overflow in adb_client
* commit 'cd072e94cf7e546cd6d333cd65641edcd69402b7':
Fix overflow in adb_client
|
|
overflow in adb_client
* commit 'ba104fb7f1f0acad99a0d3a1cf7153aab57ea450':
Fix overflow in adb_client
|
|
* commit 'e975716e36c9ad6aa80be2b54ee2cc63eadbdc44':
Fix overflow in adb_client
|
|
* commit '03d4eb29003a712c28733646588fafc8939fc1fe':
Fix overflow in adb_client
|
|
* commit 'd63fb078aea697c536b19c03d29d4dde4ac087fc':
Fix overflow in adb_client
|
|
* commit 'e89e09dd2b9b42184973e3ade291186a2737bced':
Fix overflow in adb_client
|
|
Change-Id: I7f8582bd8a69d61ce47d11a9ffd0e901fc371037
Credit: Joshua Drake
Bug: 12060953
|
|
Change-Id: I44cb00f9123c6044a03de926b6a616da753bb549
|
|
Bug: 11324229
Change-Id: Ia50e79b5e2430faea77b0c98902e8e018fb9ceff
|
|
Bug: 11324229
Change-Id: I7e4f514c5531e4c0c11bb0ba5d67e4dabbcd5792
|
|
in a process" into klp-dev
|
|
- Also add a Printer class (print lines to logcat, fd, or strings)
Bug: 11324229
Change-Id: I78435ed49aa196a0efb45bf9b2d58b62c41737d3
|
|
The reboot commands return too fast, interfering with testing.
Add a pause(), which will allow the device time to complete the
reboot.
Change-Id: Ie9cc6eea67b7ff662ec71ea2329cbb94f8d55404
Bug: 11369303
|