Re: [E3-hacking] Trying to Flashing the backup of the Original Firmware Again

2019-04-18 Thread Ralph Corderoy
Hi Nick,

> looks like it has bad blocks too and they and made the files bigger in
> size than the partition..???

No, I don't think so.

> Image 3784704 bytes, NAND page 512 bytes, OOB area 512 bytes, device size 
> 3670016 bytes
...
> Image 270336 bytes, NAND page 512 bytes, OOB area 512 bytes, device size 
> 262144 bytes
...
> Image 270336 bytes, NAND page 512 bytes, OOB area 512 bytes, device size 
> 262144 bytes
...
> Image 29196288 bytes, NAND page 512 bytes, OOB area 512 bytes, device size 
> 28311552 bytes

3784704 - 3670016 = 114,688
114,688 / 1024 = 112
3670016 / 1024 / 32 = 112
3784704 / 3670016 = 1.03125

270336 - 262144 = 8,192
8,192 / 1024 = 8
262144 / 1024 / 32 = 8
270336 / 262144 = 1.03125

29196288 - 28311552 = 884,736
884,736 / 1024 = 864
28311552 / 1024 / 32 = 864
29196288 / 28311552 = 1.03125

1 / (1.03125 - 1) = 32

The image is always the same factor bigger than the device size, 1/32th,
suggesting a consistent overhead in the data format.

-- 
Cheers, Ralph.

___
e3-hacking mailing list
e3-hacking@earth.li
https://www.earth.li/mailman/listinfo/e3-hacking


Re: [E3-hacking] Trying to Flashing the backup of the Original Firmware Again

2019-04-17 Thread Nick Griffin
Try to find out the block size for the mtd partitions for ​

#flash_erase /dev/mtd0 0 16 - don’t know what number 16 should be for each mtdx 
partition..?

Can someone help me please..??

Is the size where it says ending at 0x0038 so what would the number be for 
it to erase the right amount of memory from the mtd partition..?

mtd0
Block Size 16384,Page Size 512, 00B Size 16
Dumping data starting at 0x and ending at 0x0038...*
mtd1
Block Size 16384,Page Size 512, 00B Size 16
Dumping data starting at 0x and ending at 0x0004...*
mtd2
Block Size 16384,Page Size 512, 00B Size 16
Dumping data starting at 0x and ending at 0x0004...
mtd3
Block Size 16384,Page Size 512, 00B Size 16
Dumping data starting at 0x and ending at 0x0004...*
mtd4
Block Size 16384,Page Size 512, 00B Size 16
Dumping data starting at 0x and ending at 0x01b0...*
mtd5
Block Size 16384,Page Size 512, 00B Size 16
Dumping data starting at 0x and ending at 0x000c...

Spanner..

From: Jonathan McDowell
Sent: ‎Wednesday‎, ‎17‎ ‎April‎ ‎2019 ‎09‎:‎26
To: Discussion of the Amstrad E3 emailer 
hardware/software

On Wed, Apr 17, 2019 at 12:28:03AM +, SJS Doherty wrote:
> If possible, could you remove me from the E3 mailing lists. My mother
> is ill at the moment and I’m watching the email on my phone for
> updates, so I’m trying to exclude non-essential emails.

I've dealt with this, but in general if people want to modify their list
settings they can + should do so themselves at:

 
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.earth.li%2Fmailman%2Foptions%2Fe3-hackingdata=02%7C01%7C%7Ca709034a55814af2ee7c08d6c30e6b66%7C84df9e7fe9f640afb435%7C1%7C0%7C636910864024417436sdata=i0ROcQQVG%2FdHIAvX0syEjbXktACPpnX7lULyawgTQOM%3Dreserved=0

J.

--
I'm from the tax office. I'm here to take all your money.

___
e3-hacking mailing list
e3-hacking@earth.li
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.earth.li%2Fmailman%2Flistinfo%2Fe3-hackingdata=02%7C01%7C%7Ca709034a55814af2ee7c08d6c30e6b66%7C84df9e7fe9f640afb435%7C1%7C0%7C636910864024427453sdata=6S0W%2F%2F2kr3%2FqzUWU%2BgBPpSw%2F6v822nBJ2YwxgWgG1mw%3Dreserved=0
___
e3-hacking mailing list
e3-hacking@earth.li
https://www.earth.li/mailman/listinfo/e3-hacking


Re: [E3-hacking] Trying to Flashing the backup of the Original Firmware Again

2019-04-17 Thread Jonathan McDowell
On Wed, Apr 17, 2019 at 12:28:03AM +, SJS Doherty wrote:
> If possible, could you remove me from the E3 mailing lists. My mother
> is ill at the moment and I’m watching the email on my phone for
> updates, so I’m trying to exclude non-essential emails.

I've dealt with this, but in general if people want to modify their list
settings they can + should do so themselves at:

 https://www.earth.li/mailman/options/e3-hacking

J.

-- 
I'm from the tax office. I'm here to take all your money.

___
e3-hacking mailing list
e3-hacking@earth.li
https://www.earth.li/mailman/listinfo/e3-hacking


Re: [E3-hacking] Trying to Flashing the backup of the Original Firmware Again

2019-04-15 Thread Nick Griffin
It looks like when it backs up the NAND its copies the blocks that are bad too 
making the image bigger,  so if you try and restore the E3 back to the way it 
was, you can’t because the bad Blocks stop it from installing,  if you want to 
use Linux on the E3 use it from the Ramdisk in Release V2 
here,Just don’t run 
ams-delta-install then you will not lose the Amstrad E3 Original Firmware. Like 
I did and I am gutted. I have to now buy another one and its going to cost me 
£30 because they are not cheap because they are retro, well…How can it be 
retro when the service only was close 8 years ago. A Commodore 64 or ZX 
Spectrum is retro..

Spanner..

From: Nick Griffin
Sent: ‎Monday‎, ‎15‎ ‎April‎ ‎2019 ‎17‎:‎11
To: Discussion of the Amstrad E3 emailer 
hardware/software

Well it didn’t flash, and I think it didn’t erase too so my code is wrong I 
think… looks like it has bad blocks too and they and made the files bigger in 
size than the partition..???

This process will completely restore your E3's NAND.
This will try and restore The Amstrad firmware on the device. Are you
sure you wish to continue? [y/N]: y

Starting restore.. This might take a while...
Found e3-nand-backup.0
  Erasing /dev/mtd0
Erase Total 0 Units
 done
  Writing e3-nand-backup.0 to /dev/mtd0
Image 3784704 bytes, NAND page 512 bytes, OOB area 512 bytes, device size 
3670016 bytes
Input file does not fit into device: Success
Data did not fit into device, due to bad blocks
: Success
Found e3-nand-backup.1
  Erasing /dev/mtd1
Erase Total 0 Units
 done
  Writing e3-nand-backup.1 to /dev/mtd1
Image 270336 bytes, NAND page 512 bytes, OOB area 512 bytes, device size 262144 
bytes
Input file does not fit into device: Success
Data did not fit into device, due to bad blocks
: Success
Found e3-nand-backup.3
  Erasing /dev/mtd3
Erase Total 0 Units
 done
  Writing e3-nand-backup.3 to /dev/mtd3
Image 270336 bytes, NAND page 512 bytes, OOB area 512 bytes, device size 262144 
bytes
Input file does not fit into device: Success
Data did not fit into device, due to bad blocks
: Success
Found e3-nand-backup.4
  Erasing /dev/mtd4
Erase Total 0 Units
 done
  Writing e3-nand-backup.4 to /dev/mtd4
Image 29196288 bytes, NAND page 512 bytes, OOB area 512 bytes, device size 
28311552 bytes
Input file does not fit into device: Success
Data did not fit into device, due to bad blocks
: Success
Finished restoring the Amstrad E3 Firmware,
Type Reboot to see if the Amstrad E3 splashcreen comes up

Spanner..

___
e3-hacking mailing list
e3-hacking@earth.li
https://www.earth.li/mailman/listinfo/e3-hacking