Click on a PowerPC platform: has anyone succesfully done it ?

Douglas S. J. De Couto decouto at bellatlantic.net
Mon Nov 26 19:23:22 EST 2001


can you show us the config?  perhaps the config being generated is bogus?

click does run well on other architectures, e.g. strongarm, which 
require alignment.  but the strongarm runs in littleendian mode jsut 
like i386 --- what is your powerpc doing?

d

Krishna Reddy wrote:

> Hi,
> 
> I find Click to be a wonderful and fascinating project. I'm trying
> to port Click to a PowerPC platform and was wondering if anyone has
> done it successfully.  I tried doing it and ran into problems while
> the loading the IP router config file.
> 
> My target board is Motorolla Sandpoint Unity-3 Evaluation board,
> which has a  MPC8245 (PowerPC G2 core) running at 300Mhz.
> I've a 2.4 kernel from the PPC development branch (2.4.15pre) on
> linuxppc.org
> I've patched the Click 2.4.9 patch on to this branch and built a Linux
> kernel
> and the click module.
> 
> I've two eepro100 (82559) based NICs in the box and I generated the
> ip.click using the file 'make-ip-conf.pl' in the conf directory. I ran the
> command click-aign on this file and generated a new config ip_aligned.click.
> 
> On my target box I loaded the click.o module which loaded fine.
> Now when I try to load the router config with the command :
> 
> cat ip.click > /proc/click/config
> 
> I get tonnes of error like the ones included below.
> 
> I would appreciate if anyone can let me know know what I am doing wrong and
> what other information would you need to make an informed guess. Also,
> please copy me on the reply as I'm not subscribe the list.
> 
> 
> thanks,
> Krishna
> 
> 
> =============================================================
> # cat ip-align.click > /proc/click/config
> 
> floating point used in kernel (task=c1dfe000, pc=c307fc68)
> 
> ./ip.conf:6: While configuring `t :: Tee':
>   unknown argument type `ÿøv?ÿøv@ÿøvdÿøvlÿøvxÿøv"ÿøv"
> ÿøw^ÿøwÄÿøyÐÿøzÿøx4ÿøx?ÿøxÌÿøyÿøyTÿøzÀÿøzèÿøzèÿø{$ÿø{|ÿø{´ÿø}ôÿøÈÿøÈÿøÈ'!
>   expected empty argument list
> ./ip.conf:13: While configuring `PollDevice at 4 :: PollDevice':
>   unknown argument type
> `ÿø,\ÿø"hÿø"hÿø"hÿø"hÿø"hÿø"hÿø,lÿø"ÿø"<ÿø"<ÿø"Xÿø"$ÿø"hÿø"xÿø"èÿø"èÿø"èÿø.'
> !
>   expected empty argument list
> ./ip.conf:14: While configuring `out0 :: Queue':
>   unknown argument type `ÿøv?ÿøv@ÿøvdÿøvlÿøvxÿøv"ÿøv"
> ÿøw^ÿøwÄÿøyÐÿøzÿøx4ÿøx?ÿøxÌÿøyÿøyTÿøzÀÿøzèÿøzèÿø{$ÿø{|ÿø{´ÿø}ôÿøÈÿøÈÿøÈ'!
>   expected empty argument list
> ./ip.conf:15: While configuring `arpq0 :: ARPQuerier':
>   unknown argument type ` ['!
>   expected empty argument list
> ./ip.conf:26: While configuring `PollDevice at 10 :: PollDevice':
>   unknown argument type
> `ÿø,\ÿø"hÿø"hÿø"hÿø"hÿø"hÿø"hÿø,lÿø"ÿø"<ÿø"<ÿø"Xÿø"$ÿø"hÿø"xÿø"èÿø"èÿø"èÿø.'
> !
>   expected empty argument list
> ./ip.conf:27: While configuring `out1 :: Queue':
>   unknown argument type `ÿøv?ÿøv@ÿøvdÿøvlÿøvxÿøv"ÿøv"
> ÿøw^ÿøwÄÿøyÐÿøzÿøx4ÿøx?ÿøxÌÿøyÿøyTÿøzÀÿøzèÿøzèÿø{$ÿø{|ÿø{´ÿø}ôÿøÈÿøÈÿøÈ'!
>   expected empty argument list
> ./ip.conf:79: While configuring `Print at 44 :: Print':
>   unknown argument type `ÿøv?ÿøv@ÿøvdÿøvlÿøvxÿøv"ÿøv"
> ÿøw^ÿøwÄÿøyÐÿøzÿøx4ÿøx?ÿøxÌÿøyÿøyTÿøzÀÿøzèÿøzèÿø{$ÿø{|ÿø{´ÿø}ôÿøÈÿøÈÿøÈ'!
>   expected empty argument list
> ./ip.conf:28: While configuring `arpq1 :: ARPQuerier':
>   unknown argument type ` ['!
>   expected empty argument list
> ./ip.conf:48: While configuring `EtherEncap at 16 :: EtherEncap':
>   unknown argument type `of memory in cp_va_parse'!
> ==========================================================================
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 


-- 
Douglas S. J. De Couto   decouto at lcs.mit.edu




More information about the click mailing list