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

Re: SystemAce and mb-uClinux (was RE: [microblaze-uclinux] Problemswith networking)



Eric,

normally, we use the SysACE with devfs enabled. In that case the device 
nodes are automatically generated and you should be able to mount your 
CF with
mount /dev/xsysace/disc0/part0 /mnt

In your case you might want to add another device node 
xsyseacea1,b,254,1 and then mount with
mount /dev/xsysacea1 /mnt

- Peter


Hansen Eric wrote:

>Hello fellow developers,
>
>Peter thanks for for your hint. I would not have checked that.
>Nevertheless the soures from penguinppc already had
>XSA_ADDR_ALIGN 1 set, so everything should be ok.
>By now I have modified the Makefiles and Config.in.
>I did some little changes in adapter.c. Linux is now
>booting with the SystemAce driver enabled.
>
>After some fiddling around with kernel configurations,
>I finally made up a kernel which seems to work ok.
>
>Afterwards I had to find a way to mount the CompactFlash.
>As I understood from the uClinux distribution I have to
>generate the device files. I did so by adding 
>a couple of entries like xsysacea,b,254,0 ...
>to the vendors/Insight/XC../Makefile. This
>generates the devices in the romfs.
>Is this the right way to generate the devices?
>Do I have to take care about anything else?
>(Btw. I have got the major number the sysace from 
>/proc/devices)
>
>My bootlog shows something like:
><snip>
>  Partition check:
>   xsysacea: xsysacea1
>  System ACE at 0xCF000000 mapped to 0xCF000000, irq=4, 125440KB
></snip>
>
>Unfortunatly I am still not able to mount the CFCard.
>When trying to mount with -t msdos or -t vfat 
>I receive the following message:
>
><snip>
>FAT: bogus logical sector size 20487
>VFS: Can't find a valid FAT filesystem on dev fe:00.
></snip>
>
>The CFCard is formatted according the xilinx's SystemAce
>manual with format [...] /a:2048. I am not quite shure whether 
>this might cause problems? 
>To be shure I formatted another CFCard with windows.
>With this card I get an error stating that the JTAG Contoller 
>can not read the configuration. XSA_ERR_CFG_READ. This
>comes not suprising as I do not have a configuration
>file on the CompactFlash card. Nevertheless it should
>be posibble to use the card as block device or am
>I wrong?
>
>Thanks
>Erik
>
>-----Original Message-----
>From: Peter Ryser [mailto:Peter.Ryser@xilinx.com] 
>Sent: Wednesday, November 12, 2003 2:53 AM
>To: microblaze-uclinux@itee.uq.edu.au
>Subject: Re: [microblaze-uclinux] Problems with networking
>
>
>Erik,
>
>on System ACE CF please check that in xsysace_l.h you see
>#define XSA_ADDR_ALIGN      1
>and not
>#define XSA_ADDR_ALIGN      4
>when you use System ACE CF in an EDK design.
>
>- Peter
>
>
>
>  
>

___________________________
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/