- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi all:
I find a nios2 linux 2.6 kernel bug. But I have no capacity to solve the bug, because I am a linux rookie. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif So I report it on this forum, I wish somebody can solve it. Recently I test nios2 linux IPC function, but the result not fine.Nios2 linux kernel seems not support shared memory, message queue. So I use POSIX message queue instead. I test the example in ~/app/mqueue/example. 1) make mqueue.a I copyed the rules.mak file from mx140 dir to ~/app/mqueue. Then modify it. change cross := nios2-elf- to nios2-linux-uclibc- added: CFLAGES += -I~/buildroot/build_nios2/stagind_dir/include make succesd 2) test 1. I copyed the libmqueue.A to ~/buildroot/build_nios2/stagind_dir/lib 2. In ternimal I compiled the program use command nios2-linux-uclibc-gcc -elf2flt -o XXXX xxxx.c -lmqueue -lpthread 3.Six test program in examples dir. I test program 1, program 2 and program 6. The program 1 and program 2 is work fine on my dvb,but the nios2 linux will restart if you exec program6. The difference between them is the program 6 use SIGEV_THEAD .The program 6 is must use <signal.h> I think maybe the nios2 linux 2.6 kernel has a big bug .The bug is about singal .Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page