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

A very strange problem~

Altera_Forum
Honored Contributor II
1,131 Views

I have testing on another board~stratix EP1S10 

And succeed in building the uClinux on this board 

/etc/issue              www.microtronix.com               July 2004                   Welcome to Linux on the Nios II (none) login: Linux version 2.6.9-uc0 (JustinYan@JustinYan) (gcc version 3.4.1 ( Altera Nios II 1.1 b137))# 1 Tue Jul 19 14:48:58 PST 2005 uClinux/Nios II Altera Nios II support (C) 2004 Microtronix Datacom Ltd. Built 1 zonelists Kernel command line: root=/dev/mtdblock0 ro PID hash table entries: 128 (order: 7, 2048 bytes) Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Memory available: 14396k/16384k RAM, 0k/0k ROM (1472k kernel code, 323k data) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) NET: Registered protocol family 16 Serial: JTAG UART driver $Revision: 1.3 $ ttyJ0 at MMIO 0x80920820 (irq = 1) is a jtag_uart RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize smc_probe: 66667 Khz Nios SMSC LAN91C111 Driver (v2.1), (Linux Kernel 2.6) eth0: SMC91C11xFD(rev:1) at 0x80910300 IRQ:6 MEMSIZE:8192b NOWAIT:0 ADDR: 00:07: ed:0a:03:24 smc_probe: 66667 Khz Nios Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx CF: ctl=2 Using anticipatory io scheduler Altera NDK flash (AMD): Found 1 x8 devices at 0x0 in 8-bit bank Amd/Fujitsu Extended Query Table at 0x0040 Altera NDK flash (AMD): CFI does not contain boot bank location. Assuming top. number of CFI chips: 1 cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness. cmdlinepart partition parsing not available RedBoot partition parsing not available Using Altera NDK partition definition Creating 4 MTD partitions on "Altera NDK flash (AMD)": 0x00200000-0x00600000 : "romfs/jffs2" 0x00000000-0x00200000 : "loader/kernel" 0x00600000-0x00700000 : "User configuration" 0x00700000-0x00800000 : "safe configuration" NET: Registered protocol family 2 IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 1024 bind 2048) NET: Registered protocol family 1 NET: Registered protocol family 17 VFS: Mounted root (romfs filesystem) readonly. Freeing unused kernel memory: 52k freed (0x11a2000 - 0x11ae000) init: exec rc failed init: Booting to single user mode. init: exec of single user shell failed /etc/issue              www.microtronix.com               July 2004                   Welcome to Linux on the Nios II (none) login: nios Password: Login incorrect 

To login using 

username: nios 

password:uClinux (with the capitalization of the “C) 

I think this username and password are correct, but can't login,don't know why. 

Can anyone help me? 

Thank you! 

Regards! 

Justin
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
263 Views

It seems, that your linux can't find a shell. Is /bin/sh in the filesystem project?

0 Kudos
Altera_Forum
Honored Contributor II
263 Views

Hi: 

Thank you very much~! 

The problem is what you say, no /bin/sh to install... 

Now the problem is fixed~! 

Thank you! 

Regards! 

Justin
0 Kudos
Altera_Forum
Honored Contributor II
263 Views

Hi~ 

 

I have almost the same problem with you. 

Could you teach me how you solve this problem. 

How to install it bin/sh
0 Kudos
Reply