新千葉 ガーベージ・コレクション

FPGA マガジンやインターフェースで書けなかったこと等をちょぼちょぼ書いてます。@ryos36

logiTAP6 で microblaze linux

おしい、、、

early_printk_console is enabled at 0x50002000
Ramdisk addr 0x00001000, Compiled-in FDT at 0x1011dfb0
ERROR: Microblaze BARREL, MSR, PCMP or DIV-different for kernel and DTS
early_printk_console is enabled at 0x50002000

DTS と .config の内容が違ったようだ。CPU に DIV の機能がない、、、.config を修正して再挑戦

Ramdisk addr 0x00001000, Compiled-in FDT at 0x1011f840
Linux version 2.6.34-00671-g91e2c43 (ryos@heavens-door) (gcc version 4.1.2) #7 Tue Sep 7 10:04:37 JST 2010
setup_cpuinfo: initialising
setup_cpuinfo: No PVR support. Using static CPU info from FDT
cache: wt_msr
setup_memory: Main mem: 0x10000000-0x18000000, size 0x08000000
setup_memory: kernel addr=0x10000000-0x10179000 size=0x00179000
setup_memory: max_mapnr: 0x8000
setup_memory: min_low_pfn: 0x10000
setup_memory: max_low_pfn: 0x18000
On node 0 totalpages: 32768
free_area_init_node: node 0, pgdat 1015d8e0, node_mem_map 1017a000
  Normal zone: 256 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 32512 pages, LIFO batch:0
Built 1 zonelists in Zone order, mobility gr

おしい、、、
いろいろやっている間に rootfs の直前まで動くようになった。

early_printk_console is enabled at 0x50002000
Ramdisk addr 0x00000000, Compiled-in FDT at 0x1011f840
Linux version 2.6.34-00671-g91e2c43 (ryos@heavens-door) (gcc version 4.1.2) #8 Tue Sep 7 10:14:53 JST 2010
setup_cpuinfo: initialising
setup_cpuinfo: No PVR support. Using static CPU info from FDT
cache: wt_msr
setup_memory: Main mem: 0x10000000-0x18000000, size 0x08000000
setup_memory: kernel addr=0x10000000-0x10179000 size=0x00179000
setup_memory: max_mapnr: 0x8000
setup_memory: min_low_pfn: 0x10000
setup_memory: max_low_pfn: 0x18000
On node 0 totalpages: 32768
free_area_init_node: node 0, pgdat 1015d8e0, node_mem_map 1017a000
  Normal zone: 256 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 32512 pages, LIFO batch:0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: console=ttyUL0 root=/dev/ram
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128432k/131072k available
Hierarchical RCU implementation.
RCU-based detection of stalled CPUs is enabled.
NR_IRQS:32
xlnx,xps-intc-1.00.a #0 at 0x50003000, num_irq=5, edge=0xc
Please enable two timers in HW
xlnx,xps-timer-1.00.a #0 at 0x50001000, irq=3
microblaze_timer_set_mode: shutdown
microblaze_timer_set_mode: periodic
Calibrating delay loop... 38.65 BogoMIPS (lpj=77312)
Mount-cache hash table entries: 512
bio: create slab <bio-0> at 0
Switching to clocksource microblaze_clocksource
ROMFS MTD (C) 2007 Red Hat, Inc.
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
50002000.serial: ttyUL0 at MMIO 0x50002003 (irq = 2) is a uartlite
console [ttyUL0] enabled
VFS: Cannot open root device "ram" or unknown-block(1,0)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)