linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* include/asm/cpm2.h:14:21: error: asm/cpm.h: No such file or directory
@ 2007-10-04 22:28 Timur Tabi
  2007-10-05  0:57 ` Kumar Gala
  2007-10-08  4:36 ` Misbah khan
  0 siblings, 2 replies; 5+ messages in thread
From: Timur Tabi @ 2007-10-04 22:28 UTC (permalink / raw)
  To: Kumar Gala, PowerPC dev list

Kumar, this is what I get when I compile your 2.6.24 branch for the 8610:

   CC      arch/powerpc/sysdev/fsl_soc.o
In file included from arch/powerpc/sysdev/fsl_soc.c:40:
include/asm/cpm2.h:14:21: error: asm/cpm.h: No such file or directory
make[1]: *** [arch/powerpc/sysdev/fsl_soc.o] Error 1
make: *** [arch/powerpc/sysdev] Error 2

Commenting out the "#include <asm/cpm.h>" in cpm2.h makes the compilation 
failure go away, but I don't know if that's the proper fix, since the 8610 
doesn't have a CPM.

-- 
Timur Tabi
Linux Kernel Developer @ Freescale

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: include/asm/cpm2.h:14:21: error: asm/cpm.h: No such file or directory
  2007-10-04 22:28 include/asm/cpm2.h:14:21: error: asm/cpm.h: No such file or directory Timur Tabi
@ 2007-10-05  0:57 ` Kumar Gala
  2007-10-08  4:36 ` Misbah khan
  1 sibling, 0 replies; 5+ messages in thread
From: Kumar Gala @ 2007-10-05  0:57 UTC (permalink / raw)
  To: Timur Tabi; +Cc: PowerPC dev list


On Oct 4, 2007, at 5:28 PM, Timur Tabi wrote:

> Kumar, this is what I get when I compile your 2.6.24 branch for the  
> 8610:
>
>   CC      arch/powerpc/sysdev/fsl_soc.o
> In file included from arch/powerpc/sysdev/fsl_soc.c:40:
> include/asm/cpm2.h:14:21: error: asm/cpm.h: No such file or directory
> make[1]: *** [arch/powerpc/sysdev/fsl_soc.o] Error 1
> make: *** [arch/powerpc/sysdev] Error 2
>
> Commenting out the "#include <asm/cpm.h>" in cpm2.h makes the  
> compilation failure go away, but I don't know if that's the proper  
> fix, since the 8610 doesn't have a CPM.

Scott mentioned this and I've fixed it in my tree.

- k

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: include/asm/cpm2.h:14:21: error: asm/cpm.h: No such file or directory
  2007-10-04 22:28 include/asm/cpm2.h:14:21: error: asm/cpm.h: No such file or directory Timur Tabi
  2007-10-05  0:57 ` Kumar Gala
@ 2007-10-08  4:36 ` Misbah khan
  2007-10-10  4:03   ` Misbah khan
  1 sibling, 1 reply; 5+ messages in thread
From: Misbah khan @ 2007-10-08  4:36 UTC (permalink / raw)
  To: linuxppc-dev





Timur Tabi-3 wrote:
> 
> Kumar, this is what I get when I compile your 2.6.24 branch for the 8610:
> 
>    CC      arch/powerpc/sysdev/fsl_soc.o
> In file included from arch/powerpc/sysdev/fsl_soc.c:40:
> include/asm/cpm2.h:14:21: error: asm/cpm.h: No such file or directory
> make[1]: *** [arch/powerpc/sysdev/fsl_soc.o] Error 1
> make: *** [arch/powerpc/sysdev] Error 2
> 
> I guess the file /asm/cpm2.h is not present in the kernel source , You
> need to go through the source and see what asm file is being provided for
> you to access the communication processor specific register (i assume you
> are accessing/assigning to processor register) 
> 
> Commenting out the "#include <asm/cpm.h>" in cpm2.h makes the compilation 
> failure go away, but I don't know if that's the proper fix, since the 8610 
> doesn't have a CPM.
> 
> Are u including #include <asm/cpm.h> or <asm/cpm2.h> ???????
> 
> Processor registers are memory mapped and you can access it directly by
> including proper asm file ,and writing to the structure element of the
> file by  using Pointer to comm processor 
> 
> If you could let me know what is the operation that you need to perform on
> comm process register and which register you need to access then i could
> be in better position to help you
> 
> Misbah 
> -- 
> Timur Tabi
> Linux Kernel Developer @ Freescale
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
> 
> 

-- 
View this message in context: http://www.nabble.com/include-asm-cpm2.h%3A14%3A21%3A-error%3A-asm-cpm.h%3A-No-such-file-or-directory-tf4571911.html#a13090379
Sent from the linuxppc-dev mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: include/asm/cpm2.h:14:21: error: asm/cpm.h: No such file or directory
  2007-10-08  4:36 ` Misbah khan
@ 2007-10-10  4:03   ` Misbah khan
  2007-10-10 16:39     ` Scott Wood
  0 siblings, 1 reply; 5+ messages in thread
From: Misbah khan @ 2007-10-10  4:03 UTC (permalink / raw)
  To: linuxppc-dev


Please Let me know the Status 

Misbah


Misbah khan wrote:
> 
> 
> 
> 
> Timur Tabi-3 wrote:
>> 
>> Kumar, this is what I get when I compile your 2.6.24 branch for the 8610:
>> 
>>    CC      arch/powerpc/sysdev/fsl_soc.o
>> In file included from arch/powerpc/sysdev/fsl_soc.c:40:
>> include/asm/cpm2.h:14:21: error: asm/cpm.h: No such file or directory
>> make[1]: *** [arch/powerpc/sysdev/fsl_soc.o] Error 1
>> make: *** [arch/powerpc/sysdev] Error 2
>> 
>> I guess the file /asm/cpm2.h is not present in the kernel source , You
>> need to go through the source and see what asm file is being provided for
>> you to access the communication processor specific register (i assume you
>> are accessing/assigning to processor register) 
>> 
>> Commenting out the "#include <asm/cpm.h>" in cpm2.h makes the compilation 
>> failure go away, but I don't know if that's the proper fix, since the
>> 8610 
>> doesn't have a CPM.
>> 
>> Are u including #include <asm/cpm.h> or <asm/cpm2.h> ???????
>> 
>> Processor registers are memory mapped and you can access it directly by
>> including proper asm file ,and writing to the structure element of the
>> file by  using Pointer to comm processor 
>> 
>> If you could let me know what is the operation that you need to perform
>> on comm process register and which register you need to access then i
>> could be in better position to help you
>> 
>> Misbah 
>> -- 
>> Timur Tabi
>> Linux Kernel Developer @ Freescale
>> _______________________________________________
>> Linuxppc-dev mailing list
>> Linuxppc-dev@ozlabs.org
>> https://ozlabs.org/mailman/listinfo/linuxppc-dev
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/include-asm-cpm2.h%3A14%3A21%3A-error%3A-asm-cpm.h%3A-No-such-file-or-directory-tf4571911.html#a13129025
Sent from the linuxppc-dev mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: include/asm/cpm2.h:14:21: error: asm/cpm.h: No such file or directory
  2007-10-10  4:03   ` Misbah khan
@ 2007-10-10 16:39     ` Scott Wood
  0 siblings, 0 replies; 5+ messages in thread
From: Scott Wood @ 2007-10-10 16:39 UTC (permalink / raw)
  To: Misbah khan; +Cc: linuxppc-dev

On Tue, Oct 09, 2007 at 09:03:13PM -0700, Misbah khan wrote:
> 
> Please Let me know the Status 
> 
> Misbah

Are you suddenly Timur's boss? :-)

The issue was a misapplied patch in Kumar's tree.  It has been fixed, as he
pointed out in another post in this thread.

-Scott

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-10-10 16:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-04 22:28 include/asm/cpm2.h:14:21: error: asm/cpm.h: No such file or directory Timur Tabi
2007-10-05  0:57 ` Kumar Gala
2007-10-08  4:36 ` Misbah khan
2007-10-10  4:03   ` Misbah khan
2007-10-10 16:39     ` Scott Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).