Flashing Layer1 to GTA02

Harald Welte laforge at gnumonks.org
Thu Jun 21 10:55:56 UTC 2012


Hi Arno and others,

On Thu, Jun 21, 2012 at 11:14:01AM +0200, Arno Onken wrote:
> I would definitely prefer to have the firmware in flash. I'm not sure I
> have the necessary experience to add support but I will look into it.

The part on the GTA02 is a Samsung K5A3240CT multi-chip memory package:
(32Mbit flash, 4Mbit SRAM), with two banks:

Bank1: 8Mbit
	Eight 8Kbyte blocks
	Fifteen 64kByte blocks

Bank2: 24Mbit
	fourty-eight 64kByte blocks

The manufactuerer ID is 0xEC, device code is 0x22A0 (top boot block).

Your first step in supporting it should be the following patch:

diff --git a/src/target/firmware/flash/cfi_flash.c b/src/target/firmware/flash/cfi_flash.c
index 8ecd206..7d04906 100644
--- a/src/target/firmware/flash/cfi_flash.c
+++ b/src/target/firmware/flash/cfi_flash.c
@@ -73,6 +73,7 @@ struct cfi_query {
 enum cfi_manuf {
 	CFI_MANUF_ST    = 0x0020,
 	CFI_MANUF_INTEL = 0x0089,
+	CFI_MANUF_ITT	= 0x00EC,
 };
 
 /* algorithm ids */
@@ -533,7 +534,8 @@ int flash_init(flash_t * flash, void *base_addr)
 	if (res) {
 		return res;
 	}
-	if (m_id != CFI_MANUF_INTEL && m_id != CFI_MANUF_ST) {
+	if (m_id != CFI_MANUF_INTEL && m_id != CFI_MANUF_ST &&
+	    m_id != CFI_MANUF_ITT) {
 		return -ENOTSUP;
 	}
 
-- 
- Harald Welte <laforge at gnumonks.org>           http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
                                                  (ETSI EN 300 175-7 Ch. A6)




More information about the baseband-devel mailing list