* [Xenomai-help] getting started @ 2007-02-18 17:07 Roland Tollenaar 2007-02-18 11:18 ` karre 2007-02-18 17:32 ` Gilles Chanteperdrix 0 siblings, 2 replies; 5+ messages in thread From: Roland Tollenaar @ 2007-02-18 17:07 UTC (permalink / raw) To: Xenomai-help Hi, I was around on the list a while back begging for "ready-made" real-time distributions which would run from a USB stick and preferably had my custom application pre-written too. :) Since no such distribution appears to be available I have now prepared a slax liveCD into a liveUSB and must now face the task of patching the kernel with xenomai and that other adeos thingy. My distro features 2.6.16 kernel, presumably the complete kernel sources but I need a set of REALLY basic instructions to patch, compile, build and install the kernel with adeos and xenomai. The ones in the xenomai package assume the user is very familiar with the process of rebuilding kernels. Could anyone direct me to somewhat more "my-first-xenomai&kernel-experience" instructions? much appreciated. Roland. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Xenomai-help] getting started 2007-02-18 17:07 [Xenomai-help] getting started Roland Tollenaar @ 2007-02-18 11:18 ` karre 2007-02-18 17:32 ` Gilles Chanteperdrix 1 sibling, 0 replies; 5+ messages in thread From: karre @ 2007-02-18 11:18 UTC (permalink / raw) To: Xenomai-help Hi Roland, try http://www.captain.at/xenomai-2.1-installation.php Good luck! Richard Roland Tollenaar schrieb: > Hi, > > I was around on the list a while back begging for "ready-made" > real-time distributions which would run from a USB stick and > preferably had my custom application pre-written too. :) > > Since no such distribution appears to be available I have now prepared > a slax liveCD into a liveUSB and must now face the task of patching > the kernel with xenomai and that other adeos thingy. > > My distro features 2.6.16 kernel, presumably the complete kernel > sources but I need a set of REALLY basic instructions to patch, > compile, build and install the kernel with adeos and xenomai. The ones > in the xenomai package assume the user is very familiar with the > process of rebuilding kernels. > > Could anyone direct me to somewhat more > "my-first-xenomai&kernel-experience" instructions? > > much appreciated. > > Roland. > > > > _______________________________________________ > Xenomai-help mailing list > Xenomai-help@domain.hid > https://mail.gna.org/listinfo/xenomai-help > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Xenomai-help] getting started 2007-02-18 17:07 [Xenomai-help] getting started Roland Tollenaar 2007-02-18 11:18 ` karre @ 2007-02-18 17:32 ` Gilles Chanteperdrix 2007-02-19 11:18 ` [Xenomai-help] getting started (Part 2) Roland Tollenaar 1 sibling, 1 reply; 5+ messages in thread From: Gilles Chanteperdrix @ 2007-02-18 17:32 UTC (permalink / raw) To: rolandtollenaar; +Cc: Xenomai-help Roland Tollenaar wrote: > Could anyone direct me to somewhat more > "my-first-xenomai&kernel-experience" instructions? Hi Roland, You will find detailed information on how to build a kernel there: http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html Once you have read that, the instructions in Xenomai README.INSTALL should be enough to learn the rest. If you have some problem during the build process, do not hesitate to ask questions here. -- Gilles Chanteperdrix. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Xenomai-help] getting started (Part 2) 2007-02-18 17:32 ` Gilles Chanteperdrix @ 2007-02-19 11:18 ` Roland Tollenaar 2007-02-19 22:16 ` Gilles Chanteperdrix 0 siblings, 1 reply; 5+ messages in thread From: Roland Tollenaar @ 2007-02-19 11:18 UTC (permalink / raw) To: Gilles Chanteperdrix; +Cc: Xenomai-help Hi I have followed the directives of Richard and Gilles (thanks) and now have a rough idea of what the steps should be to install Xenomai. I still have some questions before I start. I apologize in advance for amount of text surrounding the not so many questions. I have tried to be a clear as possible. A The first part of the installation is preparing the kernel I have 2.6.16 kernel so I have downloaded the adeos-ipipe-2.6.16-i386-1.5-02.patch. I have no idea what architecture I have but i386 sounds familiar. :) How can I test what architecture I have? Is this the correct patch? Calling prepare-kernel.sh with its arguments seems straight-forward after that. B Compiling the kernel. My biggest worry here is the configuration. Knowing nothing of such configurations I would like to avoid having to make uneducated guesses in this stage. Is it possible to get hold of the current kernel configuration and load that in the make menuconfig stage? If yes, how? C Subsequently calling make then make modules_install install What happens in this install step? What files/directories are installed and where? Reason I ask is because I am running from liveUSB and booting with syslinux so I will have to write the kernel image (vmlinuz on my system) to /dev/sda1 (via where ever it is mounted of course) and not to /boot/ on that same drive. Another question in this regard is that my current kernel image is called vmlinuz not bzImage the documentation talks about all the time. What is the difference? Can I rename the bzImage to vmlinuz. Take note of the fact that the USB has a FAT filesystem. Thus symbolic links do not work and I instead have to make copies instead. Then captain's universe mutters about creating the initial RAM-disk (if I need one). How do I know whether I need one? I know that running from a liveUSB I do need what is called initrd.gz in the boot process, but is this what the documentation is talking about? How do I finally set up the new kernel to be booted. Is it sufficient to write it (vmlinuz) to the position where the current kernel image is located? (safely renaming the current kernel image to "vmlinuz-old" of course :)) Sorry again for so many newbie questions. RR Gilles Chanteperdrix wrote: > Roland Tollenaar wrote: > > Could anyone direct me to somewhat more > > "my-first-xenomai&kernel-experience" instructions? > > Hi Roland, > > You will find detailed information on how to build a kernel there: > http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html > > Once you have read that, the instructions in Xenomai README.INSTALL > should be enough to learn the rest. > > If you have some problem during the build process, do not hesitate to > ask questions here. > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Xenomai-help] getting started (Part 2) 2007-02-19 11:18 ` [Xenomai-help] getting started (Part 2) Roland Tollenaar @ 2007-02-19 22:16 ` Gilles Chanteperdrix 0 siblings, 0 replies; 5+ messages in thread From: Gilles Chanteperdrix @ 2007-02-19 22:16 UTC (permalink / raw) To: rolandtollenaar; +Cc: Xenomai-help Roland Tollenaar wrote: > Hi > > I have followed the directives of Richard and Gilles (thanks) and now > have a rough idea of what the steps should be to install Xenomai. I > still have some questions before I start. > > I apologize in advance for amount of text surrounding the not so many > questions. I have tried to be a clear as possible. > > A > The first part of the installation is preparing the kernel > I have 2.6.16 kernel so I have downloaded the > adeos-ipipe-2.6.16-i386-1.5-02.patch. > I have no idea what architecture I have but i386 sounds familiar. :) > How can I test what architecture I have? > Is this the correct patch? > Calling prepare-kernel.sh with its arguments seems straight-forward > after that. To test what architecture you have, run uname -m. You are using the correct patch, but why 2.6.16 ? If you have no particular reason to choose a kernel revision, then use the latest one. > > B > Compiling the kernel. My biggest worry here is the configuration. > Knowing nothing of such configurations I would like to avoid having to > make uneducated guesses in this stage. Is it possible to get hold of the > current kernel configuration and load that in the > make menuconfig > stage? > If yes, how? By default, when running the configuration frontend, it will load the kernel configuration from the running kernel. About selecting options, there are (at least) two kinds of kernels: - the one tailored for a particular machine, it will not use an initrd have the root partition driver and root filesystem built-in, and only a few modules; - a generic one, that will boot on a maximum of machines, it will come with as much modules as possible and with an initrd which selects the driver for the root partition and the root filesystem before booting. About Xenomai now: there are a few options that you should avoid, they are documented in the TROUBLESHOOTING file, except one: the HPET timer option, which should be also avoided though it is not documented. > > C > Subsequently calling > make > then > make modules_install install > What happens in this install step? What files/directories are installed > and where? Reason I ask is because I am running from liveUSB and booting > with syslinux so I will have to write the kernel image (vmlinuz on my > system) to /dev/sda1 (via where ever it is mounted of course) and not to > /boot/ on that same drive. make modules_install installs the compiled modules under /lib/modules/<kernel-revision> make install installs the bzImage, .config and System.map in /boot under the names vmlinuz-<kernel-revision>, config-<kernel-revision> and System.map-<kernel-revision>. It also creates a symbolic link between the last installed kernel and /boot/vmlinuz. > > Another question in this regard is that my current kernel image is > called vmlinuz not bzImage the documentation talks about all the time. > What is the difference? Can I rename the bzImage to vmlinuz. Take note > of the fact that the USB has a FAT filesystem. Thus symbolic links do > not work and I instead have to make copies instead. Yes, vmlinuz and bzImage are the same thing. > > Then captain's universe mutters about creating the initial RAM-disk (if > I need one). How do I know whether I need one? I know that running from > a liveUSB I do need what is called initrd.gz in the boot process, but is > this what the documentation is talking about? initrd are mostly useful for generic kernels. > > How do I finally set up the new kernel to be booted. Is it sufficient to > write it (vmlinuz) to the position where the current kernel image is > located? (safely renaming the current kernel image to "vmlinuz-old" of > course :)) I have never used syslinux, but reading rapidly its documentation, it does not seem to be necessary to re-run syslinux after each kernel installation. -- Gilles Chanteperdrix. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-02-19 22:16 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2007-02-18 17:07 [Xenomai-help] getting started Roland Tollenaar 2007-02-18 11:18 ` karre 2007-02-18 17:32 ` Gilles Chanteperdrix 2007-02-19 11:18 ` [Xenomai-help] getting started (Part 2) Roland Tollenaar 2007-02-19 22:16 ` Gilles Chanteperdrix
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.