[U-Boot-Users] env_init hangs!!!

VanBaren, Gerald (AGRE) Gerald.VanBaren at smiths-aerospace.com
Tue Nov 16 16:16:17 CET 2004


> -----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.
******************************************




More information about the U-Boot mailing list