<!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.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2>I work with a FADS823 board. I use u-boot as my
bootloader,I downloaded the ppc kernel from Montavista using rsync. I compiled
my kernel with minimal configurations .It boots and works well on board.
</FONT></DIV>
<DIV><FONT face=Arial size=2>Now that I am trying to add more features like
Ethernet support etc etc..</FONT></DIV>
<DIV><FONT face=Arial size=2>I understand that in our board (FADS823) the
Ethernet is on SCC2.When I configure my kernel for the same in CPM iOptions, it
gives me the following error,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>/*********************************************************************************************************************************************************/</FONT></DIV>
<DIV><FONT face=Arial size=2>make[2]: Entering directory
`/home/rupesh/PPC-Installs/RSYNC/Montavista/linux/arch/ppc/8xx_io'<BR>ppc-linux-gcc
-D__KERNEL__ -I/home/rupesh/PPC-Installs/RSYNC/Montavista/linux/include
-I/usr/lib/gcc-lib/ppc-linux/2.95.4/include/ -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
-I/home/rupesh/PPC-Installs/RSYNC/Montavista/linux/arch/ppc -fsigned-char
-msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring
-mcpu=860 -nostdinc -iwithprefix include
-DKBUILD_BASENAME=enet -c -o enet.o enet.c<BR>enet.c:699: #error Exactly
ONE pair of PA_ENET_[RT]XD, PB_ENET_[RT]XD must be defined<BR>enet.c:904: #error
Configuration Error: define exactly ONE of PB_ENET_TENA, PC_ENET_TENA<BR>enet.c:
In function `scc_enet_init':<BR>enet.c:713: `PC_ENET_CLSN' undeclared (first use
in this function)<BR>enet.c:713: (Each undeclared identifier is reported only
once<BR>enet.c:713: for each function it appears in.)<BR>enet.c:713:
`PC_ENET_RENA' undeclared (first use in this function)<BR>enet.c:719:
`PA_ENET_TCLK' undeclared (first use in this function)<BR>enet.c:719:
`PA_ENET_RCLK' undeclared (first use in this function)<BR>enet.c:725:
`SICR_ENET_MASK' undeclared (first use in this function)<BR>enet.c:726:
`SICR_ENET_CLKRT' undeclared (first use in this function)<BR>enet.c:929:
`PB_ENET_TENA' undeclared (first use in this function)<BR>make[2]: *** [enet.o]
Error 1<BR>make[2]: Leaving directory
`/home/rupesh/PPC-Installs/RSYNC/Montavista/linux/arch/ppc/8xx_io'<BR>make[1]:
*** [first_rule] Error 2<BR>make[1]: Leaving directory
`/home/rupesh/PPC-Installs/RSYNC/Montavista/linux/arch/ppc/8xx_io'<BR>make: ***
[_dir_arch/ppc/8xx_io] Error 2<BR>
<DIV><FONT face=Arial
size=2>/*********************************************************************************************************************************************************/</FONT></DIV></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>When I see the comproc.h file, these Macros arn't
defined for FADS Board..</FONT></DIV>
<DIV><FONT face=Arial size=2>Any clues ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT> </DIV>
<DIV>Note: The Ethernet hardware work very fine with u-boot, using which I do my
tftpboot .</DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>Rupesh</FONT></DIV></DIV></FONT></DIV></BODY></HTML>