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++
12745 Discussions

uClinux-dist-20060803 released

Altera_Forum
Honored Contributor II
4,065 Views

uClinux-dist-20060803 had been released for more two months. 

The greatest news: Nios II arch is included now. !!! 

 

http://www.uclinux.org/pub/uclinux/dist/uc...0060803.tar.bz2 (http://www.uclinux.org/pub/uclinux/dist/uclinux-dist-20060803.tar.bz2

faster mirror, http://www.esrac.ele.tue.nl/~leon/linux/uc...0060803.tar.bz2 (http://www.esrac.ele.tue.nl/~leon/linux/uclinux/uclinux-dist-20060803.tar.bz2

 

(I had been very busy, and didn't get a break to look at it until now.) 

Best thanks to uClinux maintainers and Altera's Nios II team.
0 Kudos
22 Replies
Altera_Forum
Honored Contributor II
1,490 Views

There are still a lot of things to clear up in this release. 

It is not ready for real usage yet. Not even compile. 

 

Some include files need update. 

More Kconfig need to enable for Nios2. 

 

I am not sure if the initramfs build script's bug was fixed in it.
0 Kudos
Altera_Forum
Honored Contributor II
1,490 Views

I have updated the nios wiki, please find the new uClinux-dist patches.

0 Kudos
Altera_Forum
Honored Contributor II
1,490 Views

hippo, 

 

after doing all exactly as stated in the uClinux-dist tutorial, the kernel compiled and a zImage was made but the compile ends with an error. 

I dont know what is missing: 

 

..........  

LD vmlinux 

SYSMAP System.map 

OBJCOPY arch/nios2nommu/boot/compressed/vmlinux.bin 

GZIP arch/nios2nommu/boot/compressed/vmlinux.bin.gz 

LD arch/nios2nommu/boot/compressed/piggy.o 

LD arch/nios2nommu/boot/compressed/vmlinux 

OBJCOPY arch/nios2nommu/boot/zImage 

Kernel: arch/nios2nommu/boot/zImage is ready 

make[1]: Leaving directory `/home/nios2/uClinux-dist/linux-2.6.x' 

if [ -f linux-2.6.x/vmlinux ]; then  

ln -f linux-2.6.x/vmlinux linux-2.6.x/linux ;  

fi 

. linux-2.6.x/.config; if [ "$CONFIG_MODULES" = "y" ]; then  

[ -d linux-2.6.x/modules ] || mkdir linux-2.6.x/modules;  

make ARCH=nios2nommu CROSS_COMPILE=nios2-linux-uclibc- ARCH=nios2nommu CROSS_COMPILE=nios2-linux-uclibc- -C linux-2.6.x modules;  

fi 

for dir in include lib include user ; do [ ! -d $dir ] || make ARCH=nios2nommu CROSS_COMPILE=nios2-linux-uclibc- -C $dir || exit 1 ; done 

make[1]: Entering directory `/home/nios2/uClinux-dist/include' 

find . -depth -type l -a ! -name Makefile | xargs rm > /dev/null 2>&1 || exit 0 

find . -depth -type d | grep -v .svn | xargs rmdir > /dev/null 2>&1 || exit 0 

Making symlinks in include/ 

Making include/c++ symlink to compiler c++ includes 

make[1]: Leaving directory `/home/nios2/uClinux-dist/include' 

make[1]: Entering directory `/home/nios2/uClinux-dist/lib' 

make -j1 -C ../include || exit $? 

make[2]: Entering directory `/home/nios2/uClinux-dist/include' 

find . -depth -type l -a ! -name Makefile | xargs rm > /dev/null 2>&1 || exit 0 

find . -depth -type d | grep -v .svn | xargs rmdir > /dev/null 2>&1 || exit 0 

Making symlinks in include/ 

Making include/c++ symlink to compiler c++ includes 

make[2]: Leaving directory `/home/nios2/uClinux-dist/include' 

[ -z "uClibc" ] || 

make -j1 uClibc || exit $? 

make[2]: Entering directory `/home/nios2/uClinux-dist/lib' 

[ ! -d "uClibc" ] || ( touch uClibc/.sgbuilt_lib && make -j1 -C uClibc ) || exit $? 

/bin/sh: nios2-elf-gcc: command not found 

/bin/sh: nios2-elf-gcc: command not found 

/bin/sh: nios2-elf-gcc: command not found 

make[3]: Entering directory `/home/nios2/uClinux-dist/uClibc' 

/bin/sh: nios2-elf-gcc: command not found 

+ ./extra/scripts/fix_includes.sh -k '~/uClinux-dist-test/linux-2.6.x' -t nios2 -n 

 

 

The file ~/uClinux-dist-test/linux-2.6.x/Makefile or ~/uClinux-dist-test/linux-2.6.x/include/linux/version.h is missing! 

Perhaps your kernel source is broken? 

 

 

make[3]: *** [headers] Error 1 

make[3]: Leaving directory `/home/nios2/uClinux-dist/uClibc' 

make[2]: *** [uClibc] Error 2 

make[2]: Leaving directory `/home/nios2/uClinux-dist/lib' 

make[1]: *** [all] Error 2 

make[1]: Leaving directory `/home/nios2/uClinux-dist/lib' 

make: *** [subdirs] Error 1
0 Kudos
Altera_Forum
Honored Contributor II
1,490 Views

Please find the patches and uages on the second half of this page, 

http://nioswiki.jot.com/wikihome/operating...nux/uclinuxdist (http://nioswiki.jot.com/wikihome/operatingsystems/%c2%b5clinux/uclinuxdist

 

Please help the testing of the new smc ethernet driver , if you have altera dev boards.
0 Kudos
Altera_Forum
Honored Contributor II
1,490 Views

 

--- Quote Start ---  

originally posted by nacide@Oct 24 2006, 06:29 PM 

hippo, 

 

after doing all exactly as stated in the uclinux-dist tutorial, the kernel compiled and a zimage was made but the compile ends with an error. 

i dont know what is missing: 

 

/bin/sh: nios2-elf-gcc: command not found 

make[3]: entering directory `/home/nios2/uclinux-dist/uclibc' 

/bin/sh: nios2-elf-gcc: command not found 

+ ./extra/scripts/fix_includes.sh -k '~/uclinux-dist-test/linux-2.6.x' -t nios2 -n 

 

 

the file ~/uclinux-dist-test/linux-2.6.x/makefile or ~/uclinux-dist-test/linux-2.6.x/include/linux/version.h is missing! 

perhaps your kernel source is broken? 

 

 

make[3]: *** [headers] error 1 

make[3]: leaving directory `/home/nios2/uclinux-dist/uclibc' 

make[2]: *** [uclibc] error 2 

make[2]: leaving directory `/home/nios2/uclinux-dist/lib' 

make[1]: *** [all] error 2 

make[1]: leaving directory `/home/nios2/uclinux-dist/lib' 

make: *** [subdirs] error 1 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18868) 

--- quote end ---  

 

--- Quote End ---  

 

make menuconfig 

 

check if you have the correct target? Altera, nios2nommu, and Libc version must be None. 

Vendor/Product Selection ---> 

--- Select the Vendor you wish to target 

(Altera) Vendor 

--- Select the Product you wish to target 

(nios2nommu) Altera Products  

 

Kernel/Library/Defaults Selection ---> 

(linux-2.6.x) Kernel Version 

(None) Libc Version 

[ ] Default all settings (lose changes) 

[ ] Customize Kernel Settings 

[ ] Customize Vendor/User Settings 

[ ] Update Default Vendor Settings 

Then <exit> <exit> <yes>
0 Kudos
Altera_Forum
Honored Contributor II
1,490 Views

 

--- Quote Start ---  

originally posted by hippo+oct 26 2006, 01:35 am--><div class='quotetop'>quote (hippo @ oct 26 2006, 01:35 am)</div> 

--- quote start ---  

<!--quotebegin-nacide@Oct 24 2006, 06:29 PM 

hippo, 

 

after doing all exactly as stated in the uclinux-dist tutorial, the kernel compiled and a zimage was made but the compile ends with an error. 

i dont know what is missing: 

 

/bin/sh: nios2-elf-gcc: command not found 

make[3]: entering directory `/home/nios2/uclinux-dist/uclibc&#39; 

/bin/sh: nios2-elf-gcc: command not found 

+ ./extra/scripts/fix_includes.sh -k &#39;~/uclinux-dist-test/linux-2.6.x&#39; -t nios2 -n 

 

 

the file ~/uclinux-dist-test/linux-2.6.x/makefile or ~/uclinux-dist-test/linux-2.6.x/include/linux/version.h is missing! 

perhaps your kernel source is broken? 

 

 

make[3]: *** [headers] error 1 

make[3]: leaving directory `/home/nios2/uclinux-dist/uclibc&#39; 

make[2]: *** [uclibc] error 2 

make[2]: leaving directory `/home/nios2/uclinux-dist/lib&#39; 

make[1]: *** [all] error 2 

make[1]: leaving directory `/home/nios2/uclinux-dist/lib&#39; 

make: *** [subdirs] error 1 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18868) 

--- quote end ---  

 

--- Quote End ---  

 

make menuconfig 

 

check if you have the correct target? Altera, nios2nommu, and Libc version must be None. 

Vendor/Product Selection ---> 

--- Select the Vendor you wish to target 

(Altera) Vendor 

--- Select the Product you wish to target 

(nios2nommu) Altera Products  

 

Kernel/Library/Defaults Selection ---> 

(linux-2.6.x) Kernel Version 

(None) Libc Version 

[ ] Default all settings (lose changes) 

[ ] Customize Kernel Settings 

[ ] Customize Vendor/User Settings 

[ ] Update Default Vendor Settings 

Then <exit> <exit> <yes> 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18918)</div> 

[/b] 

--- Quote End ---  

 

 

Hippo, 

 

I just tried compilying the new kernel, I applied the patches to it. I also enabled the SMC 91C111 support for my ALtera Development Board. This is what I get when I try to boot up: 

 

uClinux/Nios II 

Altera Nios II support © 2004 Microtronix Datacom Ltd. 

Built 1 zonelists 

Kernel command line: 

PID hash table entries: 128 (order: 7, 512 bytes) 

Dentry cache hash table entries: 2048 (order: 1, 8192 bytes) 

Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) 

Memory available: 14512k/16384k RAM, 0k/0k ROM (1261k kernel code, 453k data) 

Mount-cache hash table entries: 512 

NET: Registered protocol family 16 

NET: Registered protocol family 2 

IP route cache hash table entries: 1024 (order: 0, 4096 bytes) 

TCP established hash table entries: 1024 (order: 0, 4096 bytes) 

TCP bind hash table entries: 1024 (order: 0, 4096 bytes) 

TCP: Hash tables configured (established 1024 bind 1024) 

TCP reno registered 

io scheduler noop registered 

io scheduler deadline registered (default) 

NIOS serial driver version 0.0 

ttyS0 (irq = 4) is a builtin NIOS UART 

RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize 

smc91x: not found (-19). 

TCP bic registered 

NET: Registered protocol family 1 

NET: Registered protocol family 17 

VFS: Cannot open root device "<NULL>" or unknown-block(0,0) 

Please append a correct "root=" boot option 

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
0 Kudos
Altera_Forum
Honored Contributor II
1,490 Views

TO_BE_DONE

0 Kudos
Altera_Forum
Honored Contributor II
1,490 Views

Hello, 

I had a few questions about compilation. 

 

1.) The patch which is provided in the wiki does not succedd every where instead there are a lot of failures for the new uclinux distribution not the test distribution. 

 

2.) Should I go yes for all the patching question about changing the already patched files for nios. 

 

3.) Even after doing that it says. your ptf file is not a SYSTEM ptf file--> This lead me to change the perl script by hard-coding the ptf file itself this makes the nios_system.h file but again the make fails I do not understand why? 

 

Any help would be appreciated. 

 

regards,
0 Kudos
Altera_Forum
Honored Contributor II
1,490 Views

 

--- Quote Start ---  

originally posted by madman23@Oct 27 2006, 03:05 PM 

hello, 

      i had a few questions about compilation. 

 

1.) the patch which is provided in the wiki does not succedd every where instead there are a lot of failures for the new uclinux distribution not the test distribution. 

 

2.) should i go yes for all the patching question about changing the already patched files for nios. 

 

3.) even after doing that it says. your ptf file is not a system ptf file--> this lead me to change the perl script by hard-coding the ptf file itself this makes the nios_system.h file but again the make fails i do not understand why? 

 

any help would be appreciated. 

 

regards, 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18946) 

--- quote end ---  

 

--- Quote End ---  

 

Don&#39;t get mad. 

You should not use the old patches uClinux-dist.diff.gz , which is for old uClinux-dist-test-20060511. 

You should use ONLY ONCE uClinux-dist-20060803-nios2-02.diff.gz, and apply to uClinux-dist-20060803.tar.bz2 . 

 

I checked again, and didn&#39;t see any patch erro. 

Please remove old dirs, rm -rf ~/uClinux-dist and try again.. 

 

 

zcat ~/download/uClinux-dist-20060803-nios2-02.diff.gz | patch -p0 

patching file vendors/Altera/nios2nommu/config.vendor 

patching file vendors/Altera/nios2nommu/config.arch 

patching file vendors/Altera/nios2nommu/config.linux-2.6.x 

patching file vendors/Altera/nios2nommu/Makefile 

patching file linux-2.6.x/include/asm-nios2nommu/futex.h 

patching file linux-2.6.x/include/asm-nios2nommu/poll.h 

patching file linux-2.6.x/include/asm-nios2nommu/bitops.h 

patching file linux-2.6.x/include/asm-nios2nommu/nios.h 

patching file linux-2.6.x/include/asm-nios2nommu/atomic.h 

patching file linux-2.6.x/include/asm-nios2nommu/io.h 

patching file linux-2.6.x/scripts/gen_initramfs_list.sh 

patching file linux-2.6.x/fs/ramfs/file-nommu.c 

patching file linux-2.6.x/usr/Makefile 

patching file linux-2.6.x/arch/nios2nommu/kernel/setup.c 

patching file linux-2.6.x/arch/nios2nommu/kernel/vmlinux.lds.S 

patching file linux-2.6.x/arch/nios2nommu/Kconfig 

patching file linux-2.6.x/arch/nios2nommu/scripts/PTF/SystemPTF/Module.pm 

patching file linux-2.6.x/arch/nios2nommu/mm/init.c 

patching file linux-2.6.x/drivers/net/Kconfig 

patching file Makefile 

patching file user/wireless_tools/Makefile
0 Kudos
Altera_Forum
Honored Contributor II
1,490 Views

 

--- Quote Start ---  

originally posted by hippo+oct 27 2006, 08:45 pm--><div class='quotetop'>quote (hippo @ oct 27 2006, 08:45 pm)</div> 

--- quote start ---  

<!--quotebegin-madman23@Oct 27 2006, 03:05 PM 

hello, 

      i had a few questions about compilation. 

 

1.) the patch which is provided in the wiki does not succedd every where instead there are a lot of failures for the new uclinux distribution not the test distribution. 

 

2.) should i go yes for all the patching question about changing the already patched files for nios. 

 

3.) even after doing that it says. your ptf file is not a system ptf file--> this lead me to change the perl script by hard-coding the ptf file itself this makes the nios_system.h file but again the make fails i do not understand why? 

 

any help would be appreciated. 

 

regards, 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18946) 

--- quote end ---  

 

--- Quote End ---  

 

Don&#39;t get mad. 

You should not use the old patches uClinux-dist.diff.gz , which is for old uClinux-dist-test-20060511. 

You should use ONLY ONCE uClinux-dist-20060803-nios2-02.diff.gz, and apply to uClinux-dist-20060803.tar.bz2 . 

 

I checked again, and didn&#39;t see any patch erro. 

Please remove old dirs, rm -rf ~/uClinux-dist and try again.. 

 

 

zcat ~/download/uClinux-dist-20060803-nios2-02.diff.gz | patch -p0 

patching file vendors/Altera/nios2nommu/config.vendor 

patching file vendors/Altera/nios2nommu/config.arch 

patching file vendors/Altera/nios2nommu/config.linux-2.6.x 

patching file vendors/Altera/nios2nommu/Makefile 

patching file linux-2.6.x/include/asm-nios2nommu/futex.h 

patching file linux-2.6.x/include/asm-nios2nommu/poll.h 

patching file linux-2.6.x/include/asm-nios2nommu/bitops.h 

patching file linux-2.6.x/include/asm-nios2nommu/nios.h 

patching file linux-2.6.x/include/asm-nios2nommu/atomic.h 

patching file linux-2.6.x/include/asm-nios2nommu/io.h 

patching file linux-2.6.x/scripts/gen_initramfs_list.sh 

patching file linux-2.6.x/fs/ramfs/file-nommu.c 

patching file linux-2.6.x/usr/Makefile 

patching file linux-2.6.x/arch/nios2nommu/kernel/setup.c 

patching file linux-2.6.x/arch/nios2nommu/kernel/vmlinux.lds.S 

patching file linux-2.6.x/arch/nios2nommu/Kconfig 

patching file linux-2.6.x/arch/nios2nommu/scripts/PTF/SystemPTF/Module.pm 

patching file linux-2.6.x/arch/nios2nommu/mm/init.c 

patching file linux-2.6.x/drivers/net/Kconfig 

patching file Makefile 

patching file user/wireless_tools/Makefile 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18948)</div> 

[/b] 

--- Quote End ---  

 

 

 

Thanks for the quick reply
0 Kudos
Altera_Forum
Honored Contributor II
1,490 Views

 

--- Quote Start ---  

originally posted by hippo+oct 27 2006, 08:45 pm--><div class='quotetop'>quote (hippo @ oct 27 2006, 08:45 pm)</div> 

--- quote start ---  

<!--quotebegin-madman23@Oct 27 2006, 03:05 PM 

hello, 

      i had a few questions about compilation. 

 

1.) the patch which is provided in the wiki does not succedd every where instead there are a lot of failures for the new uclinux distribution not the test distribution. 

 

2.) should i go yes for all the patching question about changing the already patched files for nios. 

 

3.) even after doing that it says. your ptf file is not a system ptf file--> this lead me to change the perl script by hard-coding the ptf file itself this makes the nios_system.h file but again the make fails i do not understand why? 

 

any help would be appreciated. 

 

regards, 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18946) 

--- quote end ---  

 

--- Quote End ---  

 

Don&#39;t get mad. 

You should not use the old patches uClinux-dist.diff.gz , which is for old uClinux-dist-test-20060511. 

You should use ONLY ONCE uClinux-dist-20060803-nios2-02.diff.gz, and apply to uClinux-dist-20060803.tar.bz2 . 

 

I checked again, and didn&#39;t see any patch erro. 

Please remove old dirs, rm -rf ~/uClinux-dist and try again.. 

 

 

zcat ~/download/uClinux-dist-20060803-nios2-02.diff.gz | patch -p0 

patching file vendors/Altera/nios2nommu/config.vendor 

patching file vendors/Altera/nios2nommu/config.arch 

patching file vendors/Altera/nios2nommu/config.linux-2.6.x 

patching file vendors/Altera/nios2nommu/Makefile 

patching file linux-2.6.x/include/asm-nios2nommu/futex.h 

patching file linux-2.6.x/include/asm-nios2nommu/poll.h 

patching file linux-2.6.x/include/asm-nios2nommu/bitops.h 

patching file linux-2.6.x/include/asm-nios2nommu/nios.h 

patching file linux-2.6.x/include/asm-nios2nommu/atomic.h 

patching file linux-2.6.x/include/asm-nios2nommu/io.h 

patching file linux-2.6.x/scripts/gen_initramfs_list.sh 

patching file linux-2.6.x/fs/ramfs/file-nommu.c 

patching file linux-2.6.x/usr/Makefile 

patching file linux-2.6.x/arch/nios2nommu/kernel/setup.c 

patching file linux-2.6.x/arch/nios2nommu/kernel/vmlinux.lds.S 

patching file linux-2.6.x/arch/nios2nommu/Kconfig 

patching file linux-2.6.x/arch/nios2nommu/scripts/PTF/SystemPTF/Module.pm 

patching file linux-2.6.x/arch/nios2nommu/mm/init.c 

patching file linux-2.6.x/drivers/net/Kconfig 

patching file Makefile 

patching file user/wireless_tools/Makefile 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18948)</div> 

[/b] 

--- Quote End ---  

 

 

Also could you give me a link to the patch since I cannot find this patch anywhere
0 Kudos
Altera_Forum
Honored Contributor II
1,490 Views

Cool got it

0 Kudos
Altera_Forum
Honored Contributor II
1,490 Views

Hippo, 

 

I fixed the boot-up problem, and I was able to add the altcf driver to the kernel. It boots up nicely, and I able to mount the Compact-Flash disk. 

 

Now I&#39;m trying to add to the busybox "fsck". I can not get it to compile, do you have any idea how to fix this. If you don&#39;t have the time to fix this, is there a document that explains how to add software to busybox. 

 

Thanks 

 

 

--- Quote Start ---  

originally posted by hippo+oct 26 2006, 08:32 pm--><div class='quotetop'>quote (hippo @ oct 26 2006, 08:32 pm)</div> 

--- quote start ---  

 

--- quote start ---  

originally posted by horacioesta@oct 27 2006, 05:31 am 

 

--- quote start ---  

originally posted by hippo@oct 26 2006, 01:35 am 

<!--quotebegin-nacide@Oct 24 2006, 06:29 PM 

hippo, 

 

after doing all exactly as stated in the uclinux-dist tutorial, the kernel compiled and a zimage was made but the compile ends with an error. 

i dont know what is missing: 

 

/bin/sh: nios2-elf-gcc: command not found 

make[3]: entering directory `/home/nios2/uclinux-dist/uclibc&#39; 

/bin/sh: nios2-elf-gcc: command not found 

+ ./extra/scripts/fix_includes.sh -k &#39;~/uclinux-dist-test/linux-2.6.x&#39; -t nios2 -n 

 

 

the file ~/uclinux-dist-test/linux-2.6.x/makefile or ~/uclinux-dist-test/linux-2.6.x/include/linux/version.h is missing! 

perhaps your kernel source is broken? 

 

 

make[3]: *** [headers] error 1 

make[3]: leaving directory `/home/nios2/uclinux-dist/uclibc&#39; 

make[2]: *** [uclibc] error 2 

make[2]: leaving directory `/home/nios2/uclinux-dist/lib&#39; 

make[1]: *** [all] error 2 

make[1]: leaving directory `/home/nios2/uclinux-dist/lib&#39; 

make: *** [subdirs] error 1 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18868) 

--- quote end ---  

 

--- Quote End ---  

 

make menuconfig 

 

check if you have the correct target? Altera, nios2nommu, and Libc version must be None. 

Vendor/Product Selection ---> 

--- Select the Vendor you wish to target 

(Altera) Vendor 

--- Select the Product you wish to target 

(nios2nommu) Altera Products  

 

Kernel/Library/Defaults Selection ---> 

(linux-2.6.x) Kernel Version 

(None) Libc Version 

[ ] Default all settings (lose changes) 

[ ] Customize Kernel Settings 

[ ] Customize Vendor/User Settings 

[ ] Update Default Vendor Settings 

Then <exit> <exit> <yes> 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18918)</div> 

[/b] 

--- Quote End ---  

 

 

Hippo, 

 

I just tried compilying the new kernel, I applied the patches to it. I also enabled the SMC 91C111 support for my ALtera Development Board. This is what I get when I try to boot up: 

 

uClinux/Nios II 

Altera Nios II support © 2004 Microtronix Datacom Ltd. 

Built 1 zonelists 

Kernel command line: 

PID hash table entries: 128 (order: 7, 512 bytes) 

Dentry cache hash table entries: 2048 (order: 1, 8192 bytes) 

Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) 

Memory available: 14512k/16384k RAM, 0k/0k ROM (1261k kernel code, 453k data) 

Mount-cache hash table entries: 512 

NET: Registered protocol family 16 

NET: Registered protocol family 2 

IP route cache hash table entries: 1024 (order: 0, 4096 bytes) 

TCP established hash table entries: 1024 (order: 0, 4096 bytes) 

TCP bind hash table entries: 1024 (order: 0, 4096 bytes) 

TCP: Hash tables configured (established 1024 bind 1024) 

TCP reno registered 

io scheduler noop registered 

io scheduler deadline registered (default) 

NIOS serial driver version 0.0 

ttyS0 (irq = 4) is a builtin NIOS UART 

RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize 

smc91x: not found (-19). 

TCP bic registered 

NET: Registered protocol family 1 

NET: Registered protocol family 17 

VFS: Cannot open root device "<NULL>" or unknown-block(0,0) 

Please append a correct "root=" boot option 

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18936)</div> 

[/b] 

--- Quote End ---  

 

Thank you. 

The smc91x instant still has problem. 

I will add all the old drivers. And check new drivers later. 

 

Please run " make linux image" again, it will inculde romfs as root dir on initramfs. 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18939)</div> 

[/b] 

--- Quote End ---  

0 Kudos
Altera_Forum
Honored Contributor II
1,490 Views

Hello, 

I wanted to know in the kernel-config there is a section on platform dependennt features and DE2 is not listed so which one should i choose. 

 

 

 

regards,
0 Kudos
Altera_Forum
Honored Contributor II
1,490 Views

 

--- Quote Start ---  

originally posted by madman23@Oct 28 2006, 03:59 AM 

hello, 

      i wanted to know in the kernel-config there is a section on platform dependennt features and de2 is not listed so which one should i choose. 

 

 

 

regards, 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18968) 

--- quote end ---  

 

--- Quote End ---  

 

 

The new smc91x driver is updated, and it works now. 

ifconfig eth0 up 

ifconfig eth0 192.168.1.10 # static ip 

 

The new dm9000 is not tested, yet. please help if you have de2. 

The old smc91111 and dm9000x are added, too. 

 

There is no need to select boards. Just use the default. 

In "make linux_hwselect SYSPTF=......" , it will generate board dependent headers.
0 Kudos
Altera_Forum
Honored Contributor II
1,490 Views

TO_BE_DONE

0 Kudos
Altera_Forum
Honored Contributor II
1,490 Views

Most Nios2 drivers added, (eg, altcf,usb,i2c) , now in ver 5.

0 Kudos
Altera_Forum
Honored Contributor II
1,490 Views

ver 6, 

added ftpd-new (0.17) 

added more etc files. 

 

change linux_hwselect to vendor_hwselect . 

so, 

make vendor_hwselect SYSPTF=~/..../your_ptf
0 Kudos
Altera_Forum
Honored Contributor II
1,490 Views

 

--- Quote Start ---  

originally posted by hippo@Oct 30 2006, 03:51 PM 

ver 6, 

added ftpd-new (0.17) 

added more etc files. 

 

change linux_hwselect to vendor_hwselect . 

so, 

make vendor_hwselect sysptf=~/..../your_ptf 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19005) 

--- quote end ---  

 

--- Quote End ---  

0 Kudos
Altera_Forum
Honored Contributor II
1,406 Views

The UclinuxDist page on nios wiki is updated to this release, and old stuff is removed. 

The initramfs gen script changed in 2.6.17 . The problem of missing update to initramfs should be fixed. 

I&#39;d call it a stop of this thread. 

If you have any questions, please post it as new topic. 

If there isn&#39;t major issue of the patch, I will submit it to uclinux.org

 

Happy Hacking!
0 Kudos
Reply