На данный момент запускается Linux на refboard от Xilinx Spartan3A1800DSP.
Linux (2.6.37) качался git'ом с
http://xilinx.wikidot.com/microblaze-linux и там же брался тулчейн (BigEndian, gcc ver. 4.1.2)
В качестве Rootrf используется initramfs с минимальным набором приложений (Busybox ver. 1.13.2)
Опции ядра Microblaze:
Microblaze 8.20a: MMU enable; Enable Barrel Shifter; FPU disable; Enable Integer Multiplier 64MUL; Enable Integer Divider; Enable MSRI; Enable Pattern Comparator; Ins Cache 16k; Data Cache 16k; PVR Full.
Лог загрузки ядра:
Код
early_printk_console is enabled at 0x84000000
Ramdisk addr 0x00000003, Compiled-in FDT at 0xc0192b70
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.37 (kruger@x32) (gcc version 4.1.2) #13 Tue Nov 1 21:37:27 EET 2011
[ 0.000000] setup_cpuinfo: initialising
[ 0.000000] setup_cpuinfo: Using full CPU PVR support
[ 0.000000] cache: wt_msr_noirq
[ 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 c020d9e8, node_mem_map c0351000
[ 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,115200 root=/dev/ram
[ 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: 126380k/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.000000] Console: colour dummy device 80x25
[ 0.002160] Calibrating delay loop... 30.40 BogoMIPS (lpj=60800)
[ 0.064662] pid_max: default: 32768 minimum: 301
[ 0.066398] Mount-cache hash table entries: 512
[ 0.111689] Initializing cgroup subsys ns
[ 0.111872] ns_cgroup deprecated: consider using the 'clone_children' flag without the ns_cgroup.
[ 0.112113] Initializing cgroup subsys cpuacct
[ 0.112335] Initializing cgroup subsys devices
[ 0.112669] Initializing cgroup subsys freezer
[ 0.139872] devtmpfs: initialized
[ 0.174162] bio: create slab <bio-0> at 0
[ 0.179241] XGpio: /plb@0/gpio@81440000: registered
[ 0.181303] XGpio: /plb@0/gpio@81420000: registered
[ 0.182987] XGpio: /plb@0/gpio@81400000: registered
[ 0.185706] Switching to clocksource microblaze_clocksource
[ 0.188569] microblaze_timer_set_mode: oneshot
[ 2.601271] Skipping unavailable RESET gpio -2 (reset)
[ 2.601436] GPIO pin is already allocated
[ 2.710788] msgmni has been set to 246
[ 2.711890] io scheduler noop registered (default)
[ 2.718607] 84000000.serial: ttyUL0 at MMIO 0x84000000 (irq = 1) is a uartlite
[ 5.669448] console [ttyUL0] enabled
[ 5.823412] brd: module loaded
[ 5.901300] loop: module load%[ 5.938763] Freeing unused kernel memory: 893k freed
Starting rcS...
++ Creating device points
++ Mounting filesystem
++ Loading system loggers
++ Starting telnet daemon
rcS Complete
/bin/sh: can't access tty; job control turned off
/ #
/ #
2 gormih:
Спасибо.
Так и есть. Используется только самый необходимый набор драйверов.
Забыл сказать
Систему пока гружу с помощью XMD с ОЗУ