[ELDK] Bug in tqm5200.c

Anatolij Gustschin agust at denx.de
Tue Jun 24 10:30:35 CEST 2008


Hello Christoph,

Christoph Fauck wrote:

> Seems to found a bug within tqm5200.c.
> 
> Board Version: 	TQM5200
> ELDK-Version:	4.2
> 
> Compilation and booting of kernel without PCI is successfully.
> Then activating PCI sub system. After compilation I get the following messages:
> 
> arch/powerpc/platforms/52xx/tqm5200.c: In function 'tqm5200_setup_arch':
> arch/powerpc/platforms/52xx/tqm5200.c:44: error: 'np' undeclared (first use in this function)
> arch/powerpc/platforms/52xx/tqm5200.c:44: error: (Each undeclared identifier is reported only once
> arch/powerpc/platforms/52xx/tqm5200.c:44: error: for each function it appears in.)
> 
> After activating of all features of PCI subsystem and compilation again, the error still exists. 
> 
> Tried to declare np locally in tqm5299.c. Kernel panic during initializing of PCI subsystem. Seems to be a global variable.
> 
> Need help.

Please use kernel source from the linux-2.6-denx.git repository at
http://www.denx.de/cgi-bin/gitweb.cgi  for tqm5200. The kernel source
in ELDK-4.2 is pretty outdated. 

> Thanks and regards,
> Christoph Fauck
> _______________________________________________
> eldk mailing list
> eldk at lists.denx.de
> http://lists.denx.de/mailman/listinfo/eldk
> 
> 

Best regards,
Anatolij

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de


More information about the eldk mailing list