Age | Commit message (Collapse) | Author |
|
Moves the bootloader objects, and mali libraries to the vendor
package and adds the support files, tweaking the flash-all.sh
script
Will use the vendor-package located here:
https://releases.linaro.org/android/aosp-linaro-vendor-package/extract-linaro_devices-20220210.tgz
Previously this patch was reverted, as there would be build
errors when the vendor pacakge was missing.
This patch re-applies the earlier change, with some additional
fixes to ensure we don't see build trouble when the package is
missing.
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I53ec5516d91391c0d3f18c801e730eff150076af
|
|
This reverts commit af6e3c040223f3dfa5ac3e8b684b16a37d9a078c.
Reason for revert: broke build_test target, b/219798815
Change-Id: I22cfd1321d22b1f03e7e12a781a94886871faa18
|
|
Moves the bootloader objects, and mali libraries to the vendor
package and adds the support files, tweaking the flash-all.sh
script
Will use the vendor-package located here:
https://releases.linaro.org/android/aosp-linaro-vendor-package/extract-linaro_devices-20220210.tgz
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I5e22c28c6f2c9ce3a7ec42e72411192dfbb6b312
|
|
We had a number of older build options to keep things
working with older kernels, but with those kernels
being unsupported with AOSP, we can go ahead and drop
this logic to simplify things.
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: Ibeaac890391fb21b33ebc45640053ab9db52ace9
|
|
The new deferred-free-helper and page pool modules for dmabuf heaps
are prerequisites for the system heap, so we need to include them
in the initrd along with the system_heap.ko
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I0b3717ab1f1d5f9f87363af46e4059de46ae76a3
|
|
This is basically a port of work Amit had done against HiKey
board awhile back:
https://android-review.linaro.org/c/device/linaro/hikey/+/20550
Moving system vendor product and system_ext to the super
partition.
For now, instead of reworking the ptable, we simply flash the
super partition to the system partition. This will need to change
so that we change the ptable as well, but that needs some time
as the ptable flashing can be disruptive for testing.
Feedback would be appreciated.
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: Ie53fed6392116b16063f497978e369490a1fccd2
|
|
In order to boot properly we need to manually load the
system_heap.ko module in order for the dmabuf system
heap to be present for gralloc and the codec2 uses.
So add a line like we have for the CMA heap for this.
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I70172488c3b76baec27b0ea09b1779a02037ed17
|
|
aosp tree"
|
|
where cma_heap.ko is used instead of ion_cma_heap.ko,
and other ko files that not exist with the android-mainline kernel
Test: boot to home screen with mainline kernel
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Change-Id: I8c737d3f1cdb037e301af9bef151a67e5e4f4e8f
|
|
add LOCAL_KERNEL_HOME variable to support the use of out of aosp tree
prebuilt kernel dir, like the dist directory when building kernel
according to the instructions here[1].
[1]: https://source.android.com/setup/build/building-kernels
Test: export LOCAL_KERNEL_HOME=<out/hikey960/dist>
export TARGET_KERNEL_USE=5.4
source build/envsetup.sh; lunch hikey960-userdebug; make -j$(nproc) droidcore
export LOCAL_KERNEL_HOME=<out/hikey/dist>
export HIKEY_USES_GKI=true
source build/envsetup.sh; lunch hikey-userdebug; make -j$(nproc) droidcore
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Change-Id: Ide62267aa7b51d43280b4d3cefa0cbc82295b0d7
|
|
sdcardfs isn't being built in android12-5.4 anymore, so
we need to remove it from the modules list for the initrd,
but existing prebuilt kernels still provide it, so
conditionalize it so we don't get errors with newer built
kernels.
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I0f0f810960211034055dfabb75ef92d0167fb0f0
|
|
full_base brings in mobile packages like Settings and Launcher3. Recent
changes to Hikey make it unbootable if Settings is included alongside
TvSettings, due to incompatibility with CryptKeeper.
Test: manual - flash a device with hikey960 and with hikey960_tv
Test: find $OUT -name Settings.apk
Test: find $OUT -name TvSettings.apk
Bug: 162537919
Change-Id: I77fa5ef9017a770777115b5158880619cbb6c953
|
|
The gki_defconfig now includes the ufs-hisi driver,
so drop adding the ufs-hisi.ko file to avoid build failures.
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: Ic649ab8b45ec9cf6a873ebc8af0f16c08c4ea5d1
|
|
Now that we have prebuilt 5.4 binaries, lets use them by
default.
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I701f7a8d1bd07cef161209ad71c7af445f4b336d
|
|
Use hikey-kernel/<board>/<kernel ver>/<file> for prebuilt objects
instead of hikey-kernel/<file>-<board>-<kernel ver>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I207dd40fe1de5e0078a5cf82bbf1f89910906b5b
|
|
to make the sdcardfs feature work.
Test: cts-tradefed could run with device information collected
sdcardfs mountpoints listed in the mount command output
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Change-Id: I62d30b6e2bcf28fcaf2baebdc7caa96c4c2f9a47
|
|
Get UFS and ion_cma modules loading via the initrd.
This is hidden behind a HIKEY_USE_GKI for now, as we
have trouble switching between modular and non-modular
builds.
Change-Id: I074cd98752bed87ccb10991e4a3196a2f1c0e080
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
In preparation for GKI support, add some initial support for
kernel module loading during bootup.
Thanks to YongQin and Sam for pointers on an improved way of
doing this.
NOTE: This does not yet deal with initramfs modules
Change-Id: Ie802f2b62267fbd93e550ef30c4e479f44ba94b6
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
This moves the default HiKey960 kernel to 4.19.
This change should be applied after prebuilt a 4.19 kernel
is updated which has the performance hacks applied.
Change-Id: I035fe6c83f1bdfe7460a55177036b5060bcd13c1
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
Switch HiKey960 over to use 4.14 by default.
Change-Id: Id9f1566e75c67a8686047f4f697435e0bd15ec17
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
Changes:
- Add a hikey960_tv-userdebug lunch target.
- Add a hikey_tv-userdebug lunch target.
- Use the TvSampleLeanbackLauncher to replace Launcher 3.
- Removed navbar and notification bar.
- Increased DPI to 260
- Added TvSetting to replace Settings
- non tv targets remain unaffected.
Minor Issue with AOSP TV:
- WiFi connection UI doesn't have a "next" button.
To be able to connect we have to use third-party apps
- hikey boots to UI with kernel 4.4 or less
Test: Builds and boots to Leanback Launcher UI
Change-Id: I43fa609f486bfa71482b62bf36dff15bcd46647c
Signed-off-by: Sahaj Sarup <sahaj.sarup@linaro.org>
|
|
Modifications needed to enable the drm_hwcomposer in
the hikey build.
This enables drm_hwcomposer for 4.14+ on HiKey and HiKey960
This requires updated drm_hwc source and changes to the kernel
source and 4.14 kernel prebuilt to be updated (and merged
together with this change).
So DO NOT MERGE until pre-built kernel which incldues
the following commits is submitted:
https://android-review.googlesource.com/c/kernel/hikey-linaro/+/743923
As well as the following update to drm_hwcomposer:
https://android-review.googlesource.com/c/platform/external/drm_hwcomposer/+/743902
Bug: 62066689
Change-Id: Ifbe76eed77672d06ceb3bce16de4b4d8cac56f17
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
Bug: None
Test: Boot with verity enabled for system and vendor.
Change-Id: Iaf52f6f5c9258498c67789ffffc650a54382e21c
Signed-off-by: Sandeep Patil <sspatil@google.com>
|
|
For the UEFI transition we need to move to Image.gz-dtb kernels,
instead of using the separate dts partition as used w/ the HiSi
bootloader.
This patch depends on a Image.gz-dtb-hikey960-4.9/4 kernel to be
in hikey-kernel, but can be used with HiSi bootloader as long
as the dt.img is still flashed.
Change-Id: I8c9ab8a7df516c84c6c5dac57e80388d4d2e40a0
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
Also restructure some of the current make files:
- make a hikey-common.mk instead of importing hikey.mk and overriding
- don't set ro.zygote etc directly, import the helper makefiles instead
This new product avoids building all the 32 bit native executables and
libraries that gets built for the 'hikey' product. Sample benefits:
- makes the build faster
- saves ram and cpu, because there is no 32 bit zygote created
- frees up space on the system partition
Test: lunch hikey && m -j
Test: lunch hikey32 && m -j
Test: lunch hikey64_only && m -j
Bug: 72810053
Change-Id: I0d40b1c1c4e763b14258df7034921e0a3dc12208
|
|
Bug: 38204302
Test: Manual
Change-Id: I73eb02358ebd57533a8e76e0fcd74e67d153e53b
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
With 4.9+ we should be able to use the common linux bluetooth HAL
instead of the legacy TI one with hikey960.
Change-Id: I8dda8029079098f99a960a4a068023a126dfae4b
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
Bug: 38204302
Test: Manual
Change-Id: Iffb7da6846a66a0bd5cba0507303b08b54fb974d
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
common bluetooth HAL
This patch, a reworked version of changes from Satish Patel
adds a build option to enable the common generic linux bluetooth
HAL vs the legacy TI HAL.
The legacy TI HAL is only needed on 4.4 and older kernels.
NOTE: One needs to be using a kernel that supports the standard
linux hci0 interface to successfully use this.
Change-Id: I74927aa651b184fdb65957fcb54c4c0afffbfa7c
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
Test: Manual
Bug: 33082418
Change-Id: Iddd1b8b8d3e26fd3a31cf62a163afb5d26d5d2de
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|