Forum Discussion
Altera_Forum
Honored Contributor
14 years agoHi Turhan,
After struggling for hours and with help I managed to make it. I cd to linux-2.6 and make mrproper. Cd to uclinux-dist and make. I downloaded to FPGA. But the following error occur at nios2-terminal: nuar@nuar-desktop:~/Programs/nios2-linux/uClinux-dist/images$ nios2-download -g zImage.initramfs.gz rpm: Command not found. Using cable "USB-Blaster [USB 5-1.1]", device 1, instance 0x00 Pausing target processor: OK Initializing CPU cache (if present) OK Downloaded 3942KB in 34.5s (114.2KB/s) Verified OK Starting processor at address 0xC3500000 nuar@nuar-desktop:~/Programs/nios2-linux/uClinux-dist/images$ nios2-terminalnios2-terminal: connected to hardware target using JTAG UART on cable nios2-terminal: "USB-Blaster [USB 5-1.1]", device 1, instance 0 nios2-terminal: (Use the IDE stop button or Ctrl-C to terminate) Linux version 3.1.0-rc7-01765-g9b1c815 (nuar@nuar-desktop) (gcc version 4.1.2)# 18 Thu Sep 29 13:50:51 MYT 2011 bootconsole [early0] enabled early_console initialized at 0xe4001020 On node 0 totalpages: 8192 free_area_init_node: node 0, pgdat c2550f8c, node_mem_map c25667a0 DMA zone: 64 pages used for memmap DMA zone: 0 pages reserved DMA zone: 8128 pages, LIFO batch:0 pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 pcpu-alloc: [0] 0 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128 Kernel command line: init=/bin/init PID hash table entries: 128 (order: -3, 512 bytes) Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Memory available: 26920k/5522k RAM (2189k kernel code, 3332k data) NR_IRQS:32 Calibrating delay loop... 77.82 BogoMIPS (lpj=155648) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 NET: Registered protocol family 16 bio: create slab <bio-0> at 0 Switching to clocksource timer NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) 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) TCP reno registered UDP hash table entries: 256 (order: 0, 4096 bytes) UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc. msgmni has been set to 52 Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) ttyJ0 at MMIO 0x4001020 (irq = 1) is a Altera JTAG UART console [ttyJ0] enabled, bootconsole disabled console [ttyJ0] enabled, bootconsole disabled mousedev: PS/2 mouse device common for all mice TCP cubic registered NET: Registered protocol family 17 Freeing unused kernel memory: 2740k freed (0xc2225000 - 0xc24d2000) Oops: Exception in kernel mode, sig: 4 r1: c2000cc0 r2: 00000000 r3: 00004ff8 r4: 80000000 r5: 00004b98 r6: 00000468 r7: ffffe000 r8: 00000002 r9: c381c8e8 r10: c255bfe0 r11: 00000000 r12: 00000001 r13: c3058de0 r14: c255cbb4 r15: 00000001 ra: c0001004 fp: 00000006 sp: c3c19d5c gp: 00000000 ea: c20b5d24 estatus: 00000001 Kernel panic - not syncing: Attempted to kill init! Moganesh