<DIV>
<DIV>
<DIV>Hi,you all,</DIV>
<DIV> </DIV>
<DIV>When porting on my custom board,u-boot hanged at crc32.c:165 as following:</DIV>
<DIV> </DIV>
<DIV>(gdb) s<BR>crc32 (crc=0, buf=0xfff80004 '' <repeats 200 times>..., len=524284) at crc32.c:162<BR>/ppcboot/u-boot-1.0.0-scc3/lib_generic/crc32.c:162:7122:beg:0xfff0440c<BR>(gdb) s</DIV>
<DIV>^c</DIV>
<DIV> </DIV>
<DIV>Program received signal SIGSTOP, Stopped (signal).<BR>0x00001000 in ?? ()<BR>(gdb)</DIV>
<DIV> </DIV>
<DIV>For the sake of my special FLASH and board configuration(Hard reset interrupt prefix:0xfff and 4xE28F128J3A--4x8 bit mode),I let CFG_FLASH_BASE=0xFC000000</DIV>
<DIV>CFG_ENV_OFFSET=0x3F80000</DIV>
<DIV>CFG_ENV_SECT_SIZE=0x80000.</DIV>
<DIV> </DIV>
<DIV>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.</DIV>
<DIV> </DIV>
<DIV>153 uLong ZEXPORT crc32(crc, buf, len)<BR>154 uLong crc;<BR>155 const Bytef *buf;<BR>156 uLong len;<BR>157 {<BR>158 #ifdef DYNAMIC_CRC_TABLE<BR>159 if (crc_table_empty)<BR>160 make_crc_table();<BR>161 #endif<BR>162 crc = crc ^ 0xffffffffL;<BR>163 while (len >= 8)<BR>164 {<BR>165 DO8(buf);<BR>166 len -= 8;<BR>167 }<BR>168 if (len) do {<BR>169 DO1(buf);<BR>170 } while (--len);<BR>171 return crc ^ 0xffffffffL;<BR>172 }</DIV>
<DIV> </DIV>
<DIV>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!</DIV>
<DIV> </DIV>
<DIV>Best regards,</DIV>
<DIV> </DIV>
<DIV>SAM</DIV>
<DIV> </DIV></DIV></DIV><p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com