2009-07-23 08:58:41 where is the asm-blackfin in 2.6.28?
Qi Qiu (CHINA)
Message: 77956
I can't find the asm-blackfin in linux 2.6.28?
So I can't use the V4L.....
QuoteReplyEditDelete
2009-07-23 10:02:49 Re: where is the asm-blackfin in 2.6.28?
Mike Frysinger (UNITED STATES)
Message: 77961
`find` seems to work OK on my system and shows arch/blackfin/include/asm/ ...
QuoteReplyEditDelete
2009-07-24 03:45:49 Re: where is the asm-blackfin in 2.6.28?
Qi Qiu (CHINA)
Message: 77989
Mike, I use the 2009R1-RC2 , but I couldn't find the folder
QuoteReplyEditDelete
2009-07-24 03:57:15 Re: where is the asm-blackfin in 2.6.28?
Qi Qiu (CHINA)
Message: 77990
yes ,I found it in arch/blackfin/include/asm/ ...
but, why there was no this folder in include/asm-xxx ?
when I use the SMP in BF561, I can't quote the "asm/spinlock.h"
QuoteReplyEditDelete
2009-07-24 07:29:58 Re: where is the asm-blackfin in 2.6.28?
Robin Getz (UNITED STATES)
Message: 78001
Qi:
If your make is working properly - you should be able to...
Do you actually get an error?
QuoteReplyEditDelete
2009-07-24 11:29:07 Re: where is the asm-blackfin in 2.6.28?
Yi Li (CHINA)
Message: 78007
The linux kernel has changed the "asm" header structure, from "include/asm-xxx" to arch/xxx/include/asm/. I think you also need to use 09r1 toolchain (which can be downloaded from this website).
QuoteReplyEditDelete
2009-07-24 21:55:25 Re: where is the asm-blackfin in 2.6.28?
Qi Qiu (CHINA)
Message: 78026
Getz, I have got an error when I add the V4L ....
it said the _spin_lock function mismatch because I have no the asm/spinlock.h ....
QuoteReplyEditDelete
2009-07-24 22:01:55 Re: where is the asm-blackfin in 2.6.28?
Qi Qiu (CHINA)
Message: 78027
YI LI , 我编译使用的就是2009RI-RC7,正常编译是正确的.
但是一旦加载V4L的驱动就会报错,因为摄像头驱动里面用到了spinlock.h .
而spinlock.h又要引用 asm/spinlock.h ,但是arch/xxx/include/asm/ 中的spinlock.h 实现不完整。。。。
QuoteReplyEditDelete
2009-07-24 22:28:22 Re: where is the asm-blackfin in 2.6.28?
Mike Frysinger (UNITED STATES)
Message: 78028
whether asm/spinlock.h exists is irrelevant. if there's a copy of it in linux/, you should be including that, not the one in asm/. that means use linux/spinlock.h.
QuoteReplyEditDelete
2009-07-24 23:16:49 Re: where is the asm-blackfin in 2.6.28?
Qi Qiu (CHINA)
Message: 78029
Yes, Mike, you are right,thank you.
but if I want to quote arch/blackfin/include/asm/blackfin.h , how could I do ?
QuoteReplyEditDelete
2009-07-24 23:26:37 Re: where is the asm-blackfin in 2.6.28?
Mike Frysinger (UNITED STATES)
Message: 78030
i dont really know what you mean