summaryrefslogtreecommitdiff
path: root/db845c.mk
AgeCommit message (Collapse)Author
2022-03-02db845c: Make TARGET_USES_BOOT_HDR_V3 visible to vendor packageAmit Pundir
Move TARGET_USES_BOOT_HDR_V3 build flag from db845c/BoardConfig.mk to db845c.mk, so that TARGET_USES_BOOT_HDR_V3 flag can be used in vendor/ firmware package' .mk files. Needed for certain conditional PRODUCT_COPY_FILES in vendor package to work correctly. Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: Ia81e4cad55d7a8de20d5353e7cfd3d297fa6482c
2022-02-18Factor out the full device configuration.Peter Collingbourne
In an upcoming patch we are going to add "mini" device configurations that avoid most of the usual driver dependencies. This requires splitting out the device-specific configuration from the configuration required for a full device image. Bug: 217455793 Change-Id: Id17d162d142a2595e54e163f5faaf7dcf9b68e35
2022-02-10db845c: rb5: Switch default TARGET_KERNEL_USE to 5.15Amit Pundir
Switch default db845c-userdebug and rb5-userdebug builds to android-5.15 prebuilt kernel Image and modules. Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: Ia7f9794c69b4f812aae465b006e160ae72cd19e0
2021-11-04Merge "db845c.mk: set DB845C_KERNEL_DIR to use environment when specified"Treehugger Robot
2021-07-30db845c.mk: Do not copy kernel modules to vendor imageAmit Pundir
Copy the kernel modules the ramdisk/vendor_ramdisk only. Right now we keep a copy of all the kernel modules in /vendor/lib/modules, which results in modprobing of the modules from /vendor/lib/modules as well and though they fail safely (well most of the time and they should) but we have run into a regression where dual loading of Qcom UFS module resulted in probing failures. Ideally dual loading should not reach up to probing stage and there might be something more to that crash, but since this issue is difficult to reproduce and debug, the easiest way out is to make sure we do not try to load a kernel module twice. Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: I1be3bccd1ababaf258f1f87c75636919b962ad8d
2021-07-02db845c: Switch to using android13-5.10 kernel by defaultJohn Stultz
Switches to using a more recent 5.10 based kernel by default this enables extra features like audio for out of the box builds. Signed-off-by: John Stultz <john.stultz@linaro.org> Change-Id: I77c4bf28c500f5f8d409310d8226eeb29d9fdf3e
2020-10-15db845c.mk: set DB845C_KERNEL_DIR to use environment when specifiedYongqin Liu
so that we could use the files in the dist directory directly, without copying them into device/linaro/dragonboard-kernel Test: export DB845C_KERNEL_DIR=<output/db845c/dist> source build/envsetup.sh lunch db845c-userdebug make -j$(nproc) droidcore Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org> Change-Id: Iacdfe3ca107bffc92679bdf9273b6c5e329b9557
2020-06-29db845c: Move msm.ko from ramdisk to vendor partitionJohn Stultz
Unfortuantely the msm.ko object is 32 megs which takes about half of the 64m boot partition. With android-mainline we end up running out of space, so lets move this largest module off to the vendor partition to allow the build to continue to work Change-Id: I866394abf7da9bb681f1738c8996ec23a048118c Signed-off-by: John Stultz <john.stultz@linaro.org>
2020-03-20db845c: Install BT driver modules to ramdiskAmit Pundir
With following android-5.4 kernel changes, we no longer need to install and load the bt driver modules from the vendor partition: https://android-review.googlesource.com/c/1261169 https://android-review.googlesource.com/c/1261170 Also BOARD_VENDOR_KERNEL_MODULES duplicate installed modules in ramdisk and vendor partition, so remove that part. And rename BOARD_VENDOR_RAMDISK_KERNEL_MODULES to BOARD_GENERIC_RAMDISK_KERNEL_MODULES to avoid confusion because we are not supporting vendor boot image at the moment. With this change all the kernel modules are now installed in ramdisk.img, and we don't need to update and flash vendor.img to test kernel changes. Change-Id: Ieccce38e4eb3f915e75a2c9b636b4a2d7bca586b Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
2020-01-31db845c: Wire in bluetooth supportJohn Stultz
The qca bluetooth module has some yet to be determined issue which causes deferred firmware loading to stop it from working. But as long as the bluetooth module is loaded from the vendor partition where the bluetooth firmware is present, it can be made to load and function. This patch updates the bluetooth hal version and adds a trick to exclude the qca and hci_uart modules from being on the ramdisk. Note: Bluetooth audio isn't working yet. Devices pair but I don't hear audio yet. Change-Id: I37e927485414368b817958dfef2137fc263003a0 Signed-off-by: John Stultz <john.stultz@linaro.org>
2020-01-21db845c: Switch default TARGET_KERNEL_USE to 5.4John Stultz
It was requested that the default kernel be 5.4 based for db845c builds, so lets switch this. Change-Id: I4ba0ce9916e63457a114d51cbe28ec7f830a1e2c Signed-off-by: John Stultz <john.stultz@linaro.org>
2020-01-14db845c: Update userland build to use dragonboard-kernel project and build ↵John Stultz
boot.img This patch updates the userland build to built a boot.img from prebuilt kernel/modules in the dragonboard-kernel project. At the moment, there is nothing in the dragonboard-kernel project, but once we do add the prebuilt files, we'll want this change. Change-Id: I6b9ce745c378ea50e176e9c8ed67336953766fa2 Signed-off-by: John Stultz <john.stultz@linaro.org>
2019-10-09db845c: Enable kernel module loadingJohn Stultz
In preparation for GKI support, add some initial support for kernel module loading during bootup. For now, this is set to be conditional on DB845C_USE_GKI being set while building Thanks to YongQin and Sam for pointers on an improved way of doing this. Change-Id: I197dc83a63fc5aea2eb906beed95ff9bdff3d688 Signed-off-by: John Stultz <john.stultz@linaro.org>
2019-09-24db845c: Add support for AOSP on dragonboard db845cAmit Pundir
Boots dragonboard db845c to console. HDMI display broken due to missing firmware files. Change-Id: I820aeb7b7ab2536a362f9ae37cc44906be0a6190 Signed-off-by: Amit Pundir <amit.pundir@linaro.org>