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

Re: [microblaze-uclinux] Problem mounting CF filesystem with System Ace



Marco Cavallini wrote:
> Mike,
> I hope you have read old posts from ML, you are facing to the same error
> I had on May 2006, caused by Xilinx EDK 7.1.
> Which files do you have on the CF ?
>
> BTW I guess that the problem is caused by some configuration in Xilinx
> toolkit.
>
> Best regards


Marco,

Yes, I did read through those messages and saw that you solved it by switching from the EDK 7.x to EDK 8.1. I'm doing this work with the latest Xilinx EDK/ISE 8.2 with updates. My hope is that it too can produce a good System Ace configuration with the Memec 3SMB1500 dev board. I'm also using the latest uClinux from CVS.

I suppose you never did figure out what the configuration issue was with the EDK 7.x that prevented you from getting the SystemAce working?

The files on my CF card are:

  J:\xilinx.sys
  J:\image.bin
  J:\SysAce\xlinx.sys
  J:\SysAce\rev0\rev0.ace

To format my 128MB CF card I used the following mkdosfs command:

  C:\> mkdosfs –v –F 16 -R 1 –s 8 –n 3SMB1500 J:

In the Xilinx XPS system.mhs file the configuration for the opb_sysace is as follows:

  BEGIN opb_sysace
   PARAMETER INSTANCE = SysACE_CompactFlash
   PARAMETER HW_VER = 1.00.c
   PARAMETER C_BASEADDR = 0x41800000
   PARAMETER C_HIGHADDR = 0x4180ffff
   BUS_INTERFACE SOPB = mb_opb
   PORT SysACE_IRQ = SysACE_CompactFlash_SysACE_IRQ
   PORT SysACE_CLK = fpga_0_SysACE_CompactFlash_SysACE_CLK
   PORT SysACE_MPA = fpga_0_SysACE_CompactFlash_SysACE_MPA
   PORT SysACE_MPD = fpga_0_SysACE_CompactFlash_SysACE_MPD
   PORT SysACE_CEN = fpga_0_SysACE_CompactFlash_SysACE_CEN
   PORT SysACE_OEN = fpga_0_SysACE_CompactFlash_SysACE_OEN
   PORT SysACE_WEN = fpga_0_SysACE_CompactFlash_SysACE_WEN
   PORT SysACE_MPIRQ = fpga_0_SysACE_CompactFlash_SysACE_MPIRQ
  END

The priorities of the interrupts assigned to the obp_intc_0 from low to high are:

  RS232_Interrupt            (low)
  SysACE_CompactFlash_IRQ
  opb_timer_1_Interrupt      (high)

I put a copy of my bootloader that runs out of BRAM at the following URL:

http://home.comcast.net/~michael.p.thompson/xilinx/uClinux_Bootloader.c

You'll see at the bottom of the copy_uclinux() function where I'm attempting to reset the SystemAce and CF card prior to starting uClinux. This code seemed to help get me past freezing during the boot process, but it may still not be correct.

Mike Thompson


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