Add sun8i target config.
This commit is contained in:
52
projects/sun8i-h2_domo/configs/genimage.config
Normal file
52
projects/sun8i-h2_domo/configs/genimage.config
Normal file
@@ -0,0 +1,52 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"script.bin",
|
||||
"zImage",
|
||||
"boot.scr",
|
||||
"dev.scr",
|
||||
"update.scr",
|
||||
"rootfs.cpio.uboot"
|
||||
}
|
||||
}
|
||||
size = 30M
|
||||
}
|
||||
|
||||
image data.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"script.bin"
|
||||
}
|
||||
}
|
||||
size = 10M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot-sunxi-with-spl.bin"
|
||||
offset = 8192
|
||||
# size = 1040384 # 1MB - 8192
|
||||
}
|
||||
|
||||
partition u-boot-env {
|
||||
in-partition-table = "no"
|
||||
image = "uboot-env.bin"
|
||||
offset = 557056
|
||||
size = 131072
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
}
|
||||
|
||||
partition data {
|
||||
partition-type = 0xC
|
||||
image = "data.vfat"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user