John Williams | 1 Dec 2004 23:09
Picon
Picon
Favicon

Re: Makefile for Xilinx

Hi Carlos,

Carlos Camargo wrote:

> I'm interested in run The XILINX flow from Makefile.
> I found many samples in the web, but the initial format is EDIF, i need run 
> from VHDL, o Verilog sources...
> 
> Can help me whit this???

There are 4 main processes:

xst - runs the xilinx synthesis tool to turn VHDL or VERILOG files into NGC.

ngdbuild - creates NGD intermediate files

map   - maps NGD files into the FPGA fabric

par   - performs place and route on the mapped file.

Take a look at the Makefile that is distributed with the mbvanilla_net 
platform, downloadable from the website:

http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux/Downloads/platforms.html

It is derived from the Makefiles generated by Xilinx Platform Studio - 
it should give you a reasonable starting point.  Also look at the 
scripts generated by platgen, in the synthesis/ subdirectory.  They show 
how to run the XST synthesis tol from the command line - you can easily 
use this to create makefiles.
(Continue reading)

John Williams | 4 Dec 2004 02:13
Picon
Picon
Favicon

Re: mb-flthdr "Cannot read header"

Hi Steve,

Steve Sanders wrote:
> mb-flthdr produces "Cannot read header" error messages when it tries to
> process files produced by the toolchain included as a part of EDK6.3i. 
> It works OK on files produced by John's toolchain.  Anybody have an
> updated mb-flthdr or guidelines on making one?
> 
> I currently have Xilinx's toolchain first in my PATH when doing builds.
>  Maybe it's just better to put John's toolchain first?

Unfortunately, the mb-gcc that is distributed with edk6.3 is unable to 
build uClinux systems successfully (well, they build succesfully, but 
there's something broken in the resulting kernel).  By the time this was 
discovered, it was too late to debug and get a fix for SP2.

So, I recommend that you use the most recent toolchain from my website 
(updated about 2 weeks ago), and yes, place it in the path before the 
edk6.3 Gnu tools.

I am working with the EDK team to make sure that this all works straight 
from the box, in the next EDK release.

Regards,

John

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@...
(Continue reading)

John Williams | 7 Dec 2004 07:10
Picon
Picon
Favicon

Re: DCACHE always disabled, ICACHE always enabled

Hi Steve,

Steve Sanders wrote:
> While stepping through some startup code trying to get my kernel
> working (still not there yet), I noticed that icache was getting
> enabled.  But... I have my configuration set up to DISable icache. 
> Digging in, it looks like icache will always be enabled and dcache will
> always be disabled.  I've made the following changes locally.  The
> first fixes the icache config, the second the dcache:
> 
> RCS file: /var/cvs/uClinux-2.4.x/arch/microblaze/kernel/mbvanilla.c,v
> retrieving revision 1.12
> diff -r1.12 mbvanilla.c
> 199c204
> <       #ifdef CONFIG_XILINX_MICROBLAZE0_USE_ICACHE
> ---
> 
>>#if CONFIG_XILINX_MICROBLAZE0_USE_ICACHE==1

Great, thanks for finding that.  The error was also present in 
platforms/uclinux-auto/machine.c and platforms/suzaku/machine.c - I've 
fixed all of them in CVS.

> Index: cache.h
> ===================================================================
> RCS file: /var/cvs/uClinux-2.4.x/include/asm-microblaze/cache.h,v
> retrieving revision 1.5
> diff -r1.5 cache.h
> 76c76
> < #ifdef CONFIG_XILINX_MICROBLAZE0_USER_DCACHE
(Continue reading)

devi | 7 Dec 2004 08:12
Picon

Ramfs


hi,

I am using uclinux-microblaze.I am unable to do ftp.
how do I change my ramfs size of var and usr.Even a small 10kb text file can't be downloaded using ftp.Can
anyone help me.
In the kernel settings-Block devices-Default RAM disk size -4096(4MB).
In the user settings-Miscellaneous Configuration I have set my CONFIG_USER_RAMIMAGE to be 2048k. 

Thanks in advance.

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

devi | 7 Dec 2004 08:53
Picon

Ramfs


hi,

I have the corresponding ramfs.img. ramfs2048.img file is present in user/ramimage directory.

Thanks in advance

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

emanuel stiebler | 7 Dec 2004 16:08

make menuconfig

Hi all,

Checked out CVS few minutes ago, and tried make menuconfig.
Whatever I tried to use the xilinx configuration, I get the error, that
Vendor/Product is not configured.

Is it me, or is the configuration broken at the moment ?

cheers

--------------------------- cut ------------------------
Saving your kernel configuration...

*** End of Linux kernel configuration.
*** Check the top-level Makefile for additional configuration.
*** Next, you must run 'make dep'.

You have not selected a Vendor/Product in the config.
make: *** [menuconfig] Error 1
[root <at> vectra1 uClinux-dist]#

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

John Williams | 7 Dec 2004 22:00
Picon
Picon
Favicon

Re: make menuconfig

Hi Emanuel,

emanuel stiebler wrote:

> Checked out CVS few minutes ago, and tried make menuconfig.
> Whatever I tried to use the xilinx configuration, I get the error, that
> Vendor/Product is not configured.
> 
> Is it me, or is the configuration broken at the moment ?

I think what's happened is that you've selected Xilinx as the vendor, 
but kept the default board choice "common".  Unfortunately, "common" is 
just a directory that contains some support files, it is not an actual 
platform subdirectory.  The menconfig tool sorts these directories 
alphabetically, "common" is jsut the first to appear.

Try returning to the config menu, and select the "uclinux-auto" platform 
from within the Xilinx vendor menu - you should have more success with that.

Cheers,

John

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

(Continue reading)

emanuel stiebler | 8 Dec 2004 04:04

Re: make menuconfig

John Williams wrote:

> Hi Emanuel,
> 
> emanuel stiebler wrote:
> 
>> Checked out CVS few minutes ago, and tried make menuconfig.
>> Whatever I tried to use the xilinx configuration, I get the error, that
>> Vendor/Product is not configured.
>>
>> Is it me, or is the configuration broken at the moment ?
> 
> 
> I think what's happened is that you've selected Xilinx as the vendor, 
> but kept the default board choice "common".  Unfortunately, "common" is 
> just a directory that contains some support files, it is not an actual 
> platform subdirectory.  The menconfig tool sorts these directories 
> alphabetically, "common" is jsut the first to appear.

Sorry, but "(common)" is the only choice here ...

> Try returning to the config menu, and select the "uclinux-auto" platform 
> from within the Xilinx vendor menu - you should have more success with 
> that.

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

Egidio Caricati | 9 Dec 2004 10:13
Picon

opb2Wb Wrapper

Dear All,
there is someone who utilized this wrapper?
I dont know how can use it in EKD project.
Can you help me???
Thanks
Egidio Caricati.
PS. Sorry for my english.

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

Ryan Angilly | 9 Dec 2004 13:54
Picon
Gravatar

Optimizing in uBlaze

Does anyone know why the program:

int main(void) { int i; i = 5; return 0;}

is 520 bytes of code when I compile it with the EDK tools?  Does
anyone have any better compilers I could play with?  Or ideas for
optimization (other than telling the compiler to optimize... which
doesnt work)?

Thanks a ton.

--

-- 
Ryan Angilly

President -- Sigma Phi Epsilon
Research Assistant -- Machine Vision Laboratory
Program Manager -- WPI PANSAT Nanosatellite
Worcester Polytechnic Institute M.S. '06
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@...
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/


Gmane