Forum Discussion
Altera_Forum
Honored Contributor
20 years ago/bin/init hangs
hi all, I am trying to boot uclinux on 2s60 board. where my kernel is hanging moment it calls /bin/init. I have build uclinux with changed memory layout where base addresses and irq numbe...
Altera_Forum
Honored Contributor
20 years agoHi all,
It seems I have a similar problem with my 2c35 board. It's about one week I try to find a solution ... please HELP !!!! :-) The boot screen looks like that: Linux version 2.6.11-uc0 (fleconte@FRMTG01D57967) (gcc version 3.4.1 (Altera Ni s II 5.1 b73))# 12 Wed May 3 15:48:40 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: 256 (order: 8, 4096 bytes) Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Memory available: 30592k/32768k RAM, 0k/0k ROM (1531k kernel code, 302k data) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) NET: Registered protocol family 16 JFFS2 version 2.2. © 2001-2003 Red Hat, Inc. Serial: JTAG UART driver $Revision: 1.4 $ ttyJ0 at MMIO 0x822208b0 (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 smc_probe: 85000 Khz Nios SMSC LAN91C111 Driver (v2.1), (Linux Kernel 2.6) eth0: SMC91C11xFD(rev:2) at 0x82210300 IRQ:6 MEMSIZE:8192b NOWAIT:0 ADDR: 00:07 ed:0f:07:74 smc_probe: 85000 Khz Nios Altera NDK flash (AMD): Found 1 x16 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)": 0x00400000-0x00c00000 : "romfs/jffs2" 0x00000000-0x00400000 : "loader/kernel" 0x00c00000-0x00d00000 : "User configuration" 0x00d00000-0x01000000 : "safe configuration" NET: Registered protocol family 2 IP: routing cache hash table of 512 buckets, 4Kbytes TCP established hash table entries: 2048 (order: 2, 16384 bytes) TCP bind hash table entries: 2048 (order: 1, 8192 bytes) TCP: Hash tables configured (established 2048 bind 2048) NET: Registered protocol family 1 NET: Registered protocol family 17 VFS: Mounted root (romfs filesystem) readonly. Freeing unused kernel memory: 60k freed (0x41aa000 - 0x41b8000) Kernel panic - not syncing: No init found. Try passing init= option to kernel.