[genivi-demo-platform][PATCH] Genivi Demo Platform Initial for Raspberry Pi2

Changhyeok Bae changhyeok.bae at gmail.com
Sat Mar 12 12:34:00 EST 2016


This changes are for GDP Raspberrypi2 support.
Please review those changes.

As I mentioned in https://at.projects.genivi.org/jira/browse/GDP-82, it
works fine.
Before booting, please connect your input devices (mouse).

You can use my github (
https://github.com/locust2001/genivi-demo-platform/tree/rasp9-rc1) for test.

Known issue:
AudioManager is not launched yet.

Thanks
Changhyeok.

2016-03-13 2:28 GMT+09:00 <changhyeok.bae at gmail.com>:

> From: Changhyeok Bae <changhyeok.bae at lge.com>
>
> genivi-demo-platform
> - Add default provider
> - Add buildhistory directory in .gitignore
> - Add meta-raspberrypi layer
>
> meta-genivi-demo
> 058c6a5 README.me: Add raspberrypi2 instruction
> daa98bd Restructure meta-genivi-demo layer
>
> meta-genivi-demo/meta-genivi-demo
> 57803e6 weston: Add drm-bakend flag
> 1d494dc genivi-demo-platform: Allocate more space for /boot
> e1088c8 genivi-demo-platform: Add mesa-megadriver
>
> meta-genivi-demo/meta-raspberrypi-gdp
> 649a242 mesa: Upgrade to v11.1.1
> 3954ef3 libdrm: Upgrade to v2.4.67
> 6cf866f rpi-config: Update config.txt for new driver stack
> a7f83f2 linux-raspberrypi: Speed up mouse movement
> f14cf62 linux-raspberrypi: Add cma=256M to the kernel command line
> 161db1c linux-raspberrypi: Change to squash
> 5f50db0 linux-raspberrypi: Upgrade version to 4.1
> ---
>  .gitignore                       |  1 +
>  .gitmodules                      |  5 ++++-
>  gdp-src-build/conf/bblayers.conf |  4 +++-
>  gdp-src-build/conf/local.conf    | 43
> +++++++++++++++++++++++++++++++++-------
>  meta-genivi-demo                 |  2 +-
>  meta-raspberrypi                 |  1 +
>  6 files changed, 46 insertions(+), 10 deletions(-)
>  create mode 160000 meta-raspberrypi
>
> diff --git a/.gitignore b/.gitignore
> index feb4f88..e091fb6 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -1,4 +1,5 @@
>  gdp-src-build/bitbake.lock
> +gdp-src-build/buildhistory
>  gdp-src-build/cache/
>  gdp-src-build/conf/sanity_info
>  gdp-src-build/conf/templateconf.cfg
> diff --git a/.gitmodules b/.gitmodules
> index d373dc3..2a88277 100644
> --- a/.gitmodules
> +++ b/.gitmodules
> @@ -1,6 +1,6 @@
>  [submodule "meta-genivi-demo"]
>         path = meta-genivi-demo
> -       url = http://git.projects.genivi.org/meta-genivi-demo.git
> +       url = http://github.com/locust2001/meta-genivi-demo
>  [submodule "meta-ivi"]
>         path = meta-ivi
>         url = http://git.yoctoproject.org/git/meta-ivi
> @@ -10,6 +10,9 @@
>  [submodule "meta-openembedded"]
>         path = meta-openembedded
>         url = git://git.openembedded.org/meta-openembedded
> +[submodule "meta-raspberrypi"]
> +       path = meta-raspberrypi
> +       url = git://git.yoctoproject.org/meta-raspberrypi
>  [submodule "poky"]
>         path = poky
>         url = git://git.yoctoproject.org/poky
> diff --git a/gdp-src-build/conf/bblayers.conf
> b/gdp-src-build/conf/bblayers.conf
> index 66b2f26..d72f290 100644
> --- a/gdp-src-build/conf/bblayers.conf
> +++ b/gdp-src-build/conf/bblayers.conf
> @@ -15,7 +15,9 @@ BBLAYERS ?= " \
>    ${TOPDIR}/../meta-openembedded/meta-filesystems \
>    ${TOPDIR}/../meta-openembedded/meta-ruby \
>    ${TOPDIR}/../meta-qt5 \
> -  ${TOPDIR}/../meta-genivi-demo \
> +  ${TOPDIR}/../meta-genivi-demo/meta-genivi-demo \
> +  ${TOPDIR}/../meta-genivi-demo/meta-raspberrypi-gdp \
> +  ${TOPDIR}/../meta-raspberrypi \
>    "
>
>  BBLAYERS_NON_REMOVABLE ?= " \
> diff --git a/gdp-src-build/conf/local.conf b/gdp-src-build/conf/local.conf
> index 721bd60..2fe18dc 100644
> --- a/gdp-src-build/conf/local.conf
> +++ b/gdp-src-build/conf/local.conf
> @@ -1,15 +1,46 @@
>  #DL_DIR ?= "${TOPDIR}/downloads"
>  DISTRO ?= "poky-ivi-systemd"
> -MACHINE = "qemux86-64"
> -USE_GSTREAMER_1_00="1"
> +MACHINE = "raspberrypi2"
>
> -# INCOMPATIBLE_LICENSE ?= "GPLv3"
> +GPU_MEM = "128"
>
> -PACKAGE_CLASSES ?= "package_rpm package_ipk"
> +CORE_IMAGE_EXTRA_INSTALL += "wayland weston"
>  EXTRA_IMAGE_FEATURES = "debug-tweaks"
> +
> +LICENSE_FLAGS_WHITELIST  += "commercial"
> +MULTI_PROVIDER_WHITELIST += "virtual/libgl virtual/egl virtual/libgles1
> virtual/libgles2"
> +
> +USE_GSTREAMER_1_00="1"
> +
> +PACKAGE_CLASSES ?= "package_rpm"
>  USER_CLASSES ?= "buildstats image-mklibs image-prelink"
>  PATCHRESOLVE = "noop"
>
> +KERNEL_DEVICETREE_remove = " \
> +    ds1307-rtc-overlay.dtb \
> +    hifiberry-amp-overlay.dtb \
> +    hifiberry-dac-overlay.dtb \
> +    hifiberry-dacplus-overlay.dtb \
> +    hifiberry-digi-overlay.dtb \
> +    iqaudio-dac-overlay.dtb \
> +    iqaudio-dacplus-overlay.dtb \
> +    lirc-rpi-overlay.dtb \
> +    pcf8523-rtc-overlay.dtb \
> +    pps-gpio-overlay.dtb \
> +    w1-gpio-overlay.dtb \
> +    w1-gpio-pullup-overlay.dtb \
> +"
> +
> +PREFERRED_VERSION_linux-raspberrypi = "4.1.%"
> +PREFERRED_VERSION_weston = "1.9.0"
> +PREFERRED_VERSION_wayland-ivi-extension = "1.9.0"
> +
> +PREFERRED_PROVIDER_virtual/egl = "mesa"
> +PREFERRED_PROVIDER_virtual/libgles2 = "mesa"
> +PREFERRED_PROVIDER_virtual/libgl = "mesa"
> +PREFERRED_PROVIDER_virtual/mesa = "mesa"
> +PREFERRED_PROVIDER_jpeg = "jpeg"
> +
>  #
>  # Disk Space Monitoring during the build
>  #
> @@ -24,11 +55,9 @@ BB_DISKMON_DIRS = "\
>      STOPTASKS,${SSTATE_DIR},1G,100K \
>      ABORT,${TMPDIR},100M,1K \
>      ABORT,${DL_DIR},100M,1K \
> -    ABORT,${SSTATE_DIR},100M,1K"
> +    ABORT,${SSTATE_DIR},100M,1K"
>
>  # CONF_VERSION is increased each time build/conf/ changes incompatibly
> and is used to
>  # track the version of this file when it was generated. This can safely
> be ignored if
>  # this doesn't mean anything to you.
>  CONF_VERSION = "1"
> -PREFERRED_VERSION_weston = "1.9.0"
> -PREFERRED_VERSION_wayland-ivi-extension = "1.9.0"
> diff --git a/meta-genivi-demo b/meta-genivi-demo
> index e70bccf..058c6a5 160000
> --- a/meta-genivi-demo
> +++ b/meta-genivi-demo
> @@ -1 +1 @@
> -Subproject commit e70bccfaf451ae77d9edf0b9d8f5d9e6918f829f
> +Subproject commit 058c6a549cdb64d94157880baf7280278265ff97
> diff --git a/meta-raspberrypi b/meta-raspberrypi
> new file mode 160000
> index 0000000..f2cff83
> --- /dev/null
> +++ b/meta-raspberrypi
> @@ -0,0 +1 @@
> +Subproject commit f2cff839f52a6e6211337fc45c7c3eabf0fac113
> --
> 1.9.1
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genivi.org/pipermail/genivi-projects_lists.genivi.org/attachments/20160313/c310d0e9/attachment.html>


More information about the genivi-projects mailing list