Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
18 years ago

Help me!Configure uCLinux kernel eeror in NiossII!

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)

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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