by akay » Tue May 31, 2011 12:32 pm
by akay
Tue May 31, 2011 12:32 pm
Hi
so after some trials, I succeeded to install a rt-preempt kernel using the linux rt patch.
It supports lot of features of the roboard, like the VGA card, the Ethernet, and the roboard wifi card, out of the box ! For this I had to use the exact 2.6.33 kernel, since :
- it have support of the RDC IDE controller driver (CONFIG_PATA_RDC=y)
- it does have the support of VIA VT6655 chip for wireless in a staging driver (CONFIG_VT6655=m)
- I also have to modify the ext4 support in the kernel from module to build in (m -> y). Why did Roboard guys put this file system in a module rather than built-in support, since it is almost the default on lucid lynx to use ext4 filesystem (at least they did not put in their tutorial any advice to use ext3 rather than ext4)
So in short :
and was able to boot on the kernel with an ubuntu 10.04. This version is mandatory for me since it is for a 4 year project, and we need Long term support for this. 9.10 is clearly not an option.
For now I am getting poor latency result and I am checking how to change the configuration to have better result. Indeed the results are strange. I did not have any repeatability. The same test could give jitter latency of about 1ms (really bad) down to 246 us ! I used the cyclictest tool coming from rt patch users, and here are the output of some different test under the same condition (no load at all) :
- Code: Select all
user@host $ sudo ./cyclictest -p 89 -n
WARNING: High resolution timers not available
policy: fifo: loadavg: 0.00 0.00 0.00 1/139 6188
T: 0 ( 5857) P:89 I:1000 C:80394045 Min: 238 Act: 244 Avg: 246 Max: 411
user@host $ sudo ./cyclictest -p 89 -n
WARNING: High resolution timers not available
policy: fifo: loadavg: 0.06 0.02 0.00 1/141 6230
T: 0 ( 6230) P:89 I:1000 C: 7875 Min: 879 Act: 886 Avg: 887 Max: 929
user@host $ sudo ./cyclictest -p 89 -n
WARNING: High resolution timers not available
policy: fifo: loadavg: 0.00 0.00 0.00 1/139 6256
T: 0 ( 6251) P:89 I:1000 C:3603080 Min: 278 Act: 284 Avg: 286 Max: 473
So if anyone has better experience with linux realtime system or this particular patch, or have any idea that could explain this behavior, he is welcome !
Finally, once my setup will be completely ready and functionnal, I may also provide some debian packages for lucid.
Hi
so after some trials, I succeeded to install a rt-preempt kernel using the linux rt patch.
It supports lot of features of the roboard, like the VGA card, the Ethernet, and the roboard wifi card, out of the box ! For this I had to use the exact 2.6.33 kernel, since :
- it have support of the RDC IDE controller driver (CONFIG_PATA_RDC=y)
- it does have the support of VIA VT6655 chip for wireless in a staging driver (CONFIG_VT6655=m)
- I also have to modify the ext4 support in the kernel from module to build in (m -> y). Why did Roboard guys put this file system in a module rather than built-in support, since it is almost the default on lucid lynx to use ext4 filesystem (at least they did not put in their tutorial any advice to use ext3 rather than ext4)
So in short :
and was able to boot on the kernel with an ubuntu 10.04. This version is mandatory for me since it is for a 4 year project, and we need Long term support for this. 9.10 is clearly not an option.
For now I am getting poor latency result and I am checking how to change the configuration to have better result. Indeed the results are strange. I did not have any repeatability. The same test could give jitter latency of about 1ms (really bad) down to 246 us ! I used the cyclictest tool coming from rt patch users, and here are the output of some different test under the same condition (no load at all) :
- Code: Select all
user@host $ sudo ./cyclictest -p 89 -n
WARNING: High resolution timers not available
policy: fifo: loadavg: 0.00 0.00 0.00 1/139 6188
T: 0 ( 5857) P:89 I:1000 C:80394045 Min: 238 Act: 244 Avg: 246 Max: 411
user@host $ sudo ./cyclictest -p 89 -n
WARNING: High resolution timers not available
policy: fifo: loadavg: 0.06 0.02 0.00 1/141 6230
T: 0 ( 6230) P:89 I:1000 C: 7875 Min: 879 Act: 886 Avg: 887 Max: 929
user@host $ sudo ./cyclictest -p 89 -n
WARNING: High resolution timers not available
policy: fifo: loadavg: 0.00 0.00 0.00 1/139 6256
T: 0 ( 6251) P:89 I:1000 C:3603080 Min: 278 Act: 284 Avg: 286 Max: 473
So if anyone has better experience with linux realtime system or this particular patch, or have any idea that could explain this behavior, he is welcome !
Finally, once my setup will be completely ready and functionnal, I may also provide some debian packages for lucid.