summaryrefslogtreecommitdiffstats
path: root/target/board
Commit message (Collapse)AuthorAgeFilesLines
* Let qemu_props service set system properties in ro.emu and ro.emulatorGriff Hazen2015-11-071-0/+2
| | | | | | | | These boot properties are used by android wear emulator to configure round and chin shaped devices. Bug: 23324757 Change-Id: I812da02d771bba0ffc63b14459c7de7cbdeed142
* Increasing MIPS emulator system image size and user-data image sizeKonstantinos Menychtas2015-08-181-2/+2
| | | | | | | | | Size increase taken as a precaution against recent built breakage due to lack of space on a number of targets (e.g. x86, ARM64). System and user-data image sizes set to match currently most common setup for the emulator: system image: 1.25gb, user-data image 700mb. Change-Id: I7118eb26dd78f5fa9e4f0006e15c8d47dee8e28c
* Increasing arm(64)? emulator partition sizes to 1.5GBIan Pedowitz2015-08-112-2/+2
| | | | | Bug: 23093319 Change-Id: I5e493ef4715cee96ae6ab40d6415f5330075fad6
* Increasing x86 emulator system partition sizeIan Pedowitz2015-08-111-1/+1
| | | | | | | Seems sdk_google_phone_x86 is building larger than 750MB Bug: 23093319 Change-Id: Ib3ddbbb96a9dcea02eb6da7362ac0142bdfae4de
* Allow init to create /mnt/sdcard symlink.dcashman2015-07-012-0/+2
| | | | | | | | Addresses the following denial: avc: denied { create } for pid=1 comm="init" name="sdcard" scontext=u:r:init:s0 tcontext=u:object_r:tmpfs:s0 tclass=lnk_file permissive=0 Bug: 22084499 Change-Id: Icffef8330d07b00f36fda11374e39e0df7181ca3
* goldfish: rename goldfish_logcat.te to logd.teMark Salyzyn2015-06-031-1/+3
| | | | | | | (cherrypicked from commit fd8c30177c472fe1cbff30312144b2a0b231bd35) Bug: 19608716 Change-Id: I5c76648a4bcbbb15a033465e8af66b12af6e0a18
* goldfish: logcat -Q in logd domainMark Salyzyn2015-06-031-5/+4
| | | | | | | | | Deal with a build failure in conflict with cl/152105 (cherrypicked from commit 1cc7735ffa5194b9651429b2a96d6f6f319ca5eb) Bug: 19608716 Change-Id: I1078046db3b159c1baf0a22435c3e777424453a1
* Bump x86_64 system image size to fix buildbohu2015-05-261-1/+1
| | | | | | Bumped from 1G to 1.25G Change-Id: I8d04166c43c792030f346cbe6ba9d6889b31359b
* Allow goldfish-setup to put the emulator in WiFi-only modeYu Ning2015-05-183-0/+9
| | | | | | | | | | | | | | | | | | | | | | | The goldfish-setup service (essentially /system/etc/init.goldfish.sh) executes the following commands when certain conditions are met: setprop ro.radio.noril yes stop ril-daemon so as to stop the RIL daemon and emulate a WiFi-only device. Both would fail, though, because goldfish-setup does not have the permissions to set relevant properties. This CL modifies the emulator's SELinux policy to grant the necessary permissions. It is a step towards fixing the ril-daemon-keeps-getting- killed-and-restarted problem with the new ("ranchu") emulator, which does not support telephony emulation yet. (The other step is to have init start goldfish-setup, which will be done in a seperate CL.) (cherrypicked from commit 33dca8090f8eb1be27e6c6426b7a13a73314e464) Change-Id: Ice7e7898804b7353ac4a8c49d871b1b2571d7a5f Signed-off-by: Yu Ning <yu.ning@intel.com>
* Update device to use set_prop() macroWilliam Roberts2015-05-182-5/+5
| | | | | | | (cherrypicked from commit cccc90163946c0273a165a1ea50f2a87756610c7) Change-Id: I630ba0178439c935d08062892990d43a3cc1239e Signed-off-by: William Roberts <william.c.roberts@linux.intel.com>
* Label /dev/ttyGF* as serial_deviceYu Ning2015-05-183-2/+3
| | | | | | | | | | | | | | | | | | | | In goldfish kernel 3.10, the goldfish_tty device instantiates virtual serial ports as /dev/ttyGF* (e.g. /dev/ttyGF0), not as /dev/ttyS* as in goldfish kernel 3.4. However, in the emulator's SELinux security policy, there is no specific security context assigned to /dev/ttyGF*, and the one inherited from /dev (u:object_r:device:s0) prevents services such as qemud and goldfish-logcat from reading and writing ttyGF*. Consequently, qemud terminates abnormally on the classic x86_64 emulator: init: Service 'qemud' (pid XXX) exited with status 1 Fix this issue by assigning /dev/ttyGF* the same security context as /dev/ttyS*. (cherrypicked from commit 478346792282aba990111d736ba9928c616f9eb6) Change-Id: Ia7394dc217bd82f566c4d1b7eda3cc8ce3ac612f Signed-off-by: Yu Ning <yu.ning@intel.com>
* Label /dev/goldfish_pipe as qemu_deviceYu Ning2015-05-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | In goldfish kernel 3.10, qemu_pipe has been renamed to goldfish_pipe. However, in the emulator's SELinux policy, there is no specific security context assigned to /dev/goldfish_pipe, and the one inherited from /dev (u:object_r:device:s0) prevents various processes (qemud, qemu-props, etc.) from reading and writing goldfish_pipe. Consequently, the classic x86_64 emulator will not boot if GPU emulation is enabled ("-gpu host"), and does not render the UI correctly if launched with "-gpu off". Fix this issue by assigning /dev/goldfish_pipe the same security context as /dev/qemu_pipe. This CL also benefits the new ("ranchu") emulator, where all supported ABIs (arm64, mips64, x86 and x86_64) use 3.10-based kernels. Without this fix, the new emulator boots and works, but there are avc denials related to goldfish_pipe. Last but not least, it is now possible to boot the classic x86 emulator with a 3.10-based kernel instead of the current 3.4-based one, without disabling SELinux. (cherry-pick of commit: a5053e6b35fa1188d94a851a3032126141e5c87f) Change-Id: I52e75c94d3ae3758cbbf5bc0e1d84254fdf5c6cb Signed-off-by: Yu Ning <yu.ning@intel.com>
* Define BOARD_SEPOLICY_DIRS for 64-bit emulators.Stephen Smalley2015-05-113-0/+8
| | | | | | | | | | | | | | Define BOARD_SEPOLICY_DIRS for the arm64, mips64, and x86_64 emulator targets. As a first cut, simply inherit from the existing policy directories used for generic and generic_x86. We may need further board-specific policy added for these targets but testing will require first enabling SELinux in the relevant kernel configs. (cherrypicked from commit 21ebc213bb3717ec3e692991eeadc423113943ab) Change-Id: I7b4459b32298698fc2908cbbdd0e3afadbe5ac24 Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
* Bump sdk arm system image size to 750Mbohu2015-04-271-1/+1
| | | | | | | To fix broken build of arm system images. Change-Id: I960dbb2a5a895557499fcf38655cd8907e768ef9 (cherry picked from commit 9f42be14b8864c123d3df29ade44e3a92096679e)
* am 4e94ed11: am 2d47488e: Merge "Drop BOARD_SEPOLICY_UNION."Nick Kralevich2015-04-013-50/+0
|\ | | | | | | | | * commit '4e94ed11855e56ed498a2e7e83e312d5b691c5b9': Drop BOARD_SEPOLICY_UNION.
| * Drop BOARD_SEPOLICY_UNION.Stephen Smalley2015-04-013-50/+0
| | | | | | | | | | | | | | | | | | | | As suggested in the comments on https://android-review.googlesource.com/#/c/141560/ drop BOARD_SEPOLICY_UNION and simplify the build_policy logic. Union all files found under BOARD_SEPOLICY_DIRS. Change-Id: I4214893c999c23631f5456cb1b8edd59771ef13b Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
* | am 62086971: am d64b853a: Merge "Bump generic_mips64 system partition size."Ying Wang2015-03-311-1/+1
|\ \ | |/ | | | | | | * commit '62086971c0616c325fd80ef172de1478ade52fbc': Bump generic_mips64 system partition size.
| * Bump generic_mips64 system partition size.Duane Sand2015-03-301-1/+1
| | | | | | | | | | | | Fix broken mips64 build via 20% increase. Change-Id: Ie30418c6fc7cf8810139abe53537ef8259a49a2f
* | am 00391a43: am 082184e7: Merge "Bump generic_arm64 system partition size."Ying Wang2015-03-201-1/+1
|\ \ | |/ | | | | | | * commit '00391a43166a4271ad2471adffb75849be1984a8': Bump generic_arm64 system partition size.
| * Bump generic_arm64 system partition size.Ying Wang2015-03-201-1/+1
| | | | | | | | Change-Id: Ic53fdaa0143ee2c0cce5a2f750da4c52adc6fdb9
* | am b9583756: am 8e52e15d: Merge "Bump generic_mips system partition size."Ying Wang2015-03-201-1/+1
|\ \ | |/ | | | | | | * commit 'b9583756eecda3dbad41b83fcba51ef7c07ac907': Bump generic_mips system partition size.
| * Bump generic_mips system partition size.Ying Wang2015-03-201-1/+1
| | | | | | | | Change-Id: Ieb3becc3ddc1efa19c6e6d34b4a31c0440d3479d
* | am 292427b6: am 030b5493: resolved conflicts for merge of 68000907 to ↵Justin Morey2015-03-191-1/+1
|\ \ | |/ |/| | | | | | | | | lmp-mr1-dev * commit '292427b69f7b1a753c0636f916382e2a4f9648ba': Bump generic_x86_64 system partition size - DO NOT MERGE
| * resolved conflicts for merge of 68000907 to lmp-mr1-devJustin Morey2015-03-181-1/+1
| |\ | | | | | | | | | Change-Id: I9f1a80746a5d945c704cd126efebca0941e27e47
| | * Bump generic_x86_64 system partition size - DO NOT MERGEJustin Morey2015-03-181-1/+1
| | | | | | | | | | | | | | | | | | This makes it big enough to hold Orla, unbreaking the build Change-Id: I5a131dfbaaa3aa2bb1bc24e4f859cc3507b671b0
* | | Increase system and userdata partition sizes.Douglas Leung2015-03-111-2/+2
| | | | | | | | | | | | | | | | | | | | | The extra system space is needed for mips64r6/mips32r6 quick mode images and the extra userdata is needed to run ART tests. Change-Id: I96dc1553d950dcf046b57feff10a369e9155bd4d
* | | am 58aeaed9: Merge "goldfish_logcat: remove permissive_or_unconfined()"Ying Wang2015-02-231-1/+0
|\ \ \ | | | | | | | | | | | | | | | | * commit '58aeaed9ce5c3738dd8eb36d56484a9614fb00e0': goldfish_logcat: remove permissive_or_unconfined()
| * \ \ Merge "goldfish_logcat: remove permissive_or_unconfined()"Ying Wang2015-02-231-1/+0
| |\ \ \
| | * | | goldfish_logcat: remove permissive_or_unconfined()Stephen Smalley2015-02-101-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I1a26b07bf723c944c7dcb8beec96537500a3bc60 Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
* | | | | am aa67c0ce: Merge "qemud: remove permissive_or_unconfined()"Ying Wang2015-02-231-1/+0
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit 'aa67c0ce9a9697f5ac192020ee8b75734862b129': qemud: remove permissive_or_unconfined()
| * | | | Merge "qemud: remove permissive_or_unconfined()"Ying Wang2015-02-231-1/+0
| |\ \ \ \
| | * | | | qemud: remove permissive_or_unconfined()Stephen Smalley2015-02-101-1/+0
| | |/ / / | | | | | | | | | | | | | | | | | | | | Change-Id: Ia15cf87de1d03364f80d3d0cbc546475abfef448 Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
* | | | | am 4be75b37: Merge "qemu_props: remove permissive_or_unconfined()"Ying Wang2015-02-231-1/+0
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '4be75b37333f22e8ce10cc8aff7e9756b2f82689': qemu_props: remove permissive_or_unconfined()
| * | | | Merge "qemu_props: remove permissive_or_unconfined()"Ying Wang2015-02-231-1/+0
| |\ \ \ \
| | * | | | qemu_props: remove permissive_or_unconfined()Stephen Smalley2015-02-101-1/+0
| | |/ / / | | | | | | | | | | | | | | | | | | | | Change-Id: I29f37822ccac22dd884d88f9dcd23237b5a3e2de Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
* | | | | am 5d47a481: Merge "goldfish_setup: remove permissive_or_unconfined()"Ying Wang2015-02-231-1/+0
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '5d47a481fb88ca4dba853d064eb5dfd671f9b68a': goldfish_setup: remove permissive_or_unconfined()
| * | | | Merge "goldfish_setup: remove permissive_or_unconfined()"Ying Wang2015-02-231-1/+0
| |\ \ \ \
| | * | | | goldfish_setup: remove permissive_or_unconfined()Stephen Smalley2015-02-101-1/+0
| | |/ / / | | | | | | | | | | | | | | | | | | | | Change-Id: I3b44f24554f288f4fb1e18a53fa68e8a7cd8c8c7 Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
* | | | | Merge commit 'b89ec38113a22d09b0832ed2d3cb8fc413a14a75' into HEADBill Yi2015-02-193-6/+5
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | am bdfec89d: Merge "Increase BOARD_SYSTEMIMAGE_PARTITION_SIZE to 900MB for ↵Ying Wang2015-02-121-1/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mips64." * commit 'bdfec89d96819cf78faa4a61635c2ec536b4545f': Increase BOARD_SYSTEMIMAGE_PARTITION_SIZE to 900MB for mips64.
| * \ \ \ \ am d857abd1: am 151205c3: Merge "Bump generic_mips and generic_x86_64 system ↵bohu2015-02-122-2/+2
| |\ \ \ \ \ | | | |_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | partition size" into lmp-mr1-dev * commit 'd857abd1ff8b3436d15765e93b0d4d0ec1a9147a': Bump generic_mips and generic_x86_64 system partition size
| | * | | | Bump generic_mips and generic_x86_64 system partition sizebohu2015-02-112-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the sdk_google_phone_mips and sdk_google_phone_x86-64 builds Change-Id: I971d02b07a6aa917d7e0f3750b48e657205aae52
| * | | | | am 7a1125bc: Merge "Make TARGET_CPU_VARIANT the same as TARGET_ARCH_VARIANT ↵Brian Carlstrom2015-01-092-0/+7
| |\ \ \ \ \ | | | |_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | for Mips." * commit '7a1125bc632e150b934538036102807374406d2f': Make TARGET_CPU_VARIANT the same as TARGET_ARCH_VARIANT for Mips.
| * | | | | am 8750cfc5: am 111ba923: Bump generic_arm64 system partition size to 900M.Ying Wang2014-12-101-1/+1
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | | | | | | | * commit '8750cfc5b5af821c90b224e727729e721c981e78': Bump generic_arm64 system partition size to 900M.
| | * | | | Bump generic_arm64 system partition size to 900M.Ying Wang2014-12-101-1/+1
| | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | This fixes the arm64 sdk build. Change-Id: Ic7b7ada79027845974cbcfc68941cfc87ed050fd
| * | | | am ea6113f0: Merge "arm: Support qemu-android on generic arm targets"Ying Wang2014-11-202-15/+0
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * commit 'ea6113f0f1a7069f1dd16bb2c0c7c29700bfda96': arm: Support qemu-android on generic arm targets
| * \ \ \ \ am 1cffe219: am b0efa98d: Merge "Switch qemud to permissive_or_unconfined()."Daniel Cashman2014-11-061-1/+4
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '1cffe219790a316ba36ef2495867d7b306b0f861': Switch qemud to permissive_or_unconfined().
| * \ \ \ \ \ am 54e18379: am 36084e64: Merge "Label goldfish block devices with their own ↵Nick Kralevich2014-10-311-0/+3
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | types." * commit '54e1837910cb3c40d22436bc40a7c0469df184b0': Label goldfish block devices with their own types.
| * \ \ \ \ \ \ am 4fe702e4: am dfa2f8a6: Merge "Mark qemu_device as a mlstrustedobject."Nick Kralevich2014-10-311-1/+1
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '4fe702e4dcf5ff3e6dcc4dea1e842d7977ff3393': Mark qemu_device as a mlstrustedobject.
| * \ \ \ \ \ \ \ am 9318a22f: am b6f60d57: Use the lowest common denominator 32-bit abi for ↵Ying Wang2014-10-231-3/+2
| |\ \ \ \ \ \ \ \ | | | |_|_|_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | arm64 cts build. * commit '9318a22f96dd1d4ffcae76fb20520a303ef10fdf': Use the lowest common denominator 32-bit abi for arm64 cts build.