Решил гулять так гулять и пересобрал microblaze по минимуму, оставив следующие коры:
lmb_bram, dlmb_cntlr, ilmb_cntlr, DDR2_SDRAM, mdm_0, xps_intc_0, xps_timer_0 (прицеплен к контр. прерываний) и uartlite (прицеплен к контр. прерываний, скорость 115200)
Опции самого ядра microblaze(частота 62,5 МГц):
Код
MicroBlaze Processor Configuration :
-------------------------------------
Version............................8.20.a
Optimization.......................Performance
Interconnect.......................PLB_v46
MMU Type...........................Full_MMU
No of PC Breakpoints...............1
No of Read Addr/Data Watchpoints...0
No of Write Addr/Data Watchpoints..0
Instruction Cache Support..........on
Instruction Cache Base Address.....0x48000000
Instruction Cache High Address.....0x4fffffff
Data Cache Support.................on
Data Cache Base Address............0x48000000
Data Cache High Address............0x4fffffff
Exceptions Support................on
FPU Support.......................on
Hard Divider Support...............on
Hard Multiplier Support............on - (Mul64)
Barrel Shifter Support.............on
MSR clr/set Instruction Support....on
Compare Instruction Support........on
PVR Supported......................on
PVR Configuration Type.............Full
Data Cache Write-back Support......on
Fault Tolerance Support............off
Stack Protection Support...........off
Размеры кэша у ядра по 32 КБайта.
Лог загрузки пингвина на такой системе:
Код
/ # [ 0.000000] Ramdisk addr 0x00000003, Compiled-in FDT at 0xc00f56b8
[ 0.000000] Linux version 2.6.37 (kruger@x32) (gcc version 4.1.2) #39 PREEMPT Fri Nov 11 23:16:33 EET 2011
[ 0.000000] setup_cpuinfo: initialising
[ 0.000000] setup_cpuinfo: Using full CPU PVR support
[ 0.000000] cache: wb_msr
[ 0.000000] setup_memory: max_mapnr: 0x8000
[ 0.000000] setup_memory: min_low_pfn: 0x48000
[ 0.000000] setup_memory: max_low_pfn: 0x50000
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] free_area_init_node: node 0, pgdat c012cde0, node_mem_map c0210000
[ 0.000000] Normal zone: 256 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32512 pages, LIFO batch:7
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: console=ttyUL0 root=/dev/ram quiet mem=128M lpj=58240
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Memory: 127664k/131072k available
[ 0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:32
[ 0.000000] xlnx,xps-intc-1.00.a #0 at 0xc8000000, num_irq=2, edge=0x3
[ 0.000000] xlnx,xps-timer-1.00.a #0 at 0xc8004000, irq=0
[ 0.000000] microblaze_timer_set_mode: shutdown
[ 0.000000] microblaze_timer_set_mode: periodic
[ 0.000522] Calibrating delay loop (skipped) preset value.. 34.40 BogoMIPS (lpj=58240)
[ 0.000777] pid_max: default: 4096 minimum: 301
[ 0.001815] Mount-cache hash table entries: 512
[ 0.008476] devtmpfs: initialized
[ 0.016465] Switching to clocksource microblaze_clocksource
[ 0.017151] microblaze_timer_set_mode: oneshot
[ 1.581846] 84000000.serial: ttyUL0 at MMIO 0x84000000 (irq = 1) is a uartlite
[ 1.763361] console [ttyUL0] enabled
[ 1.777262] Freeing unused kernel memory: 869k freed
Starting rcS...
++ Creating device points
mount: mounting devpts on /dev/pts failed: No such device
++ Mounting filesystem
++ Loading system loggers
++ Starting telnet daemon
rcS Complete
/bin/sh: can't access tty; job control turned off
/ #
/ #
Конфиг линуха в аттаче.
config.txt ( 10.49 килобайт )
Кол-во скачиваний: 218