xenomai boot on beaglebone debian 2015 image SD card: how ?

645 views
Skip to first unread message

Matteo Loda

unread,
Oct 18, 2015, 11:08:16 AM10/18/15
to BeagleBoard
Hi guys

I try to send again this topic , so if this is a duplicate I apologize


They use a bone-debian-7.5-2014-05-14-2gb.img.xz.

So they have two partition on the SD card Image

1) boot partition with zImage files ,they change  original debian zImage with xenomai zImage
2) rootfs partition

I try to use a 2015 debian image: bone-debian-7.8-2015-03-01-2gb.img.xz

But I have only a single partition , with a boot folder, in which I have no zImage 

So how could I boot xenomai ?  

I followed another way: build an image.

I tryed the github.com/beagleboard/image-builder form RobertCNelson , but I obtain, with a 2015 image, a single SD partition.

Could you tell me how to configure image-builder to build a separated boot partition with the image-builder ? ( 2015 debian image 3.8 kernel)

Thanks a lot.

Matt

William Hermans

unread,
Oct 18, 2015, 11:27:42 AM10/18/15
to beagl...@googlegroups.com
$ sudo apt-get update
$ sudo apt-cache search linux-image |grep xenomai
. . .
linux-image-3.8.13-xenomai-r67 - Linux kernel, version 3.8.13-xenomai-r67
linux-image-3.8.13-xenomai-r69 - Linux kernel, version 3.8.13-xenomai-r69
linux-image-3.8.13-xenomai-r70 - Linux kernel, version 3.8.13-xenomai-r70
linux-image-3.8.13-xenomai-r71 - Linux kernel, version 3.8.13-xenomai-r71
linux-image-3.8.13-xenomai-r72 - Linux kernel, version 3.8.13-xenomai-r72
linux-image-3.8.13-xenomai-r76 - Linux kernel, version 3.8.13-xenomai-r76
linux-image-3.8.13-xenomai-r78 - Linux kernel, version 3.8.13-xenomai-r78

To install:
$ sudo apt-get install linux-image-3.8.13-xenomai-rxx

^^ much easier


--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

William Hermans

unread,
Oct 18, 2015, 11:28:15 AM10/18/15
to beagl...@googlegroups.com
Oh, and right, once installed, reboot the board ;)

Robert Nelson

unread,
Oct 18, 2015, 1:13:52 PM10/18/15
to Beagle Board

Matteo Loda

unread,
Oct 18, 2015, 3:25:50 PM10/18/15
to beagl...@googlegroups.com
Thank you very much William ! 

Robert you are more real time than a real time kernel ^^

I will try both the way and I will tell you the results

Have a nice Sunday Evening :)

Matt





--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/5HDjgE4r-9U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.

William Hermans

unread,
Oct 18, 2015, 5:04:21 PM10/18/15
to beagl...@googlegroups.com
Matteo,

Robert's method will get you the whole thing installed, including xenomai "specific" rootfs. Which I'm not all that familiar with, but I've been told this contains xenomai utilities, examples, test suites, and what not.

You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.

Matteo Loda

unread,
Oct 19, 2015, 4:58:04 AM10/19/15
to beagl...@googlegroups.com
Hi William

Yes I know this , I will test both. So I will see the different performance :) 

Matt

Matteo Loda

unread,
Oct 19, 2015, 5:35:46 AM10/19/15
to beagl...@googlegroups.com
For example I have installed xenomai-r78,,,  but I don't have xenomai/testing/xeno_klat.ko . I don't have the latency test in this version :(

Matteo Loda

unread,
Oct 19, 2015, 7:08:00 AM10/19/15
to beagl...@googlegroups.com, robert...@gmail.com
Hi Robert, I try to use  both the  bbb image you linked me and the apt-get procedure. Both work, so thanks a lot guys ! 

But I don't find xeno_klat.ko  , the module for latency test

Is there something similar ? Or  in this xenomai on the bbb there are no the testing command / modules ? ( for Latency and GPIO exspecially)

Thank you 

harika...@gmail.com

unread,
Feb 26, 2019, 10:16:38 AM2/26/19
to BeagleBoard
Hello!!

I followed both the procedures but I'm getting this below error repeatedly. Can you please tell me what to be done to solve this error.
WARNING: Setting CRYPTSETUP in /etc/initramfs-tools/initramfs.conf is deprecated and will stop working in the future. Use /etc/cryptsetup-initramfs/conf-hook instead.
cryptsetup: WARNING: failed to detect canonical device of /dev/mmcblk1p1
cryptsetup: WARNING: could not determine root device from /etc/fstab


Robert Nelson

unread,
Feb 26, 2019, 10:20:01 AM2/26/19
to Beagle Board, harika...@gmail.com
On Tue, Feb 26, 2019 at 9:16 AM <harika...@gmail.com> wrote:
>
> Hello!!
>
> I followed both the procedures but I'm getting this below error repeatedly. Can you please tell me what to be done to solve this error.
> WARNING: Setting CRYPTSETUP in /etc/initramfs-tools/initramfs.conf is deprecated and will stop working in the future. Use /etc/cryptsetup-initramfs/conf-hook instead.
> cryptsetup: WARNING: failed to detect canonical device of /dev/mmcblk1p1
> cryptsetup: WARNING: could not determine root device from /etc/fstab

Warning is not an Error... Safe to ignore..

Regards,

--
Robert Nelson
https://rcn-ee.com/

Harika KC

unread,
Feb 26, 2019, 12:07:50 PM2/26/19
to Robert Nelson, Beagle Board
Ok, thanks.

Reply all
Reply to author
Forward
0 new messages