[U-Boot-Users] Porting problem on crc32.c

Wolfgang Denk wd at denx.de
Sun Dec 21 23:25:30 CET 2003


In message <20031221190539.14564.qmail at web15007.mail.bjs.yahoo.com> you wrote:
> 
> When porting on my custom board,u-boot hanged at crc32.c:165 as following:

You can be pretty sure that there is no problem with crc32.

> Meanwhile,I changed uInt len to uLong len for my big ENV sector in lib_generic/crc32.c code accordingly.But still hanged forever.Not to mention serial output.

Don't do that. Such a change is not necessary (and it does not change
anything as both int and long are 32 bit).

> What's wrong with that?By the way,is there anything special for having u-boot code at 0xFFF00000?Any help would be appreciated.I have trapped in porting my board nearly one month!

U-Boot at 0xfff00000 is perfectly fine if the rest of your memory map
matches such a layout.

I can only speculate: most probably your SDRAM initialization is not correct.

> Content-Type: text/html; charset=gb2312
> Content-Transfer-Encoding: 8bit
> 
> <DIV>
> <DIV>

And PLEASE stop posting HTML!!!

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
You see things; and you say ``Why?'' But I dream  things  that  never
were; and I say ``Why not?''
       - George Bernard Shaw _Back to Methuselah_ (1921) pt. 1, act 1




More information about the U-Boot mailing list