2010-10-13 08:46:18     where are my blackfin specific header files?

Document created by Aaronwu Employee on Aug 23, 2013
Version 1Show Document
  • View in full screen mode

2010-10-13 08:46:18     where are my blackfin specific header files?

Prasanth Rajagopal (INDIA)

Message: 94466   

 

I have written couple of sport and ppi test drivers myself sometime back, with some older uC-Linux disti. Now, I have

 

uClinux-dist-2009R1.1-RC4 with me, and I am trying to create some drivers, but I am unable to find the header files for Blackfin.

 

All I find is asm-offsets.h:

 

///////////////////////////////////////////////////////////////////////////////////////////////////////////

 

linux-68ge:/prasanth-work/Linux/Kernel/Linphone-test/uClinux-dist/linux-2.6.x/include/asm # ls

asm-offsets.h

 

 

linux-68ge:/prasanth-work/Linux/Kernel/Linphone-test/uClinux-dist/linux-2.6.x/include/asm-blackfin # ls

asm-offsets.h

 

linux-68ge:/prasanth-work/Linux/Kernel/Linphone-test/uClinux-dist/linux-2.6.x # make

  CHK     include/linux/version.h

  CHK     include/linux/utsrelease.h

  SYMLINK include/asm -> include/asm-blackfin

  CALL    scripts/checksyscalls.sh

  CHK     include/linux/compile.h

  CC      arch/blackfin/kernel/traps.o

  LD      arch/blackfin/kernel/built-in.o

  LD      vmlinux.o

  MODPOST vmlinux.o

  GEN     .version

  CHK     include/linux/compile.h

  UPD     include/linux/compile.h

  CC      init/version.o

  LD      init/built-in.o

  LD      .tmp_vmlinux1

  KSYM    .tmp_kallsyms1.S

  AS      .tmp_kallsyms1.o

  LD      .tmp_vmlinux2

  KSYM    .tmp_kallsyms2.S

  AS      .tmp_kallsyms2.o

  LD      vmlinux

  SYSMAP  System.map

  SYSMAP  .tmp_System.map

  OBJCOPY arch/blackfin/boot/vmlinux.bin

  GZIP    arch/blackfin/boot/vmlinux.gz

  UIMAGE  arch/blackfin/boot/vmImage.gz

Image Name:   Linux-2.6.28.10-ADI-2009R1.1

Created:      Wed Oct 13 23:04:00 2010

Image Type:   Blackfin Linux Kernel Image (gzip compressed)

Data Size:    5674306 Bytes = 5541.31 kB = 5.41 MB

Load Address: 00001000

Entry Point:  00263b48

  Building modules, stage 2.

  MODPOST 45 modules

 

///////////////////////////////////////////////////////////////////////////////////////////////////////////

 

 

I saw in one thread to include linux/semaphore.h, but shouldnt the header files be in /asm or asm-blackfin directory?

 

is it a mistake while build or is it available elsewhere?

 

I need to see the contents of these files.

 

Any thoughts are welcome.

 

Thanks

 

Prasanth.

QuoteReplyEditDelete

 

 

2010-10-13 09:36:23     Re: where are my blackfin specific header files?

Mike Frysinger (UNITED STATES)

Message: 94469   

 

use the kernel build system to make modules and let it locate the headers for you.  you should not be trying to compile things by hand with your own manual list of -I paths.

 

with recent releases, all arch includes were moved out of include/ and into arch/$arch/include/

QuoteReplyEditDelete

Attachments

    Outcomes