docs: Update the Plasma Mobile docs

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
Alistair Francis
2019-03-27 15:47:11 -07:00
committed by Khem Raj
parent 682f56e1b8
commit 3e5c7c0661

View File

@@ -37,15 +37,19 @@ Follow the usual steps you use to build Yocto images. There are more details on
Once you know you can build for the ```freedom-u540``` machine you should add these lines to your local.conf or distro:
```
DISTRO_FEATURES_freedom-u540 += " wayland x11 opengl xattr gles directfb"
DISTRO_FEATURES_freedom-u540 += " polkit kde pam pulseaudio"
FEATURE_PACKAGES_append_freedom-u540 = " wayland mesa-megadriver"
FEATURE_PACKAGES_append_freedom-u540 = " mesa-driver-swrast"
IMAGE_INSTALL_append_freedom-u540 = " wayland pulseaudio pulseaudio-server"
## Required DISTRO_FEATURES
DISTRO_FEATURES += " wayland x11 kde opengl pam polkit xattr"
RISCV_SBI_FDT_freedom-u540 = "HiFiveUnleashed-MicroSemi-Expansion.dtb"
## Create kde user for SDDM
INHERIT += "extrausers"
EXTRA_USERS_PARAMS = "useradd kde; \
usermod -P kde kde;"
PACKAGECONFIG_append_pn-mesa = "r600"
## Use the Microsemi Expansion board DT in OpenSBI (passed to the kernel)
RISCV_SBI_FDT_freedom-u540 = "HiFiveUnleashed-MicroSemi-Expansion.dtb"
## Install GPU driver for the GPU being used, in this example it's a Radeon R5 230
PACKAGECONFIG_append_pn-mesa = " r600"
```
You can then start the buld by running:
@@ -59,7 +63,6 @@ Follow the top level README to flash the image to an SD card (you will probably
## Known issues
* Qt5 base will most likely fail to cross compile for RISC-V. As a work around you can apply the patch from here: https://github.com/meta-qt5/meta-qt5/pull/156/commits
* Sometimes the PCIe devices do not work on first boot. In you can't detect the PCIe devices on the board try power cycling the board and then they should appear.
* Sometimes the PCIe devices do not work on first boot. In you can't detect the PCIe devices on the board try power cycling the board and then they should appear.
Please feel free to raise issues for any problems that you encounter.