Platform: RK3399
OS: Android 6.0
Kernel: 4.4.16
现象:烧写固件后,串口不断报binder错误,画面黑屏
binder: 208:208 transaction failed 29189, size 0-0
binder: 208:208 transaction failed 29189, size 0-0
binder: 208:208 transaction failed 29189, size 0-0
发现是system 空间不够大导致,增大BoardConfig.mk和parameter.txt:
--- a/device/rockchip/rk3399/BoardConfig.mk
+++ b/device/rockchip/rk3399/BoardConfig.mk
@@ -69,4 +69,5 @@ MALLOC_IMPL := dlmalloc
//MAX-SIZE=2G, for generate out/.../system.img
-BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3221225472
+BOARD_SYSTEMIMAGE_PARTITION_SIZE := 4831838208
+#BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3221225472
--- a/device/rockchip/rk3399/rk3399_box/parameter.txt
+++ b/device/rockchip/rk3399/rk3399_box/parameter.txt
@@ -11,5 +11,5 @@ PWR_HLD: 0,0,A,0,1
#FDT_NAME: rk-kernel.dtb
#RECOVER_KEY: 1,1,0,20,0
#in section; per section 512(0x200) bytes
-CMDLINE: androidboot.baseband=N/A androidboot.selinux=disabled androidboot.hardware=rk30board androidboot.console=ttyFIQ0 init=/init mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),0x00002000@0x00004000(trust),0x00002000@0x00006000(misc),0x00008000@0x00008000(resource),0x0000A000@0x00010000(kernel),0x00010000@0x0001A000(boot),0x00010000@0x0002A000(recovery),0x00038000@0x0003A000(backup),0x00040000@0x00072000(cache),0x00200000@0x000B2000(system),0x00008000@0x002B2000(metadata),0x00002000@0x002BA000(baseparamer),-@0x002BC000(userdata)
+CMDLINE: androidboot.baseband=N/A androidboot.selinux=disabled androidboot.hardware=rk30board androidboot.console=ttyFIQ0 init=/init mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),0x00002000@0x00004000(trust),0x00002000@0x00006000(misc),0x00008000@0x00008000(resource),0x0000A000@0x00010000(kernel),0x00010000@0x0001A000(boot),0x00010000@0x0002A000(recovery),0x00038000@0x0003A000(backup),0x00040000@0x00072000(cache),0x00400000@0x000B2000(system),0x00008000@0x004B2000(metadata),0x00002000@0x004BA000(baseparamer),-@0x004BC000(userdata)
转载说明出处