Roland Tollenaar wrote:
> Hi,
> 
>>> What binaries is it looking for that do not get generated and put in
>>> the correct place by the above mentioned make process? Also does the
>>> build process of rtnet need any binaries?
>>
>> Search in top kernel makefile for "O=".
> kernel makefile? This is not a typo? Surely rtnet does not need all the
> binaries that get generated on kernel compilation?
> 

It doesn't need all binaries in fact, but there are also header files
etc. created during build, and specifically those were lacking for your
first attempts.

> 
> 
> I am going to follow this below suggested approach.
> 
>> You can get offical kernel releases from http://kernel.org. e.g.:
>> ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.16.tar.bz2
> 
>>> Correct me if I am wrong:
>>>
>>> If I take a vanilla kernel src and set this up under
>>> /usr/src/linux-2.6.16 subsequently patch this kernel with xenomai and
>>> build it with my current config file. If I then run the rtnet build
>>> process on it, I should come right?
> 
>>
>> - Run the prepare_kernel.sh script to apply the Adeos-iPipe-Patch and
>>   link the kernel with the Xenomai sources.
>> - Copy your .config to the kernels root directory.
>> - Run "make menuconfig" and select additional options. Make sure
>>   Xenomai is enabled. Or run "make oldconfig" if you are happy with the
>>   default configuration.
>> - Build your kernel with "make vmlinux" or "make bzImage".
>> - Then start configuring RTnet.
> 
> I notice that it does not seem to be necessary to run Make modules or
> make modules_install in this process. Also, it is not essential that I
> use the kernel resulting from the make bzImage operation? In theory this
> kernel will be built with the identical config files I am using at the
> moment on also a 2.6.16 kernel so the kernel image I currently boot need
> not be replaced? I only ask to establish with certainty that the
> configuring and building is just to get the kernel source in good order
> to build rtnet.

Compiling modules against kernel X, but trying to run them with kernel
Y, is the right way to enter the winding road again :). This only works
if both kernels were build from practical identical sources, using the
same .config and the same compiler. So, be warned (and don't complain ;)).

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to