--- Begin Message ---
- Subject: MicroBlaze in Spartan 3 playing tuxchess :)
- From: "Antti" <Antti.Lukats@xxxxxxxxxx>
- Date: 8 Feb 2006 06:21:32 -0800
- Complaints-to: groups-abuse@xxxxxxxxxx
- Injection-info: o13g2000cwo.googlegroups.com; posting-host=217.91.91.54; posting-account=ZxycPw0AAAAa4xqNdyMKREIabQ0jxhWj
- Newsgroups: comp.arch.fpga
- Organization: http://groups.google.com
- User-agent: G2/0.2
- Xref: shelby.stanford.edu comp.arch.fpga:97564
Hi
having MicroBlaze to boot uClinux to command prompt sure is nice also
but seeing it running graphical tuxchess is even better !
afterwards it seems always so simple, here are the steps to do it:
1 make EDK 8.1 MicroBlaze system (W32 host)
2 TFT LCD ref from Ml300 ref design
(needs tweaking in EDK to enable PLB bus for Spartan 3 architecture)
3 build uClinux (only step that requires linux machine or emulator!)
3 get CYGWIN
4 get GNU C source for MB from Xilinx
5 run build scritps to build the toolchain
6 get u-boot sources
7 add framebuffer support for u-boot (really simple!)
8 add MMC/SD card support to uboot (also simple)
9 build u-boot
10 add MMC driver to ucLinux, rebuild kernel
11 copy linux.bin, libc.a and some .h files from tree into W32 machine
12 setup Out of tree compile make file
13 get microwindows sources
14 setup custom makefiles for microwin
15 fix graphic driver for microwindos (maybe 20 lines of code changes!)
16 build microwindows drivers and nano-X server objects
17 build tuxchess
18 copy tuxchess into romfs\bin\
19 copy chess images into some location on the romfs
20 run genromfs (all on W32 machine!)
21 copy /b linux.bin + ronmfs.img image.bin
22 copy image.bin onto SD card
23 insert SD card and reboot FPGA
and here it goes..
.. preboot loader reads u-boot into SDRAM
.. u-boot starts and loads image.bin
.. uClinux prompt appears
>tuxchess
and voila you have the Chess game on the TFT LCD
simple uhh ?
- actually it is simple, after doing it once
Antti
--- End Message ---