diff options
-rw-r--r-- | conf/machine/dragonboard-845c.conf | 21 | ||||
-rw-r--r-- | conf/machine/include/qcom-sdm845.inc | 32 |
2 files changed, 53 insertions, 0 deletions
diff --git a/conf/machine/dragonboard-845c.conf b/conf/machine/dragonboard-845c.conf new file mode 100644 index 0000000..8b82657 --- /dev/null +++ b/conf/machine/dragonboard-845c.conf @@ -0,0 +1,21 @@ +#@TYPE: Machine +#@NAME: dragonboard-845c +#@DESCRIPTION: Machine configuration for the DragonBoard 845c (96boards), with Qualcomm Snapdragon 845 SDM845. + +require conf/machine/include/qcom-sdm845.inc + +MACHINE_FEATURES = "usbhost usbgadget alsa screen wifi bluetooth ext2" + +KERNEL_IMAGETYPE ?= "Image.gz" +KERNEL_DEVICETREE ?= "qcom/sdm845-db845c.dtb" + +SERIAL_CONSOLE ?= "115200 ttyMSM0" + +MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += " \ + kernel-modules \ + ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-msm', '', d)} \ +" + +# XXX: The sda10 is userdata we need to create an Linux gpt to have more space +# and use rootfs +QCOM_BOOTIMG_ROOTFS ?= "sda10" diff --git a/conf/machine/include/qcom-sdm845.inc b/conf/machine/include/qcom-sdm845.inc new file mode 100644 index 0000000..2526d2f --- /dev/null +++ b/conf/machine/include/qcom-sdm845.inc @@ -0,0 +1,32 @@ +SOC_FAMILY = "sdm845" +require conf/machine/include/soc-family.inc +require conf/machine/include/arm/arch-armv8.inc + +XSERVER_OPENGL ?= " \ + xf86-video-modesetting \ + xserver-xorg-extension-glx \ +" + +XSERVER ?= " \ + xserver-xorg \ + xserver-xorg-module-libint10 \ + ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '${XSERVER_OPENGL}', 'xf86-video-fbdev', d)} \ + xf86-input-evdev \ + xf86-input-mouse \ + xf86-input-keyboard \ +" + +PREFERRED_PROVIDER_virtual/egl ?= "mesa" +PREFERRED_PROVIDER_virtual/libgl ?= "mesa" +PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa" +PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa" +PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" +PREFERRED_PROVIDER_virtual/kernel ?= "linux-linaro-qcomlt" + +MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += " \ +" + +IMAGE_FSTYPES ?= "ext4.gz" + +QCOM_BOOTIMG_KERNEL_BASE ?= "0x80000000" +QCOM_BOOTIMG_PAGE_SIZE ?= "4096" |