Is there anybody that have ported the linux to the nios or microblaze?

I want to learn more about this!

Reply to
bjzhangwn
Loading thread data ...

formatting link

anyone know where i could find *working* and *up-to-date* toolchain sources for nios2 ?

the cdk4nios project is out of date:

formatting link
their work is based upon the old gcc-2 release (what altera calls "gnupro-src-3.x")

on altera's site, they tell you how to download the sources:

formatting link

and there you can find the up-to-date release (gcc-3.4.1 / gnutools-5.1), but the source tarball is missing a lot of files in the gcc dir which prevent it from compiling ... read the gcc/config/nios2/t-nios2 config file and you'll see that the math files for libgcc.a are missing as well as the source .asm files for crt*.o objects: $(srcdir)/config/nios2/lib2-divmod.c $(srcdir)/config/nios2/lib2-divmod-hi.c $(srcdir)/config/nios2/lib2-divtable.c $(srcdir)/config/nios2/lib2-mul.c $(srcdir)/config/nios2/crti.asm $(srcdir)/config/nios2/crtn.asm

-mike

Reply to
Mike Frysinger

formatting link

ok, ive created a patch which adds the missing files ... so if people wish to build their own toolchain, you now can :)

(1) grab the niosii-gnutools-src-5.1.tgz tarball from altera's website:

formatting link

(2) apply this patch:

formatting link

(3) build !

-mike

Reply to
Mike Frysinger

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.