Age | Commit message (Collapse) | Author |
|
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>
|
|
This reverts commit 05e94c35cb0cdba07582fa0055805f9553ab0bf3.
Reason for revert: No longer necessary as default fw_devlink=on works
Change-Id: I906341051416c3e622f29cf1df4a4e54368de83c
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|