summaryrefslogtreecommitdiff
path: root/firmware/export/config-ipodnano2g.h
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2009-10-10 11:46:23 +0000
committerDave Chapman <dave@dchapman.com>2009-10-10 11:46:23 +0000
commit4fe2ee02215730c2217135ef1e6dd4585a0c2439 (patch)
tree46a481cd84da1ccf6524c904789ee5bdf2322512 /firmware/export/config-ipodnano2g.h
parente51dbc0f4f4779f6d0ea510b487c79faca3c128f (diff)
downloadrockbox-4fe2ee02215730c2217135ef1e6dd4585a0c2439.tar.gz
rockbox-4fe2ee02215730c2217135ef1e6dd4585a0c2439.zip
Add crypt_firmware plugin for Nano2G - this uses the hardware crypto unit to encrypt (or decrypt) a firmware image for writing to a Nano 2G's firmware partition with ipodpatcher (patch for ipodpatcher is at FS#10609). Also introduce BOOTFILE_EXT2 define for an alternative firmware file extension and add .ipodx for the Nano 2G (.ipod is for unencrypted images, similar to older ipods, and .ipodx is for encrypted images and include the 2KB hash block and modelname 'nn2x').
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23068 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-ipodnano2g.h')
-rw-r--r--firmware/export/config-ipodnano2g.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/export/config-ipodnano2g.h b/firmware/export/config-ipodnano2g.h
index 641e88860b..d9c5cbf3ea 100644
--- a/firmware/export/config-ipodnano2g.h
+++ b/firmware/export/config-ipodnano2g.h
@@ -159,6 +159,9 @@
159#define BOOTFILE "rockbox." BOOTFILE_EXT 159#define BOOTFILE "rockbox." BOOTFILE_EXT
160#define BOOTDIR "/.rockbox" 160#define BOOTDIR "/.rockbox"
161 161
162/* Alternative bootfile extension - this is for encrypted images */
163#define BOOTFILE_EXT2 "ipodx"
164
162#define BOOTLOADER_ENTRYPOINT 0x001F0000 165#define BOOTLOADER_ENTRYPOINT 0x001F0000
163#define FLASH_ENTRYPOINT 0x00001000 166#define FLASH_ENTRYPOINT 0x00001000
164#define FLASH_MAGIC 0xfbfbfbf1 167#define FLASH_MAGIC 0xfbfbfbf1