完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
问题:RK3128-android6.1出现不支持Google DRM Widevine现象 解决办法:
添加Google: 在rk312x_android6.0devicerockchiprk312xBoardConfig.mk中添加: +BOARD_USE_LOW_MEM := true +BUILD_WITH_GOOGLE_MARKET := true +#WITH_DEXPREOPT := true 如下: # config.mk # # Product-specific compile-time definitions. # include device/rockchip/common/BoardConfig.mk include vendor/widevine/widevine.mk TARGET_BOARD_PLATFORM := rk312x TARGET_BOARD_PLATFORM_GPU := mali400 TARGET_ARCH := arm TARGET_ARCH_VARIANT := armv7-a-neon TARGET_CPU_VARIANT := cortex-a7 TARGET_CPU_ABI := armeabi-v7a TARGET_CPU_ABI2 := armeabi TARGET_CPU_SMP := true -BOARD_USE_LOW_MEM := flase +BOARD_USE_LOW_MEM := true BOARD_HAVE_BLUETOOTH := true PRODUCT_PACKAGE_OVERLAYS += device/rockchip/rk312x/overlay #MALLOC_IMPL := dlmalloc GRAPHIC_MEMORY_PROVIDER := dma_buf ifeq ($(strip $(BOARD_USE_LOW_MEM)), true) BUILD_WITH_GOOGLE_MARKET := false PRODUCT_PROPERTY_OVERRIDES += ro.config.low_ram=true PRODUCT_PROPERTY_OVERRIDES += dalvik.vm.jit.codecachesize=0 PRODUCT_PROPERTY_OVERRIDES += dalvik.vm.heaptargetutilization=0.9 PRODUCT_PROPERTY_OVERRIDES += dalvik.vm.heapstartsize=5m PRODUCT_PROPERTY_OVERRIDES += dalvik.vm.heapgrowthlimit=64m PRODUCT_PROPERTY_OVERRIDES += dalvik.vm.heapsize=96m PRODUCT_PROPERTY_OVERRIDES += dalvik.vm.heapminfree=512k PRODUCT_PROPERTY_OVERRIDES += dalvik.vm.heapmaxfree=2m PRODUCT_COPY_FILES += device/rockchip/common/lowmem_package_filter.xml:system/etc/lowmem_package_filter.xml endif PRODUCT_COPY_FILES += device/rockchip/rk312x/fstab.$(TARGET_BOARD_HARDWARE).bootmode.unknown:root/fstab.$(TARGET_BOARD_HARDWARE).bootmode.unknown device/rockchip/rk312x/fstab.$(TARGET_BOARD_HARDWARE).bootmode.emmc:root/fstab.$(TARGET_BOARD_HARDWARE).bootmode.emmc device/rockchip/rk312x/init.$(TARGET_BOARD_HARDWARE).bootmode.emmc.rc:root/init.$(TARGET_BOARD_HARDWARE).bootmode.emmc.rc device/rockchip/rk312x/init.$(TARGET_BOARD_HARDWARE).bootmode.unknown.rc:root/init.$(TARGET_BOARD_HARDWARE).bootmode.unknown.rc +BUILD_WITH_GOOGLE_MARKET := true +#WITH_DEXPREOPT := true 添加Google DRM Widevine rk312x_android6.0/vendor/widevine/widevine.mk这个include在rk312x_android6.0/device/rockchip/rk312x/BoardConfig.mk中: # config.mk # # Product-specific compile-time definitions. # include device/rockchip/common/BoardConfig.mk + include vendor/widevine/widevine.mk TARGET_BOARD_PLATFORM := rk312x TARGET_BOARD_PLATFORM_GPU := mali400 TARGET_ARCH := arm 编译成功后: 会将vendorwidevinelibsarm的部分xxxx.so 拷贝到outtargetproductrk312xsystemvendorlib下 增加Google之后固件会变大,烧录会出错。所以要加大 原来的rk312x.parameter.txt FIRMWARE_VER:6.0.0 MACHINE_MODEL:rk312x MACHINE_ID:007 MANUFACTURER:RK30SDK MAGIC: 0x5041524B ATAG: 0x60000800 MACHINE: 312x CHECK_MASK: 0x80 KERNEL_IMG: 0x60408000 #RECOVER_KEY: 1,1,0,20,0 #CMDLINE:console=ttyFIQ0 androidboot.baseband=N/A androidboot.selinux=permissive androidboot.hardware=rk30board androidboot.console=ttyFIQ0 init=/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),0x00002000@0x00004000(misc),0x00008000@0x00006000(resource),0x00006000@0x0000E000(kernel),0x00006000@0x00014000(boot),0x00010000@0x0001A000(recovery),0x00020000@0x0002A000(backup),0x00040000@0x0004A000(cache),0x00008000@0x0008A000(metadata),0x00002000@0x00092000(kpanic),0x00200000@0x00094000(system),0x00020000@0x00294000(radical_update),-@0x002B4000(userdata) CMDLINE:console=ttyFIQ0 androidboot.baseband=N/A androidboot.selinux=permissive androidboot.hardware=rk30board androidboot.console=ttyFIQ0 init=/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),0x00002000@0x00004000(misc),0x00008000@0x00006000(resource),0x00006000@0x0000E000(kernel),0x00006000@0x00014000(boot),0x00010000@0x0001A000(recovery),0x00020000@0x0002A000(backup),0x00040000@0x0004A000(cache),0x00008000@0x0008A000(metadata),0x00002000@0x00092000(kpanic),0x00200000@0x00094000(system),0x00020000@0x00294000(radical_update),-@0x002B4000(userdata) 修改后的rk312x.parameter.txt: FIRMWARE_VER:6.0.0 MACHINE_MODEL:rk312x MACHINE_ID:007 MANUFACTURER:RK30SDK MAGIC: 0x5041524B ATAG: 0x60000800 MACHINE: 312x CHECK_MASK: 0x80 KERNEL_IMG: 0x60408000 #RECOVER_KEY: 1,1,0,20,0 #CMDLINE:console=ttyFIQ0 androidboot.baseband=N/A androidboot.selinux=permissive androidboot.hardware=rk30board androidboot.console=ttyFIQ0 init=/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),0x00002000@0x00004000(misc),0x00008000@0x00006000(resource),0x00006000@0x0000E000(kernel),0x00006000@0x00014000(boot),0x00010000@0x0001A000(recovery),0x00020000@0x0002A000(backup),0x00040000@0x0004A000(cache),0x00008000@0x0008A000(metadata),0x00002000@0x00092000(kpanic),0x00200000@0x00094000(system),0x00020000@0x00294000(radical_update),-@0x002B4000(userdata) CMDLINE:console=ttyFIQ0 androidboot.baseband=N/A androidboot.selinux=permissive androidboot.hardware=rk30board androidboot.console=ttyFIQ0 init=/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),0x00002000@0x00004000(misc),0x00008000@0x00006000(resource),0x00006000@0x0000E000(kernel),0x00006000@0x00014000(boot),0x00010000@0x0001A000(recovery),0x00020000@0x0002A000(backup),0x00040000@0x0004A000(cache),0x00008000@0x0008A000(metadata),0x00002000@0x00092000(kpanic),0x00400000@0x00094000(system),0x00040000@0x00494000(radical_update),-@0x004B4000(userdata) 没调试的时候现象:
调试ok后烧录测试了如下: |
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
基于米尔瑞芯微RK3576核心板/开发板的人脸疲劳检测应用方案
1752 浏览 0 评论
1942 浏览 1 评论
1619 浏览 1 评论
2959 浏览 1 评论
3955 浏览 1 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-1-8 23:56 , Processed in 0.482462 second(s), Total 71, Slave 55 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (威廉希尔官方网站 图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号