From: "J. Snell" paradoxheart@gmail.com Date: 2006/02/19 Sun PM 01:57:43 GMT To: "Discussion of the Amstrad E3 emailer hardware/software" e3-hacking@earth.li Subject: Re: [E3-hacking] e3 won't boot
eraseflash erases 16K pages, so it looks like you've erased more than you read.
I guess it must be something like that. I'm just not sure what. There's a typo in my earlier post I did read 16k before I erased the block:
./pbltool readflash 0x4000 0x4000 block2
I've started reading more of the flash using pbltool and I have found so far:
0x00400000 - empty 0x00404000 - contains MEM, PARAMS, LDR 0x00408000 - empty 0x0040C000 - empty 0x00410000 - empty 0x00414000 - empty 0x00418000 - empty 0x0041C000 - empty 0x00420000 - empty 0x00424000 - start of linux
this matches with the original boot message I save (before I broke it)
PBL 32MB NAND 0MB.-->MEMv01.00.002,CopyLim=00220000h,CodeEnd=01400000h-->PBL......1MB.......2MB*
System module loader - LDR V1.5 Build:0008 Assert Mod scan 10010100 to 10230100 MEM - 10024000 (flash 00404000) PARMS - 10024400 (flash 00404400) LDR - 10024800 (flash 00404800) LINUX - 10044000 (flash 00424000) num modules: 4 ...
So, the only thing I can think of is either I've erased 0x00408000 to 0x0042FFFF or I need to tag the page 0x00408000 in some way. Can anyone confirm the contents of 0x00408000 to 0x0042FFFF on a working e3?
On 2/19/06, Matt Callow mc-spam@tesco.net wrote:
Hi all,
I've been reading this list with interest for few months. Finally decided to buy an e3 this week, and I've broken it already! I've got it hooked up to my PC serial port and got pbltool working. Then i tried to get a shell prompt by modifying the init params in the 2nd block of the flash as follows:
./pbltool readflash 0x4000 0x400 block2 cp block2 block2.mod
<modify params in block2.mod> ./pbltool eraseflash 0x4000 1 ./pbltool writeflash 0x4000 block2.mod
The e3 now fails to boot, so I tried copying back the original block2: ./pbltool eraseflash 0x4000 1 ./pbltool writeflash 0x4000 block2
The e3 still does not boot! When I hook up a terminal to see the boot messages I get:
Amstrad Delta - PBL V4.9 Build:1311 Assert Debug ICE PBL 32MB NAND 0MB.-->MEMv01.00.002,CopyLim=00220000h,CodeEnd=01400000h-->PBL......1MB.......2MB*
and then it hangs.
Any idea what I've done wrong?
Matt
e3-hacking mailing list e3-hacking@earth.li http://www.earth.li/cgi-bin/mailman/listinfo/e3-hacking
e3-hacking mailing list e3-hacking@earth.li http://www.earth.li/cgi-bin/mailman/listinfo/e3-hacking