Skip to contentSkip to conversation

Problem booting MontaVista 3.0 Linux on IBM

U-Boot-Users Sam Song 2 participants 4 messages Mar 10, 2004

lore
Share & tools
lore

Sam Song

author
#0 lore raw
Quoted 3 lines · Andy Vo

I am using U-boot with Linux version 2.4.18 but
booting hung at "Uncompressing Kernel
image...OK".

Could you mask the following code in YOUR_BOARD.h?

/* #define CONFIG_CLOCKS_IN_MHZ 1 ** clocks passsed
to Linux in MHz */

For 2.4.x kernel,LINUX use Hz as the system frequency unit instead of MHz.

Hope this help.

Sam

_________________________________________________________
Do You Yahoo!?
??????????????????60???????
http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.mail.yahoo.com

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

Could you mask the following code in YOUR_BOARD.h?

/* #define CONFIG_CLOCKS_IN_MHZ 1 ** clocks passsed
to Linux in MHz */

No need to change any code. Just setiing / deleting the environment variable "clocks_in_mhz" is enough (as documented in the manual).

Quoted 2 lines

For 2.4.x kernel,LINUX use Hz as the system frequency unit instead of MHz.

This is only correct for x > 5 or so.

Best regards,

Wolfgang Denk

Signature · 5 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
All these theories, diverse as they are, have two things  in  common:
they explain the observed facts, and they are completeley and utterly
wrong.                       - Terry Pratchett, _The Light Fantastic_
author
#2 lore raw

Dear Mr. Wolfgang,

Quoted 3 lines · You

No need to change any code. Just setiing / deleting the environment variable "clocks_in_mhz" is enough (as documented in the manual).

Thanks for the correction.You mean manual as DLUG? BTW,I found a typo around the FAQ in this manual.It says:

Starting with version 1.0.5, U-Boot passes the clock information in Hz by default.

Up to now,U-Boot offical version is 1.0.2.Pls check it.

Quoted 4 lines
Quoted 2 lines

For 2.4.x kernel,LINUX use Hz as the system
frequency unit instead of MHz.

This is only correct for x > 5 or so.

Thanks for this correction.

Best regards,

Sam

_________________________________________________________
Do You Yahoo!?
??????????????????60???????
http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.mail.yahoo.com

#3 lore raw

Dear Sam,

Quoted 2 lines · in message <[email protected]> you wrote:

Thanks for the correction.You mean manual as DLUG?

Yes.

Quoted 8 lines

BTW,I found a typo around the FAQ in this manual.It says:

Starting with version 1.0.5, U-Boot passes the clock information in Hz by default.

Up to now,U-Boot offical version is 1.0.2.Pls check it.

Indeed. That was PPCBoot Version 1.0.5, which predates all U-Boot versions. I changed it.

Thanks for pointing out.

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
"In matrimony, to hesitate is sometimes to be saved."        - Butler