Linux 2.6.35.9 boot error

bskumar7080
Hi all,

I was trying to build xenomai for mini2440 as per this post
http://www.friendlyarm.net/forum/topic/3032#14050

But when i compile linux kernel-2.6.35.9 using mini2440_defconfig. The
build kernel is not booting. It gives kernel panic. 

my error log is http://pastebin.com/L2mffkym

Has anyone successfully  booted xenomai-patched kernel in mini2440.

Thanks
sivakumar

serg_io
Here http://code.google.com/p/miniemc2/downloads/list is my Xenomai patch
for kernel 2.6.35-9.

sivakumar
I am not able to patch the kernel linux-2.6.35.9 with this patch, i am
getting error while applying the patch

Error log http://pastebin.com/CDscJVm9

serg_io
I just checked with kernel from there
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.35.9.tar.bz2, I've got
no errors. Maybe something wrong with your command? Try to do next:
1. Extract kernel source
2. Copy patch file to the kernel's folder
3. Enter "patch -p0 <
./linux-2.6.35.9-s3c24xx-i-pipe-xenomai-fiq-isr-aufs2.patch"

regards,
Sergey

sivakumar
Thank you sergey for your reply

It works when i enter "patch -p0 <
../linux-2.6.35.9-s3c24xx-i-pipe-xenomai-fiq-isr-aufs2.patch"

Now i was able to boot the xenomai kernel and root file system. 
From the boot log i found drivers for ethernet, nand are loaded.

But i am not getting ip address by issuing ifconfig.

Can i known any real time drivers are loaded with this kernel like ,
Rtserial, Rtnet ..




Regards
sivakumar

serg_io
I don't use any  RT drivers, so please check it yourself with make
menuconfig. I just can tell you Ethernet and NAND are working fine on my
mini2440.

Luc
serg_io,

I am looking forward for source code and or image of the emc project !

serg_io
Hi Luc,
I'm working on EMC it in my spare time, I hope in the first part of next
month first release will be done.

Luc
fantastic !

Kind regards
Luc

armman
Hello Sergey,

I have compiled and installed linux3.1 in mini2440 with rt patch with
yaffs2 file system, everything running perfectly fine , but system respond
very slow. If i type anything on console response comes very slow, console
generate so many interrupt for one operation.

What I did is, download linux 3.1 kernel and apply rt patch, but looks like
system is not RTOS. do i need to use rtapi or rt patch itself sufficient 
for mini2440.

I just wants to use mini2440 as hard real time os. please let me know the
steps to take or If i am missing anything, there are so many things like
rtos, kernel rt patch and rtai, I am confuse between all this things,  

in short what I have to do to make mini2440 as rtos.

Thanks & Regards,
armman

ser_gio
There are two patches are available on 
http://code.google.com/p/miniemc2/downloads/list, which one i should choose
for HRT.

Thanks a lot in advance.

serg_io
Try to use this patch:
http://miniemc2.googlecode.com/files/linux-2.6.35.9-s3c24xx-i-pipe-adeos...
On this forum I saw some time ago guys managed to build kernel 2.6.38.8 and
Xenomai 2.6.0 without additional effort, just applying included patches to
kernel. I think it will be better to move that way.

serg_io
I never tried linux3.1 and rt patch. And, I think, Linux never becomes true
realtime OS. So may be it have a sense to take your look to the rt_thread
OS http://code.google.com/p/rt-thread/ , it is lightweight and intensively
developed. 
Even if you add Xenomai support to your kernel you never get latency more
than 100 uS on this platform. If you take a look to miniemc2 SVN server (
http://code.google.com/p/miniemc2/source/browse/), then there you can find
source code of Linux 2.6.35.9 + Xenomai 2.5.6, hard realtime extension
based on FIQ handler with 10 uS period and buildroot based util for rootfs
buildinging. I hope it helps you.