by gdo » Tue May 01, 2012 12:59 pm
by gdo
Tue May 01, 2012 12:59 pm
Hello everybody,
This post should be a bite long, so feel free to drink a coffee while reading. ^^
As it was mentionned, I received a RB-050 sample. I received it nearly one month ago. And I must start by thanking DMP for providing me this sample.
You just have to plug it with RS232 cable provided and launch your serial terminal, cutecom there. Set serial communication paramaters as follow :
baudrate 115200
8 data bits
1 start bit
1 stop bit
no parity
no flow control
It is a brief introduction but all has already been said in previous post about hardware. And you can find all the useful stuff in download section of Roboard website :
http://www.roboard.com/download_ml.htmSo why do I need a sample, what is my work and why does it takes time ?
First of all, I work only with Linux. No windows there.
My first contribution was how to install a Xenomai Linux kernel on roboard RB-100 :
http://geonobot-wiki.toile-libre.org/doku.php?id=en:robotics:computing:installer_xenomai_sur_une_roboardI found that way very slow. Roboard is not made for kernel build process. So I decided to create a script to create xenomai kernel and xenomai lib .deb packages from my 32-bits x86 computer.
It was really faster but as I buy a new x86_64 computer, I need to do cross-compilation to build xenomai packages working on roboard. It is one of my actual task. But you already can find a first version on my website :
http://geonobot-wiki.toile-libre.org/doku.php?id=robotics:computing:script_pour_packager_xenomai_sur_ubuntu_debian_kernel_librariesI explain the script in details but of coure, feel free to report bug or ask for help.
As I love to customize my kernel, I would like to customize my own distribution. As it could be long and difficult, I am writing a script to generate a full functionnal Linux distro with just one command line.
How it works ? The two pillars of that script are the qemu-debootstrap command and the binfmt_misc kernel module.
The qemu-debootstrap command creates a minimal rootfs for the wanted architecture (x86, arm, misc, etc...).
The binfmt_misc module gives me the possibility to launch command in that rootfs (with chroot) as if I was running this rootfs on the arch it was build for.
So I build all the rootfs on my x86_64 computer and create the SD card for roboard with one simple command line. I plug my SD card on roboard : it works.
But I need to make that script robust before publishing it because I experience some nasty bugs (kernel panic with DMP kernel, SD card management, etc...).
I work on Roboard RB-100 (easier to debug with vga card) and when a step of my work seems stable, I try to port it to RB-050.
This is a long and difficult work I do on my free time. Which explains why it takes so long.
Next release of my both scripts will be available before end of June I hope. Dont worry, I work on it, it is my passion.
Feel free to ask me more details about my work.
Have a good day,
gdo
Hello everybody,
This post should be a bite long, so feel free to drink a coffee while reading. ^^
As it was mentionned, I received a RB-050 sample. I received it nearly one month ago. And I must start by thanking DMP for providing me this sample.
You just have to plug it with RS232 cable provided and launch your serial terminal, cutecom there. Set serial communication paramaters as follow :
baudrate 115200
8 data bits
1 start bit
1 stop bit
no parity
no flow control
It is a brief introduction but all has already been said in previous post about hardware. And you can find all the useful stuff in download section of Roboard website :
http://www.roboard.com/download_ml.htmSo why do I need a sample, what is my work and why does it takes time ?
First of all, I work only with Linux. No windows there.
My first contribution was how to install a Xenomai Linux kernel on roboard RB-100 :
http://geonobot-wiki.toile-libre.org/doku.php?id=en:robotics:computing:installer_xenomai_sur_une_roboardI found that way very slow. Roboard is not made for kernel build process. So I decided to create a script to create xenomai kernel and xenomai lib .deb packages from my 32-bits x86 computer.
It was really faster but as I buy a new x86_64 computer, I need to do cross-compilation to build xenomai packages working on roboard. It is one of my actual task. But you already can find a first version on my website :
http://geonobot-wiki.toile-libre.org/doku.php?id=robotics:computing:script_pour_packager_xenomai_sur_ubuntu_debian_kernel_librariesI explain the script in details but of coure, feel free to report bug or ask for help.
As I love to customize my kernel, I would like to customize my own distribution. As it could be long and difficult, I am writing a script to generate a full functionnal Linux distro with just one command line.
How it works ? The two pillars of that script are the qemu-debootstrap command and the binfmt_misc kernel module.
The qemu-debootstrap command creates a minimal rootfs for the wanted architecture (x86, arm, misc, etc...).
The binfmt_misc module gives me the possibility to launch command in that rootfs (with chroot) as if I was running this rootfs on the arch it was build for.
So I build all the rootfs on my x86_64 computer and create the SD card for roboard with one simple command line. I plug my SD card on roboard : it works.
But I need to make that script robust before publishing it because I experience some nasty bugs (kernel panic with DMP kernel, SD card management, etc...).
I work on Roboard RB-100 (easier to debug with vga card) and when a step of my work seems stable, I try to port it to RB-050.
This is a long and difficult work I do on my free time. Which explains why it takes so long.
Next release of my both scripts will be available before end of June I hope. Dont worry, I work on it, it is my passion.
Feel free to ask me more details about my work.
Have a good day,
gdo