<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>HI all, </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I got the U-boot code and I am trying to compile it
for my SOC. </FONT></DIV>
<DIV><FONT face=Arial size=2>I am using ARM926EJS core. </FONT></DIV>
<DIV><FONT face=Arial size=2>I have done follwing steps</FONT></DIV>
<DIV><FONT face=Arial size=2>1. In makefile I have added below lines
</FONT></DIV>
<DIV><FONT face=Arial size=2>
moschip_config :
unconfig<BR>
@./mkconfig $(@:_config=) arm arm926ejs
moschip</FONT></DIV>
<DIV><FONT face=Arial size=2>2. I have copied header file in include
dir</FONT></DIV>
<DIV><FONT face=Arial size=2> $ cp include/configs/armadillo.h
include/configs/moschip.h</FONT></DIV><FONT face=Arial size=2>
<DIV><BR>3. Then I have copied dir</DIV>
<DIV></FONT><FONT face=Arial size=2> $cp board/armadillo/
board/moschip/<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>after doing </FONT></DIV>
<DIV><FONT face=Arial size=2>$make moschip_config</FONT></DIV>
<DIV><FONT face=Arial size=2>$make </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am getting follwoing errs.. </FONT></DIV>
<DIV><FONT face=Arial size=2>armadillo.c: In function
`dram_init':<BR>armadillo.c:58: error: `PHYS_SDRAM_1' undeclared (first use in
this function)<BR>armadillo.c:58: error: (Each undeclared identifier is reported
only once<BR>armadillo.c:58: error: for each function it appears
in.)<BR>armadillo.c:59: error: `PHYS_SDRAM_1_SIZE' undeclared (first use in this
function)<BR>make[1]: *** [armadillo.o] Error 1<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Can anyone tell me, If i am missing any steps for
compilation. </FONT></DIV>
<DIV><FONT face=Arial size=2> </DIV></FONT>
<DIV><FONT face=Arial size=2><BR>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>__Bhagwat </FONT></DIV>
<DIV><FONT face=Arial size=2> </DIV></FONT></BODY></HTML>