Forum Discussion
Altera_Forum
Honored Contributor
21 years agoHey Greatwhite
I've noticed the same problem on my end... it'll print the number 1 but won't go any further than that. I don't know how much more time I can sink into this at the moment but my current suggestion would be to try building a filesystem project with the sample-threads package. Alternatively, just upload the 7 executables (ex1..ex7) to your uClinux system. The sample-threads package contains 7 executables to test the pthread capabilities of uClibc (Wentao can correct me on this if I'm wrong). If they run properly, you can take a peek at the source code for them in ...altera/kits/nios2/examples/software/linux/apps/samples/thread If they don't run properly then there's a potential problem in your hardware or kernel... hopefully we can narrow this down a bit... Let me know how it goes