Forum Discussion
Altera_Forum
Honored Contributor
16 years agoLinux with MMU on NEEK
Hi, all. I'm testing Linux MMU version, on my NEEK. http://www.nioswiki.com/linux It works fine and I can use "bash" shell. This is the evident proof that we are using the true 'fo...
Altera_Forum
Honored Contributor
16 years agoHi.
--- Quote Start --- Fixed altfb, it was a bug to use ioremap to map return of kzalloc for sgdma descriptor table. Please see the update in unstable-nios2mmu branch of linux-2.6.git of sopc server. --- Quote End --- Oh sorry, I forgot to commit on this. Clearly we don't need to remap 'desc1'. In my case, I only comment the code
// desc1 = ioremap((unsigned long)desc1, ndesc_size);
out, and do 'flush_cache_all()' before the return. I will do git and check your code later. --- Quote Start --- Though getenv() is still a problem. - Hippo --- Quote End --- I think that this is only the shell problem. In 'hush' or 'bash', we need to export shell variables, like
/> TSLIB_CONSOLEDEVICE=none
/> export TSLIB_CONSOLEDEVICE
. Now I'm tackling 'fltk' demo programs. They request 'libstdc++.so**', so I copied it, but will not run and say 'Segment fault'.(Segment? in Nios ?:)). I want to make 'core dump', but the kernel will not output those. Of course, I set 'ulimit -c unlimited'. Why? Thank you, in advance.