From: sticke_m (sticke_m@informatik.fh-hamburg.de)
Date: Fri Mar 01 2002 - 16:46:15 EST
Hi.
First of all, has anyone got his H3130 working, or has anyone
gotten any other mono-iPAQ working with bootldr and linux?
I had some problems with a H3130 that I had laying arround.
I have played a bit with it, because I have made a port for the WA3050
from Sagem and had the same problem with it. It has only one flash
chip (28F128) as boot-memory as the H3130.
In btflash.c is a function flash_write_cmd that sends a command to the
flash. In the 16bit mode we only have one flash chip on the bits 0..15.
In that way it makes sense only to do a word-write to the flash, but I
have found out that on the WA3050 I had to the following strange thing.
Nothing else worked, but with this:
case BT_FLASH_ORGANIZATION_1x16:
#if 0
putLabeledWord("fwc(1x16), Addr=0x",
(unsigned long)&((short*)flashword)[cmd_addr]);
#endif
#if defined(CONFIG_WA3050) || defined(CONFIG_H3130)
((unsigned char *)flashword)[cmd_addr<<1] = (unsigned
char)cmd;
#else
((short*)flashword)[cmd_addr] = cmd;
#endif
break;
After the query on my H3130 did not work I have added a flash_init
function to the bootldr.c that calls the flash_init function to see
what happens (output is disabled until bootpromt) and it worked with
the exception that I got a Data-Abort Exception that I also got when
I did:
boot> flash_type 28F128J3A_1x16
:-(
Michael
michael@cubic.org
This archive was generated by hypermail 2.1.5 : Fri Jan 17 2003 - 17:47:03 EST