xf86-video-imxfb-vivante: Upgrade to 6.2.2.p0

https://jira.digi.com/browse/DEL-5234

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
Arturo Buzarra 2017-10-27 09:54:01 +02:00
parent e6f9137f7c
commit 1fec236192
4 changed files with 154 additions and 0 deletions

View File

@ -14,6 +14,7 @@ MACHINE_FIRMWARE_append = " ${@base_conditional('HAVE_WIFI', '1' , 'firmware-ath
PREFERRED_VERSION_imx-gpu-viv ?= "5.0.11.p8.6-hfp"
PREFERRED_VERSION_kernel-module-imx-gpu-viv ?= "5.0.11.p8.6+fslc%"
PREFERRED_VERSION_xf86-video-imxfb-vivante ?= "5.0.11.p8.6"
# U-Boot configurations
# Last one is the default (the one the symlinks point at)

View File

@ -0,0 +1,87 @@
From 69a92f4576a1e789ba2fcf957164d2c4013020c5 Mon Sep 17 00:00:00 2001
From: Otavio Salvador <otavio@ossystems.com.br>
Date: Wed, 2 Dec 2015 13:36:25 +0000
Subject: [PATCH] Stop using Git to write local version
Organization: O.S. Systems Software LTDA.
The standard version does not use a Git repository so we should not
use Git to identify the commit of the build as it can end getting the
version from a wrong repository and can be misleading.
Upstream-Status: Pending
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
EXA/src/makefile.tc | 6 +++---
FslExt/src/makefile.tc | 6 +++---
util/autohdmi/makefile.tc | 6 +++---
util/pandisplay/makefile.tc | 6 +++---
4 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/EXA/src/makefile.tc b/EXA/src/makefile.tc
index 0b9a9e6..ec6e68d 100644
--- a/EXA/src/makefile.tc
+++ b/EXA/src/makefile.tc
@@ -52,8 +52,8 @@ prefix ?= /usr
sysroot ?= /
# get git commit number
-COMMITNR := `git log -n 1 --format=%H`
-DIRTY := `git diff-index --quiet HEAD || echo '-dirty'`
-LOCAL_CFLAGS += -DCOMMIT="${COMMITNR}${DIRTY}"
+#COMMITNR := `git log -n 1 --format=%H`
+#DIRTY := `git diff-index --quiet HEAD || echo '-dirty'`
+#LOCAL_CFLAGS += -DCOMMIT="${COMMITNR}${DIRTY}"
diff --git a/FslExt/src/makefile.tc b/FslExt/src/makefile.tc
index 0b9a9e6..ec6e68d 100644
--- a/FslExt/src/makefile.tc
+++ b/FslExt/src/makefile.tc
@@ -52,8 +52,8 @@ prefix ?= /usr
sysroot ?= /
# get git commit number
-COMMITNR := `git log -n 1 --format=%H`
-DIRTY := `git diff-index --quiet HEAD || echo '-dirty'`
-LOCAL_CFLAGS += -DCOMMIT="${COMMITNR}${DIRTY}"
+#COMMITNR := `git log -n 1 --format=%H`
+#DIRTY := `git diff-index --quiet HEAD || echo '-dirty'`
+#LOCAL_CFLAGS += -DCOMMIT="${COMMITNR}${DIRTY}"
diff --git a/util/autohdmi/makefile.tc b/util/autohdmi/makefile.tc
index c9de0a6..d0a468c 100644
--- a/util/autohdmi/makefile.tc
+++ b/util/autohdmi/makefile.tc
@@ -64,8 +64,8 @@ prefix ?= /usr
sysroot ?= /
# get git commit number
-COMMITNR := `git log -n 1 --format=%H`
-DIRTY := `git diff-index --quiet HEAD || echo '-dirty'`
-LOCAL_CFLAGS += -DCOMMIT="${COMMITNR}${DIRTY}"
+#COMMITNR := `git log -n 1 --format=%H`
+#DIRTY := `git diff-index --quiet HEAD || echo '-dirty'`
+#LOCAL_CFLAGS += -DCOMMIT="${COMMITNR}${DIRTY}"
diff --git a/util/pandisplay/makefile.tc b/util/pandisplay/makefile.tc
index 28732b9..bf54c20 100644
--- a/util/pandisplay/makefile.tc
+++ b/util/pandisplay/makefile.tc
@@ -64,8 +64,8 @@ prefix ?= /usr
sysroot ?= /
# get git commit number
-COMMITNR := `git log -n 1 --format=%H`
-DIRTY := `git diff-index --quiet HEAD || echo '-dirty'`
-LOCAL_CFLAGS += -DCOMMIT="${COMMITNR}${DIRTY}"
+#COMMITNR := `git log -n 1 --format=%H`
+#DIRTY := `git diff-index --quiet HEAD || echo '-dirty'`
+#LOCAL_CFLAGS += -DCOMMIT="${COMMITNR}${DIRTY}"
--
2.1.4

View File

@ -0,0 +1,42 @@
#! /bin/sh
### BEGIN INIT INFO
# Provides: rc.autohdmi
# Required-Start: $all
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop:
### END INIT INFO
PATH=/sbin:/usr/sbin:/bin:/usr/bin
# Source function library.
. /etc/init.d/functions
case "$1" in
start)
echo -n "Starting autohdmi: "
export DISPLAY=:0
autohdmi &
echo
exit 0
;;
reload|force-reload)
echo "Error: argument '$1' not supported" >&2
exit 3
;;
stop)
echo -n "Shutting down autohdmi: "
killproc autohdmi
echo
;;
restart)
echo -n "Restarting autohdmi: "
$0 stop
$0 start
echo
;;
*)
echo "Usage: $0 start|stop" >&2
exit 3
;;
esac

View File

@ -0,0 +1,24 @@
# Copyright (C) 2012-2016 Freescale Semiconductor
# Copyright (C) 2012-2014 O.S. Systems Software LTDA.
# Copyright 2017 NXP
# Released under the MIT license (see COPYING.MIT for the terms)
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
require recipes-graphics/xorg-driver/xf86-video-imxfb-vivante.inc
NXP_REPO_MIRROR ?= "nxp/"
SRCBRANCH = "${NXP_REPO_MIRROR}imx_4.9.11_1.0.0_ga"
S = "${WORKDIR}/git/"
XF86_VIDEO_IMX_VIVANTE_SRC ?= "git://source.codeaurora.org/external/imx/xf86-video-imx-vivante.git;protocol=https"
SRC_URI = "${XF86_VIDEO_IMX_VIVANTE_SRC};branch=${SRCBRANCH}"
SRC_URI +="file://rc.autohdmi"
SRCREV = "07ef065dfe09f1c05a1a188c371577faa3677a17"
DEPENDS += "virtual/libg2d"
RDEPENDS_${PN}_remove = "libvivante-dri-mx6"
RDEPENDS_${PN}_append = " libvivante-dri-imx"
COMPATIBLE_MACHINE = "(mx6|mx8|mx7ulp)"