- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
I have problem to convert compiled by nios2-ide elf-file to flat.
It is easy to compile single c file usingnios2-linux-uclibc-gcc hello.c -o hello -elf2flt
but its hard when there are included h-files in c-file... So i try to compile it by nios2-ide and then convert to flat how can I convert large c-projects to flat format? m b there are some other ways...
링크가 복사됨
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
I apologize for my silly annoying questions. plz, someone helps me.
how you write, debug and compile the big programs for uclinux without mmu? I prefer useing in work nios2-ide. It is difficult to me to write programs in text editor, I have got used to debug programs by using breakepoints in nios2-ide. tell me what software you use for a writing programs for uclinux without mmu. Thanks- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
I learned that it in fact is possible (and done by some members here), to use Eclipse as an IDE for Linux application programs (with and without MMU). Eclipse can be configured to help with perform editing, "make"ing and debugging. Regarding debugging they say it's possible to do remote debugging via TCP/IP using the gdb stub provided with the distribution.
It's also known that debugging threaded application does not work correctly yet. AFAIK, it will be fixed for the MMU enabled branch, though. The Altera NIOS2-IDE is of no use here. Eclipse needs to be configured separately to allow for compiling and debugging Linux user land applications. -Michael- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
I have installed eclipse. It works and can compile even Hello World. Now it is necessary for me to setup it.
Probably it is necessary for me to install compiler nios2-linux-uclibc-gcc and parameter -elf2flt. how can it be made? how can i debug programs using address space, interupts, dma, etc. of nios by eclipse?- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
I do know that it is possible to make Eclipse use the uCLinux-NIOS tool chain as a compiler. But I don't know how to configure it to do so.
I do know that it is possible to make Eclipse use the uCLinux-NIOS gdb stub as a user-land-debugger. But I don't know how to configure it to do so. We were talking about using Eclipse as a tool for user land programs, so dma, interrupt etc are not discussed in tis issue. -Michael- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
do you want to tell, there is no graphic interface for writing drivers and programs using hardware of mine fpga? only text editor and gdb in terminal?
There should be a means of development of programs using hardware derectly. I know how to make it in nios2-ide without uclinux but I don`t know how to make it for uclinux noMMU.- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Drivers can't be debugged with gdb. Here kgdb needs to be used, but AFAIK, most developers don't use a debugger with this stuff, but just log file output.
Of course you can use Eclipse to edit Kernel drivers and you can configurte Eclipse to compile them AFAIK, technically, it is possible to use KGDB with a serial interface to debug Kernel drivers and configure eclipse to remote-control KGDB, but I am not aware of anybody doing this. It might be possible to run the komplete system (Kernel and applications) with nios2-ide but I don't know if this makes much sense. Maybe someone who tried it might jump in here. -Michael