本文转载自:http://blog.csdn.net/u010439962/article/details/51734631

Installed file list: out/target/product/rk3288/installed-files.txt
Target system fs image: out/target/product/rk3288/obj/PACKAGING/systemimage_intermediates/system.img
Running:  mkuserimg.sh -s out/target/product/rk3288/system out/target/product/rk3288/obj/PACKAGING/systemimage_intermediates/system.img ext4 system 1073741824 out/target/product/rk3288/root/file_contexts
make_ext4fs -s -T -1 -S out/target/product/rk3288/root/file_contexts -l 1073741824 -a system out/target/product/rk3288/obj/PACKAGING/systemimage_intermediates/system.img out/target/product/rk3288/system
Creating filesystem with parameters:
    Size: 1073741824
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 8192
    Inode size: 256
    Journal blocks: 4096
    Label: 
    Blocks: 262144
    Block groups: 8
    Reserved block group size: 63
Created filesystem with 1875/65536 inodes and 110947/262144 blocks
Construct recovery from boot
mkdir -p out/target/product/rk3288/obj/PACKAGING/recovery_patch_intermediates/
PATH=out/host/linux-x86/bin:$PATH out/host/linux-x86/bin/imgdiff out/target/product/rk3288/boot.img out/target/product/rk3288/recovery.img out/target/product/rk3288/obj/PACKAGING/recovery_patch_intermediates/recovery_from_boot.p
chunk 0: type 0 start 0 len 7012362
chunk 1: type 2 start 7012362 len 2239232
chunk 2: type 0 start 8354422 len 296330
Construct patches for 3 chunks...
patch   0 is 248 bytes (of 7012362)
patch   1 is 1378159 bytes (of 1342060)
patch   2 is 202 bytes (of 296330)
chunk   0: normal   (         0,    7012362)         248
chunk   1: deflate  (   7012362,    2917660)     1378159  (null)
chunk   2: normal   (   9930022,     309978)         202
Install system fs image: out/target/product/rk3288/system.img
out/target/product/rk3288/system.img+out/target/product/rk3288/obj/PACKAGING/recovery_patch_intermediates/recovery_from_boot.p maxsize=1096212480 blocksize=135168 total=440127133 reserve=11083776
No RK Loader for TARGET_DEVICE rk3288 to otapackage
package add resource.img to BOOT and RECOVERY
No uboot for uboot/uboot.img to otapackage
No trust for uboot/trust.img to otapackage
No charge for uboot/charge.img to otapackage
No parameter for TARGET_DEVICE rk3288 to otapackage
Package target files: out/target/product/rk3288/obj/PACKAGING/target_files_intermediates/rk3288-target_files-eng.root.zip
building image from target_files RECOVERY...
Traceback (most recent call last):
  File "./build/tools/releasetools/make_recovery_patch", line 68, in <module>
    main(sys.argv[1:])
  File "./build/tools/releasetools/make_recovery_patch", line 39, in main
    input_dir, "RECOVERY")
  File "/media/liw/173d54d9-5bc8-4998-a41d-77fa4e377b61/rk3288_box_sdk_5.1/build/tools/releasetools/common.py", line 419, in GetBootableImage
    info_dict)
  File "/media/liw/173d54d9-5bc8-4998-a41d-77fa4e377b61/rk3288_box_sdk_5.1/build/tools/releasetools/common.py", line 376, in BuildBootableImage
    p4 = Run(sign_cmd)
  File "/media/liw/173d54d9-5bc8-4998-a41d-77fa4e377b61/rk3288_box_sdk_5.1/build/tools/releasetools/common.py", line 86, in Run
    return subprocess.Popen(args, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
make: *** [out/target/product/rk3288/obj/PACKAGING/target_files_intermediates/rk3288-target_files-eng.root.zip] 错误 1

#### make failed to build some targets (03:16 (mm:ss)) ####

解决的方法:

device/rockchip/common/releasetools.py

138行try缩进有问题。修改正常即可。

RK总是问题不断。

 

最新文章

  1. newInstance()和new()
  2. css 常见时间轴的做法(————————————————时间轴——————————————————)
  3. Objective-C基础语法快速入门
  4. 降龙十八掌之一:(亢龙有悔)SQL Server Profiler和数据库引擎优化顾问
  5. node-webkit 写桌面系统
  6. (转)Android学习进阶路线导航线路(Android源码分享)
  7. ***RESTful API 设计指南(阮一峰)
  8. iOS内存管理系列之一:对象所有权与引用计数
  9. 简单的HTTP过滤模块
  10. Python 内置函数汇总
  11. JAVAFX-5事件总结
  12. PHP 安全 E-mail
  13. 利用python itchat给女朋友定时发信息
  14. spring-data-jpa初步认识
  15. vue中封装公共方法,全局使用
  16. 菜鸟学SSH(十)——Hibernate核心接口
  17. 带分数dfs+剪枝优化
  18. LG2731 骑马修栅栏 Riding the Fences
  19. (二)swagger-springmvc
  20. js字符串基本操作

热门文章

  1. 简单的MVC 权限管理
  2. Python和Mongodb
  3. CLR Via CSharp读书笔记(26) - 计算限制的异步操作
  4. 虚拟机(Visual Machine)的云平台的自动伸缩扩容(auto-scaling)技术
  5. RPC实现的底层原理及应用
  6. 一篇文章告诉你,TLS 1.3 如何用性能为 HTTPS 正名
  7. 我是一个线程 - IBM刘欣
  8. 【BZOJ2560】串珠子(状压DP,容斥原理)
  9. 解决WordPress安装主题/插件提示输入FTP帐号的问题
  10. 2016 ACM-ICPC CHINA-Final