aboutsummaryrefslogtreecommitdiffstats
path: root/conf/machine
AgeCommit message (Collapse)Author
2021-04-13qcom-armv8a: remove rootfs overrides for rb5Dmitry Baryshkov
Since RB5 switched to /dev/sda1 as rootfs, drop separate overrides for QCOM_BOOTIMG_ROOTFS. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit c88a593015c815f23bdeb05959c5197d204a528e)
2021-04-09qcom-armv8a.conf: define per-dtb machine parametersDmitry Baryshkov
Define kernel/machine parameters specific to each device tree blob. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit 9d732a7b5ef4819049e23c602dc1595c361548bf)
2021-04-09conf/machine/include/*: switch QCOM_BOOTIMG_PAGE_SIZE defaultDmitry Baryshkov
Newer Qualcomm machines default to QCOM_BOOTIMG_PAGE_SIZE being 4096. Change default from 2048 to 4096 and update machine config files. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit 67aa26f6d25a820e948cc3429c8c2c2df5f6a107)
2021-04-09linux-qcom-bootimg: move machine-specific KERNEL_CMDLINE to conf fileDmitry Baryshkov
Move machine-specific KERNEL_CMDLINE append to machine (db845c) config file. Include file should not contain machine-specific settings. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit 962c9c04f3a30885c5868cd73a8f026bd2b8f5da)
2021-04-09conf/machine: Add qcom-armv8a MACHINEAníbal Limón
This new MACHINE is target to build multiple Android boot images (boards) and use a common rootfs/userspace filesystem. Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> [DB: Add RB5 support] Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit ed75ecefa705e32f60a6e656c54caf675b516244)
2021-04-09qrb5165-rb5: support both DVT and PVT devicetreesDmitry Baryshkov
rb5 dvt slightly differs from the production board, so support both DVT and PVT device trees. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit b3e8968aaf4ce89225b41dc4df0c5263a5c21df0)
2021-04-01qrb5165-rb5: use new rootfs partitionDmitry Baryshkov
Latest RB5 bootloader package provides updated partition scheme. It removes Android partitions and adds single rootfs partition at /dev/sda1. Switch to new rootfs partition. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit 7b577f612750f1448e1b8250cf24782f933a9883)
2021-02-11qrb5165-rb5: include lt9611uxc-upgrade packageDmitry Baryshkov
Add lt9611uxc-upgrade recipe to autoupdate DSI-to-HDMI bridge firmware. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit 7ba99d4acac83c04d4298b31ba263232ad65d80c)
2021-01-28qcom-common.inc: use android-tools-conf-configfs for adbdDmitry Baryshkov
Select android-tools-conf-configfs as PREFERRED_PROVIDER for android-tools-conf, so that adbd startup scripts will use it for device configuration. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit 622e55961a65fa4007e844048e71349d659b60cb)
2021-01-05qrb5165-rb5.conf: add wireless-regdb-static to RRECOMMENDSDmitry Baryshkov
The ath11k driver fails to start the device properly if regdb can not be loaded. Add wireless-regdb-static to MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS if wifi is enabled in DISTRO_FEATURES to make sure all images are able to bootstrap the onboard QCA6390 (ath11k) device. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit ae9f6a185260d62f1ec9a7b944f5ccaf9357bab3) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2020-12-23qrb5165-rb5.conf: enable linux-firmware-lt9611uxcDmitry Baryshkov
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit 78d549d0f0f4497df9b9b59bf06dfbcf6fcd986e)
2020-12-20qrb5165-rb5: install linux-firmware-ath11k if wifi is enabledDmitry Baryshkov
Install linux-firmware-ath11k package if DISTRO_FEATURES contains wifi. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit 9f710d06bcf1cfe720d64d98ddf016f83e023c51)
2020-12-01qrb5165-rb5.conf: switch to using PARTLABEL=userdata for rootfsDmitry Baryshkov
RB5 developers have changed partitioning scheme somewhere in the middle of development cycle. Earlier firmware puts userdata partition at /dev/sda8, while later firmware puts it at /dev/sda6. In order to properly support all firmware releases use PARTLABEL=userdata as rootfs specifier on RB5. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit 5cdb497e1b993a72b2ffe1e651780ebcd931f061)
2020-12-01conf/machine/*.conf: specify full rootfs device pathDmitry Baryshkov
In preparation to allowing rootfs specifications other than just a device node, move '/dev/' prefix from linux-qcom-bootimg.inc to individual machine config files. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit 2a7b633ebe3af248febaf51bdfdd58c3489df18b)
2020-11-27qcom-common.conf: add qcom to SOC_FAMILYDmitry Baryshkov
Add 'qcom' to SOC_FAMILY variable to let recipes use generic 'qcom' override. This makes adding support for newer machines/families error prone, since we can enable all BSP patches/features for all families without having to list them one by one. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit c562d92527e419eb31d73672165b2040f30ccb51)
2020-11-27conf/machine: Add qcom-common.inc to avoid duplicate settingsAníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> (cherry picked from commit 03f7b6251688bc90df5aea2511aa888857e86256)
2020-10-01qrb5165-rb5: Correct userdata partition on RB5Dmitry Baryshkov
Now let's get it right. Userdata partition on RB5 is sda8, not sda6. sda6 is system_a: 1 6 7 8.0 KiB A02C ssd 2 8 8199 32.0 MiB A026 persist 3 8200 8455 1024.0 KiB A01F misc 4 8456 8583 512.0 KiB A02D keystore 5 8584 8711 512.0 KiB FFFF frp 6 8712 8397319 32.0 GiB A038 system_a 7 8397320 16785927 32.0 GiB FFFF system_b 8 16785928 29595642 48.9 GiB A03A userdata Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit 7b01658895cb06e9c96dea674ec05554c8046724)
2020-10-01qrb5165-rb5: correct rootfs (userdata) partitionDmitry Baryshkov
QRB5165 RB5 machine config lists sda15 as rootfs, which is C&P from SM8250-MTP. Use sda6 as rootfs (which is proper userdata on RB5). Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit fce09f88d5ec3ef9e60bc0a34258e59088687a52)
2020-10-01qrb5165-rb5: enable firmware packageDmitry Baryshkov
Add firmware package to RRECOMMENDS so it is pulled if firmware files are provided at the build time. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit 0a7307b688a3873dd1c0350524721958584f68a7)
2020-09-03Use venus 5.2 from linux-firmware for DB845c.Aníbal Limón
A fix was add on mainline to support linux-firmware binary, https://git.linaro.org/landing-teams/working/qualcomm/kernel.git/commit/?h=release/qcomlt-5.7&id=21bb88052948b35bdce926f301f2ba7970040812 Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> (cherry picked from commit a7e813892860991a6ff012ecd4ac34cfdf6d3eac) Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2020-07-06qrb5165-rb5: add machine config file for Qualcomm RB5 platformDmitry Baryshkov
Add config file for Qcualcomm RB5 Robotics platform. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit eafc4117ac6adc2c8878fccb4ad6ce93ad282714) Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2020-07-06sm8250-mtp.conf: add initial support for SM8250-MTP boardDmitry Baryshkov
Add configuration files for SM8250 SoC and SM8250-MTP board. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit 950b668c01ef08b032ad1255d97f26d96ad326d0) Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2020-06-08dragonboard-845c: Switch to use linux-firmware-{ath10k, qcom-{sdm845, ↵Aníbal Limón
adreno-a630}} The bdwlan is needed to generate board-2.bin not useful alone, the same for wlan parts that are now in linux-firmware-qcom-sdm845-modem. Finally install a630_zap*.* firmware inside /lib/firmware/qcom the remaining parts are now on linux-firmware-qcom-adreno-a630. Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> (cherry picked from commit 07fceedf0c24f3953a29838c2a4b6255b0fdf6a7) Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2020-06-08dragonboard-820c: Switch to use linux-firmware-qcom-{adreno-a530,venus-4.2}Aníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> (cherry picked from commit 6d7bf0e2a1f9097d997b823fead70e972a5bf798) Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2020-06-08dragonboard-410c: Switch to use linux-firmware-qcom-{adreno-a3xx,venus-1.8}Aníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> (cherry picked from commit 65be9bd6a5fa96dd4ee441901b1fa464b72dfc98) Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2020-03-20qcom-{apq8016,apq8096,sdm845}: Add fastrpc via MACHINE_EXTRA_RRECOMMENDSAníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2020-03-11recipes-support: Remove deprecated adsprpcAníbal Limón
Remove installation in SDM845 machine too. Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2020-02-04Remove wcnss-config recipe in dragonboard-410c and sd-600evalAníbal Limón
This configuration recipe for wireless and bluetooth is deprecated now remoteproc start is handled by rmtfs. Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2020-02-04conf/machine: Remove blacklist qcom_q6v5_pil of in apq8016Aníbal Limón
This module changed name to qcom_q6v5_mss and the blacklist isn't needed since 5.4 because rmtfs support start of the DSP. Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2019-12-02conf/machine: Update rootfs partition in dragonboard-410cAníbal Limón
New bootloader comes with new partitions to store rmtfs firmware [1]. [1] https://git.linaro.org/landing-teams/working/qualcomm/db-boot-tools.git/commit/?id=04008fd6570b566041e6ded5df738068416607e3 Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2019-11-28machine: Add support for QCS404 based EVB 4K platformKhasim Syed Mohammed
EVB4K is a Qcom platform based on QCS404 based SOC. This patch adds basic support. Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@linaro.org>
2019-11-28conf/machine/include/qcom-sdm845.inc: Add pd-mapper and tqftpserv for wifiAníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> (cherry picked from commit 4104edfac56853022e6baddf8d4575691108f869) (cherry picked from commit 6e47457290b5e5f755b3f6d6022037a2e31a7a3a)
2019-10-28conf/machine/dragonboard-845c.conf: Add linux-firmware-qcaAníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2019-08-23conf/machine: Add rmtfs and adsprpc in sdm845Julien Massot
(cherry picked from commit d5865c8a4e36cfd7ee8487ccea6b21f3f800208f)
2019-08-19Change references from qrtr-apps to qrtr.Aníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> (cherry picked from commit 3beeac3a60809607e02f1ff0826b1b86331ab00d)
2019-07-15conf/machine: Add qrtr-apps in sdm845Aníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> (cherry picked from commit 423138084e817a82d4e87ce7dbc146fc27114837)
2019-07-03dragonboard-845c: Add firmware recipeAníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2019-06-27draonboard845c: switch default rootfs on /dev/sda1Nicolas Dechesne
New bootloader package is now available from Linaro, and the default ptable is to leave /dev/sda (e.g. LUN0 or HLOS LUN) with a single partition that occupies the entire space. The default name for this partition is 'rootfs'. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2019-05-17qcom-sdm845.inc: use arch-armv8a tune instead of arch-armv8Nicolas Dechesne
arch-armv8 was removed from latest OE-Core. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2019-05-10machine/*/dragonbard-845c: Set ext4 rootfs image to 4096 block sizeAníbal Limón
Needed by QCOM UFS, set explicity because the block size is determined by mkfs.ext4 depending on the image size. Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> (cherry picked from commit ad91e9e7eba5d82cae3f492eebb8f66acf6f3177)
2019-05-09conf/machine: Add initial machine definitions for db845cAníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> (cherry picked from commit a749ee4fbb0c815624168cc44a098fea15a1f683)
2019-02-07qcom-apq8096.inc: use arch-armv8a tune instead of arch-armv8Ricardo Salveti
arch-armv8 was removed from latest OE-Core. Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2019-02-07dragonboard-410c.conf: switch tune to cortexa53Ricardo Salveti
Switch to use a Cortex A53 tune file as it is now available in OE-Core. Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2018-12-04conf/machine/include/qcom-apq8016.inc: Load qcom_q6v5_pil afer rmtfsAníbal Limón
To workaround problems when the DSP isn't ready load qcom_q6v5_pil after rmtfs, blacklist the module to avoid autoload on boot. Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> (cherry picked from commit a122287169450f44a581f64501601a0e839df1a3)
2018-09-05kernel: append DTB to kernel imageNicolas Dechesne
Instead of using dtbTool to create a DT image , and include it into the boot image, we append DTB to the compressed kernel image. the LK bootloader knows how to retrieve DTB , when they are appeneded to compressed kernel image. Note: * it only works with compressed image. * dtbTool also typically adds msm-ids into the DTB, recent versions of LK exist that allow a single DTB to be used without the msm-ids, in which case it will work fine. when using older LK version, it is needed to patch the kernel and include the msm-ids. * QCOM_BOOTIMG_BUNDLE_DT can be unset , since we longer need the DT image to boot. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2018-06-28conf: machine: *.conf: added overwrite options for all machinesThorben Vornholz
Adding overwriting options to certain variables to supply i.e. a different kernel version or another serial output without having extra files. This also allows setting these values via environment. Signed-off-by: Thorben Vornholz <thorben.vornholz@baslerweb.com> [nicolas.dechesne@linaro.org: extended initial PR to apply to all machines, not just 820c] Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2018-06-25db820c: update default boot deviceNicolas Dechesne
The DB820c default GPT was updated such that the 'rootfs' partition is now expected to be /dev/sda1. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2018-04-20qrtr: include qrtr and rmtfs by defaultNicolas Dechesne
qrtr and rmtfs are very standard user space helpers when using Qualcomm Snapdragon processors. They are used to manage services running on remote cores, such as modem, DSP, ... While they are needed for GPS, they could be needed for other use cases, so let's add them by default from now on, insead of as a dependency of GPSd. While at it, at them for 8016 and 8096 targets. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2018-04-10machine: do not use _append for IMAGE_FSTYPESimage-fstypesNicolas Dechesne
As discussed on https://github.com/ndechesne/meta-qcom/issues/61, using _append will modify IMAGE_FSTYPES unconditionnally and won't give DISTRO a chance to override. Let's set sane, default settings using ?= (or +=). If a DISTRO wants to change them, we suppose they know what they do, and overwrite correctly. Reported-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2018-04-10machine: Introduce the Dragonboard 600c machineBjorn Andersson
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> [ndec: fixed up firmware-qcom-sd-600eval] Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>