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

do not boot completel in altera cyclone 1c20

Altera_Forum
Honored Contributor II
1,302 Views

Hi, 

I try to run uclinux v1.4 and niosii 5.1 in altera cyclone 1c20 development board but it does not boot completely. I have any ideas because i am a beginner in linux. Have anyone run successly with uclinux v1.4 and niosii 5.1? Could anyone can give me some ideas to solve it?  

 

Thanks a lot. 

 

nios2-terminal: connected to hardware target using JTAG UART on cable 

nios2-terminal: "USB-Blaster [USB-0]", device 1, instance 0 

nios2-terminal: (Use the IDE stop button or Ctrl-C to terminate) 

 

Linux version 2.6.11-uc0 (user@SamChou) (gcc version 3.4.1 (Altera Nios II 5.1 b 

73))# 83 Thu Feb 2 23:08:59 2006 

 

 

 

 

uClinux/Nios II 

 

Altera Nios II support © 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: 15144k/16384k RAM, 0k/0k ROM (836k kernel code, 209k data) 

 

Mount-cache hash table entries: 512 (order: 0, 4096 bytes) 

 

Linux NoNET1.0 for Linux 2.6 

 

Serial: JTAG UART driver $Revision: 1.4 $ 

 

ttyJ0 at MMIO 0x821208d0 (irq = 1) is a jtag_uart 

 

io scheduler noop registered 

 

io scheduler anticipatory registered 

 

io scheduler deadline registered 

 

io scheduler cfq registered 

 

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

 

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" 

 

mtd: Giving out device 0 to romfs/jffs2 

 

0x00000000-0x00200000 : "loader/kernel" 

 

mtd: Giving out device 1 to loader/kernel 

 

0x00600000-0x00700000 : "User configuration" 

 

mtd: Giving out device 2 to User configuration 

 

0x00700000-0x00800000 : "safe configuration" 

 

mtd: Giving out device 3 to safe configuration 

 

VFS: do_mount_root name="/dev/root" and fs=ext2 and root_mount_data=<NULL> and e 

rro no=-22 

 

VFS: do_mount_root name="/dev/root" and fs=vfat and root_mount_data=<NULL> and e 

rro no=-22 

 

VFS: do_mount_root name="/dev/root" and fs=romfs and root_mount_data=<NULL> and  

erro no=0 

 

VFS: Mounted root (romfs filesystem) readonly. 

 

Freeing unused kernel memory: 52k freed (0x10ee000 - 0x10fa000) 

 

Warning: unable to open an initial console. 

 

Kernel panic - not syncing: Attempted to kill init!
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
588 Views

There is problem in the MTD part map. Better jump on Linux, and use Initramfs, which needs no MTD to boot. It is easy to use and customize. Follow, 

http://forum.niosforum.com/forum/index.php?showtopic=3174 (http://forum.niosforum.com/forum/index.php?showtopic=3174)
0 Kudos
Reply