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

Re: [microblaze-uclinux] auto-config.in error



Quoting begg0016@xxxxxxxxxxxxxxx:

From some extra reading, i have found that there is a weakness in uclinux as it
does not support the newer versions of DDR and SDRAM controllers as they uses
multiple banks. 

I am using 7.1. Is there any method to get around this problem. I have tried
changing the tcl and mld file however i still have the eram start error.

Is there a solution?

thanks again,

Lyndon.

Its major weakness is probably that it doesn't support the newer version 
of the DDR (and maybe SDRAM) controllers - you'll note the uclinux-auto 
platform uses the deprecated version of the DDR controller.  This is 
because the newer version of the core uses multipel banks, and stuff 
like that, which the MLD/Tcl doesn't support yet.  It should be pretty 
simple to add, I'm just waiting on some doco from Xilinx to help me make 
the modifications.


> hello all, 
> 
>  i have been following the document from Jason Wu, for developing
>  uclinux.
> 
>  now i have gone to generate libraries and BSP and have had the following
>  error:
> 
>  #--------------------------------------
>  # uClinux BSP generate...
>  #--------------------------------------
>  No override specified for MAIN_MEMORY
>  ERROR:MDT - ERROR FROM TCL:- uclinux () - expected integer but got ""
>  while executing
>  "format "0x%08x" $mem_start"
>  (procedure "do_memory_setup" line 50)
>  invoked from within
>  "do_memory_setup $config_file $os_handle "MAIN_MEMORY"
>  CONFIG_XILINX_ERAM"
>  (procedure "::sw_uclinux_v1_00_c::generate" line 22)
>  invoked from within
>  "::sw_uclinux_v1_00_c::generate 36380144"
>  Copying Library Files ...
>  ERROR:MDT - Error while running "generate" for processor microblaze_0...
>  make: *** [microblaze_0/lib/libxil.a] Error 2
>  Done.
> 
>  I have a similar design to Jason's, however i have used a different RAM
>  controller and havnt used ROM. the problem seem to be with uclinux not
> liking
> the ram controller???
> 
> 
> Here is the MSS file.
> 
> 
>  PARAMETER VERSION = 2.2.0
> 
> 
> BEGIN OS
>  PARAMETER OS_NAME = uclinux
>  PARAMETER OS_VER = 1.00.c
>  PARAMETER PROC_INSTANCE = microblaze_0
>  PARAMETER stdout = RS232
>  PARAMETER stdin = RS232
>  PARAMETER main_memory = Generic_SDRAM
>  PARAMETER lmb_memory = dlmb_cntlr
>  PARAMETER flash_memory_bank = 0
>  PARAMETER main_memory_bank = 0
> END
> 
> 
> BEGIN PROCESSOR
>  PARAMETER DRIVER_NAME = cpu
>  PARAMETER DRIVER_VER = 1.00.a
>  PARAMETER HW_INSTANCE = microblaze_0
>  PARAMETER COMPILER = mb-gcc
>  PARAMETER ARCHIVER = mb-ar
>  PARAMETER CORE_CLOCK_FREQ_HZ = 66666667
> END
> 
> 
> BEGIN DRIVER
>  PARAMETER DRIVER_NAME = opbarb
>  PARAMETER DRIVER_VER = 1.02.a
>  PARAMETER HW_INSTANCE = mb_opb
> END
> 
> BEGIN DRIVER
>  PARAMETER DRIVER_NAME = uartlite
>  PARAMETER DRIVER_VER = 1.00.b
>  PARAMETER HW_INSTANCE = debug_module
> END
> 
> BEGIN DRIVER
>  PARAMETER DRIVER_NAME = bram
>  PARAMETER DRIVER_VER = 1.00.a
>  PARAMETER HW_INSTANCE = dlmb_cntlr
> END
> 
> BEGIN DRIVER
>  PARAMETER DRIVER_NAME = bram
>  PARAMETER DRIVER_VER = 1.00.a
>  PARAMETER HW_INSTANCE = ilmb_cntlr
> END
> 
> BEGIN DRIVER
>  PARAMETER DRIVER_NAME = uartlite
>  PARAMETER DRIVER_VER = 1.00.b
>  PARAMETER HW_INSTANCE = RS232
> END
> 
> BEGIN DRIVER
>  PARAMETER DRIVER_NAME = tmrctr
>  PARAMETER DRIVER_VER = 1.00.b
>  PARAMETER HW_INSTANCE = opb_timer_1
> END
> 
> BEGIN DRIVER
>  PARAMETER DRIVER_NAME = intc
>  PARAMETER DRIVER_VER = 1.00.c
>  PARAMETER HW_INSTANCE = opb_intc_0
> END
> 
> BEGIN DRIVER
>  PARAMETER DRIVER_NAME = generic
>  PARAMETER DRIVER_VER = 1.00.a
>  PARAMETER HW_INSTANCE = dcm_0
> END
> 
> BEGIN DRIVER
>  PARAMETER DRIVER_NAME = sdram
>  PARAMETER DRIVER_VER = 1.00.a
>  PARAMETER HW_INSTANCE = Generic_SDRAM
> END
> 
>  Thanks
> 
>  Lyndon.
> ___________________________
> 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/
> 
> 



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