Initial Commit
- initial default booting image
This commit is contained in:
20
package/freescale-imx/imx-gpu-g2d/Config.in
Normal file
20
package/freescale-imx/imx-gpu-g2d/Config.in
Normal file
@@ -0,0 +1,20 @@
|
||||
comment "imx-gpu-g2d needs a glibc toolchain with armhf enabled"
|
||||
depends on BR2_arm
|
||||
depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_ARM_EABIHF
|
||||
|
||||
comment "imx-gpu-g2d needs a glibc toolchain"
|
||||
depends on BR2_aarch64
|
||||
depends on !BR2_TOOLCHAIN_USES_GLIBC
|
||||
|
||||
config BR2_PACKAGE_IMX_GPU_G2D
|
||||
bool "imx-gpu-g2d"
|
||||
# Pre-built binaries only available for ARM EABIhf
|
||||
depends on (BR2_arm && BR2_ARM_EABIHF) || BR2_aarch64
|
||||
# Library binaries are linked against libc.so.6
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC
|
||||
select BR2_PACKAGE_IMX_GPU_VIV
|
||||
help
|
||||
Userspace 2D libraries for Vivante GPU on i.MX platforms.
|
||||
|
||||
This library is provided by NXP as-is and doesn't have an
|
||||
upstream.
|
||||
6
package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.hash
Normal file
6
package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.hash
Normal file
@@ -0,0 +1,6 @@
|
||||
# Locally calculated
|
||||
sha256 3530120f1f79edce525742bf5ea271f70007d5291a015e2518a55925992b6023 imx-gpu-g2d-6.4.11.p4.2-aarch64-846e12e.bin
|
||||
sha256 3d5b7d8f3760e0032aaabd2878f67e2d8fd88373af2266b0635689e799dafa07 imx-gpu-g2d-6.4.11.p4.2-arm-846e12e.bin
|
||||
sha256 3001cf84018c5cb10d183a678f6ec8a928c797616ba06b398d7ca93c0779aaa2 COPYING
|
||||
sha256 a829b109a0a406a6a2fec19975a332feca225098ce66bfab2220c6608db8fce5 EULA
|
||||
sha256 3f3b817ca9490fbe89a83395a0961122aca138bf43acd869c6ca086502a1e131 SCR-imx-gpu-g2d.txt
|
||||
37
package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.mk
Normal file
37
package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.mk
Normal file
@@ -0,0 +1,37 @@
|
||||
################################################################################
|
||||
#
|
||||
# imx-gpu-g2d
|
||||
#
|
||||
################################################################################
|
||||
|
||||
IMX_GPU_G2D_REVISION = 846e12e
|
||||
ifeq ($(BR2_aarch64),y)
|
||||
IMX_GPU_G2D_VERSION = 6.4.11.p4.2-aarch64
|
||||
else
|
||||
IMX_GPU_G2D_VERSION = 6.4.11.p4.2-arm
|
||||
endif
|
||||
IMX_GPU_G2D_SITE = $(FREESCALE_IMX_SITE)
|
||||
IMX_GPU_G2D_SOURCE = imx-gpu-g2d-$(IMX_GPU_G2D_VERSION)-$(IMX_GPU_G2D_REVISION).bin
|
||||
IMX_GPU_G2D_DEPENDENCIES = imx-gpu-viv
|
||||
IMX_GPU_G2D_INSTALL_STAGING = YES
|
||||
|
||||
IMX_GPU_G2D_LICENSE = NXP Semiconductor Software License Agreement
|
||||
IMX_GPU_G2D_LICENSE_FILES = EULA COPYING SCR-imx-gpu-g2d.txt
|
||||
IMX_GPU_G2D_REDISTRIBUTE = NO
|
||||
|
||||
define IMX_GPU_G2D_EXTRACT_CMDS
|
||||
$(call NXP_EXTRACT_HELPER,$(IMX_GPU_G2D_DL_DIR)/$(IMX_GPU_G2D_SOURCE))
|
||||
endef
|
||||
|
||||
IMX_GPU_G2D_SUBDIR = $(if $(BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM),mx8mm,)
|
||||
|
||||
define IMX_GPU_G2D_INSTALL_STAGING_CMDS
|
||||
cp -a $(@D)/g2d/usr/include/* $(STAGING_DIR)/usr/include/
|
||||
cp -a $(@D)/g2d/usr/lib/$(IMX_GPU_G2D_SUBDIR)/libg2d* $(STAGING_DIR)/usr/lib/
|
||||
endef
|
||||
|
||||
define IMX_GPU_G2D_INSTALL_TARGET_CMDS
|
||||
cp -a $(@D)/g2d/usr/lib/$(IMX_GPU_G2D_SUBDIR)/libg2d* $(TARGET_DIR)/usr/lib/
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user