Installing xemomai on 410c


#1

We have tried to install xenomai on 410c just followibg the hiki method,but failed.We have doubt how to install the new kernel on 410c,and how to use the boot image we generated last night.In a word,we want to know the differences between hiki method and 410c method for more details.


Xenomai installation and configuring on DB410C - manual
#2

@chenghao, installing Xenomai requires the following steps:

  1. patch the kernel with the interrupt pipeline.
  2. patch the kernel with the Xenomai kernel/drivers.
  3. install the Xenomai libraries in the root file system.

All this is explained in this blog entry:

The only difference for the db410c is that the git branches used are different.

Regardless first make sure that you do know how to modify the kernel in the db410c.
I used the 15.07 release so best if you just follow those instructions to learn how to replace a kernel (you could also use the 15.09 release below):
https://builds.96boards.org/releases/dragonboard410c/linaro/ubuntu/latest/

The interrupt pipeline port that I used for the early demo ion the db410c s this one:

  1. http://git.xenomai.org/ipipe-jro.git/log/?h=410c-devel

So make it your new kernel.
You will then need to patch it kernel with Xenomai (use the prepare-kernel.sh script as explained in the blog)

For the demo I used this Xenomai tree:
2. http://git.xenomai.org/xenomai-jro.git/log/?h=410c

but you should be able to use a more recent one like this one
2 http://git.xenomai.org/xenomai-jro.git/log/?h=next-devel

It contains a nice feature for pwm control (receiving duty cycles over the net) that allows you to use a simple program like this one:

to modify pan/tilt using the arrow keys on a remote machine.


Install Xenomai on Dragonboard 410c
#3

Thank you!


#4

Unfortunately,we encountered problems when we tried to replace the kernel on our 410c just as the hiki method.We can only generated boot img and lib/modules,but cannot generated dtb.And we cannot also install these things included boot img,lib and dtb on 410c.We wonder why we cannot generate dtb like the hiki,and we have a lot of confusion about how to modify the linux kernel.


#5

Unfortunately,we encountered problems when we tried to replace the kernel on our 410c just as the hiki method.We can only generated image and lib/modules,but we don’t know hot to install these things on 410c. And we cannot generate dtb.We wonder why we cannot generate dtb like the hiki,and we have a lot of confusion about how to modify the linux kernel.


#6

@chenghao, follow the instructions to install this release.
https://builds.96boards.org/releases/dragonboard410c/linaro/ubuntu/latest/

Once you have done it and you are booting this kernel, use the same instructions to build and boot your own kernel.

Once done, follow the Xenomai instructions.

if you encounter issues, please post the errors and the step that failed and I’ll try to help.


#7

Thanksfor your guiding!We have successfully installed xenomai!


#8

New problems come.After we successfully installed xenomai and kernel,we found that the camere didn’t work.We wondered how to enable the modules in the kernel when compiling kernel to make the camera work.


#9

Hi,
I am trying to install Xenomai too on my Dragonboard 410c,
I have some questions on the installation progress:

  1. can you please write the difference hikey vs. dragonboard installation ?
  2. Do newer version of ubuntu can run Xenomai too ? if yes, what about ipipe version ?

I don’t success to install it right now and it will be great if you will tell me what are the changes at the tutorial, for installing it to dragonboard 410c.

Thanks a lot !