public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] env_init hangs!!!
@ 2004-11-16 14:43 Rodel Miguel
  0 siblings, 0 replies; 2+ messages in thread
From: Rodel Miguel @ 2004-11-16 14:43 UTC (permalink / raw)
  To: u-boot

Hi All,

I've searched the archives for this, but I'm not successful.

I am porting u-boot_1.1.1 on an arm920t based board.  I used SMDK2410
as my template for porting.  I modified the flash, UART, and memsetup
that would suit my board, however there were no messages displayed on
the UART.  I tried to trace which point in the u-boot code does my
system hang.  The program counter stops in the crc32 call in the
env_init function ( ! CFG_ENV_ADDR_REDUND ).  What could be causing my
system to hang on the ff. line:

        if (crc32(0, env_ptr->data, ENV_SIZE) == env_ptr->crc) 

Thank you very much for your time.  

Best Regards,

Rodel

^ permalink raw reply	[flat|nested] 2+ messages in thread
* [U-Boot-Users] env_init hangs!!!
@ 2004-11-16 15:16 VanBaren, Gerald
  0 siblings, 0 replies; 2+ messages in thread
From: VanBaren, Gerald @ 2004-11-16 15:16 UTC (permalink / raw)
  To: u-boot

> -----Original Message-----
> From: u-boot-users-admin at lists.sourceforge.net
> [mailto:u-boot-users-admin at lists.sourceforge.net] On Behalf
> Of Rodel Miguel
> Sent: Tuesday, November 16, 2004 9:43 AM
> To: U-Boot-Users at lists.sourceforge.net
> Subject: [U-Boot-Users] env_init hangs!!!
>
> Hi All,
>
> I've searched the archives for this, but I'm not successful.
>
> I am porting u-boot_1.1.1 on an arm920t based board.  I used
> SMDK2410 as my template for porting.  I modified the flash,
> UART, and memsetup that would suit my board, however there
> were no messages displayed on the UART.  I tried to trace
> which point in the u-boot code does my system hang.  The
> program counter stops in the crc32 call in the env_init
> function ( ! CFG_ENV_ADDR_REDUND ).  What could be causing my
> system to hang on the ff. line:
>
>         if (crc32(0, env_ptr->data, ENV_SIZE) == env_ptr->crc)
>
> Thank you very much for your time. 
>
> Best Regards,
>
> Rodel

I know nothing about the arm and your hardware, but I would check what
memory address env_ptr is pointing to.  It sounds like it is pointing to
non-existing (or misconfigured) memory and causing bus errors.

gvb

******************************************
The following messages are brought to you by the Lawyers' League of
IdioSpeak:

******************************************
The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege.  If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager.  Please do not copy it for any purpose, or disclose its contents to any other person.  The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company.  The recipient should check this e-mail and any attachments for the presence of viruses.  The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email.
******************************************

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-16 15:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-16 14:43 [U-Boot-Users] env_init hangs!!! Rodel Miguel
  -- strict thread matches above, loose matches on Subject: below --
2004-11-16 15:16 VanBaren, Gerald

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox