cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ceejliu
Observer
Observer
2,151 Views
Registered: ‎08-05-2017

How to modify the mfs block size when using mfsgen

Jump to solution

1. I modified the MFS_BLOCK_DATA_SIZE (default is 512bytes) in file xilmfs.h.

2. When using the mfsgen to generate mfs file, the default block size is 532(512 + 20). Thus the format can not match, the file saved in mfs can not be detected.

The question is the if the block size can be modified when using mfsgen command? 

0 Kudos
1 Solution

Accepted Solutions
hpoetzl
Voyager
Voyager
3,504 Views
Registered: ‎06-24-2013

@ceejliu

 

The mfsgen is just a batch file, it actual called the loader.bat and rdi_xilmfs

 

Yes, that's how most of the Xilinx tools work ...

 

I want to modify the block size, if the only way is to reprogramed the rdi_xilmfs.exe?

 

At least the help doesn't show an option to change the block size.

 

I have no idea about the rd_xilmfs.exe.

 

Me neither, that's the problem with closed source, you never know what hidden features there are ...

 

Best,

Herbert

-------------- Yes, I do this for fun!

View solution in original post

0 Kudos
3 Replies
hpoetzl
Voyager
Voyager
2,137 Views
Registered: ‎06-24-2013

Hey @ceejliu

 

It looks to me, that the Xilinx mfsgen only supports the default 532 (512+20) byte block size and you need to write your own mfsgen to work with different sizes.

 

Best,

Herbert

-------------- Yes, I do this for fun!
0 Kudos
ceejliu
Observer
Observer
2,129 Views
Registered: ‎08-05-2017

Dear @hpoetzl,

Thanks for your reply

The mfsgen is just a batch file, it actual called the loader.bat and rdi_xilmfs(an application in the path C:\Xilinx\SDK\2015.1\bin\unwrapped\win64.o\rdi_xilmfs.exe).

I want to modify the block size, if the only way is to reprogramed the rdi_xilmfs.exe?

I have no idea about the rd_xilmfs.exe.

Thanks a lot.

Best regards.

ceejliu 

 

0 Kudos
hpoetzl
Voyager
Voyager
3,505 Views
Registered: ‎06-24-2013

@ceejliu

 

The mfsgen is just a batch file, it actual called the loader.bat and rdi_xilmfs

 

Yes, that's how most of the Xilinx tools work ...

 

I want to modify the block size, if the only way is to reprogramed the rdi_xilmfs.exe?

 

At least the help doesn't show an option to change the block size.

 

I have no idea about the rd_xilmfs.exe.

 

Me neither, that's the problem with closed source, you never know what hidden features there are ...

 

Best,

Herbert

-------------- Yes, I do this for fun!

View solution in original post

0 Kudos