On 23-1-2013 18:15, Michael Haberler wrote: > Bas, > > Am 23.01.2013 um 16:17 schrieb Bas Laarhoven: > >> On 23-1-2013 13:56, Michael Haberler wrote: >>> I had put out an updated BB xenomai kernel a few days ago, and I promptly >>> managed to loose the build notes. >>> >>> So I had to do it once more, and better documented this time: >>> >>> http://git.mah.priv.at/gitweb/linuxcnc-kernel.git/blob/c7422c10a84e122ebb561d98e750b043390fd527:/linuxcnc/README.beaglebone >>> . If this confuses you: you are not alone. >>> >>> the whole point of the exercise was to upgrade it to the latest ipipe patch >>> because the old kernel as distributed until about a week ago wouldnt run >>> xeno-regression-test properly - this one now does; while I was at it I >>> upgraded from the TI-specific branches it uses as well. I think it is >>> pretty much รก jour as far as the contents of the TI arago repo goes. >>> >>> I am at loss to judge how that pertains to the various tribal branches >>> (Koen Kooi, Robert Nelson, this repo: https://github.com/beagleboard/kernel >>> etc) >> Michael, >> >> The previous kernel you made misses a lot of beaglebone specific patches. >> I've been working with Koen's branches in the past and only built a more >> recent kernel yesterday. >> It's the one supplied in the 11/2012 image on the SD-card that comes with >> the Bones (3.2.34+). >> If we get Xenomai running on that kernel we've got an up-to-date 3.2 kernel >> for the Bone. I think going for 3.8 (with the device-tree) is still a leap >> too far and I wouldn't spent time on any intermediate version, unless a very >> good reason pops up. >> >> Since you have experience with patching xenomai on top of a kernel, is there >> any chance applying the patches on the 3.2.34 kernel? >> You can download that kernel from >> https://github.com/modmaker/linux/tree/linux-ti33x-psp-3.2.34-r18a+gitr720e07b4c1f687b61b147b31c698cb6816d72f01. >> The link might not work directly, but it contains all the relevant >> information to find the branch in my kernel tree. > I would think that's entirely possible; I'll give it a try > > please share which config you are using; it aint the defconfig; is it this? > https://github.com/modmaker/linux/blob/linux-ti33x-psp-3.2.34-r18a%2Bgitr720e07b4c1f687b61b147b31c698cb6816d72f01/arch/arm/configs/am335x_evm_defconfig Then defconfig in the root of the tree is the right one. > > > at first look I dont see any differences from the corresponding Koen Koi tree? No, not yet. I just forked to start work with and thought it would be easier to find ; )
> > -- > > Bas - help us across the street: > > - this Koen Koi fellow has a whopping 64 kernel branches in his repo (yes, > that's sixty-four). > - there is about zero documentation to tell one from the other; I mean > minimal.. boots, doesnt boot, sports X, sports Y, that kindof thing; I'm not > picky. > - it would be a titanic achievement to have all these branches 'maintained' - > I mean I'm happy to keep the couple of branches in my repo working > - how do you pick one? is this some kind of 'git branch bingo' we dont know > about? There's some kind of magic involved : ) I knew where to look, made an educated guess and found that the kernel I pointed you at was exactly the one distributed with the BeagleBone. For that I compared the kernel version numbers, the config of the running kernel with the source and after compilation the resulting kernel sizes. That gives a 99% match. Note that not all the branches are maintained, instead they are newly created with every release. So instead of tags for versions you see branches. > >> The advantage of this kernel is that it contains the relevant drivers for >> GPIO, PWM, ADC, PRUSS, etc. It also contains the EEPROM based configuration >> decoder that I wrote. It's used by my BeBoPr board to automatically >> configure the I/O, so one doesn't need to load drivers, set the multiplexers >> and so on (Charles: This might save you a lot of work!). > Unsure what doesnt work in my kernel but works in this one; but I'll take > your word for it. The standard kernel (and TI's tree, unless that has changed) won't have many of the BeagleBone specific changes. Koen's kernels are the 'bleeding edge' : ) -- Bas > > questions over questions. > > - Michael > > >> -- Bas >> >> >> >> >> >>> Bas - if you need anything specific I'd be happy to give you access to this >>> repo so you can add to it - diversity in this space is a waste of time. >>> >>> Anyway, them binariez are here: >>> >>> http://static.mah.priv.at/public/beaglebone/linux-3.2.21-xenomai+.tar.gz >>> http://static.mah.priv.at/public/beaglebone/linux-headers-3.2.21-xenomai+.tar.gz >>> >>> pull and iron the first one over /, the second one over /usr/src . >>> (actually the need for kernel headers to build userland thread styles will >>> be removed shortly, they are needed only for the deprecated xenomai-kernel >>> flavor; its more for completeness than anything else). >>> >>> I also upgraded the Xenomai userland package to track xenomai master (the >>> work over there is very much in flux and 'release mode'). It is not >>> necessary to upgrade that repo on your install for linuxcnc; kernel and >>> userland support are very well decoupled in Xenomai. Branch is here: >>> http://git.mah.priv.at/gitweb/xenomai-linuxcnc.git/shortlog/refs/heads/linuxcnc-master >>> >>> There are no fixes to the DHCP lease problem during boot in this image, >>> although I noted that on NFS mount, the rtc is now set to the timestamp of >>> the _last_ mount without the fixrtc boot option (which is a kludge to start >>> with but obviously was considered 'more correct' than 1-1-1970). >>> >>> --- >>> >>> the hopes for anything based on the existing 3.4 or 3.5 ipipe ARM patches >>> coming forward for the BB are low because there's no usable base versions >>> in the 3.3-3.5 range. But then I found the 3.2.21 version very stable, >>> modulo the DHCP lease issue, and that will be fixed without a new kernel. >>> >>> - Michael >>> >>> >>> ------------------------------------------------------------------------------ >>> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, >>> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current >>> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft >>> MVPs and experts. ON SALE this month only -- learn more at: >>> http://p.sf.net/sfu/learnnow-d2d >>> _______________________________________________ >>> Emc-developers mailing list >>> Emc-developers@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/emc-developers ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers