path: root/firmware
diff options
authorBarry Wardell <>2007-01-28 18:42:11 +0000
committerBarry Wardell <>2007-01-28 18:42:11 +0000
commit84b509dc43cf84ef16fcd4a57b167351f146cd11 (patch)
tree57eca4b44db56e11c1a3d9dde5d0e4ef8e830686 /firmware
parent6c3a44643590f8cbc925375c2dc8393cc7f9d55e (diff)
FS#6554. Move bootloader code into a common file. Only PortalPlayer devices (iPods, H10, Sansa) are affected for the moment. Someone with access to (and no fear of bricking) an X5, H100, H300 and Gigabeat should try to adapt those bootloaders to also use the code in common.c. The (non-working) patch in the tracker would be a good place to start with this.
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
2 files changed, 6 insertions, 0 deletions
diff --git a/firmware/export/pp5002.h b/firmware/export/pp5002.h
index 41e8f4cce2..c7606886bc 100644
--- a/firmware/export/pp5002.h
+++ b/firmware/export/pp5002.h
@@ -20,6 +20,10 @@
#define __PP5002_H__
/* All info gleaned and/or copied from the iPodLinux project. */
+#define DRAM_START 0x28000000
+#define IPOD_LCD_BASE 0xc0001000
#define CPU_CTL (*(volatile unsigned char *)(0xcf004054))
#define COP_CTL (*(volatile unsigned char *)(0xcf004058))
diff --git a/firmware/export/pp5020.h b/firmware/export/pp5020.h
index a71ca7ef05..4e0e6eac2a 100644
--- a/firmware/export/pp5020.h
+++ b/firmware/export/pp5020.h
@@ -20,6 +20,8 @@
#define __PP5020_H__
/* All info gleaned and/or copied from the iPodLinux project. */
+#define DRAM_START 0x10000000
#define CPU_CTL (*(volatile unsigned long *)(0x60007000))
#define COP_CTL (*(volatile unsigned long *)(0x60007004))