Forum Discussion
Altera_Forum
Honored Contributor
14 years agoHi Pierre
Like I said earlier I'm also very new to the Nios/Linux dev, but if you go to the linux-2.6 directory and type "git show" you will see a quick sumary of the current commit you're working from, the date at the top should be fairly new (mine is late April 2011). about the location of nios.h, i don't have the linux-2.6/arch/nios2/boards/generic-dts/include/asm/ in my branch, but did get the nios.h file in this location linux-2.6/arch/nios2/include/asm/nios.h so I have been modding that file instead. [If that's wrong, will the more experienced guys please let me know please ] For me to get to the dts file location, I do make menuconfig then customize kernel setings => exit and save. then from the kernel config screens I find it under Platform Options, then enable "Compile and link device tree into kernel image" and then the option to enter dts file location becomes available right underneath. Hope that helps. I'm currently struggling to program my kernel into ram, but I'm suspecting a SDRAM timing issue. Keep fighting the good fight dude, we'll get there eventually .... :) Cheers Antonie