Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

Porting uClinux

Altera_Forum
Honored Contributor II
1,034 Views

Hi all 

 

I want to port uClinux to my own board ( ie: Stratix ). 

 

There are some steps to do this: 

 

1. Adding vendor name, board name, files: 

 

uClinux-dist / vendors / vendor_name / board_name / 

config.arch 

config.linux-2.4.x 

config.linux-2.4.x.initrd 

config.linux-2.4.x.jffs2 

config.uClibc 

config.vendor-2.4.x 

config.vendor-2.4.x.jffs2 

dev.txt 

inittab 

Makefile 

motd 

passwd 

rc 

 

2. Adding cpu name, platform opcode: 

 

uClinux-dist / linux-2.6.x / arch / cpu_name / 

kernel / 

lib / 

mm / 

scripts / 

ChangeLog 

defconfig 

Kconfig 

Makefile 

 

and: 

.... ?! 

 

What documents or starting point for writting the above folders / files. I want to understand them in detail. What should I do ? 

 

Thank you, 

 

OneNet
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
313 Views

Hi all ! 

 

In the source code of Microtronix package , some files are in the folder: 

 

nios2linux-1.4/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/arch/nios2nommu 

 

having: 

# include <linux/stddef.h># include <linux/sched.h># include <linux/kernel_stat.h># include <linux/ptrace.h># include <asm/bootinfo.h># include <asm/irq.h># include <asm/hardirq.h># include <asm/nios.h> 

 

- I searched and could not find those folders (linux/ , asm/ ) / files ( nios.h ).... Where are they ?! 

 

- If I want to re-compile Microtronix&#39;s kernel without NIOS IDE, What should I do ?! 

 

Thank you, 

 

OneNet
0 Kudos
Reply