* [U-Boot-Users] Ethernet support for FADS823 board..
@ 2003-06-04 20:33 Rupesh S
2003-06-04 8:48 ` Udi Finkelstein
2003-06-04 9:58 ` Wolfgang Denk
0 siblings, 2 replies; 4+ messages in thread
From: Rupesh S @ 2003-06-04 20:33 UTC (permalink / raw)
To: u-boot
Hi,
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.
Now that I am trying to add more features like Ethernet support etc etc..
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,
/*********************************************************************************************************************************************************/
make[2]: Entering directory `/home/rupesh/PPC-Installs/RSYNC/Montavista/linux/arch/ppc/8xx_io'
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
enet.c:699: #error Exactly ONE pair of PA_ENET_[RT]XD, PB_ENET_[RT]XD must be defined
enet.c:904: #error Configuration Error: define exactly ONE of PB_ENET_TENA, PC_ENET_TENA
enet.c: In function `scc_enet_init':
enet.c:713: `PC_ENET_CLSN' undeclared (first use in this function)
enet.c:713: (Each undeclared identifier is reported only once
enet.c:713: for each function it appears in.)
enet.c:713: `PC_ENET_RENA' undeclared (first use in this function)
enet.c:719: `PA_ENET_TCLK' undeclared (first use in this function)
enet.c:719: `PA_ENET_RCLK' undeclared (first use in this function)
enet.c:725: `SICR_ENET_MASK' undeclared (first use in this function)
enet.c:726: `SICR_ENET_CLKRT' undeclared (first use in this function)
enet.c:929: `PB_ENET_TENA' undeclared (first use in this function)
make[2]: *** [enet.o] Error 1
make[2]: Leaving directory `/home/rupesh/PPC-Installs/RSYNC/Montavista/linux/arch/ppc/8xx_io'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/home/rupesh/PPC-Installs/RSYNC/Montavista/linux/arch/ppc/8xx_io'
make: *** [_dir_arch/ppc/8xx_io] Error 2
/*********************************************************************************************************************************************************/
When I see the comproc.h file, these Macros arn't defined for FADS Board..
Any clues ?
Note: The Ethernet hardware work very fine with u-boot, using which I do my tftpboot .
Rupesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20030604/6c392ff9/attachment.htm
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot-Users] Ethernet support for FADS823 board..
2003-06-04 20:33 [U-Boot-Users] Ethernet support for FADS823 board Rupesh S
@ 2003-06-04 8:48 ` Udi Finkelstein
2003-06-04 23:03 ` Rupesh S
2003-06-04 9:58 ` Wolfgang Denk
1 sibling, 1 reply; 4+ messages in thread
From: Udi Finkelstein @ 2003-06-04 8:48 UTC (permalink / raw)
To: u-boot
I suppose your kernel doesn't include these definitions.
The Linux kernel has a commproc.h file very similar to the one in
u-boot. You will have to add the definitions you find for your board in
the u-boot file, into the linux version of the same file.
Udi
Rupesh S wrote:
> Hi,
> 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.
> Now that I am trying to add more features like Ethernet support etc etc..
> 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,
>
> /*********************************************************************************************************************************************************/
> make[2]: Entering directory
> `/home/rupesh/PPC-Installs/RSYNC/Montavista/linux/arch/ppc/8xx_io'
> 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
> enet.c:699: #error Exactly ONE pair of PA_ENET_[RT]XD, PB_ENET_[RT]XD
> must be defined
> enet.c:904: #error Configuration Error: define exactly ONE of
> PB_ENET_TENA, PC_ENET_TENA
> enet.c: In function `scc_enet_init':
> enet.c:713: `PC_ENET_CLSN' undeclared (first use in this function)
> enet.c:713: (Each undeclared identifier is reported only once
> enet.c:713: for each function it appears in.)
> enet.c:713: `PC_ENET_RENA' undeclared (first use in this function)
> enet.c:719: `PA_ENET_TCLK' undeclared (first use in this function)
> enet.c:719: `PA_ENET_RCLK' undeclared (first use in this function)
> enet.c:725: `SICR_ENET_MASK' undeclared (first use in this function)
> enet.c:726: `SICR_ENET_CLKRT' undeclared (first use in this function)
> enet.c:929: `PB_ENET_TENA' undeclared (first use in this function)
> make[2]: *** [enet.o] Error 1
> make[2]: Leaving directory
> `/home/rupesh/PPC-Installs/RSYNC/Montavista/linux/arch/ppc/8xx_io'
> make[1]: *** [first_rule] Error 2
> make[1]: Leaving directory
> `/home/rupesh/PPC-Installs/RSYNC/Montavista/linux/arch/ppc/8xx_io'
> make: *** [_dir_arch/ppc/8xx_io] Error 2
> /*********************************************************************************************************************************************************/
>
> When I see the comproc.h file, these Macros arn't defined for FADS Board..
> Any clues ?
>
> Note: The Ethernet hardware work very fine with u-boot, using which I do
> my tftpboot .
>
> Rupesh
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot-Users] Ethernet support for FADS823 board..
2003-06-04 8:48 ` Udi Finkelstein
@ 2003-06-04 23:03 ` Rupesh S
0 siblings, 0 replies; 4+ messages in thread
From: Rupesh S @ 2003-06-04 23:03 UTC (permalink / raw)
To: u-boot
Thanks very much for the clue.. I could sort it out by defining Ethernet
related macros properly.
Rupesh
----- Original Message -----
From: "Udi Finkelstein" <u-boot-users@udif.com>
To: "Rupesh S" <rupeshs@myw.ltindia.com>
Cc: <u-boot-users@lists.sourceforge.net>
Sent: Wednesday, June 04, 2003 1:48 AM
Subject: Re: [U-Boot-Users] Ethernet support for FADS823 board..
> I suppose your kernel doesn't include these definitions.
>
> The Linux kernel has a commproc.h file very similar to the one in
> u-boot. You will have to add the definitions you find for your board in
> the u-boot file, into the linux version of the same file.
>
> Udi
>
> Rupesh S wrote:
> > Hi,
> > 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.
> > Now that I am trying to add more features like Ethernet support etc
etc..
> > 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,
> >
> >
/***************************************************************************
****************************************************************************
**/
> > make[2]: Entering directory
> > `/home/rupesh/PPC-Installs/RSYNC/Montavista/linux/arch/ppc/8xx_io'
> > 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
> > enet.c:699: #error Exactly ONE pair of PA_ENET_[RT]XD, PB_ENET_[RT]XD
> > must be defined
> > enet.c:904: #error Configuration Error: define exactly ONE of
> > PB_ENET_TENA, PC_ENET_TENA
> > enet.c: In function `scc_enet_init':
> > enet.c:713: `PC_ENET_CLSN' undeclared (first use in this function)
> > enet.c:713: (Each undeclared identifier is reported only once
> > enet.c:713: for each function it appears in.)
> > enet.c:713: `PC_ENET_RENA' undeclared (first use in this function)
> > enet.c:719: `PA_ENET_TCLK' undeclared (first use in this function)
> > enet.c:719: `PA_ENET_RCLK' undeclared (first use in this function)
> > enet.c:725: `SICR_ENET_MASK' undeclared (first use in this function)
> > enet.c:726: `SICR_ENET_CLKRT' undeclared (first use in this function)
> > enet.c:929: `PB_ENET_TENA' undeclared (first use in this function)
> > make[2]: *** [enet.o] Error 1
> > make[2]: Leaving directory
> > `/home/rupesh/PPC-Installs/RSYNC/Montavista/linux/arch/ppc/8xx_io'
> > make[1]: *** [first_rule] Error 2
> > make[1]: Leaving directory
> > `/home/rupesh/PPC-Installs/RSYNC/Montavista/linux/arch/ppc/8xx_io'
> > make: *** [_dir_arch/ppc/8xx_io] Error 2
> >
/***************************************************************************
****************************************************************************
**/
> >
> > When I see the comproc.h file, these Macros arn't defined for FADS
Board..
> > Any clues ?
> >
> > Note: The Ethernet hardware work very fine with u-boot, using which I do
> > my tftpboot .
> >
> > Rupesh
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot-Users] Ethernet support for FADS823 board..
2003-06-04 20:33 [U-Boot-Users] Ethernet support for FADS823 board Rupesh S
2003-06-04 8:48 ` Udi Finkelstein
@ 2003-06-04 9:58 ` Wolfgang Denk
1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2003-06-04 9:58 UTC (permalink / raw)
To: u-boot
In message <001801c32ad8$885f5f00$6706a8c0@SPLENDOR> you wrote:
>
> 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.
> Now that I am trying to add more features like Ethernet support etc
> etc..
> 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,
Seems your Linux kernel configuration is broken, and/or your Linux
kernel source does not really support your hardware configuration.
In any case, such a question is off topic on u-boot-users
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
I can type faster than I can move a mouse, so I find menu-driven
drawing packages time consuming and frustrating. - W. R. Stevens
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-06-04 23:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-04 20:33 [U-Boot-Users] Ethernet support for FADS823 board Rupesh S
2003-06-04 8:48 ` Udi Finkelstein
2003-06-04 23:03 ` Rupesh S
2003-06-04 9:58 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox