1*4882a593SmuzhiyunThis is the buildroot board support for the Avnet Spartan6 LX9 MicroBoard. 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunThe Avnet S6LX9 Microboard is a small USB-Stick sized module containing 4*4882a593Smuzhiyuna Spartan6 FPGA capable of running the Microblaze softcore processor 5*4882a593Smuzhiyuntogether with RAM and FLASH memory. 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunThe board can be bought from Avnet (avnet.com) or from Trenz Electronic 8*4882a593Smuzhiyun(www.trenz-electronic.de) for a low price. 9*4882a593Smuzhiyun 10*4882a593SmuzhiyunTo run the Linux built with buildroot you have to install the FPGA bitfile 11*4882a593Smuzhiyunand u-boot as described in the tutorial AvtS6LX9MicroBoard_SW302_PetaLinux 12*4882a593Smuzhiyunavailable on http://www.em.avnet.com/s6microboard 13*4882a593Smuzhiyun 14*4882a593SmuzhiyunOn this site also is a forum containing information on how to build your own 15*4882a593SmuzhiyunMicroblaze processor for the Microboard. 16*4882a593Smuzhiyun 17*4882a593SmuzhiyunThe image file (default name is simpleImage.lx9_mmu.ub) has to be copied 18*4882a593Smuzhiyunto your tftp folder (often /tftpboot/) or can be programmed into the 19*4882a593Smuzhiyunboard's SPI flash. 20*4882a593Smuzhiyun 21*4882a593SmuzhiyunSample session: 22*4882a593Smuzhiyun 23*4882a593Smuzhiyun$ make s6lx9_microboard_defconfig 24*4882a593Smuzhiyun$ make 25*4882a593Smuzhiyun$ cp build/linux-<version>/arch/microblaze/boot/simpleImage.lx9_mmu.ub /tftpboot/br12.2a.ub 26*4882a593Smuzhiyun$ minicom 27*4882a593Smuzhiyun<hit the reset button on the S6LX9 Microboard> 28*4882a593Smuzhiyun 29*4882a593Smuzhiyun Icache:ON 30*4882a593Smuzhiyun Dcache:ON 31*4882a593Smuzhiyun U-Boot Start:0x83f00000 32*4882a593SmuzhiyunSF: Got idcode 20 ba 18 10 01 33*4882a593Smuzhiyun*** Warning - bad CRC, using default environment 34*4882a593Smuzhiyun 35*4882a593SmuzhiyunNet: Xilinx_Emaclite 36*4882a593SmuzhiyunMAC: 00:0a:35:00:63:37 37*4882a593SmuzhiyunU-BOOT for Avnet-LX9-Microboard-AXI-tiny-13.1 38*4882a593Smuzhiyun 39*4882a593SmuzhiyunBOOTP broadcast 1 40*4882a593SmuzhiyunDHCP client bound to address 192.168.11.122 41*4882a593SmuzhiyunHit any key to stop autoboot: 0 42*4882a593SmuzhiyunU-Boot-PetaLinux> tftp br12.2a.ub 43*4882a593SmuzhiyunUsing Xilinx_Emaclite device 44*4882a593SmuzhiyunTFTP from server 192.168.11.10; our IP address is 192.168.11.122 45*4882a593SmuzhiyunFilename 'br12.2a.ub'. 46*4882a593SmuzhiyunLoad address: 0x80002000 47*4882a593SmuzhiyunLoading: ################################################################# 48*4882a593Smuzhiyun ################################################################# 49*4882a593Smuzhiyun ################################################################# 50*4882a593Smuzhiyun ################################################################# 51*4882a593Smuzhiyun ################################################################# 52*4882a593Smuzhiyun ############################## 53*4882a593Smuzhiyundone 54*4882a593SmuzhiyunBytes transferred = 5207724 (4f76ac hex) 55*4882a593SmuzhiyunU-Boot-PetaLinux> bootm 56*4882a593Smuzhiyun## Booting kernel from Legacy Image at 80002000 ... 57*4882a593Smuzhiyun Image Name: Linux-3.1.0 58*4882a593Smuzhiyun Image Type: MicroBlaze Linux Kernel Image (uncompressed) 59*4882a593Smuzhiyun Data Size: 5207660 Bytes = 5 MB 60*4882a593Smuzhiyun Load Address: 80000000 61*4882a593Smuzhiyun Entry Point: 80000000 62*4882a593Smuzhiyun Verifying Checksum ... OK 63*4882a593Smuzhiyun Loading Kernel Image ... OK 64*4882a593SmuzhiyunOK 65*4882a593Smuzhiyun## Transferring control to Linux (at address 80000000), 0x80000000 ramdisk 0x00000000, FDT 0x00000000... 66*4882a593SmuzhiyunEarly console on uartlite at 0x40600000 67*4882a593Smuzhiyun..... boot log skipped 68*4882a593Smuzhiyun 69*4882a593SmuzhiyunWelcome to Microblaze Buildroot 70*4882a593SmuzhiyunMicroblaze login: 71