summaryrefslogtreecommitdiffstats
path: root/rbutil/mkimxboot
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-06-18 15:02:01 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2013-06-18 15:02:01 +0200
commit55babd5895512a4e16aff9a244a6d497ff786da9 (patch)
tree4297efd776e89caa6eb43443541f24b0a26f653c /rbutil/mkimxboot
parent87b84c07d722d6f1fcb8a5d1d7e8549cf17bb8f4 (diff)
downloadrockbox-55babd5895512a4e16aff9a244a6d497ff786da9.tar.gz
rockbox-55babd5895512a4e16aff9a244a6d497ff786da9.tar.bz2
rockbox-55babd5895512a4e16aff9a244a6d497ff786da9.zip
mkimxboot: add zen style 100/300 firmware to the list
The tool cannot produce any firmware yet but it can extract the OF from the installer. Change-Id: I98684b2bf43310443d93b482aa853464f6f87fa8
Diffstat (limited to 'rbutil/mkimxboot')
-rw-r--r--rbutil/mkimxboot/main.c1
-rw-r--r--rbutil/mkimxboot/mkimxboot.c11
-rw-r--r--rbutil/mkimxboot/mkimxboot.h3
3 files changed, 15 insertions, 0 deletions
diff --git a/rbutil/mkimxboot/main.c b/rbutil/mkimxboot/main.c
index 8e7eb2901a..9a62133086 100644
--- a/rbutil/mkimxboot/main.c
+++ b/rbutil/mkimxboot/main.c
@@ -38,6 +38,7 @@ struct imx_variant_t imx_variants[] =
{ "zenxfi2-nand", VARIANT_ZENXFI2_NAND },
{ "zenxfi2-sd", VARIANT_ZENXFI2_SD },
{ "zenxfistyle-recovery", VARIANT_ZENXFISTYLE_RECOVERY },
+ { "zenstyle-recovery", VARIANT_ZENSTYLE_RECOVERY },
};
#define NR_VARIANTS sizeof(imx_variants) / sizeof(imx_variants[0])
diff --git a/rbutil/mkimxboot/mkimxboot.c b/rbutil/mkimxboot/mkimxboot.c
index 64df2ca02c..5f9a1e1ed9 100644
--- a/rbutil/mkimxboot/mkimxboot.c
+++ b/rbutil/mkimxboot/mkimxboot.c
@@ -89,6 +89,7 @@ static const char *imx_fw_variant[] =
[VARIANT_ZENXFI2_NAND] = "ZEN X-Fi2 NAND",
[VARIANT_ZENXFI2_SD] = "ZEN X-Fi2 eMMC/SD",
[VARIANT_ZENXFISTYLE_RECOVERY] = "ZEN X-Fi Style Recovery",
+ [VARIANT_ZENSTYLE_RECOVERY] = "ZEN Style 100/300 Recovery",
};
static const struct imx_md5sum_t imx_sums[] =
@@ -142,6 +143,14 @@ static const struct imx_md5sum_t imx_sums[] =
[VARIANT_ZENXFISTYLE_RECOVERY] = {610272, 232688},
}
},
+ {
+ /* Version 1.03.04e */
+ MODEL_ZENSTYLE, "dbebec8fe666412061d9740ff68605dd", "1.03.04e",
+ {
+ [VARIANT_DEFAULT] = {758848, 6641344},
+ [VARIANT_ZENSTYLE_RECOVERY] = {610272, 148576},
+ }
+ },
};
static struct crypto_key_t zero_key =
@@ -160,6 +169,8 @@ static const struct imx_model_desc_t imx_models[] =
1, &zero_key, 0, 0x40000000 },
[MODEL_ZENXFISTYLE] = {"Zen X-Fi Style", NULL, 0, "", -1,
1, &zero_key, 0, 0x40000000 },
+ [MODEL_ZENSTYLE] = {"Zen Style 100/300", NULL, 0, "", -1,
+ 1, &zero_key, 0, 0x40000000 },
};
#define NR_IMX_SUMS (sizeof(imx_sums) / sizeof(imx_sums[0]))
diff --git a/rbutil/mkimxboot/mkimxboot.h b/rbutil/mkimxboot/mkimxboot.h
index de564dc5d4..4440f200ec 100644
--- a/rbutil/mkimxboot/mkimxboot.h
+++ b/rbutil/mkimxboot/mkimxboot.h
@@ -60,6 +60,7 @@ enum imx_model_t
MODEL_ZENXFI2 = 1,
MODEL_ZENXFI3 = 2,
MODEL_ZENXFISTYLE = 3,
+ MODEL_ZENSTYLE = 4, /* Style 100 and Style 300 */
/* new models go here */
NUM_MODELS
@@ -75,6 +76,8 @@ enum imx_firmware_variant_t
VARIANT_ZENXFI2_RECOVERY,
/* For the Creative X-Fi Style */
VARIANT_ZENXFISTYLE_RECOVERY,
+ /* For the Creative Zen Style 100/300 */
+ VARIANT_ZENSTYLE_RECOVERY,
/* Last */
VARIANT_COUNT
};