On 9/25/2016 4:01 AM, hector ice wrote:
> Hi all,
> I am also trying to install xenomai patched kernel on my BBB for preemption 
> and 
> RT Processing for my project.
> I have followed the steps described here and also available on other forums. 
> But 
> still I am not able to successfully develop the kernel.
> 
> I have tried following steps.( I am using newest version of BBB rev.C)
> 1. I have downloaded new 3.8 kernel ( as from webs I came to know that 
> xenomai 
> is available till 3.8)
> 2. I have did menuconfig, Than applied the patch of xenomai.and compiled the 
> kernel.
> 3. When I have inserted the card with compiled kernel on BBB it gave me 
> 'kernel 
> panic' and stopped booting
> 
> --Than I did follow.
> 1. I did again fresh installation. again with minimal modules selected.
> But still no luck.
> 
> Can anyone help me for this.?

Unless you _really_ know what you're doing, I suggest you start with
RCN's build script to create a known-good kernel, then start making
whatever tweaks you need.  Grab the build scripts from here:

https://github.com/RobertCNelson/bb-kernel/tree/3.8.13-xenomai

Checkout the 3.8.13-xenomai branch or one of the specific kernel tags
(the current version is 3.8.13-xenomai-r79).  Copy system.sh.sample to
system.sh and configure for you local machine (ie: set LINUX_GIT to
where you want your local copy of the kernel source repo).

Then just run "./build_deb.sh" and you will get an installable kernel
package...just copy it to your BBB and install with dpkg.

Verify that kernel works and you can start making changes.  Just edit
the files in the KERNEL directory and rebuild with "tools/rebuild_deb.sh".

WARNING: If you do not use one of the rebuild scripts in tools (either
rebuild.sh or rebuild_deb.sh) you will *LOOSE* all your local changes
and the KERNEL directory will be overwritten with a fresh checkout +
BBB patches of the full kernel tree.

-- 
Charles Steinkuehler
[email protected]

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to