- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can not boot vmlinux. I'm trying to boot it because I have a small 8MB SDRAM on DE2 board and would like to avoid kernel image decompress process . I get sth like this:
nios2-terminal nios2-terminal: connected to hardware target using JTAG UART on cable nios2-terminal: "USB-Blaster [USB 1-1.1.2]", device 1, instance 0 nios2-terminal: (Use the IDE stop button or Ctrl-C to terminate) Linux version 2.6.34-00692-g5bc7853-dirty (lukasz@lenovo) (gcc veLinux version 2.6.34-00692-g5bc7853-dirty (lukasz@lenovo) (gcc version 4.1.2)# 5 Thu Jan 26 02:00:29 CET 2012 bootconsole [early0] enabled early_console initialized at 0xe1801490 Linux/Nios II-MMU init_bootmem_node(?,0xa88, 0x800, 0x1000) free_bootmem(0xa88000, 0x578000) reserve_bootmem(0xa88000, 0x100) Built 1 zonelists in Zone order, mobility grouping off. Total pages: 2032 Kernel command line: PID hash table entries: 32 (order: -5, 128 bytes) Dentry cache hash table entries: 1024 (order: 0, 4096 bytes) Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) We have 4096 pages of RAM Memory available: 5516k/2591k RAM, 0k/0k ROM (1974k kernel code, 617k data) Hierarchical RCU implementation. NR_IRQS:32 Calibrating delay loop... 24.21 BogoMIPS (lpj=121088) Mount-cache hash table entries: 512 NET: Registered protocol family 16 init_BSP(): registering device resources 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: 512 (order: 0, 4096 bytes) TCP bind hash table entries: 512 (order: -1, 2048 bytes) TCP: Hash tables configured (established 512 bind 512) 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 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 16 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 0x1801490 (irq = 1) is a Altera JTAG UART console [ttyJ0] enabled, bootconsole disabled console [ttyJ0] enabled, bootconsole disabled ttyS0 at MMIO 0x1801420 (irq = 2) is a Altera UART dm9000 Ethernet Driver, V1.31 dm9000 dm9000.0: eth%d: Invalid ethernet MAC address. Please set using ifconfig eth0: dm9000a at e1801498,e180149c IRQ 5 MAC: 00:00:00:00:00:00 (chip) mice: PS/2 mouse device common for all mice TCP cubic registered NET: Registered protocol family 17 List of all partitions: No filesystem could mount root, tried: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) mages$ ls -lh razem 25M -rwxr-xr-x 1 lukasz lukasz 5,4M 2012-01-26 01:55 linux.initramfs.gz -rw-r--r-- 1 lukasz lukasz 5,5M 2012-01-26 01:55 rootfs.initramfs -rw-r--r-- 1 lukasz lukasz 15K 2012-01-26 01:55 rootfs.initramfs.contents -rw-r--r-- 1 lukasz lukasz 2,4M 2012-01-26 01:55 rootfs.initramfs.gz -rw-r--r-- 1 lukasz lukasz 3,0M 2012-01-26 01:55 rootfs.jffs2 -rw-r--r-- 1 lukasz lukasz 550K 2012-01-26 01:55 System.map.initramfs.gz -rw-r--r-- 1 lukasz lukasz 1,2M 2012-01-26 01:55 vmImage -rwxr-xr-x 1 lukasz lukasz 3,1M 2012-01-26 01:55 vmlinux lrwxrwxrwx 1 lukasz lukasz 19 2012-01-26 01:55 zImage -> zImage.initramfs.gz -rwxr-xr-x 1 lukasz lukasz 3,5M 2012-01-26 01:55 zImage.initramfs.gz I was tring make a smaller image and get 3.1M compressed image but it was also to few. Can I boot decompressed vmlinux image?Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All
I'm still fighting with this problem. I wonder if I could this root fs have on flash? I have successfully run u-boot and can program flash. Will be good if I would have rootfs.jffs2 on flash and program SDRAM with vmlinux? And how to show kernel that rootfs is on flash...?
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page