Microblaze wiki page
Projects
Description
Linux guides
Sites with limited access
User guides
Czech part
=================================================
FS-BOOT First Stage Bootloader (c) 2006 PetaLogix
Project name: Xilinx-ML505-ll_temac-sgdma-MMU-FDT-edk101
Build date: Dec 19 2008 11:32:33 FS
Serial console: Uartlite
=================================================
FS-BOOT: System initialisation completed.
FS-BOOT: Booting from FLASH. Press 's' for image download.
FS-BOOT: Booting image...
SDRAM :
Icache:OK
Dcache:OK
U-Boot Start:0x9ffc0000
FLASH: 32 MB
MAC:00:E0:0C:00:00:FD
eth0: Xilinx XPS LocalLink Tri-Mode Ether MAC #0 at 0x81C00000.
100BASE-T/FD
U-Boot-mONStR> run ml505
TFTP from server 192.168.0.102; our IP address is 192.168.0.3
Filename 'image.ub'.
Load address: 0x90800000
Loading: 100BASE-T/FD
#################################################################
#################################################################
####################
done
Bytes transferred = 2191424 (217040 hex)
TFTP from server 192.168.0.102; our IP address is 192.168.0.3
Filename 'system.dtb'.
Load address: 0x90780000
Loading: 100BASE-T/FD
#
done
Bytes transferred = 9067 (236b hex)
TFTP from server 192.168.0.102; our IP address is 192.168.0.3
Filename 'romfs.ub'.
Load address: 0x90c80000
Loading: 100BASE-T/FD
#################################################################
############################################################
done
Bytes transferred = 1827904 (1be440 hex)
## Booting kernel from Legacy Image at 90800000 ...
Image Name: kernel bez FS
Image Type: MicroBlaze Linux Kernel Image (uncompressed)
Data Size: 2191360 Bytes = 2.1 MB
Load Address: 90000000
Entry Point: 90000000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 90c80000 ...
Image Name: fs v no network
Image Type: MicroBlaze Linux RAMDisk Image (uncompressed)
Data Size: 1827840 Bytes = 1.7 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
## Flattened Device Tree blob at 90780000
Booting using the fdt blob at 0x90780000
## Loading init Ramdisk from Legacy Image at 90c80000 ...
Image Name: fs v no network
Image Type: MicroBlaze Linux RAMDisk Image (uncompressed)
Data Size: 1827840 Bytes = 1.7 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Transferring control to Linux (at address 90000000), 0x00000000 ramdisk 0x90c80040, FDT 0x90780000...
early_printk_console is enabled at 0x84000000
Ramdisk addr 0x90c80040, FDT 0x90780000
Found romfs @ 0x90c80040 (0x001bf000)
#### klimit 90267000 ####
Moving 0x001bf000 bytes from 0x90c80040 to 0x90266820
New klimit: 0x90426000
Found FDT at 0x90780000
Linux version 2.6.29-rc2-mONStR-00499-g76e3077 (monstr@monstr.eu) (gcc version 3.4.1 ( FDT1 Build -rc1 161208 )) #40 Thu Jan 29 14:57:00 CET 2009
setup_cpuinfo: initialising
setup_cpuinfo: Using full CPU PVR support
setup_memory: max_mapnr: 0xa0000
setup_memory: min_low_pfn: 0x90000
setup_memory: max_low_pfn: 0x10000
On node 0 totalpages: 65536
free_area_init_node: node 0, pgdat 901f9800, node_mem_map 90428000
Normal zone: 512 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 65024 pages, LIFO batch:15
Self modified code enable
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
Kernel command line: console=ttyUL0,115200 highres=on
xlnx,xps-intc-1.00.a #0 at 0x81800000, num_irq=9, edge=0x0
PID hash table entries: 1024 (order: 10, 4096 bytes)
xlnx,xps-timer-1.00.a #0 at 0x83c00000, irq=3
Heartbeat GPIO at 0x81400000
microblaze_timer_set_mode: shutdown
microblaze_timer_set_mode: periodic
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 255488k/262148k available
ODEBUG: selftest passed
Calibrating delay loop... 61.64 BogoMIPS (lpj=308224)
Mount-cache hash table entries: 512
net_namespace: 544 bytes
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
NET: Registered protocol family 1
msgmni has been set to 499
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
84000000.serial: ttyUL0 at MMIO 0x84000003 (irq = 8) is a uartlite
console [ttyUL0] enabled
brd: module loaded
nbd: registered device at major 43
Device Tree Probing 'ethernet'
xilinx_lltemac 81c00000.ethernet: MAC address is now 2: 0: 0: 0: 0: 0
xilinx_lltemac 81c00000.ethernet: XLlTemac: using DMA mode.
XLlTemac: Dma base address: phy: 0x84600180, virt: 0x84600180
XLlTemac: buffer descriptor size: 32768 (0x8000)
XLlTemac: Allocating DMA descriptors with kmalloc<6>XLlTemac: (buffer_descriptor_init) phy: 0x9f918000, virt: 0x9f918000, size: 0x8000
XTemac: PHY detected at address 7.
eth0 (): not using net_device_ops yet
eth0: Dropping NETIF_F_SG since no checksum feature.
xilinx_lltemac 81c00000.ethernet: eth0: Xilinx TEMAC at 0x81C00000 mapped to 0x81C00000, irq=5
uclinux[mtd]: RAM probe address=0x90266820 size=0x1bf000
Creating 1 MTD partitions on "RAM":
0x000000000000-0x0000001bf000 : "ROMfs"
uclinux[mtd]: set ROMfs to be root filesystem index=0
TCP cubic registered
NET: Registered protocol family 17
VFS: Mounted root (romfs filesystem) readonly on device 31:0.
Freeing unused kernel memory: 100k freed
Mounting proc:
Mounting var:
Populating /var:
Running local start scripts.
Mounting /etc/config:
Populating /etc/config:
flatfsd: Nonexistent or bad flatfs (-48), creating new one...
flatfsd: Failed to write flatfs (-48): No such device
flatfsd: Created 6 configuration files (310 bytes)
Mounting sysfs:
Setting hostname:
Setting up interface lo:
Setting up interface eth0:
eth0: XLlTemac: Options: 0x3fa
eth0: XLlTemac: allocating interrupt 1 for dma mode tx.
eth0: XLlTemac: allocating interrupt 2 for dma mode rx.
eth0: XLlTemac: speed set to 100Mb/s
eth0: XLlTemac: Send Threshold = 24, Receive Threshold = 4
eth0: XLlTemac: Send Wait bound = 254, Receive Wait bound = 254
Starting thttpd:
uclinux login: root
Password:
# cat /proc/cpuinfo
CPU-Family: MicroBlaze
FPGA-Arch: virtex5
CPU-Ver: 7.10.d
CPU-MHz: 125.00
BogoMips: 61.64
HW:
Shift: yes
MSR: yes
PCMP: yes
DIV: yes
MMU: 3
MUL: v2
FPU: v2
Exc: op0x0 unal ill zero fpu
Icache: 8kB
Dcache: 8kB
HW-Debug: yes
PVR-USR1: 0
PVR-USR2: 0
# ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes
64 bytes from 192.168.0.1: icmp_seq=0 ttl=64 time=15.0 ms
64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=5.7 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=5.7 ms
--- 192.168.0.1 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 5.7/8.8/15.0 ms
# ifconfig
eth0 Link encap:Ethernet HWaddr 02:00:00:00:00:00
inet addr:192.168.0.10 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:354 (354.0 B) TX bytes:336 (336.0 B)
Interrupt:5
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
# ps
PID PORT STAT SIZE SHARED %CPU COMMAND
1 S 193K 0K 3.5 /bin/init
2 S 0K 0K 0.0 kthreadd
3 S 0K 0K 0.0 ksoftirqd/0
4 S 0K 0K 0.0 events/0
5 S 0K 0K 0.0 khelper
6 S 0K 0K 0.0 kblockd/0
7 S 0K 0K 0.0 pdflush
8 S 0K 0K 0.0 pdflush
9 S 0K 0K 0.0 kswapd0
10 S 0K 0K 0.0 aio/0
11 S 0K 0K 1.3 mtdblockd
45 S 163K 0K 0.6 thttpd -c *.cgi
47 S 1443K 0K 2.1 -sh
48 S 83K 0K 0.2 /bin/flatfsd
49 S 100K 0K 0.5 /bin/inetd /etc/inetd.conf
53 R 187K 0K 0.0 ps
# mount -t nfs -o tcp -o nolock 192.168.0.102:/tftpboot/nfs /mnt
# mount
/dev/mtdblock0 on / type romfs (ro)
/proc on /proc type proc (rw)
none on /var type ramfs (rw)
none on /etc/config type ramfs (rw)
none on /sys type sysfs (rw)
192.168.0.102:/tftpboot/nfs on /mnt type nfs (rw,vers=3,rsize=32768,wsize=32768,namlen=255,hard,nointr,nolock,proto=tcp,timeo=70,retrans=3,sec=sys,addr=192.168.0.102)
#
# mount -t nfs -o nolock 192.168.0.102:/tftpboot/nfs /mnt
# mount
/dev/mtdblock0 on / type romfs (ro)
/proc on /proc type proc (rw)
none on /var type ramfs (rw)
none on /etc/config type ramfs (rw)
none on /sys type sysfs (rw)
192.168.0.102:/tftpboot/nfs on /mnt type nfs (rw,vers=3,rsize=32768,wsize=32768,namlen=255,hard,nointr,nolock,proto=udp,timeo=7,retrans=3,sec=sys,addr=192.168.0.102)
#