Local Area Tracking system System Control Unit Goals

  • Slides: 8
Download presentation
Local Area Tracking system System Control Unit

Local Area Tracking system System Control Unit

Goals Configure Spartan 3 FPGA development board to boot and run u. Clinux OS

Goals Configure Spartan 3 FPGA development board to boot and run u. Clinux OS n Be able to control dev board peripherals n Optimize design for best CPU performance n Caching n Increased clock speed n n Be able to include and interact with future system components

u. Clinux Get the kernel configuration right n Set up hardware to match u.

u. Clinux Get the kernel configuration right n Set up hardware to match u. Clinux kernel configuration n Efficient coding to allow BRAM for Microblaze instruction and data caching n

Trail of tears… First attempt was to boot u. Clinux at default 50 MHz

Trail of tears… First attempt was to boot u. Clinux at default 50 MHz CPU speed n Next was to enable instruction and data caching n Finally, increased clock speed achieved our current best speed of 39. 42 Bogo. MIPS. n

Successful Boot Inode cache hash table entries: 512 (order: 0, 4096 bytes) Mount cache

Successful Boot Inode cache hash table entries: 512 (order: 0, 4096 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) Buffer cache hash table entries: 1024 (order: 0, 4096 bytes) Linux version 2. 4. 27 -uc 1 (root@curly. hitl. washington. edu) (gcc version 2. 95. 3 Page-cache hash table entries: 2048 (order: 1, 8192 bytes) 4 Xilinx EDK 6. 2. 1 Build EDK_Gm. 12. 3) #12 Mon Nov 15 17: 58: 31 PST 2004 On node 0 totalpages: 2048 zone(0): 2048 pages. zone(1): 0 pages. zone(2): 0 pages. CPU: MICROBLAZE POSIX conformance testing by UNIFIX Linux NET 4. 0 for Linux 2. 4 Based upon Swansea University Computer Society NET 3. 039 Microblaze UARTlite serial driver version 1. 00 tty. S 0 at 0 xffff 2000 (irq = 1) is a Microblaze UARTlite tty. S 1 at 0 xffff 4000 (irq = 2) is a Microblaze UARTlite Console: xmbserial on UARTLite Starting kswapd Kernel command line: xgpio #0 at 0 x. FFFF 5000 mapped to 0 x. FFFF 5000 Calibrating delay loop. . . 39. 42 Bogo. MIPS Xilinx GPIO registered Memory: 8 MB = 8 MB total RAMDISK driver initialized: 16 RAM disks of 4096 K size 1024 blocksize Memory: 6784 KB available (653 K code, 654 K data, 40 K init) Dentry cache hash table entries: 1024 (order: 1, 8192 bytes) MBVanilla flash probe(0 xff 000000, 4194304, 4): 400000 at ff 00000 CFI: Found no Flash device at location zero

Search for id: (00 00) interleave(2) type(2) mtd: Giving out device 0 to Romfs

Search for id: (00 00) interleave(2) type(2) mtd: Giving out device 0 to Romfs Search for id: (00 00) interleave(2) type(2) VFS: Mounted root (romfs filesystem) readonly. Search for id: (00 00) interleave(2) type(2) Freeing init memory: 40 K Search for id: (00 00) interleave(2) type(1) Shell invoked to run file: /etc/rc Search for id: (00 00) interleave(2) type(1) Command: hostname microblaze 1 Search for id: (00 00) interleave(2) type(1) Command: ifconfig lo 127. 0. 0. 1 Search for id: (00 00) interleave(4) type(2) ifconfig: socket: Address family not supported by protocol Search for id: (00 00) interleave(4) type(2) pid 10: failed 256 Search for id: (00 00) interleave(4) type(2) Command: ifconfig eth 0 192. 168. 1. 1 Search for id: (00 00) interleave(4) type(1) ifconfig: socket: Address family not supported by protocol Search for id: (00 00) interleave(4) type(1) pid 11: failed 256 Search for id: (00 00) interleave(4) type(1) Command: /bin/expand /etc/ramfs. img /dev/ram 0 JEDEC: Found no Flash device at location zero Command: /bin/expand /etc/ramfs. img /dev/ram 1 MBVanilla ram probe(0 x 800 d 59 e 4, 466944, 4): 72000 at 800 d 59 e 4 Command: mount -t proc /proc Creating 1 MTD partitions on "RAM": Command: mount -t ext 2 /dev/ram 0 /var 0 x 0000 -0 x 00072000 : "Romfs" Command: mount -t ext 2 /dev/ram 1 /usr

Command: portmap & [17] Command: mkdir /var/tmp Command: mkdir /var/log Command: mkdir /var/run Command:

Command: portmap & [17] Command: mkdir /var/tmp Command: mkdir /var/log Command: mkdir /var/run Command: mkdir /var/lock Command: cat /etc/motd Welcome to ____ _ _ / ___| (_)_ __ _ _ | | | | '_ | | | < / > | |_| | |___| | | |_| |> < | __, _| ____|_| |_|__, _/_/_> |_) on Microblaze. http: //www. itee. uq. edu. au/~jwilliams/mblaze-uclinux Execution Finished, Exiting Sash command shell (version 1. 1. 1) />

Coming soon… Full reference project n Tutorials on setting up cache, increasing clock speed,

Coming soon… Full reference project n Tutorials on setting up cache, increasing clock speed, and known bugs n