Move KERNEL_IMAGETYPES setting from qcom-common.inc to qcom-armv8a.conf
as former is common for both qcom-armv7a and qcom-armv8a machines. We
need "Image" type kernel only for qcom-armv8a to support UKI.
Signed-off-by: Viswanath Kraleti <quic_vkraleti@quicinc.com>
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>
Oe-core's image-uefi.conf defined EFI_UKI_PATH to point to the uki
inside an esp image. Use this variable in place of EFILINUXDIR.
Also, renamed a few other EFI variables for readability.
Signed-off-by: Viswanath Kraleti <quic_vkraleti@quicinc.com>
A unified kernel image (UKI) can be booted directly from UEFI.
The UKI is composed by an UEFI stub, the kernel Image, initrd and
other metadata like kernel cmdline.
This bbclass upon inherting in kernel recipe, generates UKI and
places the same under DEPLOY_DIR_IMAGE.
Signed-off-by: Viswanath Kraleti <quic_vkraleti@quicinc.com>
As we are transitioning to linux-yocto, make the life of machine config
files easier and let qcom-common.inc be less insisting on the preferred
kernel recipe.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Follow the usual practice and move tune inclusion to the SoC file. Make
32-bit 410c config file use generic 'armv7athf-neon-vfpv4' tune, since
it is not a Cortex-A8.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
With the removal of xf86-input-keyboard recipe form oe-core, meta-qcom
now depends on the unavailable package. While we are at it, follow the
change applied in 2016 to oe-core and also drop xf86-input-mouse.
xf86-input-evdev and -libinput should handle everything instead.
Note: the oe-core has also dropped the -evdev driver, but I'd prefer to
be safe than sorry and leave it in place for now.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
APQ8064 core is closer to A15 rather than A8: decode width 3, VFPv4,
128-bit wide NEON. Switch the tune file to Cortex-A15.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
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>
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>
The conversion was mostly automated with:
./scripts/contrib/convert-overrides.py
With a few manual tweaks.
Also change LAYERCOMPAT to honister.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
The SERIAL_CONSOLES var is used inside systemd-serialgetty.bb to
generate systemd unit to get console after boot, this fix no console in
DB845c.
Changes,
Remove SERIAL_CONSOLES set in sdx55-mtp.conf since is the default one.
Add override in sdx55-telit-fn980 to set serial console.
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
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>
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>
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>