summaryrefslogtreecommitdiff
path: root/db845c
AgeCommit message (Collapse)Author
2020-07-09Revert "qcom: qrtr: Disable qrtr-ns and qrtr-cfg"android-r-beta-3android-r-beta-2Amit Pundir
This reverts commit 2cf92a4173d774ad491709f80fe8fe3aa1698e6a. Needed to get WiFi working on android-5.4 kernel. Otherwise we need to backport a chunk of in-kernel qrtr ns patches from upstream (v5.7-rc1) kernel. Userspace qrtr-ns tool is compatible with upstream kernel as well, check: https://android-review.googlesource.com/c/1286419 Change-Id: Icf9654ed415fe77c8f22592feccd7c68f46bd765 Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
2020-07-08Revert "db845c: Add fw_devlink=permissive to the boot arguments"Saravana Kannan
This reverts commit 05e94c35cb0cdba07582fa0055805f9553ab0bf3. Reason for revert: No longer necessary as default fw_devlink=on works Change-Id: I906341051416c3e622f29cf1df4a4e54368de83c
2020-05-11db845c: Add fw_devlink=permissive to the boot argumentsAmit Pundir
android-mainline commit ("ANDROID: GKI: driver core: Set fw_devlink=on by default"), https://android-review.googlesource.com/c/1305327 broke db845c. Set fw_devlink=permissive while we debug it further. Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: If49ed679632a0a5c3ffc26bcc4fff62619f474d4
2020-04-25qcom: qrtr: Disable qrtr-ns and qrtr-cfgAmit Pundir
No need to run qrtr-ns and qrtr-cfg services explicitly. They are moved to kernel now starting from v5.7-rc1. We are keeping qrtr-lookup around for debugging. Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: I02d72e73ef3d64fed1c024a97cec3560241aff22
2020-04-25db845c: firmware: Add adsp and modem jason fileAmit Pundir
Downloaded from: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/qcom/sdm845 at commit 64dba0fedb22 ("Merge branch 'a630-zap' of https://github.com/andersson/linux-firmware") Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: I95e8bd0ef30c7aa58db4fc8e269f13fa62727022
2020-04-25db845c: Set Ethernet MAC address on bootAmit Pundir
db845c development boards do not have unique Ethernet MAC address. All boards share same MAC address and it cause problems while running CTS tests on db845c in a lab with multiple db845c boards connected. Set the Ethernet MAC address based on board's unique serial number as a workaround for now. Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: I1c5b63b7d6cbf5e55ac40980b5823cc6bb4f44d3
2020-04-21db845c: move the normal fstab path to /vendor/etc/fstab.db845cYongqin Liu
as it is required by the GetFstabPath funtion defined here: https://android.googlesource.com/platform/system/core/+/refs/heads/master/fs_mgr/fs_mgr_fstab.cpp#411 and the fstab.ramdisk.common does not need to be copied to vendor partition. Test: boot up db845c with android-5.4 and android-mainline kernels, and tested with vts-kernel -m VtsKernelEncryptionTest Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org> Change-Id: Ib2ec7277e3b4e912546841174bdcb5638578ed33
2020-04-17db845c: Add deferred_probe_timeout=30 to the boot argumentsJohn Stultz
With changes landing in 5.7-rc, adding deferred_probe_timeout=30 argument on the boot line allows modules dependencies to be able to be resolved after init. Otherwise we may see some modules fail to load due to missing dependencies and then if the dependencies are loaded after init begins, the modules waiting will fail to get EPROBE_DEFER errors and will just fail for good. Signed-off-by: John Stultz <john.stultz@linaro.org> Change-Id: I0715ae5099ec5511e0154b7c88c098a16fde9fb8
2020-03-27db845c/BoardConfig.mk: fix the value of androidboot.boot_devicesYongqin Liu
which should be soc@0/1d84000.ufshc, as the soc item defined in the dts is "soc: soc@0" like here: https://android.googlesource.com/kernel/common/+/refs/heads/android-mainline/arch/arm64/boot/dts/qcom/sdm845.dtsi#705 otherwise links like /dev/block/by-name/super won't be created during the boot, and will get problem like this: [ 8.807222] init: Loaded kernel module /lib/modules/xhci-plat-hcd.ko [ 8.814077] init: [libfs_mgr]ReadFstabFromDt(): failed to read fstab from dt [ 8.821719] init: Using Android DT directory /proc/device-tree/firmware/android/ [ 8.852403] init: realpath failed: /dev/block/by-name/super: No such file or directory [ 8.860633] init: Failed to mount required partitions early ... [ 8.867386] init: InitFatalReboot: signal 6 and vts test failures for following test cases: VtsKernelLiblpTest#DeviceTest.BlockDeviceInfo VtsKernelLiblpTest#DeviceTest.ReadSuperPartitionCurrentSlot VtsKernelLiblpTest#DeviceTest.ReadSuperPartitionOtherSlot Test: checked that /dev/block/by-name/super is there, and the failures of VtsKernelLiblpTest#DeviceTest passed Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org> Change-Id: I33e3a4dbd7c0435d561f694dc3103736382791e0
2020-03-24db845c: firmware: Restrict to db845cSumit Semwal
Include the db845c/firmware directory in build only for db845c target. This allows us to add locally the firmware for pixel3_mainline target. Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org> Change-Id: I4f3ebcb290243be7e168b42c24a826b994791020
2020-03-17db845c: firmware: Fix checkbuild failureandroid-r-preview-4android-r-preview-3android-r-preview-2John Stultz
Apparently I mistyped the filename and didn't notice it until I recently ran checkbuild against aosp/master. This fixes it up. Signed-off-by: John Stultz <john.stultz@linaro.org> Change-Id: I09df293e7d5ba7e8b3e4e8d8e99d0fb7481c3b2b
2020-03-17db845c: qcom: Add init.qcom.rc to start up remoteproc services/wifiJohn Stultz
Adds the init.qcom.rc file to the build so the qcom remoteproc userland code can be started and wifi can be initialized. This pach was split out from earlier patch by Amit Pundir <amit.pundir@linaro.org> Change-Id: I2032e7c2d3d5d3a10b7afd387f97a93235a908cf Signed-off-by: John Stultz <john.stultz@linaro.org>
2020-03-17db845c: qcom: Add userspace tools to talk to dsp and modemAmit Pundir
Add Qcom userspace tools and their respective sepolicy rules. Userspace tools are downloaded from following github: To trigger loading of wlan firmware on SDM845 git clone https://github.com/andersson/pd-mapper Userspace reference for net/qrtr in the Linux kernel git clone https://github.com/andersson/qrtr Qualcomm Remote Filesystem Service Implementation git clone https://github.com/andersson/rmtfs Trivial File Transfer Protocol server over AF_QIPCRTR git clone https://github.com/andersson/tqftpserv Change-Id: Ic466af6fef010a9b71c90e38205f49a876b001e2 Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Signed-off-by: John Stultz <john.stultz@linaro.org>
2020-03-16db845c: firmware: Fix install paths for wifi/modem firmware filesJohn Stultz
We've previously not used the remoteproc, modem or wifi firmware files we've installed, so we haven't noticed that we are placing them to the wrong path, as the kernel expects them to be under firmware/qcom/sdm845/. Fix this so the kernel can find the files when it looks for them. Change-Id: Iea8415ed53f05b22f446274bc6d73d4267988ec2 Signed-off-by: John Stultz <john.stultz@linaro.org>
2020-03-16db845c: firmware: Add ath10k WCN3990 board-2.bin for wifiJohn Stultz
Adds board-2.bin file from: https://github.com/andersson/linux-firmware/tree/db845c-wifi/ath10k/WCN3990/hw1.0 Change-Id: I5d5a46e02503b9c63066ffe3b4d9c52353e98944 Signed-off-by: John Stultz <john.stultz@linaro.org>
2020-03-16db845c: firmware: Add updated ath10k/WCN3990 firmwareJohn Stultz
Update ath10k/WCN3990 firmware files to match files here: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/ath10k/WCN3990/hw1.0 Change-Id: I7e9571ca12bb94dd1d5a166488ae389743a6489c Signed-off-by: John Stultz <john.stultz@linaro.org>
2020-03-16db845c: firmware: Add modem and mba firmware filesJohn Stultz
Add modem and mba firmware files from: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/qcom/sdm845 Change-Id: Ifbaf76c2e46e16a62e732106460036d83944f9a0 Signed-off-by: John Stultz <john.stultz@linaro.org>
2020-03-09db845c: add super.img to update imageTodd Kjos
super.img was not included in the update image and was therefore not visible to update tools Signed-off-by: Todd Kjos <tkjos@google.com> Change-Id: I63961fb8889c6a65dc92e9292559ca8ed7ad47a3
2020-02-26db845c: firmware: Use qcom/sdm845/ prefix on gpu firmware filesJohn Stultz
This copies the gpu firmware files to be under firmware/qcom/sdm845/ since that is where they will be expected to be with newer kernels. One note: v5.6+ kernels not only expect a different path but also expect a different filename postfix. So this copies the a630_zap.mdt to a630_zap.mbn. For compatiblility with older kernels, we keep the existing firmware as is. Change-Id: I3ae4706f9a8ef36c72a98e34ae50cac562071d86 Signed-off-by: John Stultz <john.stultz@lianro.org>
2020-01-15db845c: Enable earlycon on bootargsJohn Stultz
While earlycon doesn't help when the serial driver is a module, enable earlycon in the boot arguments so we can be able to debug some of the issues folks are seeing with boots failing. Change-Id: Ib46b12e2f6c5c44092935742837253128559890a 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-12-06db845c: firmware: Update Qcom RB3 firmware to v4Amit Pundir
Update db845c firmware package from Qcom RB3 v3 to v4. * devcfg.mbn is updated for improved i2c and SPI support. Qcom firmwares and license downloaded from: http://releases.linaro.org/96boards/dragonboard845c/qualcomm/firmware/RB3_firmware_20190529180356-v4.zip Change-Id: I202873ad4833255d20ca19ce9efa559cf5cd023f Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
2019-09-24db845c: firmware: Add upstream BT QCA firmware filesAmit Pundir
Add BT firmware files (qca/cr*) and NOTICE from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/qca HEAD: 70e43940b05e ("linux-firmware: rsi: add firmware image for redpine 9116 chipset") Change-Id: I60bec0a609563abd9dddd95bd288fb5c434590af Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
2019-09-24db845c: firmware: Add Qcom RB3 firmware filesAmit Pundir
Copied Qcom firmware files and license from RB3_firmware_20190529180356-v3.zip http://releases.linaro.org/96boards/dragonboard845c/qualcomm/firmware/RB3_firmware_20190529180356-v3.zip Also added utils.mk helper script which will contain useful build/install macros going forward. add-qcom-firmware() to start with. Change-Id: Iabef654d79ba2562929ae99c5d36f1439802b408 Signed-off-by: Amit Pundir <amit.pundir@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>