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

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



Hi Erik,

Hansen Eric wrote:

> 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.

great stuff!

Have you just hardcoded the IRQ for now, in adapter.c (similar to my 
kludge in xemac/adapter.c)?

I've submitted a couple of small kernel changes to CVS in the last few 
days - so perhaps you can do an update and diff, and post the patch to 
the list? (plus a tar file of the new driver).

> 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?

Yes, that's right.  Peter mentions the devfs, but I'm not sure if it's 
broadly supported in uClinux.  I certainly haven't tried it for microblaze.

> 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?

I'm just guessing here - but what if you run mkfs on your host to make a 
FAT image, put it into your kernel/filesystem image and upload it to 
microblaze.  Then after boot do

dd if=/fatimage.bin of=/dev/xsysacea

or similar - then try to mount it?

Indeed, can you access the device with dd at all?

Regards,

John

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