[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] Port of Microblaze uClinux on SpartanIIE 600 LC Memec Board



Dear Mister Williams,

I'm trying to port your  Microblaze uClinux Demo Package to the SPARTAN
II 600E LC Memec Board With P160 extension board.

I've made a new design (based on your uClinux_auto_6_30_b design for
V2MB100 design).

I succeed to load the bitstream to the FPGA, to download the kernel
binary image at adress 0x80_000_000 and then to download the
bootloader_xmdstub.elf at adress 0xFF_E00_000.

The Hyperterminal comes up with the Following message :

	J-Boot Menu

	-----------
	1.    Execute Flash image
	2.    Execute RAM image
	3.    Erase Flash
	4.    Write image into Flash
	5.    Set kernel cmdline
	Make your choice>2

	Linux version 2.4.21-uc0 (jwilliam@g435-9029) (gcc version
2.95.3-4 Xilinx EDK 6.1 Build EDK_G.3) #1352 Mon Aug 	25 10:00:04 EST
2003
	On node 0 totalpages: 40        zone(0): 0 pages.
	zone(1): 40     zone(2): 0 pages.
	CPU: MICROBLAZE
	Console: xmbserial on UARTLite
	Kernel command line:

It seems that the kernel did not start properly. Only 40 pages are
detected (against 4096 specified in your documentation)

The design abstract (extrated fro MHS file) is :

	#
########################################################################
######
	# Target Board:  Memec Design Spartan-II600E LC
	# with P160 Comm Module 1 Rev 1
	# Family:          spartan2e
	# Device:          XC2S600E
	# Package:       FG456
	# Speed Grade: -6
	# Processor: Microblaze
	# System clock frequency: 66.666667 MHz
	# Debug interface: On-Chip HW Debug Module
	# Data Cache: 8 KB
	# Instruction Cache: 4 KB
	# On Chip Memory :  4 KB
	# Total Off Chip Memory :  41 MB
	# - SRAM_256Kx32 =   1 MB
	# - FLASH2Mx32 =   8 MB
	# - SDRAM_8Mx32 =  32 MB
	#
########################################################################
######
	# Parameters
	 PARAMETER VERSION = 2.1.0

I've replaced the ddr ram of your design by the SDRAM_8Mx32.
The memory map of my design is as follow:

	Instance           BASE_ADDR       HIGH_ADDR         SIZE
	dlmb_cntrl         0x00_000_000    0x00_000_FFF      4KB
	ilmb_cntrl         0x00_000_000    0x00_000_FFF      4KB
	Push_Buttons       0x43_040_000    0x43_040_1FF      512
	Leds_4Bit          0x43_050_000    0x43_050_1FF      512
	Led_7Segment       0x43_060_000    0x43_060_1FF      512
	Dip_Siwtchs        0x43_080_000    0x43_080_1FF      512
	SDRAM_8Mx32        0x80_000_000    0x81_FFF_FFF      32MB
	Ethernet           0xC0_000_000    0xC0_003_FFF      16KB
	Sram_flash MEM1    0xFF_000_000    0xFF_7FF_FFF      8MB
	Sram_flash MEM0    0xFF_E00_000    0xFF_EFF_FFF      1MB
	Sram_Flash         0xFF_FF0_000    0xFF_FF0_1FF      512
	System_timer       0xFF_FF1_000    0xFF_FF_10FF      256
	Console_uart       0xFF_FF2_000    0xFF_FF_20FF      256
	System_intc        0xFF_FF3_000    0xFF_FF_301F      32
	Debug_module       0xFF_FFC_000    0xFF_FF_C0FF      256

The bootlaoder as been compiled without xmdstub, with start address at
0xFF_E00_000 (SRAM_256kx32).

I've not used the local com port (115200 bauds), I supposed that the
purpose is for xmdstud (i did not realy understand the use of that
port).

Thus, to have XMD working properly, I need to remove the xmd.ini from
the project directory.

I guess you've read all that informations and that you could help me to
continue with that design.

At that point I did not understand why the procedure stop after the
Kernel command line:

May be the Kernel Image is not compliant with my hardware.

I've seen in the arrchives that somes of you have ported uClinux on
Spartan IIE 600 LC, any help will be grately apreciated.

Kinds regards

 

Christophe ALAYRAC


CRESITT INDUSTRIE
12 Rue de Blois, BP6744
45067 ORLEANS Cedex 2
Tel : 02.38.49.45.59
Fax :02.38.49.45.55
Email : christophe.alayrac@cresitt.com 
Web : http://www.cresitt.com




___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/