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

RE: [microblaze-uclinux] Petalogix BSP with XPS 9.2



Here are some hacks to get this going. Changes are to basically,

- Have the TCL ignore STD_LOGIC_VECTOR strings that are longer than 10
hex characters and instead output 0x0. 
- Some MLD changes to reflect TCL changes in the generate procedure of
standalone_v1_00_a in EDK 9.2i.

Vasanth


> -----Original Message-----
> From: owner-microblaze-uclinux@xxxxxxxxxxxxxx
[mailto:owner-microblaze-
> uclinux@xxxxxxxxxxxxxx] On Behalf Of Curran, Tom
> Sent: Friday, November 02, 2007 11:27 AM
> To: microblaze-uclinux@xxxxxxxxxxxxxx
> Subject: RE: [microblaze-uclinux] Petalogix BSP with XPS 9.2
> 
> Hi John,
> 
> Thanks for the files, but I get the same error as before:
> 
> ERROR:MDT - petalinux () - integer value too large to represent
>        while executing
>    "format "0x%08X" $param_value"
>        (procedure "stdlogicvec_to_hex" line 10)
>        invoked from within
>    "stdlogicvec_to_hex $param_value"
>        ("STD_LOGIC_VECTOR*" arm line 3)
>        invoked from within
>    "switch -regexp $dt {
>    		INTEGER {
>    			# Strip out any underscores in the value - MHS
>    			# syntax permits them, yuck!
>    			set param_value [string map {_ "..."
>        (procedure "get_param_value_string" line 7)
>        invoked from within
>    "get_param_value_string $h_param"
>        (procedure "generate_params" line 9)
>        invoked from within
>    "generate_params $periph_string $args"
>        (procedure "generate_drv_param" line 46)
>        invoked from within
>    "generate_drv_param $drv"
>        (procedure "generate_device_params" line 13)
>        invoked from within
>    "generate_device_params"
>        (procedure "::sw_petalinux_v1_00_c::generate" line 51)
>        invoked from within
>    "::sw_petalinux_v1_00_c::generate 59259312"
> Copying Library Files ...
> ERROR:MDT - Error while running "generate" for processor
microblaze_0...
> make: *** [microblaze_0/lib/libxil.a] Error 2
> 
> Best Regards,
> Tom
> 
> 
> -----Original Message-----
> From: owner-microblaze-uclinux@xxxxxxxxxxxxxx
> [mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] On Behalf Of John
> Williams
> Sent: Thursday, November 01, 2007 5:55 PM
> To: microblaze-uclinux@xxxxxxxxxxxxxx
> Subject: Re: [microblaze-uclinux] Petalogix BSP with XPS 9.2
> 
> Hi Tom, Tobi,
> 
> Ipaye, Tobi wrote:
> > I have exactly the same problem, it looks like a bug in the way TCL
> > handles integers. I'm still searching for answers.
> > Do you have any idea when the next release of the BSP tools will be
> > and if it will definitely have MPMC support?
> 
> You can try the attached MLD and TCL files - just drop them into the
>
petalinux/hardware/edk_user_repository/PetaLogix/bsp/petalinux_v1_00_b/d
> ata
> directory
> 
> These are experimental, and have had very little testing.  Feedback is
> welcome.
> 
> Regards,
> 
> John
> 
> ___________________________
> 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/
> 

Attachment: petalinux_v2_1_0.tcl
Description: petalinux_v2_1_0.tcl

Attachment: petalinux_v2_1_0.mld
Description: petalinux_v2_1_0.mld