android比较重要的三个img文件
2013-01-17 17:19
211 查看
android比较重要的三个img文件:
make systemimage - system.img
make userdataimage - userdata.img
make ramdisk - ramdisk.img
make snod - 快速打包system.img (with this command, it will build a new system.img very quickly. well, you cannot use “make snod” for all the situations. it would not check the dependences. if you change some code in the framework
which will effect other applications)
因為
system.img 是 從 out/target/product/xxxx/system 做出來的。
如果改了 這個 folder 的內容,想要重新產生 system.img。不要管 system folde 裡面的 file 的 dependency,可以用 snod 這個 target:
make snod
定義在 build/core/Makefile 可以看到 snod 這個 target:
(有說明是: make system.img ignoring depencies)
.PHONY: systemimage-nodeps snod
systemimage-nodeps snod: $(filter-out systemimage-nodeps snod,$(MAKECMDGOALS)) \
| $(INTERNAL_MKUSERFS)
@echo "make $@: ignoring dependencies"
$(call build-systemimage-target,$(INSTALLED_SYSTEMIMAGE))
$(hide) $(call assert-max-image-size,$(INSTALLED_SYSTEMIMAGE),$(BOARD_SYSTEMIMAGE_PARTITION_SIZE),yaffs)
Ref:
http://hi.baidu.com/kyan/blog/item/df7ea8d346f5c839960a163c.html
http://r40eubuntu.blogspot.com/2010/10/systemimg.html
make systemimage - system.img
make userdataimage - userdata.img
make ramdisk - ramdisk.img
make snod - 快速打包system.img (with this command, it will build a new system.img very quickly. well, you cannot use “make snod” for all the situations. it would not check the dependences. if you change some code in the framework
which will effect other applications)
因為
system.img 是 從 out/target/product/xxxx/system 做出來的。
如果改了 這個 folder 的內容,想要重新產生 system.img。不要管 system folde 裡面的 file 的 dependency,可以用 snod 這個 target:
make snod
定義在 build/core/Makefile 可以看到 snod 這個 target:
(有說明是: make system.img ignoring depencies)
.PHONY: systemimage-nodeps snod
systemimage-nodeps snod: $(filter-out systemimage-nodeps snod,$(MAKECMDGOALS)) \
| $(INTERNAL_MKUSERFS)
@echo "make $@: ignoring dependencies"
$(call build-systemimage-target,$(INSTALLED_SYSTEMIMAGE))
$(hide) $(call assert-max-image-size,$(INSTALLED_SYSTEMIMAGE),$(BOARD_SYSTEMIMAGE_PARTITION_SIZE),yaffs)
Ref:
http://hi.baidu.com/kyan/blog/item/df7ea8d346f5c839960a163c.html
http://r40eubuntu.blogspot.com/2010/10/systemimg.html
相关文章推荐
- Android编译过程总结及android中各种img文件的作用以及系统启动过程
- android中各种文件简介(.img, .ko, .so, .a, ...)
- 编译android 之后生成的 img 文件介绍
- Android编译过程总结及android中各种img文件的作用以及系统启动过程
- Linux下 解包/打包 Android 映像文件 system.img, boot.img, ramdisk.img, userdata.img.
- android的各种*.img 文件
- 剖析RedHat Linux中三个重要内核文件
- 40个比较重要的Android面试题
- 如何解包/编辑/打包android系统的boot.img文件
- 修改android的system.img文件方法
- 40个比较重要的Android面试题
- 最近打算更仔细学习一下linux操作系统。先是恶补了一下用户、用户组、文件权限这三样比较重要的知识。
- 编译android 之后生成的 img 文件介绍
- Linux系统文件的三个重要时间详解
- Android 反编译(三)java文件 和 .smail文件判断和循环比较
- 深入了解HelloAndroid下的三个文件——转载出处:coder-pig
- Android编译过程总结及android中各种img文件的作用以及系统启动过程
- 比较重要的三个正则表达式(JAVA)
- [教程] 如何解包/编辑/打包android系统的boot.img文件 ..
- [RK3399][Android7.1] Uboot重要文件及目录