Hi jakobjones,
I am using the quartus-II v7.2 and my custom board is Nios-II/stratix-II edition. I tried to configure the NicheStack for superLoop mode using the instructions posted on the nios wiki. But i got the following errors.[probably due to the version difference]
[SOPC Builder]$ sh superloop_run_me.sh
---Backing up UCOSII to UCOSII_71_OLD
---Disabling Permissions
---Creating virtual link from HAL to UCOSII
---Patching source files...
patching file UCOSII/src/
component.mk patching file UCOSII/src/downloads/30src/h/nios2/superloop/ipport.h
patching file UCOSII/src/downloads/30src/nios2/brdutils.c
patching file UCOSII/src/downloads/30src/nios2/osport.h
patching file UCOSII/src/downloads/30src/nios2/osportco.c
patching file UCOSII/src/downloads/30src/nios2/targnios.c
Hunk# 1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file UCOSII/src/downloads/30src/nios
2/targnios.c.rej
I thought the 'targnios.c' file is not patched, so I manually modified the 'targnios.c' file using the superloop.patch(present in the zip file). Then i built the 'socket_server_no_rtos' example in the NIOS-II IDE, the built was successful, but when i run the application on my target board, i got the following errors.
InterNiche Portable TCP/IP, v3.0
Copyright 1996-2003 by InterNiche Technologies. All rights reserved.
prepared 0 interfaces, initializing...
inet startup error: unable to find any working interfaces
dtrap - needs breakpoint
panic: IP
As you mentioned, you already used the Nichestack in superloop mode, please let me know what are the changes required to be done, in the v7.1 patch, to use with the quartus-II v7.2
Thanks,
veenu