summaryrefslogtreecommitdiffstats
path: root/target/board/generic_mips
Commit message (Collapse)AuthorAgeFilesLines
* am e4d54f31: am 0b3c42cb: Merge "[MIPS] Unite mipsel and mips64el 4.9 gcc ↵Elliott Hughes2014-07-301-17/+0
|\ | | | | | | | | | | | | toolchains" * commit 'e4d54f317df641faf216e4000fbc3d091d3c1abc': [MIPS] Unite mipsel and mips64el 4.9 gcc toolchains
| * [MIPS] Unite mipsel and mips64el 4.9 gcc toolchainsDuane Sand2014-07-231-17/+0
| | | | | | | | | | | | | | | | | | | | | | | | Use 4.9 mips64el toolchain for both 64- and 32-bit builds. Tell ld when 32-bit links are required. Override 4.9's changed defaults for mips floating point register use, to get same assembler rules as 4.8 and earlier. Also: drop unused soft-fp build targets, cleanout redundant compiler options, and remove extraneous Android.mk file. Change-Id: I86f1075266349edb2b08a7709b9f5472d8cfda32
* | am cac1fc6d: am 5bb6eeb9: am d9c312b5: Merge "Allow all domains access to ↵dcashman2014-06-171-2/+0
|\ \ | |/ | | | | | | | | | | /dev/qemu_trace." * commit 'cac1fc6dd5daf5f03bacf8749f888d196985fda8': Allow all domains access to /dev/qemu_trace.
| * Allow all domains access to /dev/qemu_trace.dcashman2014-06-161-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | /dev/qemu_trace is used by memcheck on qemu to get memory allocation events from all processes on the system. Allow all domains to access this device, and other qemu-specific devices. Addresses the following denials: type=1400 audit(1402674828.500:3): avc: denied { read write } for pid=44 comm="servicemanager" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:servicemanager:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674828.500:4): avc: denied { open } for pid=44 comm="servicemanager" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:servicemanager:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674828.520:5): avc: denied { read write } for pid=42 comm="logd" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:logd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674828.520:6): avc: denied { open } for pid=42 comm="logd" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:logd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674828.610:7): avc: denied { read write } for pid=48 comm="debuggerd" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:debuggerd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674828.610:8): avc: denied { open } for pid=48 comm="debuggerd" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:debuggerd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674829.000:9): avc: denied { read write } for pid=47 comm="netd" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:netd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674829.000:10): avc: denied { open } for pid=47 comm="netd" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:netd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674829.180:11): avc: denied { read write } for pid=53 comm="installd" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:installd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674829.200:12): avc: denied { read write } for pid=45 comm="vold" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:vold:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674829.200:13): avc: denied { open } for pid=53 comm="installd" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:installd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674829.200:14): avc: denied { open } for pid=45 comm="vold" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:vold:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674829.280:15): avc: denied { read write } for pid=54 comm="keystore" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:keystore:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674829.280:16): avc: denied { open } for pid=54 comm="keystore" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:keystore:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674830.580:17): avc: denied { read write } for pid=51 comm="drmserver" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:drmserver:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674830.580:18): avc: denied { open } for pid=51 comm="drmserver" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:drmserver:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674930.860:22): avc: denied { read write } for pid=655 comm="iptables" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:netd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674930.870:23): avc: denied { open } for pid=655 comm="iptables" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:netd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file Bug: 15570479 Change-Id: I87d0976800557d73064e2da038315b0d019d7a60
| * Revert "Allow all domains access to /dev/qemu_trace."dcashman2014-06-161-0/+2
| | | | | | | | This reverts commit b1b12f8ad49ecbba7dd6b9db2a0ca8fafa532d82.
* | Revert "Allow all domains access to /dev/qemu_trace."dcashman2014-06-161-0/+2
| | | | | | | | | | | | | | | | This reverts commit b1b12f8ad49ecbba7dd6b9db2a0ca8fafa532d82. (cherry picked from commit 097e840b062b5191dac757dc998cd072ac7f308a) Change-Id: I89a9a0879a415c177091852a579c6dfd8c8a5b0a
* | am 3aeceecd: am cd978db2: am 96df14d6: Merge "Allow all domains access to ↵dcashman2014-06-161-2/+0
|\ \ | |/ | | | | | | | | | | /dev/qemu_trace." * commit '3aeceecddf2c7ee7f785e7e16c54d8bb99e3c9f1': Allow all domains access to /dev/qemu_trace.
| * Allow all domains access to /dev/qemu_trace.dcashman2014-06-161-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | /dev/qemu_trace is used by memcheck on qemu to get memory allocation events from all processes on the system. Allow all domains to access this device, and other qemu-specific devices.. Addresses the following denials: type=1400 audit(1402674828.500:3): avc: denied { read write } for pid=44 comm="servicemanager" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:servicemanager:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674828.500:4): avc: denied { open } for pid=44 comm="servicemanager" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:servicemanager:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674828.520:5): avc: denied { read write } for pid=42 comm="logd" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:logd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674828.520:6): avc: denied { open } for pid=42 comm="logd" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:logd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674828.610:7): avc: denied { read write } for pid=48 comm="debuggerd" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:debuggerd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674828.610:8): avc: denied { open } for pid=48 comm="debuggerd" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:debuggerd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674829.000:9): avc: denied { read write } for pid=47 comm="netd" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:netd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674829.000:10): avc: denied { open } for pid=47 comm="netd" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:netd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674829.180:11): avc: denied { read write } for pid=53 comm="installd" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:installd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674829.200:12): avc: denied { read write } for pid=45 comm="vold" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:vold:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674829.200:13): avc: denied { open } for pid=53 comm="installd" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:installd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674829.200:14): avc: denied { open } for pid=45 comm="vold" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:vold:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674829.280:15): avc: denied { read write } for pid=54 comm="keystore" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:keystore:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674829.280:16): avc: denied { open } for pid=54 comm="keystore" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:keystore:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674830.580:17): avc: denied { read write } for pid=51 comm="drmserver" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:drmserver:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674830.580:18): avc: denied { open } for pid=51 comm="drmserver" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:drmserver:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674930.860:22): avc: denied { read write } for pid=655 comm="iptables" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:netd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file type=1400 audit(1402674930.870:23): avc: denied { open } for pid=655 comm="iptables" name="qemu_trace" dev="tmpfs" ino=1494 scontext=u:r:netd:s0 tcontext=u:object_r:qemu_device:s0 tclass=chr_file Bug: 15570479 Change-Id: I4999a1eb5c25b4238c53fe1e989bcf5fed1ae355
* | am 55b2c360: am ad319779: am 4afe808c: Merge "Fix all the system image sizes."Elliott Hughes2014-05-281-1/+1
|\ \ | |/ | | | | | | * commit '55b2c3600fcbdc6bd0dbf3319eb219188553429c': Fix all the system image sizes.
| * Fix all the system image sizes.Elliott Hughes2014-05-271-1/+1
| | | | | | | | | | | | | | | | x86 just bit me. I did manage to build mips today, but I assume it can't be long before we hit the limit there too if every other target has hit it already. Change-Id: I28dfe3b4f9565cb79e0bf6b0ffc55a9d6e64a9b0
* | am c0d50f62: am 5bd1da1e: am 41d8760d: Merge "Bump userdata image size from ↵Tsu Chiang Chuang2014-05-081-1/+1
|\ \ | |/ | | | | | | | | | | 200 MB to 550 MB" * commit 'c0d50f6295e9c552456c825f9c8045dced05a409': Bump userdata image size from 200 MB to 550 MB
| * Bump userdata image size from 200 MB to 550 MBTsu Chiang Chuang2014-05-061-1/+1
| | | | | | | | Change-Id: Ibdf319091a7187dc894f4a923d40868cec4b7b41
* | stagefright: use media_codecs_google*.xml filesLajos Molnar2014-03-191-0/+3
|/ | | | | Bug: 13549114 Change-Id: I25d6344c78da152f394fa7b4855a2eb61008afc6
* Allow shell serial_device read-write accessNick Kralevich2014-03-181-0/+1
| | | | | | | | | | | | When starting the emulator, the system console writes entries to /dev/ttyS2. We need to allow the writes, otherwise this generates denials when you run "emulator -verbose -logcat '*:v' -show-kernel" Addresses the following denial: type=1400 audit(1395076594.320:446): avc: denied { read write } for pid=5600 comm="sh" path="/dev/ttyS2" dev="tmpfs" ino=1487 scontext=u:r:shell:s0 tcontext=u:object_r:serial_device:s0 tclass=chr_file Bug: 13506702 Change-Id: I3729537cabb0bf8e8b2905d3def43a293bb1081f
* Add policy for MIPS emulator, fix x86 policy.Stephen Smalley2014-02-261-0/+14
| | | | | | | | | | | | | | | | | | | | | The qemud and /dev/qemu_pipe policy bits copied to generic and generic_x86 by I620d4aef84a5d4565abb1695db54ce1653612bce are required for generic_mips as well. In testing, we further saw other denials for generic_mips that correspond exactly to what is already allowed in the generic sepolicy, so just inherit the sepolicy files from generic for now. We could do likewise for the generic_x86 sepolicy for the files that are identical with generic if desired, but that is not done by this change. The generic_x86 sepolicy was missing a rule for /sys/qemu_trace moved to the generic sepolicy by the prior change, so fix that omission. The generic*64 variants will need something similar, either by inheriting from one of the existing sepolicy directories as in the MIPS case or by forking their own copies as in the x86 case. Change-Id: Iec7c8825734a3f96f7db8ae1d10dce1f30b22bdf Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
* Bump generic_mips BOARD_SYSTEMIMAGE_PARTITION_SIZE for PRODUCT_RUNTIME := ↵Brian Carlstrom2014-01-281-1/+1
| | | | | | | | libart_runtime_default (cherry picked from commit c8501bffcb6fa3f552ae424a5701091b5faa6270) Change-Id: I12ce7c4e383e74e54d77b54a0406d2499699edbf
* Vibra: emulator: compile and stage vibrator.goldfishDavid Wagner2013-12-301-0/+1
| | | | | | | | | | | | | | | | | | | Following the new vibrator hardware module implementation, the goldfish vibrator module is no longer integrated in the default vibrator implementation and therefore needs to be explicitly built for the emulator. This patch is related to others in: - hardware/libhardware - hardware/libhardware_legacy - frameworks/base - device/generic/goldfish Change-Id: I844279f5535289f079d412fdc44c5cb3c9c1130c Signed-off-by: David Wagner <david.wagner@intel.com> Signed-off-by: Bruce Beare <bruce.j.beare@intel.com> Signed-off-by: Jack Ren <jack.ren@intel.com> Author-tracking-BZ: 94611
* Push wpa_supplicant modules down to the leaf product config.Ying Wang2013-12-051-2/+0
| | | | | | | | | | | | | Since 558477c0b2a5a7db679c1ad7551d43e6364d1df2 in external/wpa_supplicant_8 we don't need those modules if WPA_SUPPLICANT_VERSION is not set by the BoardConfig.mk. Actually the generic devices don't need them. Change-Id: Iff7c1fbf483bd16d5f898836c4e7401d56def80f Conflicts: target/product/core_tiny.mk
* Explictly set WPA_SUPPLICANT_VERSION := VER_0_8_X for the generic devicesYing Wang2013-12-051-0/+2
| | | | | | | | | Since 558477c0b2a5a7db679c1ad7551d43e6364d1df2 in external/wpa_supplicant_8 we don't have WPA_SUPPLICANT_VERSION default to VER_0_8_X. This fixes the SDK build. Change-Id: Ib7a8e10705dc6b987b60b1308405e89eaa2a47c9
* am 4e132ca5: Merge "emulator: increase system partition to 550M"Nick Kralevich2013-07-121-1/+1
|\ | | | | | | | | * commit '4e132ca5e5c5048d7a95563eddd9f5ef11346678': emulator: increase system partition to 550M
| * emulator: increase system partition to 550MNick Kralevich2013-07-121-1/+1
| | | | | | | | | | | | Yes, 400M isn't enough. I can't believe it either. Change-Id: I7d3857f04bfda472af6a281017204672bb9c9940
* | am 5411ef9c: Merge "emulator: increase system partition size to 400M"Nick Kralevich2013-07-121-1/+1
|\ \ | |/ | | | | | | * commit '5411ef9cc4a4bf5c1950df89f2b2032edcf83dc8': emulator: increase system partition size to 400M
| * emulator: increase system partition size to 400MNick Kralevich2013-07-121-1/+1
| | | | | | | | | | | | 300M is too small. Change-Id: Icbe4e76d6e5c8a50cc6e6d74e324335bc66b8466
* | am 2476ec99: Merge "use ext4 instead of yaffs for the emulator"Ying Wang2013-07-121-0/+8
|\ \ | |/ | | | | | | * commit '2476ec994d449d31c89571723b4b17826639c1bf': use ext4 instead of yaffs for the emulator
| * use ext4 instead of yaffs for the emulatorNick Kralevich2013-07-111-0/+8
| | | | | | | | | | Bug: https://code.google.com/p/android/issues/detail?id=38561 Change-Id: I7c605457b485d169654263caf55eb7d5a9a60c2e
* | DO NOT MERGE. Fix build by removing old file.Jeff Sharkey2013-04-111-1/+0
| | | | | | | | Change-Id: I2fb4d27acfabb9283d54958f0438a6db74641dd2
* | reflect the migration of emulator hal to device/generic/goldfishkeunyoung2013-03-111-2/+2
|/ | | | | | - no longer need to check the presence as device/generic/goldfish is in PDK Change-Id: I551dd283fb6511d8ebd45a8519f797f8ba2f1a05
* [MIPS] Use mksh for /system/bin/shChris Dearman2013-02-151-3/+0
| | | | | | Signed-off-by: Chris Dearman <chris@mips.com> Change-Id: I01a6c1e2ac9de5b6d86c2aace041a0f7400f6b5e
* Modify full_mips-eng build in line with the full-eng buildChris Dearman2012-08-012-8/+8
| | | | | | Change-Id: Iebbad0c2a4f8f01b2ff8a08ea77965291a842636 Signed-off-by: Raghu Gandham <raghu@mips.com>
* This patch addresses the following issues:Raghu Gandham2012-06-052-2/+7
| | | | | | 1. Fix a typo. 2. Include libffi in the MIPS list of Product Packages. 3. Default to JSC for MIPS until the MIPS support in v8 lands in aosp.
* MIPS generic target supportRaghu Gandham2012-05-085-0/+115
Change-Id: I76506eba9d11867e53069c97038996bddd7dd5a2 Signed-off-by: Chris Dearman <chris@mips.com> Signed-off-by: Raghu Gandham <raghu@mips.com> Signed-off-by: Duane Sand <duanes@mips.com> Signed-off-by: Bhanu Chetlapalli <bhanu@mips.com>