Tiny Core Linux

Tiny Core Extensions => TCE Corepure64 => Topic started by: bosch68 on May 09, 2023, 10:03:12 AM

Title: Want to install a Serial IO Card, how do i compile the drivers for Tinycore64
Post by: bosch68 on May 09, 2023, 10:03:12 AM
Hi all
I have tinycore64 v14 running on a motherboard that is uefi only and with no serial and parallel ports. (Still need them )
On opensuse 15 i just compile the driver and it gets installed.
How do i compile the driver on tinycore64 and have it install at boot so i can print to a serial printer.
Any help will be greatly appreciated
thanks in advance
mark
Title: Re: Want to install a Serial IO Card, how do i compile the drivers for Tinycore64
Post by: Juanito on May 09, 2023, 10:55:28 AM
Ref: http://tinycorelinux.net/14.x/x86_64/release/src/kernel/config-6.1.2-tinycore64

Isn't the generic serial driver compiled in, or are you speaking of a specific driver?
Title: Re: Want to install a Serial IO Card, how do i compile the drivers for Tinycore64
Post by: bosch68 on May 10, 2023, 02:31:32 AM
Yes these drivers are for a specific serial card the standard serial drivers do not work as they are for serial onboard ports
which do not exist on the new motherboards
attached is a zip file of the source for the serial card
How do i compile and install this driver into Tinycore64
thanks
Title: Re: Want to install a Serial IO Card, how do i compile the drivers for Tinycore64
Post by: Juanito on May 10, 2023, 03:36:04 AM
If you search these forums on "prepare kernel source" there's been two threads in the last week about compiling out of tree drivers.

Prepare the kernel source
Create a symlink /lib/modules/$(shell  uname -r)/build/ --> kernel source
Unzip driver source
"make"