Forum Discussion
Altera_Forum
Honored Contributor
20 years agouclinux boot failed !!!
hi all, I am trying to boot uclinux kernel on 2s60es board, I am using build root. I have change memory map (ram and CF still remains same) and removed CF, perf monitor, sysid. While ...
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by hippo@May 26 2006, 05:12 AM it looked like you enabled both serial uart and jtag uart.
please try enable only one of them, eg jtag uart, and with console support.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15594)
--- quote end ---
--- Quote End --- hi hippo and all, thanks for the reply, I disabled jtag uart, doing so I am not getting any prints .... So I enable it again with debug prints on jtag uart disable, also I left debug prints enable on nios serial uart. One more change I made in /Device Drivers / Block Devices / I-O scheduler / I disabled deadline io scheduler and enabled Anticipatory io scheduler ... also I disable premptable kernel support and now its booting fine with ramdisk support as given by you. I don't have much understanding with this so I can't give you any reason why its working http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/rolleyes.gif . One more thing, now I my trying to boot my ucllinux with NFS file system. So doing it ..... ************ config start ****** I have removed ramdisk path in my kernel config /Device Driver/Block devices / initramfs source file path.... Also I have enable networking support with SMC 91c111, TCP/IP support, ip from bootp and dhcp .... In Network file system I have enabled NFS file system support NFSV3 and 4 client support Allow direct I/O on NFS files and finally Root file system on NFS also Kernel automounter version 4 support is enable ********* config end ********* With this new configuration if I boot my kernel I am getting these msg with kernel crash
uClinux/Nios II
Altera Nios II support (C) 2004 Microtronix Datacom Ltd.
setup_arch: No persistant network settings signature at 007F0000
Built 1 zonelists
Kernel command line:
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: 14092k/16384k RAM, 0k/0k ROM (1598k kernel code, 501k data)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
NET: Registered protocol family 16
Initializing Cryptographic API
NIOS serial driver version 0.0
ttyS0 (irq = 5) is a builtin NIOS UART
Serial: JTAG UART driver $Revision: 1.4 $
ttyJ0 at MMIO 0x80920800 (irq = 1) is a jtag_uart
io scheduler noop registered
io scheduler deadline registered
smc_probe: 50000 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:00:00:00
smc_probe: 50000 Khz Nios
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
NET: Registered protocol family 1
NET: Registered protocol family 17
Freeing unused kernel memory: 364k freed (0x11a0000 - 0x11fa000)
oom-killer: gfp_mask=0xd0
DMA per-cpu:
cpu 0 hot: low 2, high 6, batch 1
cpu 0 cold: low 18959064, high 2, batch 1
Normal per-cpu: empty
HighMem per-cpu: empty
Free pages: 12488kB (0kB HighMem)
Active:250 inactive:63 dirty:0 writeback:0 unstable:0 free:3122 slab:151 mapped:0 pagetables:0
DMA free:12488kB min:512kB low:640kB high:768kB active:1000kB inactive:252kB present:16384kB pages_scanned:66186 all_unreclaimable? yes
lowmem_reserve: 0 0 0
Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve: 0 0 0
HighMem free:0kB min:128kB low:160kB high:192kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve: 0 0 0
DMA: 0*4kB 1*8kB 2*16kB 2097663*32kB 2*64kB 2*128kB 1*256kB 1*512kB 1*1024kB 1*2048kB 2*4096kB = 67137672kB
Normal: empty
HighMem: empty
oom-killer: gfp_mask=0xd0
DMA per-cpu:
cpu 0 hot: low 2, high 6, batch 1
cpu 0 cold: low 18959064, high 2, batch 1
Normal per-cpu: empty
HighMem per-cpu: empty Any Idea why I am getting this. thanks Ankur