[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] error updating bitstream (porting uClinux_auto to Xilinx ML401)
Hi John
I am Taeweon and faced the same problem.
So, tried with your experimental patch and still failed.
Now, OS section of my mss file looks like the below.
BEGIN OS
PARAMETER OS_NAME = uclinux
PARAMETER OS_VER = 1.00.a
PARAMETER PROC_INSTANCE = microblaze_0
PARAMETER stdout = RS232_Uart
PARAMETER stdin = RS232_Uart
PARAMETER LMB_MEMORY = ilmb_cntlr
PARAMETER MAIN_MEMORY = DDR_SDRAM_32Mx64
PARAMETER main_memory_bank = 0
END
Running generate for OS'es, Drivers and Libraries ...
#--------------------------------------
# uClinux BSP generate...
#--------------------------------------
ERROR:MDT - ERROR FROM TCL:- uclinux () - expected integer but got ""
while executing
"format "0x%08x" $eram_start"
(procedure "::sw_uclinux_v1_00_a::generate" line 38)
invoked from within
"::sw_uclinux_v1_00_a::generate 35976712"
Copying Library Files ...
ERROR:MDT - Error while running "generate" for processor microblaze_0...
make: *** [microblaze_0/lib/libxil.a] Error 2
Done.
Thanks for your effort,
Taeweon
> Hi again,
>
> John Williams wrote:
>
>>> ERROR:MDT - ERROR FROM TCL:- uclinux () - expected integer but got ""
>>> while executing
>>> "format "0x%08x" $eram_start"
>>> (procedure "::sw_uclinux_v1_00_a::generate" line 28)
>>> invoked from within
>>> "::sw_uclinux_v1_00_a::generate 38741024"
>>
>>
>> OK, so you've hit the first limitation of the uclinux BSP - it doesn't
>> play nicely with the most recent DDR controller (v1.10.a). That core
>> uses / supports multiple banks of memory, but the BSP isn't able to
>> decipher that yet to work out the main memory range.
>>
>> The solution is to use the earlier DDR controller core, 1.00.a.
>> Translating between the two isn't hard, most of the parameters are the
>> same.
>
> I've added (experimental) support in the uclinux BSP for "banked" memory
> controllers, like the new ddr controller.
>
> Try the following if you're willing:
>
> Copy the attached tcl script and MLD files into bsp/uclinux_v1_00_a/data
> (overwrite the existing ones).
>
> Then, in your MSS file, place the following in the "OS" section, under
> the existing line "MAIN_MEMORY=..."
>
> MAIN_MEMORY_BANK = 0
>
> This tells the BSP subsystem which bank on the memory controller should
> be considerd as main memory - in most cases it will be bank zero.
>
> If you are using a non-banked controller, like the old ddr_1_00_b, then
> don't specify the BANK parameter.
>
> Please let me know how this goes for you.
>
> Thanks,
>
> John
>
>
----------------------------------------------
Taeweon Suh
Ph.D. Candidate
School of Electrical and Computer Engineering
Georgia Institute of Technology
Atlanta, Georgia USA
Lab: CoC345
Tel: +1-404-385-6273
E-mail: suhtw@ece.gatech.edu
----------------------------------------------
___________________________
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/