Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

Help me!Configure uCLinux kernel eeror in NiossII!

Altera_Forum
Honored Contributor II
1,197 Views

i want to embed uCLinux into NiosII soft cpu, and i have install the Microtronix uCLinux 1.4, but when i create a project in NiosII-ide, i can not configure kernel of uCLinux correctly(winXP), it has some errors that shows in following PIC, please help me!Thanks 

NiosII6.1+Qii6.1 +Micro uCLinux1.4 

 

http://www.dzkf.net/attachment.php?aid=7635&noupdate=yes&nothumb=yes  

http://www.dzkf.net/attachment.php?aid=7634&noupdate=yes&nothumb=yes  

 

eclipse.buildId=M20060629-1905 

java.version=1.5.0_06 

java.vendor=Sun Microsystems Inc. 

BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN 

Command-line arguments: -data D:\altera_proj\nios2linux\nios2_C35\workspace -os win32 -ws win32 -arch x86 

 

Error 

Mon Mar 26 14:26:32 CST 2007 

An exception occurred while dispatching debug events. 

 

java.lang.NullPointerException 

at org.eclipse.cdt.launch.AbstractCLaunchDelegate.getProjectName(AbstractCLaunchDel 

egate.java:177) 

at org.eclipse.cdt.launch.AbstractCLaunchDelegate.getCProject(AbstractCLaunchDelega 

te.java:162) 

at com.altera.nj.launch.internal.ui.LaunchUIPlugin.handleDebugEvents(LaunchUIPlugin 

.java:243) 

at org.eclipse.debug.core.DebugPlugin$EventNotifier.run(DebugPlugin.java:1076) 

at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) 

at org.eclipse.debug.core.DebugPlugin$EventNotifier.dispatch(DebugPlugin.java:1108) 

at org.eclipse.debug.core.DebugPlugin$EventDispatchJob.run(DebugPlugin.java:344) 

at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58) 

 

eclipse.buildId=M20060629-1905 

java.version=1.5.0_06 

java.vendor=Sun Microsystems Inc. 

BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN 

Command-line arguments: -data D:\altera_proj\nios2linux\nios2_C35\workspace -os win32 -ws win32 -arch x86 

 

Error 

Mon Mar 26 14:26:32 CST 2007 

Problems occurred when invoking code from plug-in: "org.eclipse.debug.core". 

 

java.lang.NullPointerException 

at org.eclipse.cdt.launch.AbstractCLaunchDelegate.getProjectName(AbstractCLaunchDel 

egate.java:177) 

at org.eclipse.cdt.launch.AbstractCLaunchDelegate.getCProject(AbstractCLaunchDelega 

te.java:162) 

at com.altera.nj.launch.internal.ui.LaunchUIPlugin.handleDebugEvents(LaunchUIPlugin 

.java:243) 

at org.eclipse.debug.core.DebugPlugin$EventNotifier.run(DebugPlugin.java:1076) 

at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) 

at org.eclipse.debug.core.DebugPlugin$EventNotifier.dispatch(DebugPlugin.java:1108) 

at org.eclipse.debug.core.DebugPlugin$EventDispatchJob.run(DebugPlugin.java:344) 

at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
499 Views

the Microtronix plugin is designed to work with Quartus5.0, to get it working with 6.0 or 6.1 the pathes in the configure.bat file must be changed to point to Quartus6.1. 

I only tried 6.0 so far because I have not yet upgraded to 6.1. In 6.1 the path structure has changed significantly, so it could be more effort to get it running on 6.1. Anyway I have changed to build projects on a Linux host in the meantime because the Cygwin environment does not support initramfs
0 Kudos
Altera_Forum
Honored Contributor II
499 Views

thanks!  

i have accomplished the work in Nios6.0, but i think i should do more work in the linux OS. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif
0 Kudos
Reply