From 84a756e2a5770a0602819879a63b46be2bfe1e30 Mon Sep 17 00:00:00 2001 From: "rick.chan" Date: Tue, 26 Jan 2021 16:07:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20Mkdtimg=20=E7=9A=84?= =?UTF-8?q?=E4=BD=BF=E7=94=A8.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: rick.chan --- .../Applications/Mkdtimg/Mkdtimg_的使用.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Software/Applications/Mkdtimg/Mkdtimg_的使用.md diff --git a/Software/Applications/Mkdtimg/Mkdtimg_的使用.md b/Software/Applications/Mkdtimg/Mkdtimg_的使用.md new file mode 100644 index 0000000..a624083 --- /dev/null +++ b/Software/Applications/Mkdtimg/Mkdtimg_的使用.md @@ -0,0 +1,19 @@ +# Mkdtimg 的使用 + +Mkdtimg 是 Android 用于将 dtb 文件打包成 dtb.img 的工具,也可以从 dtb.img 解除 dtb 文件。 + +## 1.打包 dtb.img + +```bash +mkdtimg create --page_size= +# 例如: +mkdtimg create dtb.img --page_size=4096 demo.dtb --id=0x04779520 +``` + +## 2.解包 dtb.img + +```bash +mkdtimg dump -b +# 例如: +mkdtimg dump dtb.img -b demo +```