Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: Xtrend Support Forum - www.xtrend-home.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

Donnerstag, 23. November 2017, 16:30

Out of memory during flash

Hello,
I have an Etrend ET9000 which ran fine until yesterday with an older version of OpenPli. I tried to upgrade, but it failed. The diagnostics on the serial port indicates "Out Of Memory". (the Flash is 4Mb, the image appeared to be slightly larger)
But when I tried to reinstall the the older version I got the same message.

Is my flash fried since the flash process? Any suggestions will be much appreciated!

Below the two flash runs.

-------------------------------------

BCM97413B1 CFE v2.26, CFE core v2.12, Endian Mode: Little
Build Date: Thu Sep 29 21:49:43 WEDT 2011 (Administrator@buildserver)
Copyright © Broadcom Corporation.

start cfe init device
sec-0 nblks=8 blksiz=8192
sec-1 nblks=63 blksiz=65536
Enabling NAND flash at CS1, NOR flash at CS0
NAND Flash size = 128MB
CPU speed: 405MHz
Memory Config: 64-bit UMA
Device Tech: 1Gb
Total memory: 512MB
Boot Device: NOR
Total flash: 4MB

Initializing USB.
USB: Locating Class 09 Vendor 0000 Product 0000: USB Hub
USB: Locating Class 09 Vendor 0000 Product 0000: USB Hub

CFE initialized.
Set default GPIO...
USB: New device connected to bus 1 hub 1 port 1
USB: Resetting device on bus 1 port 1
USB: Locating Class 09 Vendor 1A40 Product 0101: USB Hub
USB: New device connected to bus 1 hub 2 port 1
USB: Resetting device on bus 1 port 1
USB: Locating Class 08 Vendor 13FE Product 4100: Mass-Storage Device
USBMASS: Unit 0 connected
USB: New device connected to bus 1 hub 2 port 2
USB: Resetting device on bus 1 port 2
USB: Locating Class 02 Vendor DEAD Product BEEF: Ethernet Device
USB: [Transfer error: 4]
USB CDC Device (00:00:00:00:00:00)
found image:
openpli-4-release-20171119

flash image? (OK/CANCEL)
found image:
openpli-4-release-20171119

flashing...
Reading usbdisk0:et9x00/kernel.bin: Done. 4365644 bytes read
Programming...
offset=0 copysize=4365644
done. 4365644 bytes written
PANIC: out of memory!
flashing...
Reading usbdisk0:et9x00/rootfs.bin: PANIC: out of memory!
ran off end of fat chain!
fat entries should be >= 2
ran off end of fat chain!
fat entries should be >= 2
ran off end of fat chain!
.....

Last part of flash with smaller image:

found image:
openpli-2.1-20120112

flash image? (OK/CANCEL)
flashing...
Reading usbdisk0:et9x00/kernel.bin: Done. 3849543 bytes read
Programming...
offset=0 copysize=3849543
done. 3849543 bytes written
PANIC: out of memory!
flashing...
Reading usbdisk0:et9x00/rootfs.bin: PANIC: out of memory!

2

Freitag, 24. November 2017, 09:53

The flash you mentioned with 4MByte is the NOR flash, which only contains the booter. The program flash for you image is the NAND flash, which is 128MBytes.
In case you reprogram the boot flash, be aware, that a single problem during that process will kill you whole box.

brgds

Murphy-09 ;)

3

Freitag, 24. November 2017, 10:47

Thanks, Murphy,
I did not realise this. So - if I understand correctly - the 4Mbyte flash contains the bootloader. So the 128 should be more than enough to hold the image file. Any idea where the out-of-memory problem comes from?

Ben

4

Freitag, 24. November 2017, 13:36

There might be a problem with too many bad blocks within the NAND flash.
This happens during time and is up to a certain amount of bad blocks no problem.
If the bad block count is that large, that no image will fit, than its time to exchange the NAND flash.
Beside this, please verify, that you have the correct bootloader.
In case you decide to date up the bootloader, make sure there is no power interrupt from the mains.
The update sequence of the bootloader is the most critical procedure for the box.

brgds

Murphy-09 ;)

5

Freitag, 24. November 2017, 14:02

Thanks again,
You know if the NAND flash is user-updatable? Or is it a surface mount chip?

Also, I tried a number of bootloaders. Do you knwo which one is the most suited for the ET9000?

Ben

6

Freitag, 24. November 2017, 16:34

The NAND is a smd TSOP device and must be exchanged to exact the same type.
It is located on the backside of the pcb directly underneath the NOR flash on the top side.
Usually the ET9200 has a 256MByte type, however the ET9100 had a 128MByte.
I've attached a picture of the ET9200 backside NAND flash.
The actual bootloader can be found on the forum at downloads.....

Murphy-09 ;)
»Murphy-09« hat folgende Datei angehängt:
  • NAND-256MB.jpg (64,36 kB - 12 mal heruntergeladen - zuletzt: 16. Juni 2018, 08:41)

7

Freitag, 24. November 2017, 16:57

Thanks. That is way beyond my soldering skills...

Ähnliche Themen