diff options
Diffstat (limited to 'rbutil/mkimxboot/mkimxboot.c')
-rw-r--r-- | rbutil/mkimxboot/mkimxboot.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/rbutil/mkimxboot/mkimxboot.c b/rbutil/mkimxboot/mkimxboot.c index 12b029ec9d..efa8907df4 100644 --- a/rbutil/mkimxboot/mkimxboot.c +++ b/rbutil/mkimxboot/mkimxboot.c | |||
@@ -160,6 +160,18 @@ static const struct imx_md5sum_t imx_sums[] = | |||
160 | [VARIANT_ZENSTYLE_RECOVERY] = {610272, 148576}, | 160 | [VARIANT_ZENSTYLE_RECOVERY] = {610272, 148576}, |
161 | } | 161 | } |
162 | }, | 162 | }, |
163 | /** Sony NWZ-E370 */ | ||
164 | { | ||
165 | /* Version 1.00.00 */ | ||
166 | MODEL_NWZE370, "a615fdb70b3e1bfb0355a5bc2bf237ab", "1.00.00", | ||
167 | { [VARIANT_DEFAULT] = {0, 16056320 } } | ||
168 | }, | ||
169 | /** Sony NWZ-E360 */ | ||
170 | { | ||
171 | /* Version 1.00.00 */ | ||
172 | MODEL_NWZE360, "d0047f8a87d456a0032297b3c802a1ff", "1.00.00", | ||
173 | { [VARIANT_DEFAULT] = {0, 20652032 } } | ||
174 | } | ||
163 | }; | 175 | }; |
164 | 176 | ||
165 | static struct crypto_key_t zero_key = | 177 | static struct crypto_key_t zero_key = |
@@ -180,6 +192,10 @@ static const struct imx_model_desc_t imx_models[] = | |||
180 | 1, &zero_key, 0, 0x40000000 }, | 192 | 1, &zero_key, 0, 0x40000000 }, |
181 | [MODEL_ZENSTYLE] = {"Zen Style 100/300", NULL, 0, "", -1, | 193 | [MODEL_ZENSTYLE] = {"Zen Style 100/300", NULL, 0, "", -1, |
182 | 1, &zero_key, 0, 0x40000000 }, | 194 | 1, &zero_key, 0, 0x40000000 }, |
195 | [MODEL_NWZE370] = {"NWZ-E370", dualboot_nwze370, sizeof(dualboot_nwze370), "e370", 88, | ||
196 | 1, &zero_key, 0, 0x40000000 }, | ||
197 | [MODEL_NWZE360] = {"NWZ-E360", dualboot_nwze360, sizeof(dualboot_nwze360), "e360", 89, | ||
198 | 1, &zero_key, 0, 0x40000000 }, | ||
183 | }; | 199 | }; |
184 | 200 | ||
185 | #define NR_IMX_SUMS (sizeof(imx_sums) / sizeof(imx_sums[0])) | 201 | #define NR_IMX_SUMS (sizeof(imx_sums) / sizeof(imx_sums[0])) |
@@ -384,6 +400,11 @@ static enum imx_error_t patch_firmware(enum imx_model_t model, | |||
384 | /* The ZEN X-Fi3 uses the standard ____, hSst, pSay sections, patch after third | 400 | /* The ZEN X-Fi3 uses the standard ____, hSst, pSay sections, patch after third |
385 | * call in ____ section. Although sections names use the S variant, they are standard. */ | 401 | * call in ____ section. Although sections names use the S variant, they are standard. */ |
386 | return patch_std_zero_host_play(3, model, type, sb_file, boot_fw); | 402 | return patch_std_zero_host_play(3, model, type, sb_file, boot_fw); |
403 | case MODEL_NWZE360: | ||
404 | case MODEL_NWZE370: | ||
405 | /* The NWZ-E360/E370 uses the standard ____, host, play sections, patch after first | ||
406 | * call in ____ section. */ | ||
407 | return patch_std_zero_host_play(1, model, type, sb_file, boot_fw); | ||
387 | case MODEL_ZENXFI2: | 408 | case MODEL_ZENXFI2: |
388 | /* The ZEN X-Fi2 has two types of firmware: recovery and normal. | 409 | /* The ZEN X-Fi2 has two types of firmware: recovery and normal. |
389 | * Normal uses the standard ___, host, play sections and recovery only ____ */ | 410 | * Normal uses the standard ___, host, play sections and recovery only ____ */ |