Skip to contentSkip to conversation

Building u-boot error - Unknown FLASH

U-Boot-Users kabbin 2 participants 2 messages Aug 9, 2006

lore
Share & tools
lore

kabbin

author
#0 lore raw

Dear all
I try to build u-boot-1.1.4 which downloaded from
ftp://ftp.denx.de/pub/u-boot/u-boot-2006-06-30-2020.tar.bz2

I got the error message:

/common/env_flase.c:265: undefined reference to "flash_probe"

so I comment the line 265 and line 266:
/* if (flash_porbe() ==0 ) */
/* goto bad_flash */
and then build with on error message.

When I download the image to RAM, it shows:
-----------------------------------------------------------------------------
OMAP2420-GP revision 3
TI H4 SDP Base Board + Menelaus Daughter Board + mDDR
DRAM: 64 MB
## Unknown FLASH on Bank 0 - Size = 0x00000000 = 0 MB ## Unknown FLASH on Bank 1 - Size = 0x00000000 = 0 MB
Flash: 0 kB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial

OMAP242x H4 #
--------------------------------------------------------------------------

Any suggestion ? Thanks

Best regards.

___________________________________________________
??? Yahoo!?????? 7.0???????????
http://messenger.yahoo.com.tw/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20060809/22e5c599/attachment.htm

#1 lore raw
Quoted 3 lines · In message <[email protected]> you wrote:

I try to build u-boot-1.1.4 which downloaded from
ftp://ftp.denx.de/pub/u-boot/u-boot-2006-06-30-2020.tar.bz2

[It won't help you here, but anyway: you should use *current* code, i. e. top of tree in git repository.]

Quoted 3 lines

I got the error message:

/common/env_flase.c:265: undefined reference to "flash_probe"

Yes. This is a known problem. If you had searched the mailing list archive (or just read today's messages!) you should have known.

Quoted 4 lines

so I comment the line 265 and line 266:
/* if (flash_porbe() ==0 ) */
/* goto bad_flash */
and then build with on error message.

You misquote the code jhere.

Quoted 9 lines

When I download the image to RAM, it shows:
-----------------------------------------------------------------------------
OMAP2420-GP revision 3
TI H4 SDP Base Board + Menelaus Daughter Board + mDDR
DRAM: 64 MB
## Unknown FLASH on Bank 0 - Size = 0x00000000 = 0 MB ## Unknown FLASH on Bank 1 - Size = 0x00000000 = 0 MB
Flash: 0 kB
*** Warning - bad CRC, using default environment

Quoted 7 lines
In:    serial
Out:   serial
Err:   serial

OMAP242x H4 #
--------------------------------------------------------------------------

Any suggestion ? Thanks

You got what you asked for. You commented out some arbitray piece of code (obviously without understanding or even thinking what you might be doing), so please don't be surprised if it breaks.

"My car showed a 'no gas' message on the display. I ripped out the engine. Not that message is gone, but the car won't start. Any suggestions ?"

Best regards,

Wolfgang Denk

Signature · 6 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
All repairs tend to destroy the structure, to  increase  the  entropy
and  disorder  of the system. Less and less effort is spent on fixing
original design flaws; more and more is spent on fixing flaws  intro-
duced by earlier fixes.       - Fred Brooks, "The Mythical Man Month"