Age | Commit message (Collapse) | Author |
|
android13-5.15 commit 98f1e6b5a0db ("ANDROID: gki_defconfig: Disable
SERIAL_QCOM_GENI_CONSOLE_DEFAULT_ENABLED") broke console access on
DB845c and RB5. Renable the console access by adding
qcom_geni_serial.con_enabled=1 to the kernel cmdline as suggested in
the commit message.
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Change-Id: Ibce09eecd4cbb44d7b3d2841956eec0b6bf042d1
|
|
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
|
|
"master-I2a659a980d32912bec5a1c0869c88e06a29cf9ce", "master-I6852683ad14a8fa6b0fc22f39e0c9c7823d1da2c", "master-I8f8b467a4dfad68f6e2e53954b5944c6155de782", "master-I9ef8e57207aa96ec1f8193e8d8cd5dfc47567d38", "master-Id17d162d142a2595e54e163f5faaf7dcf9b68e35"
* changes:
Add a sm8450_mini target.
Create a mini configuration for the dragonboards.
Factor out the full device configuration.
Move the architecture definitions into the device-specific BoardConfigs.
Remove pixel3_mainline target.
|
|
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
|
|
Newer SOC generations may have different levels of CPU feature support
(e.g. SM8450 which is ARMv9), so let's allow the individual boards to
specify their own sets of features.
Bug: 217455793
Change-Id: I6852683ad14a8fa6b0fc22f39e0c9c7823d1da2c
|
|
Re-enable vendor_boot by default for the db845c build
This was earlier enabled and then reverted. But should
be ok to re-enable now, as long as everyone is using
the flash-all.sh script that flashes vendor_boot.
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I819532a5a4d0e1ca41ac4947dd18f4932ecb2a78
|
|
* Enabled multiple appended DTBs support to allow db845c
boot.img/vendor_boot.img to boot on rb5 as well.
* Introduced a vendor.hw property which will be used to run
device specific services.
* Folded Caleb's HDMI audio routing fix.
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Change-Id: I779d01946ae359d5c405d959419e29460083e5df
|
|
Moving all the vendor binaries (including bootloader, qdl
and firmware binaries) to an external vendor.tgz package
to be downloaded from:
https://releases.linaro.org/android/aosp-linaro-vendor-package/extract-linaro_devices-20220106.tgz
BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES build flag is
used to copy a few vendor firmware files to ramdisk or
vendor_ramdisk to work-around the dependency of their
drivers on FW_LOADER_USER_HELPER_FALLBACK kernel config.
And for that we needed to bump up the boot and vendor_boot
partition sizes as well.
Also folded John's installer script changes into this patch.
Change-Id: I1b46ee17f4a218c735e2ac8d81759364b3bf7332
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
[Reworked to handle versioned vendor/linaro/<dev> paths]
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I8ec9dbd971d7d7590d0342ca3e8bc3ddaa116c9c
|
|
Upstream commit eb9b7bfd5954 ("arm64: dts: qcom: Harmonize DWC
USB3 DT nodes name") (v5.14-rc1) changed the DTS USB node names,
breaking the sys.usb.controller property hardcoded in the
platfrom specific init.usb.common.rc
This script will get rid of the static/hardcoded proprty name
and set the property to the available on-board USB controller
from /sys/class/udc instead.
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Change-Id: I1255cd9a3456510d93437989e7e378d9e6bc0c8b
|
|
Update PRODUCT_SHIPPING_API_LEVEL and FCM for db845c so they are
at 31 and 6 respectively.
This also dropps the dummy memtrack HAL, as its no longer required.
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I96fb44dbb54d8f51dee917175342ee734c074512
|
|
Set ro.sf.lcd_density to 160 at build time because
the default density (FALLBACK_DENSITY=213) is a bit
too high for the device.
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Change-Id: I33fb0f028199aa236a775347ab442ba1d384da18
|
|
Copy in the latest firmware files from linux-firmware as of
commit ecdfcf8e2ca1 ("Merge branch 'adlp_dmc_firmware'
of git://anongit.freedesktop.org/drm/drm-firmware into main")
from:
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/
This fixes the use of new firmware names which was causing
regressions with upstream kernels.
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I419a15c6f2ce64fa68560000eb273a861e238e17
|
|
This adds the properties:
* ro.soc.model
* ro.soc.manufacturer
Bug: 181845848
Signed-off-by: Will McVicker <willmcvicker@google.com>
Change-Id: Ia8f75103d32a2679931f792be2ccb08a918663be
|
|
Copy in the latest a630_sqe.fw from linux-firmware as of commit
3f026a2f13a8 ("rtl_bt: Update RTL8822C BT(UART I/F) FW to
0x59A_76A3") from:
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/
This resolves boot issues caused by kernels 5.12+ requiring
newer seq ucode.
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I45ff1d87a1686fe1afa7ed8df275abb2837ef40e
|
|
This reverts commit 63f8e16a54cbeffac39255f6b60b5bfbfcb070fa.
Reason for revert: Appears to break boot in lab (odd since firmware was updated)
Bug: 183952621
Change-Id: I98d5a6e651c421ab7dd41c1b4b5b0d8d79d76033
Signed-off-by: Todd Kjos <tkjos@google.com>
|
|
enable vendor_boot by default for the db845c build
Test: boot tested with the bootv3 images
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Change-Id: I792eefc4b825cb936ccd0d942fe2b94457d1e06c
|
|
The maximum size of all dynamic partition groups should not exceed
the super size - DAP metadata size. Today the configuration of
the device doesn't take the metadata into acount.
Since we recommend 4M to partners, reserve 4M here.
Bug: 182431975
Test: build
Change-Id: I648017e4737a96d663449b8b27f1c6c19730e6cd
|
|
To enable boot image header v3 support, set
"TARGET_USES_BOOT_HDR_V3=true" while building AOSP images
for db845c. Build will fall back to boot image header v2
otherwise.
Boot image header v3 support depends on the latest
bootloader binaries. Run
device/linaro/dragonboard/installer/db845c/flash-all-aosp.sh
script to update the bootloader binaries on db845c.
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Change-Id: Iaf565fc25c731a9d42c8fbc550686b588caba5df
|
|
All dynamic partitions are A/B.
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Change-Id: I9650626b5a463ff9f368680ae8c32b8432fee1e8
|
|
so that it will be possible to work with GSI image
Test: boot to homescreen
console:/ # getprop init.svc.vendor.boot-hal-1-1
running
console:/ #
VtsHalBootV1_0TargetTest and VtsHalBootV1_1TargetTest
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Change-Id: I147f04de1c8bc7fd506d351f514498341ef7388c
|
|
Super partition size is not set correctly. I rounded off
to 10G during initial porting days. Reset it to the
correct size mentioned in the bootloader ptable.
It fixes the following warning we see during adb remount:
[liblp]Device size does not match (got 12437225472, expected 10737418240)
[liblp]Block device super size mismatch (expected10737418240, got 12437225472)
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Change-Id: I89d74070893c14796e24cc8286fd794725b48717
|
|
The overlayfs remount handling of superpartitions expects the
fstab to have all the partitions in it.
This means we can't use the split between the ramdisk fstab
and the vendor fstab that we have been previously.
So this patch merges the two fstabs together.
With this change "adb root; adb remount" works now.
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: Iad408d5d3b1e4c9291a947cd44ee65f4aaef5c45
|
|
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>
|