From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giox79 Subject: Re: CAN j1939 library doubts Date: Fri, 15 Mar 2013 10:27:04 +0000 (UTC) Message-ID: References: <854F9BFD-752B-4B2B-A637-7310BCF8B7D2@emailplus.org> <20130313084248.GA449@vandijck-laurijssen.be> <20130314122045.GD3382@vandijck-laurijssen.be> <20130314210751.GC1387@vandijck-laurijssen.be> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from plane.gmane.org ([80.91.229.3]:49339 "EHLO plane.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753855Ab3COK10 (ORCPT ); Fri, 15 Mar 2013 06:27:26 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UGRrR-00017g-Ns for linux-can@vger.kernel.org; Fri, 15 Mar 2013 11:27:41 +0100 Received: from elgafwout2.elsag.it ([151.89.15.211]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Mar 2013 11:27:41 +0100 Received: from giovanniparodi79 by elgafwout2.elsag.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Mar 2013 11:27:41 +0100 Sender: linux-can-owner@vger.kernel.org List-ID: To: linux-can@vger.kernel.org Kurt Van Dijck eia.be> writes: > > On Thu, Mar 14, 2013 at 04:20:08PM +0000, Giox79 wrote: > > Kurt Van Dijck eia.be> writes: > > > > In order to integrate your libs to my kernel, I was supposing to make a diff > > between source file, looking mainly at can and iproute2, merge the diffs and > > build the whole system. > > Do you think this is the right approach? > no. I (just) prepared the repositories to allow easy merges. > > follow these steps (@Marc, can you just verify the 'git' calls): > > git clone your kernel, or get a stable one > $ git clone http://git.kernel.org/pub/scm/linux/kernel/git/stable/linux- stable.git > ... this takes time > $ cd linux-stable > $ git tag > choose a version, like v3.3, or v3.8, ... > $ git checkout > $ git checkout -b > This last command creates a new branch, so you can play freely. > Now choose your branch on http://gitorious.org/~kurt-vd/linux-can/linux-can- j1939 > , like j1939-v3.3 > $ git pull git://gitorious.org/~kurt-vd/linux-can/linux-can-j1939.git > > If this all went ok, then you're ready now. > > The same applies for can-utils & iproute2. > You could also clone my j1939 versions directly if you do not care about > the precise versions, like: > $ git clone -b git://gitorious.org/~kurt- vd/linux-can/iproute2-j1939 > with something like 'j1939-v3.6'. > In contrast to the kernel, I never modify iproute2 besides j1939 stuff, > so this would work very fine. > Even an .tgz export could work then. > > Kind regards, > Kurt > -- > 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 > > Kurt, thanks a lot for your great help. I will give it a try during the weekend, I have to use a customized linux kernel based on 3.6, so I will apply the suggested steps skipping the git to download official linux kernel. I will let you know my tests results. At present time, thanks again and congratulation for your work.