1 Star 0 Fork 0

nxp_imx / genimage

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
test.config 2.27 KB
一键复制 编辑 原始数据 按行查看 历史
Sascha Hauer 提交于 2011-06-27 08:39 . initial import
include("flash.conf")
#-----------------------------------
image data.tgz {
tar {}
mountpoint = "/data"
}
image nand-pcm038.img {
flash {
}
flashtype = "nand-64M-512"
partition barebox {
image = "barebox-pcm038.bin"
size = 512K
}
partition bareboxenv {
image = "bareboxenv-pcm038.bin"
size = 512K
}
partition kernel {
image = "kernel-imx.bin"
size = 4M
}
partition root {
image = "root-nand.ubi"
size = 20M
}
partition data {
image = "data-nand.ubi"
size = 0
}
}
image root-nor-32M-64k.jffs2 {
name = "root"
flashtype = "nor-64M-128k"
jffs2 {}
size = 24M
mountpoint = "/"
}
image data-nor-32M-64k.jffs2 {
name = "data"
flashtype = "nor-64M-128k"
size = 0
jffs2 {
extraargs = "-l"
}
mountpoint = "/data"
}
image nand-pcm037.img {
flash {
}
flashtype = "nand-64M-512"
partition barebox {
image = "barebox-pcm037.bin"
size = 512K
}
partition bareboxenv {
image = "bareboxenv-pcm037.bin"
size = 512K
}
partition kernel {
image = "kernel-imx.bin"
size = 4M
}
partition root {
image = "root-nand.ubi"
size = 20M
}
partition data {
image = "data-nand.ubi"
size = 0
}
}
image data-nand.ubi {
ubi {}
partition data {
autoresize = true
image = "data-nand.ubifs"
}
partition root {
image = "data-nand.ubifs"
}
}
image data-nand.ubifs {
ubifs {}
name = "data"
size = 128M
mountpoint = "/data"
}
image barebox-pcm038.bin {
name = "barebox"
file {}
}
image bareboxenv-pcm038.bin {
name = "bareboxenv"
file {}
}
image barebox-pcm037.bin {
name = "barebox"
file {}
}
image bareboxenv-pcm037.bin {
name = "bareboxenv"
file {}
}
image kernel-imx.bin {
name = "kernel"
file {
name = "zImage-linux-2.6.39-imx"
}
}
image root-nand.ubi {
name = "root"
ubi {}
partition root {
image = "root-nand.ubifs"
}
}
image root-nand.ubifs {
name = "root"
size = 128M
ubifs {}
mountpoint = "/"
}
image hdimg.img {
hdimage {}
partition root {
offset = 2M
size = 128M
partition-type = 0x78
image = "root.ext2"
}
partition data {
size = 20M
partition-type = 0x1a
image = "data.ext2"
}
size = 2G
}
image root.ext2 {
ext2 {}
size = 128M
mountpoint = "/"
}
image data.ext2 {
ext2 {}
size = 20M
mountpoint = "/data"
}
config {
outputpath = images
inputpath = input
rootpath = root
tmppath = tmp
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/nxp_imx/genimage.git
git@gitee.com:nxp_imx/genimage.git
nxp_imx
genimage
genimage
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891