Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
omap3-sgx-modules_4.00.00.01: use nokia version of modules from the p…
…andora git
- Loading branch information
Showing
1 changed file
with
11 additions
and
42 deletions.
There are no files selected for viewing
53 changes: 11 additions & 42 deletions
53
recipes-bsp/powervr-drivers/omap3-sgx-modules_4.00.00.01.bb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,25 @@ | ||
DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs" | ||
DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs, nokia version" | ||
LICENSE = "GPLv2" | ||
|
||
PR ="r1" | ||
PR ="r2" | ||
|
||
LIC_FILES_CHKSUM="file://COPYING;md5=21228a42e27d1d104b31a83f7c9da935" | ||
|
||
# download required binary distribution from: | ||
# http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/latest/index_FDS.html | ||
# see libgles-omap3.inc for detailed installation instructions | ||
|
||
TI_BIN_UNPK_CMDS="Y: qY:workdir:Y" | ||
require ti-eula-unpack.inc | ||
|
||
SGXPV = "4_00_00_01" | ||
IMGPV = "1.4.14.2616" | ||
BINFILE := "Graphics_SDK_setuplinux_${SGXPV}.bin" | ||
LIC_FILES_CHKSUM="file://pvr/COPYING;md5=a012d2cd535123cb36c0fb16763c13df" | ||
|
||
inherit module | ||
|
||
MACHINE_KERNEL_PR_append = "i" | ||
|
||
SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/Graphics_SDK_setuplinux_${SGXPV}.bin \ | ||
file://0002-Compile-fixes-for-recent-kernels.patch;patch=1 \ | ||
file://0001-OMAP3-SGX-TI-4.00.00.01-2.6.37-rc1-use-semaphore-ove.patch;patch=1 \ | ||
file://fix-2.6.27.patch;patch=1 \ | ||
file://spinlock_3430.patch;patch=1 \ | ||
file://compile-against-3.2.1.patch;patch=1 \ | ||
file://fix-makefile.patch;patch=1 \ | ||
" | ||
|
||
SRC_URI[md5sum] = "a027002dcd7164df467b1a315788d5fd" | ||
SRC_URI[sha256sum] = "62383d15e33adf9349afba063b0f2405a15aa6c4b0b5579b0abdf81db7580df7" | ||
|
||
S = "${WORKDIR}/Graphics_SDK_${SGXPV}/GFX_Linux_KM" | ||
|
||
PVRBUILD = "release" | ||
|
||
PACKAGE_STRIP = "no" | ||
|
||
TI_PLATFORM_omap3-pandora = "omap3430" | ||
#TI_PLATFORM_omap3 = "omap3630" | ||
TI_PLATFORM_ti816x = "ti8168" | ||
|
||
MODULESLOCATION_omap3 = "dc_omap3430_linux" | ||
MODULESLOCATION_ti816x = "dc_ti8168_linux" | ||
SRCREV = "227a3f2adb753847faba0a926ed7b75c70811826" | ||
SRC_URI = " \ | ||
git://git.openpandora.org/sgx.git;protocol=git;branch=nokia \ | ||
" | ||
|
||
MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM}" | ||
S = "${WORKDIR}/git" | ||
MAKE_TARGETS = " KERNELDIR=${STAGING_KERNEL_DIR} " | ||
|
||
do_install() { | ||
mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr | ||
cp ${S}/pvrsrvkm.ko \ | ||
${S}/services4/3rdparty/${MODULESLOCATION}/omaplfb.ko \ | ||
${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \ | ||
cp ${S}/pvr/pvrsrvkm.ko \ | ||
${S}/pvr/omaplfb.ko \ | ||
${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr | ||
} |