summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-04-21dragonboard: Update weaved.conf to use the new local_access_enabled settingHEADmastermainAlex Vakulenko
libweave/weaved combined local_discovery_enabled and local_pairing_enabled into local_access_enabled setting, so updating existing .conf file to include the new spelling of this setting Change-Id: Id170c32b913b501760ac5257716f8c85c1ce3a01
2016-01-07dragonboard: Remove references to ultrasound32 and audible32brillo-m9-releasebrillo-m9-devbrillo-m10-releasebrillo-m10-devAlex Vakulenko
These were mentioned in comment sections of the conf file but these pairing modes are no longer supported. BUG: 26441921 Change-Id: I7b3dd215c7dd8124aaf8d058b6239b6aa44bb1ef
2015-12-04Modify string format in BRILLO_VENDOR_PARTITIONS to preserve path.brillo-m8-releasebrillo-m8-devDan Shi
BRILLO_VENDOR_PARTITIONS contains a list of strings in the format of parent_folder:file_path. Each vendor partition's full path is parent_folder/file_path. The directory structure in file_path will be preserved. Bug: 25692226 TEST: local run m dist, confirm dragonboard-vendor_partitions-eng.dshi.zip created in out/dist, and content is correct. Change-Id: Icff46e4fa797cb6df7a2b8a651c6879c792cb60e
2015-12-02dragonboard: Make provision-device script usable outside tree.David Zeuthen
Update script to support ANDROID_PROVISION_OS_PARTITONS and ANDROID_PROVISION_VENDOR_PARTITIONS environment variables. To test that this work outside the tree, I ran 'm dist' and unzipped the resulting vendor_partitions.zip file in a temporary directory from a fresh shell: ~$ mkdir tmp && cd tmp ~/tmp$ unzip /ssd/android/out/dist/dragonboard-vendor_partitions-eng.zeuthen.zip ~/tmp$ find . . ./vendor_partitions ./vendor_partitions/modemst2.bin ./vendor_partitions/modem.bin ./vendor_partitions/sec.bin ./vendor_partitions/fsc.bin ./vendor_partitions/DDR.bin ./vendor_partitions/rpm.bin ./vendor_partitions/hyp.bin ./vendor_partitions/modemst1.bin ./vendor_partitions/aboot.bin ./vendor_partitions/sbl1.bin ./vendor_partitions/tz.bin ./vendor_partitions/fsg.bin ./partitions ./partitions/partition-tables.bin ./partitions/misc.bin ./provision-device ~/tmp$ PATH=/ssd/android/out/host/linux-x86/bin ANDROID_PROVISION_OS_PARTITIONS=/ssd/android/out/target/product/dragonboard ANDROID_PROVISION_VENDOR_PARTITIONS=$(pwd) ./provision-device target reported max download size of 268435456 bytes sending 'partition' (33 KB)... OKAY [ 0.008s] writing 'partition'... OKAY [ 0.331s] sending 'modem' (65536 KB)... OKAY [ 2.557s] writing 'modem'... OKAY [ 1.781s] sending 'fsc' (1 KB)... [...] OKAY [ 1.026s] writing 'userdata'... OKAY [ 1.925s] finished. total time: 30.983s ~/tmp$ which demonstrates it works as expected. In e.g. the lab, the fastboot command would be part of the lab and ANDROID_PROVISION_OS_PARTITIONS would come from e.g. target_files.zip or img.zip. I also ran the 'provision' command inside the build environment to check that provisioing still works in the inside-tree case. Bug: 25648550 Change-Id: I6fb82f7dc36c169fd9cc5998626b93414c7f5e68 Test: Manually tested (see above).
2015-11-25Set BRILLO_VENDOR_PARTITIONS to the list of files in the vendor directory.Dan Shi
builder will use BRILLO_VENDOR_PARTITIONS value to create a vendor partition zip file, in folder out/dist. Bug: 25692226 Change-Id: Ie135da2a897fd9d0edbeade2bbfd25033dc34949 Test: m dist, test with cl 183905
2015-11-23audio: Remove audio config files.Ralph Nathan
Move the audio config files required for routing, policy, etc from devices/qcom/dragonboard/base_product to hardware/bsp/qcom/soc/msm8916. All products that use audio need these configs, not just the base_product. BUG=25844626 TEST=manual test Change-Id: I49ec12938108d27764a3e608b018ce6b4c7ac6ad
2015-11-17Remove sample keys from weaved.confVitaly Buka
BUG:25627281 Change-Id: I47bb2afaebaff004dea0f4fac556db86c102b5a5
2015-11-04Dragonboard: Include misc.bin in provision-deviceMohammed Habibulla
BUG=25472336 Change-Id: I9801c2f2bf4a9abdc539da9a0e1653f1c94718a7
2015-11-03Dragonboard: Use partition binaries from /vendor/bsp/qcomMohammed Habibulla
BUG=24541705 Change-Id: I567f9c4d379045f41eba90173ec87b1c6509795a
2015-10-29audio: Allow playback of wav files.Ralph Nathan
The media_codecs file doesn't have support for playing raw audio. Add support for it. BUG=25357564 TEST="slesTest_playFdPath /data/file.wav 0" passes Change-Id: Id60244b80d3037f1ee568a570f41df63a9077b67
2015-10-26use headset mic as default input device for dragonbord 410cSourabh Banerjee
Modified policy configuration to make headset mic as the default input. This change is needed till routing for onboard mic is provided. Change-Id: Ied855ba1792c9dd320db906e8854919086110132 Signed-off-by: Anu Ramanathan <anur@codeaurora.org> Signed-off-by: Sourabh Banerjee <sbanerje@codeaurora.org>
2015-10-26msm8916 media: media codecs configuration file and mk updates to include the ↵Sourabh Banerjee
same in system.img cloned from git://codeaurora.org/quic/la/platform/vendor/qcom/msm8916_32 branch: LA.BR.1.2.4_rb1.10 Change-Id: Ia906061931d11e39393cdc08100e9470b4a7c220 Signed-off-by: Anu Ramanathan <anur@codeaurora.org> Signed-off-by: Sourabh Banerjee <sbanerje@codeaurora.org>
2015-10-16Merge "Remove audio config and bootctrl HAL from base product" into ↵Gaurav Shah
mnc-brillo-dev
2015-10-15Remove audio config and bootctrl HAL from base productGaurav Shah
They should instead be installed for all products using dragonboard as the underlying board. BUG: 24980129 Change-Id: I7fe2068b2e6d36229ffa9849f5ddf51deff88cb3
2015-10-16dragonboard: Add DEVICE_PACKAGES macroLee Campbell
Change-Id: Ic7621aa8d9476312dad743cfcd0e759e27e20e28
2015-10-12enable bluetooth hal for dragonboardSourabh Banerjee
Change-Id: I7aa3dfa67b83d8da43562a2d21bcb0e0c055c378 Signed-off-by: Sourabh Banerjee <sbanerje@codeaurora.org>
2015-10-12msm8916 audio audio policy configuration and mixer filesSourabh Banerjee
cloned from git://codeaurora.org/quic/la/platform/vendor/qcom/msm8916_32 branch: LA.BR.1.2.4_rb1.10 Changes made to audio_policy.conf, audio_effects.conf and mixer_paths_sbc.xml to address style and format issues. Change-Id: I569bd3feba4bc68c25040d4976cff75b74d3bf0a Signed-off-by: Sourabh Banerjee <sbanerje@codeaurora.org>
2015-10-12enable audio features for 410c dragonboardSourabh Banerjee
Change-Id: Ia98a6c159018c9365280667f3b261cfaa3393041 Signed-off-by: Sourabh Banerjee <sbanerje@codeaurora.org>
2015-10-12set TARGET_BOARD_PLATFORM for dragonboardSourabh Banerjee
410c dragonboard is a msm8916 variant, hence TARGET_BOARD_PLATFORM needs to be set to msm8916, so that qcom vendor components can build the correct flavor Change-Id: Ic913ce2741e79bdd8c6e445eee7974a8891e4e22 Signed-off-by: Sourabh Banerjee <sbanerje@codeaurora.org>
2015-10-08dragonboard: Also label boot partition with boot_block_device.David Zeuthen
As we're still using boot_control_copy, update_engine needs to be able to write to the 'boot' partition when copying from either 'boot_a' or 'boot_b'. This didn't work because we had only labeled 'boot_a' and 'boot_b', not 'boot. This CL fixed that. Bug: 23186405 Change-Id: I0216562fa891e28168b08f2d4839d35bad107d19 Test: Manually tested.
2015-10-07dragonboard: Add policy to label partitions used by update_engine.David Zeuthen
This selinux policy is needed by update_engine's selinux policy, see https://android-review.googlesource.com/#/c/174530 for details. Bug: 23186405 Change-Id: I3a39c0260ae92bd3b66f6d2c47557d55cd4b363b Test: Manually tested with Brillo build.
2015-10-05Dragonboard: Update embedded pairing code to 'hello'Alex Vakulenko
To illustrate that embedded code is not limited to numeric digits, use 'hello' instead of '0000'. Also uncommented API keys and URLs to use the value from the .conf file instead of hardcoded defaults (which are going to be removed). BUG: 24536219 Change-Id: Iadc541afca9d554b960a285d3f9850e1190604cb
2015-10-01Merge "dragonboard: Move to using 'provision' from build/envsetup.sh" into ↵David Zeuthen
mnc-brillo-dev
2015-10-01dragonboard: Move to using 'provision' from build/envsetup.shDavid Zeuthen
Starting with this commit, the board-neutral command $ provision should be used in lieu of $ device/qcom/dragonboard/brillo-provision-dragonboard410c.sh to provision the device. (NOTE: you will need to re-source build/envsetup.sh before the 'provision' command is available.) For now we just check the misc partition and the partition tables in as binaries (generated with brillo-provision-dragonboard410c.sh). In the future we can generate these as well as the provision-device file on the fly from higher-level descriptions, if needed. Change-Id: I31b0656798e18c681dfb7ddb003ef6f0471a1211
2015-10-01Revert "set TARGET_BOARD_PLATFORM for dragonboard"Ralph Nathan
This reverts commit 86ce359fb7f240667525763785766dfa6cb58934. Change-Id: Id9b6915874a04b4e172bebc5991069b5aa2de6da
2015-09-30set TARGET_BOARD_PLATFORM for dragonboardSourabh Banerjee
410c dragonboard is a msm8916 variant, hence TARGET_BOARD_PLATFORM shouls be set to msm8916 so that qcom vendor components can build the correct flavor Change-Id: I833b2151ba37fe8261d1d902b1c19b4b89cf85b6 Signed-off-by: Sourabh Banerjee <sbanerje@codeaurora.org>
2015-09-23dragonboard: Use fstab.msm8916, not fstab.device.David Zeuthen
Bug: 24328060 Change-Id: I3de0db7b72a823ff308c52fabc22dc04d2a7a422
2015-09-17Merge "device/qcom/dragonboard: Remove unused WIFI_INIT_MODULE" into ↵Paul Stewart
mnc-brillo-dev
2015-09-17Merge "dragonboard: Add board info file" into mnc-brillo-devGaurav Shah
2015-09-17Don't install bootctl, only boot_control implementation.Gilad Arnold
The former is installed as part of Brillo. Also, change continuation line indent so it matches the prevailing convention. Bug: 24157039 Change-Id: Id2d8d82cd6ca7c90bb768f5cb06b6747f01f7939
2015-09-15dragonboard: Add board info fileGaurav Shah
The board name is used by fastboot flashall as a sanity check to ensure we are flashing the right device. BUG: 24112915 Change-Id: Id6e527a4cd55cf7ffea03cff7358209576870b32
2015-09-11dragonboard: Use A/B partitioning by default.David Zeuthen
With this change, dragonboard will use two sets of partitions by default which enables update_engine to perform updates in the background. This CL will not break existing Dragonboard devices that are not yet repartitioned. Change-Id: Ie7ebc95970ae033fcb5658498605b01155996a26
2015-09-09Revert "dragonboard: Remove partition files"David Zeuthen
Also add license.txt from the zip-file containing the disk image these blobs originated from. This reverts commit 5dc53f548735e178303ecfa9bc64458a8df60378. Change-Id: I747a27d914e0cee2b6c67261415f39bdcf67ee7a
2015-09-05device/qcom/dragonboard: Remove unused WIFI_INIT_MODULEPaul Stewart
The BSP now automatically installs the HAL for the driver load for dragonboard. BUG: 23801071 Change-Id: Id322c325de7ac4def713b6ecad4b46cc0a46e6ee TEST: Boot and ensure AP mode is running
2015-09-04Merge "Revert "dragonboard: Removing wifi support"" into mnc-brillo-devGaurav Shah
2015-09-04Revert "dragonboard: Removing wifi support"Gaurav Shah
This reverts commit f9f33ab93af799e31dd46c0574f58e4719680f52. Change-Id: I6095e91c86a64f488702bd215b7c29e0008adbc3
2015-09-02Merge "dragonboard: Remove partition files" into mnc-brillo-devLee Campbell
2015-09-01dragonboard: Remove partition filesLee Campbell
Change-Id: Idf2db525d9f2cf34abd064b1b9b3e5f0f0a69d91
2015-09-01Merge "dragonboard: Removing wifi support" into mnc-brillo-devLee Campbell
2015-09-01dragonboard: Removing wifi supportLee Campbell
Temp changes while we move to new BSP model Change-Id: Idfacaa2abda29d1135cae27732d613be2e6bac94
2015-08-31dragonboard: Also populate slot B.David Zeuthen
For now, let's also populate slot B so it's easier to test A/B. The cost of doing this (a couple of extra seconds) is negligible. Change-Id: Ie4ebc0ebb28e0f81d8ca49ffd320fd1d55feec1b
2015-08-31dragonboard: Add misc partition to fstab file.David Zeuthen
This change is needed in to make fs_mgr find the right block device for /misc, see comments on CL:756123 for details. Having devices in fstab even though they are not mounted (there's no filesystem on the misc partition), is also SOP across Android - see other fstab files for example. Change-Id: I8680a29907a4e6d256f959cf469ae6f690749a56
2015-08-26device/qcom/dragonboard: Setup WiFiPaul Stewart
Set the dragon board up to use the correct WiFi initialization routines, even if this is not the base product. This reverts CL:753795, which only applied this change to the base_product. BUG: 22957017 Change-Id: I511648623ef50f334d3f198112019fee4902e84a TEST: connectivity_test connect BrilloGuest
2015-08-24dragonboard: Use existing userdata partition instead of building our own.David Zeuthen
Change-Id: I5733d60854b6af68bc3ab38b37a2ee9be809f529
2015-08-24dragonboard: Use ANDROID_PRODUCT_OUT in provisioning script.David Zeuthen
Use this instead of hard-coding out/target/product/brillo_dragon. This is needed for e.g. the latest name-shuffle. Change-Id: I0f1d37018781cfc5807de16f54b1e4e9bc3578d3
2015-08-24Add weaved.conf for dragonboardAlex Vakulenko
Default weaved configuration for DragonBoard BUG: 23425137 Change-Id: Ic4f63da7609aa9602330ee44c2da049b8a8e667b
2015-08-20device/qcom/dragonboard: Setup WiFiPaul Stewart
Set the dragon board up to use the correct WiFi initialization routines. BUG: 22957017 Change-Id: I1e9ff7fd76307dafdd203a8d90bd013774a02afd TEST: connectivity_test connect BrilloGuest
2015-08-19dragonboard: rename lunch target to dragonboardLee Campbell
The old name was too long and casuing build errors for users with a long username Change-Id: I9df112ff12a01daa25f64b14d298a3081971da5d
2015-08-18dragonboard: Adding device configsLee Campbell
BUG: 23315076 Change-Id: Id7345defcdb91e194ce24fc3cfb106e6f40e9d3d
2015-08-18Add provisioning script and vendor blobs for Dragonboard 410c.David Zeuthen
The vendors blobs are from dragonboard410c_sdcard_install_android-40-66.zip Change-Id: I59ffae777a69b9d0ad01ae22d756c5804d0fa49d