Hi All, Have you ever built a kernel with Real Time feature for Mini6410/Tiny6410 successfully? I've tried Xenomai (2.6.0) vs kernel 2.6.38.8 (customed for S3C6410) without success. This method makes some errors that i don't know how to fix (Ex: arch/arm/plat-samsung/time.c:80:58: error: 'IRQ_EINT0' undeclared here (not in a function) ... Please watch the attached file) Please do me a favor and give me some issues and hints! Thanks. HuyHoang
Real Time (RTAI) feature for Mini6410/Tiny6410
Hi, I've been working on that two months now, here's what i have tried until now, and which didn't work, and i hope you can find something that works and share it with me if possible: 1)First, i tried with rtlinux, as you know to successfully get a image of that kernel, the version of the kernel and the version of the patch should match, for the kernels used for miini6410 (2.6.28 and 2.6.38) there's absolutely no rtlinux patch. 2)after some research, i found that timesys have their own kernels for some boards, that you can request from their website, after a little digging, i found that timesys made a patch for kernel 3.0 to make it work on mini6410 (and believe me it didin't), and i tried the samme patch with kernel 3.0.101 and rtlinux for 3.0.101 and this didn't work either, the probleem is that i managed to create the zImage but when i port it to the board it blocks on the step "booting the kernel", this means that it got loaded, and uncompressed successfully, but the board was not able to boot using this image, so another dead end. 3)finally i tried to do what are you trying now, but not with RTAI, with Xenomai, when i downloaded xenomai 2.6.3, and wanted to prepare the microkernel, i had to chose the right patch for my board, and here comes the ugly truth, they have a patch for mini2440 and none for mini6410. so i hope that what i said was somehow useful, please if you find anything don't hesitate to share it with me, i'm still interested in porting an RTOS based on linux on this board.
Hi StanlyJ, When i used the linux 3.0 patch from timesys and the config file from kernel 2.6.38 (Mini6410 source) for kernel 3.0, i could make the board boot-up. But i couldn't interact with the board via minicom. So, i changed to telnet to interact with the board. You can refer to this link (http://overthetree.wordpress.com/2011/06/15/setup-nfs-connection-between...) how to setup telnet. Then, I built and tested RT with RT patch from kernel.org (https://rt.wiki.kernel.org/index.php/Main_Page) and everything was okay. You can use kernel 3.0.101 or 3.0. The rest is configuring kernel and making all the peripherals work(touchscreen, USB, etc...). The hardest work i think. Besides that, Xenomai doesn't support Samsung s3c6410 (http://xenomai.org/index.php/Embedded_Device_Support#Supported_SoC) and i gave up this method for mini6410/tiny6410. HuyHoang
Hi Huy Hoang, did it really work?? I'll try what you just described and i'll give you feedback. PS: can i have your email address please. StanlyJ
Hi, i've just tried what you described and it didn't work for me, the same problem as few days ago, can you please upload the images you used and the configuration files so i can try them on the board. thanks in advance.
Hi StanlyJ, Please send an email to me and i will give you the link! My email is huyhoangfool@gmail.com HuyHoang