Hello,
I am trying to build a module in IMX53 where it is looking for /usr/src/2.6.35.3-744-g27fdf7b/....But I am not able to locate any source header files in this path. could you please suggest me where can I find?
#uname -r
2.6.35.3-744-g27fdf7b
#uname -a
Linux lucid-desktop 2.6.35.3-744-g27fdf7b #1 PREEMPT Thu Jan 27 15:10:16 CST 201
1 armv7l GNU/Linux
Thanks in advance for support
Swamy
Yes I have completely copied the rootfs directory from LTIB directory to / of the board. I think I may be missing to include some check when configuring LTIB.
What I see in /usr/src/ of target board is: /usr/src/linux/include in which I see,
root@freescale /usr/src/linux/include$ ls
asm drm mtd scsi video
asm-generic linux rdma sound xen
But I dont see any headers or gcc seen.
Regards,
Swamy
Sorry for the confusion. I want gcc to be seen in the board (IMX.53) which is currently missing. Also I want linux-headers (2.6.35.3-744-g27fdf7b) under /usr/src/.
This will be helpful for me to build the module. Please let me know what are the necessary packages I need to install to have these.
Regards,
Swamy
When you use LTIB to build the kernel, any file will be placed into <ltib>/rootfs
That´s why you don´t see the file you want into your ubuntu rootfs.
Sorry, I don´t understand. Do you want to see gcc in ubuntu on your board? Or in ubuntu on your PC?
If you want it in ubuntu, please sudo apt-get install gcc (and it will take the properly gcc binary for your arch)
Do you really need the module? It cannot be built in?
Request you to please guide.
Regards,
Swamy
Actually I was using a demo image which comes with IMX.53 Eval board and in that I was not able to locate the kernel headers under /usr/src/ . Now I am using LTIB to build the kernel (currently compiling) where in I have selected FSL gnome release packages (need display) and also selected Include kernel headers...I hope this will resolve the issue of kernel headers missing. Please suggest.
Regards
Swamy
Actually I was using a demo image which comes with IMX.53 Eval board and in that I was not able to locate the kernel headers under /usr/src/ . Now I am using LTIB to build the kernel (currently compiling) where in I have selected FSL gnome release packages (need display) and also selected Include kernel headers...I hope this will resolve the issue of kernel headers missing. Please suggest.
Regards
Swamy
Do you have the kernel?
Why don´t you configure all modules you need to be builtin?
Daiane
Thanks for the reply. Infact I am not seeing any kernel headers under /usr/src. Please suggest me how to fetch it which is specific to IMX53. Currently I am using a demo image package of IMX53 in which i am not seeing any kernel headers under /usr/src.
Are you using the right version of rootfs and kernel?
kernel looks for driver under /usr/src/2.6.35.3-744-g27fdf7b/ because you are using #uname -r = 2.6.35.3-744-g27fdf7b
You should see what is the name for your /usr/src/2.6.35.x-xxxxx and use the same kernel.
You can also configure your module to be builtin. In this case, kernel will never "look for" this driver.