Commit Graph

1431 Commits

Author SHA1 Message Date
Dmitry Baryshkov
ebc1fb52bc firmware-qcom-x1e80100-crd: symlink firmware to names from DTB
Linux uses standard names for the firmware on X1E80100 CRD. Symlink
Windows firmware files to allow Linux to use them.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-09-07 11:36:39 +03:00
Dmitry Baryshkov
77cb6345b1 Merge pull request #620 from quic-vkraleti/dtb-img
Generate vfat image by packing device-tree blob.
2024-09-06 03:38:32 +03:00
Dmitry Baryshkov
f8e1b28131 Merge pull request #622 from quic-vkraleti/master
Support optional dtb loading via UKI
2024-09-05 14:00:49 +03:00
Viswanath Kraleti
e5179a3be9 linux-yocto: Generate dtb image for each device-tree blob
Inherit linux-qcom-dtbbin bbclass to generate individual dtb images
for each device-tree produced by kernel. These can be flashed into
dtb parititon for UEFI to read and load device-tree.

Signed-off-by: Viswanath Kraleti <quic_vkraleti@quicinc.com>
2024-09-05 16:01:17 +05:30
Viswanath Kraleti
f48bd85edf classes/linux-qcom-dtbbin.bbclass: Add a bbclass to generate dtb image
To be ARM System Ready IR compliant, QCOM UEFI implementation is now
supporting loading a matching device-tree by reading 'combined-dtb.dtb'
from the dtb partition.

linux-qcom-dtbbin.bbclass when inherited by kernel recipe, generates one
vfat image per dtb by packing dtb as 'combined-dtb.dtb'. This image can
be flashed into dtb parititon for UEFI to read and load device-tree.

Signed-off-by: Viswanath Kraleti <quic_vkraleti@quicinc.com>
2024-09-05 16:01:07 +05:30
Viswanath Kraleti
dd61781406 esp-qcom-image.bb: Stop packaging kernel device tree into image.
With updated boot flow, UEFI provides a compatible DTB by default.
To override this, there is a provision in UKI to have a DTB of choice.

When these two are in place, there is no need to explicilty pack DTBs into esp.

Signed-off-by: Viswanath Kraleti <quic_vkraleti@quicinc.com>
2024-09-05 14:45:02 +05:30
Viswanath Kraleti
fd305a603b linux-qcom-uki.bb: Support optional dtb loading via UKI
UEFI provides default compatible DTB. If a DTB is present in UKI,
systemd-boot passes the same to Linux instead of UEFI provided DTB.
This optional overriding of DTB via UKI allows the users to customize
DTBs as per product needs without regenerating the firmware.

To override DTB via UKI, users need to set EFI_LINUX_IMG_DTB to an
appropriate dtb file name. For example
EFI_LINUX_IMG_DTB = "qcs6490-rb3gen2.dtb"

Signed-off-by: Viswanath Kraleti <quic_vkraleti@quicinc.com>
2024-09-05 14:44:27 +05:30
Dmitry Baryshkov
a54a11cf74 Merge pull request #633 from lumag/woa-upd
Update WoA firmware
2024-08-30 20:55:14 +03:00
Dmitry Baryshkov
dfe8ac8c8e initramfs-firmware-mega-image: all-firmware image
Add recipe containing all packaged Qualcomm firmware files. This image
is useful to check for conflicts between the packages.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-08-30 17:59:57 +03:00
Dmitry Baryshkov
ee5e239eec firmware-woa: package firmware for X1E80100 CRD
Create package, packagegroup and the image with the firmware for
X1E80100 CRD.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-08-30 17:58:31 +03:00
Dmitry Baryshkov
f904fb6648 firmware-qcom-sc8180x: revision bump
Bump firmware-qcom-sc8180x to the latest release.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-08-30 17:56:53 +03:00
Dmitry Baryshkov
b05fed4a96 firmware-qcom-lenov-miix-630: install modem JSN files
Add modemr.jsn and modemuw.jsn.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-08-30 17:56:53 +03:00
Dmitry Baryshkov
76234c4342 firmware-qcom-sc8180x: provide WiFi firmware
Include wlanmdsp.mbn into the list of provided firmware files, packaged
into a separate -wifi package.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-08-30 17:56:53 +03:00
Dmitry Baryshkov
5ef7ce0f0e firmware-qcom-lenovo-yoga-c630: provide bdwlan files
Add qcwlan cabinet and provide WiFi board data files.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-08-30 17:56:53 +03:00
Dmitry Baryshkov
1f6c1c6cb5 firmware-woa: also include bdwlan files
Although we don't fully process bdwlan files, install them to the
rootfs, allowing on to pick one and use it as board.bin.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-08-30 17:56:53 +03:00
Dmitry Baryshkov
0b06de4631 Merge pull request #632 from lumag/fw-fix-vpu
packagegroups-firmware-*: use linux-firmware-qcom-vpu
2024-08-30 09:18:38 +03:00
Dmitry Baryshkov
565fb2bf56 packagegroups-firmware-*: use linux-firmware-qcom-vpu
Follow the OE-Core changes and use linux-firmware-qcom-vpu package
instead of the (removed) l-l-qcom-vpu-1.0 and l-f-qcom-vpu-2.0.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-08-30 03:40:03 +03:00
Dmitry Baryshkov
8a34f49e60 Merge pull request #629 from lumag/drop-fw-wcn6855
Drop extra wcn6855 firmware
2024-08-28 13:11:22 +03:00
Dmitry Baryshkov
b48b175b33 linux-firmware: drop WCN6855 firmware alternatives
Now as the firmware-wcn6855 is gone, drop the alternatives required by
that package.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-08-28 09:47:03 +03:00
Dmitry Baryshkov
c6c1d08b2b firmware-wcn6855: drop legacy recipe
Atheros driver maintainers discourage from using non-standard firmware
files. Drop the firmware coming from ChromeOS hisorical repos.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-08-28 09:43:59 +03:00
Dmitry Baryshkov
99e1c9caf1 Merge pull request #628 from lumag/fix-kernel
qcom-common.inc: set PREFERRED_VERSION for linux-yocto
2024-08-27 11:27:06 +03:00
Dmitry Baryshkov
e5bf97414c qcom-common.inc: set PREFERRED_VERSION for linux-yocto
Now as the OE-Core has gained several linux-yocto versions, specify the
preferred one.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-08-27 07:43:27 +03:00
Dmitry Baryshkov
b0df2427dd Merge pull request #627 from lumag/fix-qcaswak
qca-swiss-army-knife: fix ath11k/board-2.json generation
2024-08-26 10:25:25 +03:00
Dmitry Baryshkov
e3d1bb7c10 qca-swiss-army-knife: fix ath11k/board-2.json generation
ath11k tools have slighly changed the format of the board-2.json by
adding a nested board / regdb arrays. Fix the script that generates
board-2.json to accomodate for those changes.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-08-26 09:12:34 +03:00
Dmitry Baryshkov
71940d72bd Merge pull request #625 from lumag/fix-gpsd
Fix gpsd patches
2024-08-26 07:50:16 +03:00