aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2022-01-10cryptodev-module: Backport a patch to fix build failure with kernel v5.11cryptodevMenon, Nishanth
Fix the following build failure with v5.11+ kernel cryptodev-module/1.10-r0.arago0/git/authenc.c: In function 'pad_record': cryptodev-module/1.10-r0.arago0/git/authenc.c:317:2: warning: ISO C90 forbids variable length array 'pad' [-Wvla] 317 | uint8_t pad[block_size]; | ^~~~~~~ cryptodev-module/1.10-r0.arago0/git/ioctl.c: In function 'cryptodev_ioctl': cryptodev-module/1.10-r0.arago0/git/ioctl.c:875:4: error: implicit declaration of function 'ksys_close'; did you mean 'ksys_chown'? [-Werror=implicit-function-declaration] 875 | ksys_close(fd); | ^~~~~~~~~~ | ksys_chown OE Core does'nt plan on fixing dunfell branch up for newer kernel, and oe master already is on 1.12 cryptodev with the fixes already in place. Signed-off-by: Nishanth Menon <nm@ti.com> [cherry-picked from meta-arago, included override for qcom] Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2022-01-06Merge pull request #404 from ↵Nicolas Dechesne
bhupesh-sharma/add-new-utils-to-initramfs-test-dunfell initramfs-test-image: Add a few utils
2022-01-04initramfs-test-image: Add a few utilsBhupesh Sharma
Add the following utilities to 'initramfs-test-image' to allow easier board development: - dropbear (for ssh and scp services), - strace (qcom requested this to be added to allow tracing kernel func calls), - phytool (allows ethernet phy registers to be read / write). This causes the initramfs-test-image.rootfs.cpio.gz size to be increased by 0.5M. Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> (cherry picked from commit 9724a4e9acad343781b1e1997d43b37d1c06bc19)
2021-12-22Merge pull request #409 from bhupesh-sharma/move-sa8155p-adp-to-5.16-dunfellNicolas Dechesne
Move sa8155p adp to 5.16 dunfell
2021-12-22Merge pull request #412 from ↵Nicolas Dechesne
bhupesh-sharma/dont-set-INITRAMFS_IMAGE-sa8155p-dunfell conf/sa8155p-adp.conf: Don't set INITRAMFS_IMAGE for sa8155p machine
2021-12-22conf/sa8155p-adp.conf: Don't set INITRAMFS_IMAGE for sa8155p machineBhupesh Sharma
Since we use the rpb-console* images for sa8155p machine now, let's not set the INITRAMFS_IMAGE as "initramfs-kerneltest-full-image" for sa8155p machine now. Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> (cherry picked from commit 55e50888f2a8e75fecad1b74626313a516f5bad5)
2021-12-22linux: Revert "kbuild: Enable DT schema checks for %.dtb targets" for sa8155pBhupesh Sharma
This reverts kernel commit 53182e81f47d4ea0c727c49ad23cb782173ab849 for sa8155p as it supports 5.16 kernel version now. This added tool dependencies on various build systems using %.dtb targets. Validation will need to be controlled by a kconfig or make variable instead, but for now let's just revert it. Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> (cherry picked from commit 2c07a0686291eec8ccca7f681a4d6e4422038c3a)
2021-12-22linux: Add new .bb file for release/sa8155p-adp/qcomlt-5.16Bhupesh Sharma
Create a new .bb file for sa8155p adp board which now supports kernel version 5.16. Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> (cherry picked from commit 1bf95e10cf8c661b03584fa467861c82845d5aa9)
2021-12-15Merge pull request #399 from alimon/dunfell_linux_5.15Nicolas Dechesne
recipes-kernel: Linux 5.15 bump to rev 43aa1d1f5fcf (v5.15.6)
2021-12-08recipes-kernel: Linux 5.15 bump to rev 43aa1d1f5fcf (v5.15.6)Aníbal Limón
Changes, 43aa1d1f5fcf Merge tag 'v5.15.6' into HEAD ... 485c2c5a3cce drivers/net/wireless/ath: ath11k wmi restore mgmt_rx_event_params.chan_freq Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> (cherry picked from commit 6743d359e162358c74996220b23f0f572ff308a3) Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2021-11-29Merge pull request #395 from alimon/dunfell_linux_5.15Nicolas Dechesne
Dunfell Linux 5.15.4
2021-11-25recipes-kernel: Linux 5.15 bump to rev 485c2c5a3cce (v5.15.4)Aníbal Limón
Changes, 485c2c5a3cce drivers/net/wireless/ath: ath11k wmi restore mgmt_rx_event_params.chan_freq d14eb0ba93fe Merge tag 'v5.15.4' into release/qcomlt-5.15 ... d36fa951d7fe arch/arm64: defconfig enable venus clock for sm8250 ... b65f90c953f4 Merge tag 'v5.15-rc7' into release/qcomlt-5.15 Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> (cherry picked from commit 9681ef4f9d13570b68fdc96b4f99e3b58955058e) Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2021-11-02Merge pull request #381 from alimon/dunfell_5.15Nicolas Dechesne
Dunfell Linux 5.15
2021-10-28linux-linaro-qcomlt: fix overrides for the sa8155p-adp machineDmitry Baryshkov
Fix override syntax in the linux-linaro-qcomlt_5.15.bb used to select machine-specific kernel for sa8155p-adp. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit db03df98cba6393d4a8821204b264b29e8500761) Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2021-10-28recipes-kernel: Linux 5.15 add SRCREV for 96boards platformsAníbal Limón
The sa8155p MACHINE uses different branch to be supported, current Linux 5.15 common release branch is in rc7 but is good enough. Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> (cherry picked from commit 0f35d611597e8ba9e3993e3fc68edacd484550ea) Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2021-10-26Merge pull request #378 from bhupesh-sharma/userdata-as-rootfs-partition-dunfellNicolas Dechesne
conf/sa8155p-adp.conf: Use 'userdata' as the intended ROOTFS partition
2021-10-26conf/sa8155p-adp.conf: Use 'userdata' as the intended ROOTFS partitionBhupesh Sharma
Since the 'system' partition is quite small (3G), use 'userdata' partition (around 105G) as the intended ROOTFS partition. Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> (cherry picked from commit 920f19c77c0c40f2db96e34b786a01e30d89e964)
2021-10-21Merge pull request #373 from bhupesh-sharma/add-sa8155p-adp-qcomlt-5.15-dunfellNicolas Dechesne
recipes-kernel/linux: Add new .bb files for release/sa8155p-adp/qcoml…
2021-10-21linux: Remove .bb file for linux-linaro-qcomlt_5.14Bhupesh Sharma
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> (cherry picked from commit 2d6fe10ede0441f958245fdcf15befff536804aa)
2021-10-21linux: Add new .bb files for release/sa8155p-adp/qcomlt-5.15Bhupesh Sharma
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> (cherry picked from commit ef39bb937aa9db4e3c54d021862c6fe5311c0f3c)
2021-10-21qcom-qcommon.inc: increase INITRAMFS_MAXSIZEDmitry Baryshkov
Default INITRAMFS_MAXSIZE is specified as 128 MiB, which can be easily exceeded by e.g. initramfs-kerneltest-full-image. Increase the maximum size to 384 MiB, allowing all initramfs test images to fit. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit 6b2403bfd5bbf3435aadb040b20158bf8b20923e)
2021-09-23Merge pull request #363 from lumag/clean-rb5-fw-dunfellNicolas Dechesne
firmware-qcom-rb5: remove obsolete comment
2021-09-23firmware-qcom-rb5: remove obsolete commentDmitry Baryshkov
Remove obsolete comment mentioning NHLOS_URI and ADRENO_URI. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit c39328516d119bfe351b014d54d53673d164778d)
2021-09-22Merge pull request #362 from bhupesh-sharma/add-lsblk-for-dunfellNicolas Dechesne
initramfs-test-full: Add util-linux-lsblk
2021-09-22initramfs-test-full: Add util-linux-lsblkBhupesh Sharma
Add 'util-linux-lsblk' in 'initramfs-test-full-image.bb', which provides 'lsblk' utility. Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> (cherry picked from commit 15e1fb69f5956eb845ada1aacfa7d162c08487b5)
2021-09-20Merge pull request #359 from bhupesh-sharma/dunfellNicolas Dechesne
initramfs-test-full: Add more utils
2021-09-20initramfs-test-full: Add more utilsBhupesh Sharma
Add the following utilities in 'initramfs-test-full-image.bb' - hdparm (for performance checks - e.g. USB mass storage related) - mbw, dhrystone, lmbench, sysbench, tinymembench, tiobench, whetstone (for performance checks). - Add kexec instead of the complete 'kexec-tools' Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> (cherry picked from commit b650c231acf9b7e709bb69b97cf1b683c1819f4c)
2021-09-09Merge pull request #355 from bhupesh-sharma/for-dunfellNicolas Dechesne
layer.conf: set INITRAMFS_IMAGE for sa8155p machine
2021-09-09conf/sa8155p-adp.conf: set INITRAMFS_IMAGE for sa8155p machineBhupesh Sharma
Set INITRAMFS_IMAGE as "initramfs-kerneltest-full-image" for sa8155p machine. Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> (cherry picked from commit 60605f4c66f0296ffa27780eff2e7d47c671b900)
2021-09-08Merge pull request #353 from bhupesh-sharma/for-dunfellNicolas Dechesne
Backported SA8155p specific patches for dunfell
2021-09-08linux-linaro-qcomlt_5.14: update SRCREVBhupesh Sharma
Update SRCREV to include defconfig and distro config related fixes for sa8155p board. Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> (cherry picked from commit 4a4544ede5aaa3cd524192e631078dd3f442ec02)
2021-09-08conf/sa8155p-adp: Add kernel-modulesBhupesh Sharma
Add the missing 'MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS' directive in sa8155p-adp.conf Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> (cherry picked from commit 9b39861eaa34a8c23052cfa72cad5722a9f305be)
2021-09-08Merge pull request #349 from ndechesne/sa8155p-dunfellNicolas Dechesne
Sa8155p dunfell
2021-09-07initramfs-test-full: use rt-tests for glibc onlysa8155p-dunfellNicolas Dechesne
rt-tests is not supported when using musl libc, so do not try to install it unless we are using glibc. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> (cherry picked from commit deefb1f533a7f08262530cc01934d9d55960ab41)
2021-09-07initramfs-kerneltest-full-image: new initramfs image with machine firmware ↵Nicolas Dechesne
and modules Add new image based on initramfs-test-full-image extended with ${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS} to install kernel modules and firmware files. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> (cherry picked from commit 3272672546fff9cf56f885747d0f953608f8ee29)
2021-09-07initramfs-test-full: support dynamic content based on enabled layersNicolas Dechesne
Implement similar mechanism found in: 4e5d23c9a6fa (initramfs-test-image: provide dynamic expansion capabilities) So that we can build derived images. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> (cherry picked from commit 51c2dc82ee2aba7a4a0d1a957a26966d6ff2d3eb)
2021-09-07initramfs-test-full-image: drop IMAGE_BASENAME overrideNicolas Dechesne
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> (cherry picked from commit a85b916dc6438a42ea28b2eebde80072f4c5a919)
2021-09-07linux-qcom-bootimg.inc: support bundling initramfs into bootimagesDmitry Baryshkov
Add support for bundling initramfs into android boot images. For example this allows one to build bootable images containing the kernel and all built modules/firmware to test them without flasing actual images to the device. To create kernel+initramfs bundles, just define INITRAMFS_IMAGE. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit d9c975e56f874baa78f2bd654ec6577075a17789)
2021-09-07initramfs-kerneltest-image: new image with machine firmware and modulesDmitry Baryshkov
Add new image based on initramfs-test-image extended with ${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS} to install kernel modules and firmware files. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit 91405d2ed6ada9738a2ef5d0333e3d277ab2ebcb)
2021-09-07initramfs-test-image: provide dynamic expansion capabilitiesDmitry Baryshkov
Up to now we were using dynamic per-layer bbappend to extend initramfs-test-image with extra packages provided by other layers. However this won't scape if other recipes are going to start including initramfs-test-image.bb (because initramfs-test-image bbappends won't get picked up by the next recipe). Thus provide a mechanism to dynamically extend initramfs-test-image, so that the extension is available to the child recipes. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit 4e5d23c9a6fa5e27dc61757d7c573cc638869022)
2021-09-07initramfs-tiny-image: drop IMAGE_BASENAME overrideDmitry Baryshkov
There is no point in overriding IMAGE_BASENAME to be equal to ${PN}, so drop it to allow easily extending the initramfs-test-image. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit 65c8eaa7afd577749b730f057f562dd0f1d142a8)
2021-09-07initramfs-test-image: drop IMAGE_BASENAME overrideDmitry Baryshkov
There is no point in overriding IMAGE_BASENAME to be equal to ${PN}, so drop it to allow easily extending the initramfs-test-image. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit 3b6d247f1f057e23afa80f36df831c60b20ee5ff)
2021-09-07recipes-test: Add a new initramfs-test-full-image.bbappendBhupesh Sharma
'initramfs-test-image' is used across several boards and changes to the same are very keenly looked at for size changes to the overall image thus produced as it may lead to some boards failing to boot with yocto based images. So it makes sense to introduce a new 'initramfs-test-full-image' which can retain the character of the test image but can house more utilities which are useful for several qcom boards. So, we have now three types of initramfs images: - initramfs-tiny-image, - initramfs-test-image, and - initramfs-test-full-image Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> (cherry picked from commit db16ed568d495266ac326fb05ea75ebbe7886473) [ replaced dhcpd with dhcp-client in dunfell ] Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2021-09-07rt-tests: workaround for SRC_URINicolas Dechesne
Upstream repo removed master branch (in favor of main), and SRC_URI needs to be updated. A patch is pending upstream, until it's merged let's use a local workaround. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2021-09-07conf/machine: Add initial support for SA8155P-ADP boardBhupesh Sharma
Add configuration files for SA8155P-ADP board which uses the SM8150 SoC. Here we create an include (.inc) file and a configuration (.conf) file for the adp board. This board doesn't support graphics / display (at least for now). Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> (cherry picked from commit bbadb282bbb4f1731d94a67b66563bc3c4e2f73b) [ Removed the armv8.2a tunes not available in dunfell, use default tunes on dunfell like other machines ] Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2021-09-07recipes-kernel/linux: Add new .bb files for release/adp/qcomlt-5.14Bhupesh Sharma
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> (cherry picked from commit 8f82704da6654873810f1c1303cf632ffa6cc372)
2021-09-07initramfs-test-image: include cryptsetupNicolas Dechesne
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> (cherry picked from commit 78e2dacd0ebcf6719ab122ed65975351e3bd87db)
2021-09-07initramfs-*-images: fix up image nameNicolas Dechesne
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> (cherry picked from commit bf41043676d51c49ecd513e6b8caf054c26fee3e)
2021-09-07initramfs-*: add a minimal initramfs imageNicolas Dechesne
Sometimes all we need is a tiny image. Rework the test-image so that it reuses the metadata from the tiny image. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> (cherry picked from commit 7de148fb10dec04589035f02eb2cc977a1d7b0e0)
2021-09-07initramfs-test-image: add libdrm-testsNicolas Dechesne
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> (cherry picked from commit bd9294cc9373bb569d2dc90dda8999fb9ffa5d1a)