Forum Discussion
Altera_Forum
Honored Contributor
16 years ago --- Quote Start --- Hi. Do you use µClinux for NIOS II without MMU or Linux for NIOS II with MMU? I think the best start is to use Linux for NIOS II with MMU because RT PREEMPT has been done for x86 with MMU first and modifies several Linux files but few files in the arch directory... For synchronizing the Linux source for NIOS II and the RT PREEMPT patch, you may use a git command for having a new branch of the Linux source for NIOS II that is the nearest as possible of a RT PREEMPT patch version (with a commit id). git command example: $ git checkout -b preempt d01303a1035a39e445007c7522d89ad985c4153c List of commit ids for stable branch nios2mmu here http://sopc.et.ntust.edu.tw/?p=linux-2.6.git;a=shortlog Pat. --- Quote End --- I used the MMU version, I think that's the only reasonable approach since that's basically regular Linux. I think checking out a nios2mmu branch/revision matching the Linux version of the RT branch would be a good start, but I would like to keep all the latest nios2 related changes (I am currently on unstable-nios2mmu), and my git-fu is lacking here. How would I get Linux 2.6.31 (or whatever the exact version I need for RT) but get the nios2 specific changes in unstable-nios2mmu? I am also concerned that if I try that I will run into the same types of issues I have with trying to merge 2.6.31-rt directly into unstable-nios2mmu.