This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compiling driver for Linaro OS
#1
Hi all,

Distributor ID: Debian
Description:    Debian GNU/Linux 9.3 (stretch)
Release:        9.3
Codename:       stretch

Linux tinkerboard 4.4.71+ #1 SMP Thu Feb 22 18:23:31 CST 2018 armv7l GNU/Linux

I need to compile a new driver but the make command returns:

make modules -C /lib/modules/4.4.71+/build SUBDIRS=/home/linaro/LinuxDriver_V315_20180327
make[1]: *** /lib/modules/4.4.71+/build: No such file or directory.  Stop.
Makefile:10: recipe for target 'all' failed
make: *** [all] Error 2

The build folder is a link:
lrwxrwxrwx 1 root root 69 Feb 22  2018 /lib/modules/4.4.71+/build -> /var/lib/jenkins/workspace/rockchip-rk3288-tinker-board-debian/kernel

and that folder doesn't exist.
I installed  linux-kernel-headers package but it did solve.
How can i proceed?

Thanks
Reply
#2
How can i proceed?

Start with Armbian. It will save you enormous amount of time.
Armbian. Lightweight Debian Stretch or Ubuntu Bionic for Tinker Board.
Reply
#3
(09-15-2021, 11:21 AM)igorpec Wrote: How can i proceed?

Start with Armbian. It will save you enormous amount of time.

Unfortunately I cannot switch to other OS: Linaro is running in a large number of our machines on the market.

Should I compile the driver on Armbian and then move on Linaro?
I guess there should be some problems .. starting from the kernel version ...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)