* Rebuild Drivers for Ubuntu
@ 2014-05-12 5:13 Jeff Holtz
2014-05-12 6:22 ` Oliver Hartkopp
0 siblings, 1 reply; 3+ messages in thread
From: Jeff Holtz @ 2014-05-12 5:13 UTC (permalink / raw)
To: linux-can
I'm developing some ISOTP programs and would like to rebuild the drivers to
include the CAN-ISOTP.ko file for UBUNTU (currently using 14.04 LTS) I can
get the code for the build for 14.04 which includes all the can, can-bcm,
can-raw ko's but nt the isotp. I've git the can-modules but having
difficulties merging the latest code and where to place it to build. Any
help/instructions would be appreciated.
for example:
cp ~/can-modules /usr/src/linux-3-13.0/.
make SUBDIR=drivers/net/can
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Rebuild Drivers for Ubuntu
2014-05-12 5:13 Rebuild Drivers for Ubuntu Jeff Holtz
@ 2014-05-12 6:22 ` Oliver Hartkopp
2014-05-12 6:54 ` Jeff Holtz
0 siblings, 1 reply; 3+ messages in thread
From: Oliver Hartkopp @ 2014-05-12 6:22 UTC (permalink / raw)
To: Jeff Holtz; +Cc: linux-can
Hello Jeff,
I would suggest the following:
Download the can-modules git from gitorious:
git clone git://gitorious.org/linux-can/can-modules.git
cd can-modules/net/can/
make CONFIG_CAN=n CONFIG_CAN_RAW=n CONFIG_CAN_BCM=n CONFIG_CAN_GW=n
This should have created a can-isotp.ko which you can load with
sudo insmod ./can-isotp.ko
# dmesg | tail -1
[ 452.044371] can: isotp protocol (rev 20130731 alpha)
There's no need to compile the CAN mainline modules again.
You just need the linux-headers-<your-kernel-version> and the standard gcc
build environment (which was needed to compile can-utils anyway).
Please give me some feedback if it doesn't work as expected on your machine.
Regards,
Oliver
On 12.05.2014 07:13, Jeff Holtz wrote:
> I'm developing some ISOTP programs and would like to rebuild the drivers to
> include the CAN-ISOTP.ko file for UBUNTU (currently using 14.04 LTS) I can
> get the code for the build for 14.04 which includes all the can, can-bcm,
> can-raw ko's but nt the isotp. I've git the can-modules but having
> difficulties merging the latest code and where to place it to build. Any
> help/instructions would be appreciated.
>
> for example:
> cp ~/can-modules /usr/src/linux-3-13.0/.
> make SUBDIR=drivers/net/can
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-can" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Rebuild Drivers for Ubuntu
2014-05-12 6:22 ` Oliver Hartkopp
@ 2014-05-12 6:54 ` Jeff Holtz
0 siblings, 0 replies; 3+ messages in thread
From: Jeff Holtz @ 2014-05-12 6:54 UTC (permalink / raw)
To: linux-can
BRILLIANT!!
Thanks. This worked. I had tried to simply do a make and it wasn't
working. Found the error since I am on Trusty 3.13 and PDE is no longer
valid (need to use PDE_DATA)
I'd love to figure out how to simply place can-modules into source and
rebuild everything but seeing as I have what I'm looking for now I'm good to
do. THANKS AGAIN!!!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-05-12 6:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-12 5:13 Rebuild Drivers for Ubuntu Jeff Holtz
2014-05-12 6:22 ` Oliver Hartkopp
2014-05-12 6:54 ` Jeff Holtz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).