Forum Discussion
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by hippo@Nov 26 2005, 07:54 PM there is no free mmc driver on nios right now. and i am writing one using pio. i will open it when ready.
the slackware is old and good, and i had been using it more than ten years. there is no problem to generate the tools chain.
i never uses the window's/ide tools chain. i built them on linux since the very early beta.
the shipped nios2 for linux use newlib, and lack the elf2flt to build busybox and apps.
the source of the gnd tools can be selected on the packages list when you install nios2.
they will be installed into the dir altera/kits/nios2/bin/nios2-gnutools/src.
i use these before i work on uclinux about one month ago, then i built the one from marc's page.
so i have two tools chain now.
to build the tools chain follow the marc's page.
in build root menuconfig, set binutils ver to 2.15, gcc 3.4.3, and no busybox.
i think the problem is still dos2unix. i had the same truncated zip problem when i use the original kernel source
tree from microtronix. i had to remove dos2unix, and convert the source tree to fix the crlf with
zip -r and unzip -a to anther dir. you can try to convert the source tree on linux, then compile them under windows.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=11176)
--- quote end ---
--- Quote End --- OK, - so I think I get it now - the microtronix is a kernel source tree specifically targeted for Cygwin and the Eclipse IDE, while the process on Marcs page is a different kernel source tree targeted for linux, correct? The two are independant of eachother I'm guessing.. So for the cygwin method, you are suggesting that I zip up the microtronix tree in linux using 'zip', and unzip to another directory (shared in windows) in linux using unzip, and then try to build using that? (or perhaps overwriting the original microtronix tree with the unzipped version). And remove the dos2unix line also...