Forum: Mikrocontroller und Digitale Elektronik Probleme mit numonyx P30 512 Mbit & u-boot


von BorisM (Gast)


Lesenswert?

Hallo zusammen,
wir haben ein kleines Problem mit einem NOR-Flash von micron / numonyx.
Es handelt sich um folgenden JS28F512P30EF (das ist ein parallel NOR 
Flash, 512 Mbit aus der Familie P30). Und zwar erkennt der First Stage 
Bootloader dieses nicht, trotz CFI!

=================================================
FS-BOOT: System initialisation completed.
FS-BOOT: No existing image in FLASH.  Starting image download.
FS-BOOT: Waiting for SREC image....
FS-BOOT: Image download successful.
FS-BOOT: Warning image location differ from default boot location. Image 
will n.
FS-BOOT: Press 'n' to boot old image.
FS-BOOT: Use new image.
FS-BOOT: Booting image...
SDRAM :
                Icache:ON
                Dcache:OFF
        U-Boot Start:0xa1000000
FLASH: ## Unknown FLASH on Bank 1 - Size = 0x00000000 = 0 MB, ID = 
0x0000ffff
Flash init FAILED*** Warning - bad CRC, using default environment

Net:   Xilinx_LL_TEMAC
MAC:   00:0a:35:a6:95:00
U-BOOT for $(hostname)

Hit any key to stop autoboot:  0
U-Boot> /

Jetzt habe ich gelesen, dass es bei der M29 Familie von numonyx einen 
ähnlichen Bug gibt:

"0xFF Command Intolerance for M29W128G
M29W128G devices do not recognize the 0xFF command (software reset 
command for 0001 command-set-compliant Flash) as a valid command. In 
some systems, when 0xFF is issued to the device, the M29W128G memory 
device will enter an unexpected state. As a result, it is necessary to 
add a 0xF0 command systematically after a 0xFF command. To support this 
device, a software modification at the MTD level is required. In the
Cfi_util.c file, the function cfi_qry_mode_off(), which resets the 
device after the autoselect mode, must have a 0xF0 command after the 
0xFF command.
Note: This fix makes the fixup_M29W128G_write_buffer() no longer 
necessary (it has been included in the kernel release since version 
2.6.30). Thus, it can be commented out. The following code provides a 
patch for the 2.6.30 kernel. Similar modifications can be done to 
backport the modifications to earlier kernels."

Kann mir jemand bestätigen, dass dies beim P30 auch der Fall ist? Hat 
hier schon jemand erfolgreich mit diesen NOR Flash gebootet?

Ich freue mich über alle Antworten / Anregungen die mir mit unserem 
Problem weiterhelfen...

Viele Grüße Boris

von BorisM (Gast)


Lesenswert?

Hallo noch einmal,
ich habe jetzt u-boot von Version 2010.12-rc1 auf die aktuelle Version 
2011.03 gehoben.

U-Boot> version

U-Boot 2011.03-00006-g74dacc9-dirty (Jun 17 2011 - 10:53:11)
mb-linux-gcc (GCC) 4.1.2
GNU ld version 2.16
U-Boot>

Ich bekomme dieses aber immer noch nicht zum laufen...

=================================================
FS-BOOT First Stage Bootloader (c) 2006 PetaLogix
Project name: SP605 LL_TEMAC
Build date: Mar  1 2011 17:52:22  FS
Serial console: Uartlite
=================================================
FS-BOOT: System initialisation completed.
FS-BOOT: No existing image in FLASH.  Starting image download.
FS-BOOT: Waiting for SREC image....
FS-BOOT: Image download successful.
FS-BOOT: Warning image location differ from default boot location. Image 
will n.
FS-BOOT: Press 'n' to boot old image.
FS-BOOT: Use new image.
FS-BOOT: Booting image...
SDRAM :
                Icache:ON
                Dcache:OFF
        U-Boot Start:0xa1000000
Flash: ## Unknown flash on Bank 1 - Size = 0x00000000 = 0 MB
Flash init FAILED*** Warning - bad CRC, using default environment

Net:   Xilinx_LL_TEMAC
MAC:   00:0a:35:a6:95:00
U-BOOT for $(hostname)

Hit any key to stop autoboot:  0
Wrong Image Format for bootm command
ERROR: can't get kernel image!
U-Boot> flinfo

Bank # 1: missing or unknown FLASH type
U-Boot> <INTERRUPT>
U-Boot>

Vielleicht ist ja doch jemand hier im Forum der mir mit meinem Problem 
weiter helfen kann. Das NOR-Flash ist ja doch weit verbreitet.

Viele Grüße Boris

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.