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
This commit is contained in:
Amaury Pouly 2013-06-18 15:02:01 +02:00
parent 87b84c07d7
commit 55babd5895
3 changed files with 15 additions and 0 deletions

View File

@ -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])

View File

@ -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]))

View File

@ -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
};