Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

Porting uClinux

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

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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