1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178
|
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
}
|