Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: raczek25 on February 15, 2018, 03:47:36 PM

Title: PEAK USB CAN driver on TC v8.2.1
Post by: raczek25 on February 15, 2018, 03:47:36 PM
Hello all,
I appologize because I'am not good at English.

Have someone install this driver peak-linux-driver-8.5.1 on TC ?

I try to instal on TC v8.2.1 PEAK USB CAN driver (peak-linux-driver-8.5.1) but I stuck on point when driver write that missing utsrelease.h.
Previously driver can't find version.h file so i get linux-4.8.1_api_headers.tcz and linux_kernel_source_env.tcz and driver go
but now there isn't utsrelease.h file.
Do somebody know where can I find it ?
or mayby someone install this driver and can give me short instruction?

best regards
Robert
Title: Re: PEAK USB CAN driver on TC v8.2.1
Post by: Juanito on February 17, 2018, 03:27:20 AM
This works for me:
Code: [Select]
$ make all KERNEL_LOCATION=/usr/src/linux-4.14.10
Title: Re: PEAK USB CAN driver on TC v8.2.1
Post by: raczek25 on February 18, 2018, 04:11:23 AM
Thanks Juanito for answer, but in my TC I don't have dir /src/ there is /usr what must I do to create this directory ?
Title: Re: PEAK USB CAN driver on TC v8.2.1
Post by: Juanito on February 18, 2018, 05:24:22 AM
You need to either unpack and prepare the kernel source or load the linux-kernel-sources-env extension.