summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-11-30Merge "hikey: installer: Update UEFI binaries"android-o-mr1-iot-preview-6o-mr1-iot-preview-6Treehugger Robot
2017-11-29hikey: audio: Clean up warningsDmitry Shmidt
Change-Id: I3e0b49688a6ab709d3619d6e79ed9ac94448fc76 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2017-11-29hikey: installer: Update UEFI binariesJohn Stultz
This updates the UEFI binaries to match the current ARMTF/UEFI sources Notable changes: * EmbeddedPkg/AbootimgLib: support to load dtb from downloaded kernel * EmbeddedPkg/Fastboot: hack an interface for usb transmission size * Drivers/DwMmcHcDxe: remove CMD5 in initialization * Drivers/DwMmcHcDxe: use fifo * Platforms/HiKey: fix the SD device path * Drivers/DwUsb3Dxe: hack an interface for usb transmission size Built from the following trees: https://android.googlesource.com/device/linaro/bootloader/arm-trusted-firmware d7f137ecb773c12918640e235089c0cdf5a86887 https://android.googlesource.com/device/linaro/bootloader/edk2 c767e03a897271846ee23a3a8066f5a5b51caff5 https://android.googlesource.com/device/linaro/bootloader/OpenPlatformPkg b1f857f47d6dc8fcfd8b212cda72ee15c2c188bb Change-Id: I1c8a5bf4b89c89ac4970c426a6a5df699d295de3 Signed-off-by: John Stultz <john.stultz@linaro.org>
2017-11-28device-common.mk: add support for feature of android.software.ctsYongqin Liu
to make more cts test cases passed Test: manually cts with hikey Change-Id: Ib62b73d16eb7a2f1827f65540e2039682ee2342e Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2017-11-21HiKey960: installer: After flashing, reboot the systemJohn Stultz
At the end of flashall.sh, we should just reboot the system so it can run, rather then having it sit in fastboot mode waiting for the user to press the reset button or run the command themselves. Change-Id: I2a0d9d82083e82577c822db485964824c844f4cb Signed-off-by: John Stultz <john.stultz@linaro.org>
2017-11-10Merge "hikey: installer: Update UEFI binaries and ptable to new source base"Treehugger Robot
2017-11-10Merge "hikey: Update board-info.txt to require new UEFI bootloader version"Treehugger Robot
2017-11-10Merge "hikey: l-loader: Update generate_ptable.sh and Makefiles"Treehugger Robot
2017-11-10Merge "hikey: l-loader: Add new gen_loader_hikey.py and recovery fastboot ↵Treehugger Robot
binary"
2017-11-10Merge "hikey: uefi-tools: Update UEFI tools to match updated UEFI sources"Treehugger Robot
2017-11-09hikey: installer: Update UEFI binaries and ptable to new source baseJohn Stultz
This updates the UEFI binaries and ptable images to match the newly updated ARMTF/UEFI sources that we're migrating to. Notable updates: * Major jump from old armtf-1.1 fork to upstream armtf-1.4 * Major jump to close-to-upstream edk2 * Major jump to updated OpenPlatformPkg tree Built from the following trees: https://android.googlesource.com/device/linaro/bootloader/arm-trusted-firmware d7f137ecb773c12918640e235089c0cdf5a86887 https://android.googlesource.com/device/linaro/bootloader/edk2 b89f554257ada86b93dc643a8d9df70ebdc0b56a https://android.googlesource.com/device/linaro/bootloader/OpenPlatformPkg a27b8a12b6c18e02a4bfa12125feeb5f5f0a9079 Change-Id: If1b871c7f0c285329c887d118b2c482ba71e35a9 Signed-off-by: John Stultz <john.stultz@linaro.org>
2017-11-09hikey: Update board-info.txt to require new UEFI bootloader versionJohn Stultz
Update board-info.txt bootloader requirement from 0.4 to 0.6 for new UEFI bootloader version. Change-Id: Ic4e4f914109051b3a54524b319d2f61fe628cc8c Signed-off-by: John Stultz <john.stultz@linaro.org>
2017-11-09hikey: l-loader: Update generate_ptable.sh and MakefilesJohn Stultz
The ptable format has changed for newer bootloaders, so update the generation and build script. This syncs the l-loader code to match f986003d5732348db3a0329d2ed6863aa9d0ae9e from: https://github.com/96boards-hikey/l-loader.git Along with some minor tweaks to keep it building in the AOSP environment. Change-Id: Iad73e4ac63e0ccc78975d82f16983225bcfaea2b Signed-off-by: John Stultz <john.stultz@linaro.org>
2017-11-09hikey: l-loader: Add new gen_loader_hikey.py and recovery fastboot binaryJohn Stultz
With updated bootloader builds, we need to include a recovery fastboot binary. This binary can be generated from the source tree here: https://github.com/96boards-hikey/atf-fastboot/tree/master But there isn't much value in adding that tree to AOSP, as not many folks will probably want to modify/rebuild the recovery fastboot app. Change-Id: Id6cff740ba74242d8f54d81e98f3ed1f18c71eae Signed-off-by: John Stultz <john.stultz@linaro.org>
2017-11-09hikey: uefi-tools: Update UEFI tools to match updated UEFI sourcesJohn Stultz
Copied over from https://github.com/96boards-hikey/uefi-tools SHA1: 42eac07beb4da42a182d2a87d6b2e928fc9a31cf Change-Id: Iee58d079ee565bbb83849d357caac2b21b9be043 Signed-off-by: John Stultz <john.stultz@linaro.org>
2017-11-09mtp/ptp: Switch to FunctionFS userspace interfaceAmit Pundir
Test: Tested manual MTP/PTP transfers on android-hikey-linaro-{4.4,4.9} and 4.14-rcX kernels with and without USB_CONFIGFS_F_{MTP,PTP} drivers enabled. Change-Id: I50ac115e121f2bf2f2b4a25e522c25df1e4ef0d3 Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
2017-11-08hikey/hikey960: enable VR HALSahaj Sarup
enable VR HAL if sensor mezzanine is enabled enable vr high-performance mode and headtracking Test: vr hal passes vts and vr apps don't open in "cardboard mode" Change-Id: Ie0742b011b501572885b7c5dcb6de0b0fe3d809b Signed-off-by: Sahaj Sarup <sahaj.sarup@linaro.org>
2017-11-06hikey: enable HIDL HWCChia-I Wu
This will use FB->HWC2 adapter. Test: boots hikey and hikey960 Change-Id: I70995d71f70c3cf6bd3bbaca8756ee0a6644b32a
2017-11-02hikey: Fix power-hal logcat noiseJohn Stultz
The way powerhal modules are initialized maybe changed or was always broken, but as it is, some of the hikey power module entries were not being initialized properly. This was causing lots of noise in the logs, and potentially other problematic behavior. This changes the initial allocation so we allocate the whole structure and initialize it properly. Change-Id: I7d7858c2890d03758b302b95f18bd1c35b6ef85b Signed-off-by: John Stultz <john.stultz@linaro.org>
2017-11-01Merge "init.common.rc: enable randomize_va_space"Treehugger Robot
2017-11-01init.common.rc: enable randomize_va_spaceYongqin Liu
remove the disabling of randomize_va_space which will cause CtsAslrMallocTestCases test failed. And this should not be a performance problem any more. Test: CtsAslrMallocTestCases with hikey Change-Id: I303b9b9379c30d3e38fab368d5d259e8c2963bb8 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2017-11-01hikey: Add sensors config files with neonkey / argonkeyDenis Ciocca
Copy permissions config files if target is built with mezzanine board enabled. Change-Id: I765509e8eafb68bd4c504a29bdfb2b8686650c4d Signed-off-by: Denis Ciocca <denis.ciocca@st.com>
2017-10-25Merge "Remove Foreground Boost CPUSet"Elliott Hughes
2017-10-25Merge "hikey: Add support for contexthub hal and neonkey / argonkey sensor hal"Treehugger Robot
2017-10-24hikey: Add support for contexthub hal and neonkey / argonkey sensor halBen Fennema
Compile: make TARGET_SENSOR_MEZZANINE=<mezzanine_name> (<mezzanine_name> can be neonkey or argonkey) Test: builds Change-Id: I11c2734965b96cb34aef7558b7c822d0e5ea5c65 Signed-off-by: Ben Fennema <fennema@google.com>
2017-10-24hikey: power: Fix unused parameter warningDmitry Shmidt
static void hikey_cpufreq_init(struct hikey_power_module *hikey) Change-Id: I8d36de7532a1b6352a568af31f5869695a439b48 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2017-10-23Remove Foreground Boost CPUSetJake Weinstein
This functionality was removed at https://android.googlesource.com/platform/frameworks/base/+/a712d4058f6f85268838
2017-10-21hikey: bootloader: Update prebuilt fip.bin and l-loader.binJohn Stultz
am: 830abf2f7f Change-Id: Ib5351216cf4ed45641fd9572d65cb44c591855a7
2017-10-20hikey: bootloader: Update prebuilt fip.bin and l-loader.binJohn Stultz
This updates the fip.bin and l-loader.bin to builds from the latest sources. Notable changes: * Hack workaround for fastboot flashing hangs * Set HIKEY_ERASE_SIZE to 4096 Built from the following trees: https://android.googlesource.com/device/linaro/bootloader/arm-trusted-firmware 179eae6bcbfe21200b3dec42e0b56e5e6faf3272 https://android.googlesource.com/device/linaro/bootloader/edk2 e0fb9b50e19e70d35f7e5b277eec586befbd4a53 https://android.googlesource.com/device/linaro/bootloader/OpenPlatformPkg 9e2fbf006e4b9378226b09e88bf407400f3ba465 Signed-off-by: John Stultz <john.stultz@linaro.org> Change-Id: Ia4688c77d0ce4acffe78a649b5e0d71f57fbb944
2017-10-20hikey960: fix README errorsDaniele Palmas
am: 440f7a2a55 Change-Id: I6b4e854567ad4d8d86f0081350d1472c79406050
2017-10-20hikey960: fix README errorsDaniele Palmas
This patch fixes the following README errors: - Directory in which images are available - Kernel branch name as properly reported in: https://source.android.com/source/devices#960hikey Test: flashing images with Hikey960 Change-Id: Ie13328dbd9cd65eee1fc2e79aad47d291ecceb74 Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
2017-10-15hikey: bootloader: Update prebuilt fip.bin and l-loader.binJohn Stultz
am: 65c224c094 Change-Id: I8615384bcffc76380f6f391fed054da011c794ba
2017-10-12hikey: bootloader: Update prebuilt fip.bin and l-loader.binJohn Stultz
This updates the fip.bin and l-loader.bin to builds from the latest sources. Notable changes: * Platforms/HiKey: fix truncated kernel args for eMMC boot * ArmPkg/BdsFilePath: fix kernel args limitation Built from the following trees: https://android.googlesource.com/device/linaro/bootloader/arm-trusted-firmware 179eae6bcbfe21200b3dec42e0b56e5e6faf3272 https://android.googlesource.com/device/linaro/bootloader/edk2 e0fb9b50e19e70d35f7e5b277eec586befbd4a53 https://android.googlesource.com/device/linaro/bootloader/OpenPlatformPkg 396dfc5e979c7513d433ce4f8a4d1e5d8763717f Signed-off-by: John Stultz <john.stultz@linaro.org> Change-Id: I9fad8dcec5a81ee5883cfba874548bfde070cab1
2017-10-12Merge "Use -Werror in device/linaro/hikey"Chih-Hung Hsieh
am: be188a852e Change-Id: Ie12d771f6c2a531de875b9f7f394306df7af93bc
2017-10-12Merge "Use -Werror in device/linaro/hikey"Treehugger Robot
2017-10-12Workaround: copy ion_4.12.h from libionSumit Semwal
am: 61831749a4 Change-Id: I12d7f7deb50b8129481d5fe5881744033b5327ea
2017-10-12hikey: gralloc Update for new ION interfaceLaura Abbott
am: 6ed00bc726 Change-Id: I6c27c7f096454276a097f9e2c6c76e3a71989f46
2017-10-12Workaround: copy ion_4.12.h from libionSumit Semwal
libion adds a temporary header for 4.12 headers with new ION ABI interface. Since it's internal to libion being temporary, for now, copy it here. This will need to be removed once header situation in libion is sorted. Test: tested with both new and old kernels. Change-Id: If1f4cef26df2d2f173fe158da30d6ca64a3226c3 Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
2017-10-12hikey: gralloc Update for new ION interfaceLaura Abbott
4.12+ kernels have an updated ION interface; this adapts hikey's gralloc to work seemlessly with both old and new kernels' interfaces. Test: validated with both new and old kernels on hikey, with aosp master Signed-off-by: Laura Abbott <labbott@redhat.com> Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org> [sumits: maintain compatibility with older kernels] Change-Id: Ic30470004b48f14765fdee8179de6d17f7b448b5
2017-10-10hikey: bootloader: Update prebuilt fip.bin and l-loader.binJohn Stultz
am: d03eb73071 Change-Id: I8a8bf65d899da40a538dc72e42a63fd5d6f33aa2
2017-10-09hikey: bootloader: Update prebuilt fip.bin and l-loader.binJohn Stultz
This updates the fip.bin and l-loader.bin to builds from the latest sources. Notable changes: * Add erase-block-size and logical-block-size support Built from the following trees: https://android.googlesource.com/device/linaro/bootloader/arm-trusted-firmware 179eae6bcbfe21200b3dec42e0b56e5e6faf3272 https://android.googlesource.com/device/linaro/bootloader/edk2 99d893a486546aa62d4088a16e86617ed3c74897 https://android.googlesource.com/device/linaro/bootloader/OpenPlatformPkg b7bd2f4533cd0c307af685a01a033d29c2ad56fb Change-Id: I0f38ee98cc35a844a4d70bb9ffe7b9f4acb97b86 Signed-off-by: John Stultz <john.stultz@linaro.org>
2017-10-09hikey960: fix factory image scriptVishal Bhoj
am: bb54636184 Change-Id: I5a800eb6983778413bf17382e9f34f593c471336
2017-10-09hikey960: fix factory image scriptVishal Bhoj
Change-Id: I451055cca1f6366d7834b74540c805b8b833d1ca Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2017-10-06hikey: Add hikey32 target for arm32Dmitry Shmidt
am: 5f59b7a9d7 Change-Id: I57787670f58a835217c85f74aebb789d9007df52
2017-10-06hikey: Add hikey32 target for arm32Dmitry Shmidt
Change-Id: I3db05ce6678bd50efb4839f1eca634cccf0b8891 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2017-10-04hikey960: installer: Rename HiSi ptable, sec_xloader, fastboot imagesGuodong Xu
am: 3b415817de Change-Id: Id7e694e3981b7bd727f10ee693386a79ed7d9e7e
2017-10-04hikey960: generate-factory-images-hikey960.sh: Modify flash-all.sh for ↵Guodong Xu
ptable change am: 6eb8215e83 Change-Id: I3443b48395469e7879b91c68a45f3eb84b4cd3e6
2017-10-04hikey960: installer: Prepare for hikey960 ptable changeGuodong Xu
am: b8c41776fd Change-Id: I1c196f29c62cc29c09eb9474c754f0bf494b93a9
2017-10-03hikey960: installer: Rename HiSi ptable, sec_xloader, fastboot imagesGuodong Xu
This renames the HiSi binaries to make it clear they are the HiSi provided ones. Change-Id: I8171907266ff101b04fc56418622fdcbbfae72c5 Signed-off-by: Zhong Kaihua <zhongkaihua@huawei.com> Signed-off-by: Guodong Xu <guodong.xu@linaro.org> Signed-off-by: John Stultz <john.stultz@linaro.org>
2017-10-03hikey960: generate-factory-images-hikey960.sh: Modify flash-all.sh for ↵Guodong Xu
ptable change This is for future ptable change. In that case, need to flash xloader before ptable. And after ptable is flashed, need to reboot board to make it take effect. Change-Id: I55de538f794aa25c7f99d0543558d677df3706c9 Signed-off-by: Guodong Xu <guodong.xu@linaro.org> Signed-off-by: John Stultz <john.stultz@linaro.org>