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

RE: [microblaze-uclinux] uclinux on microblaze



John,

	Now I am stumped, the 9.1 variety of the Virus spits out:

ERROR:MDT - petalinux () - No driver for stdin peripheral RS232_Uart_A.
Check
   the following reasons: 
    1. RS232_Uart_A is not accessible from processor microblaze_0.
    2. No Driver block is defined for RS232_Uart_A in MSS file.
       while executing
   "error "No driver for stdin peripheral $stdin. Check the following
reasons:
   \n 1. $stdin is not accessible from processor $processor.\n 2. No Driver
   bl..."
       (procedure "xhandle_stdin" line 12)
       invoked from within
   "xhandle_stdin $os_handle"
       (procedure "standalone_bsp::generate" line 64)
       invoked from within
   "standalone_bsp::generate $os_handle"
       (procedure "::sw_petalinux_v1_00_b::generate" line 69)
       invoked from within
   "::sw_petalinux_v1_00_b::generate 48715744" 

Copying Library Files ...
ERROR:MDT - Error while running "generate" for processor microblaze_0...

make: *** [microblaze_0/lib/libxil.a] Error 2

Done!

	And I think the project is configured correctly:

BEGIN OS
 PARAMETER OS_NAME = petalinux
 PARAMETER OS_VER = 1.00.b
 PARAMETER PROC_INSTANCE = microblaze_0
 PARAMETER lmb_memory = dlmb_cntlr
 PARAMETER main_memory = Generic_DDR2
 PARAMETER stdin = RS232_Uart_A
 PARAMETER stdout = RS232_Uart_A
END

BEGIN DRIVER
 PARAMETER DRIVER_NAME = uartlite
 PARAMETER DRIVER_VER = 1.02.a
 PARAMETER HW_INSTANCE = RS232_Uart_A
END

BEGIN DRIVER
 PARAMETER DRIVER_NAME = uartlite
 PARAMETER DRIVER_VER = 1.02.a
 PARAMETER HW_INSTANCE = RS232_Uart_B
END

	I do have two UARTs which may be a problem (I can try removing one
today)

BEGIN opb_uartlite
 PARAMETER INSTANCE = RS232_Uart_A
 PARAMETER HW_VER = 1.00.b
 PARAMETER C_BAUDRATE = 19200
 PARAMETER C_DATA_BITS = 8
 PARAMETER C_ODD_PARITY = 0
 PARAMETER C_USE_PARITY = 0
 PARAMETER C_CLK_FREQ = 66666666
 PARAMETER C_BASEADDR = 0x40620000
 PARAMETER C_HIGHADDR = 0x4062ffff
 BUS_INTERFACE SOPB = opb_bridge_b
 PORT RX = FPGA_SERIAL_RX_A
 PORT TX = FPGA_SERIAL_TX_A
 PORT OPB_Clk = opb_clk
 PORT Interrupt = RS232_Uart_Interrupt_A
END

BEGIN opb_uartlite
 PARAMETER INSTANCE = RS232_Uart_B
 PARAMETER HW_VER = 1.00.b
 PARAMETER C_BAUDRATE = 19200
 PARAMETER C_DATA_BITS = 8
 PARAMETER C_ODD_PARITY = 0
 PARAMETER C_USE_PARITY = 0
 PARAMETER C_CLK_FREQ = 66666666
 PARAMETER C_BASEADDR = 0x40600000
 PARAMETER C_HIGHADDR = 0x4060ffff
 BUS_INTERFACE SOPB = opb_bridge_b
 PORT RX = FPGA_SERIAL_RX_B
 PORT TX = FPGA_SERIAL_TX_B
 PORT OPB_Clk = opb_clk
 PORT Interrupt = RS232_Uart_Interrupt_B
END

	Or the opb_bridge may be a problem (which I can look at also). One
question I have is where does xhandle_stdin live?

	Bret

-----Original Message-----
From: owner-microblaze-uclinux@xxxxxxxxxxxxxx
[mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] On Behalf Of Bret Ketchum
Sent: Wednesday, August 08, 2007 1:45 PM
To: microblaze-uclinux@xxxxxxxxxxxxxx
Subject: RE: [microblaze-uclinux] uclinux on microblaze

John,

	Whoops, RTMF problem. Please disregard, sorry to bother the list.

	Bret

-----Original Message-----
From: Bret Ketchum [mailto:bret.ketchum@xxxxxxxxxxxxxxxxxxx] 
Sent: Wednesday, August 08, 2007 1:41 PM
To: 'microblaze-uclinux@xxxxxxxxxxxxxx'
Subject: RE: [microblaze-uclinux] uclinux on microblaze

John,

	Can you tell me what may be amiss when the Virus spits out:

Running generate for OS'es, Drivers and Libraries ... 
#--------------------------------------
# PetaLinux BSP generate...
#--------------------------------------
ERROR:MDT - petalinux () - expected integer but got ""
       while executing
   "format "0x%08x" $mem_start"
       (procedure "do_memory_setup" line 70)
       invoked from within
   "do_memory_setup $os_handle "MAIN_MEMORY" XILINX_ERAM"
       (procedure "::sw_petalinux_v1_00_b::generate" line 38)
       invoked from within
   "::sw_petalinux_v1_00_b::generate 48715696" 
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 peripheral instantiated with IP Type mhc_opb_ddr2 version
1.02.a:

BEGIN mch_opb_ddr2
 PARAMETER INSTANCE = Generic_DDR2
 PARAMETER HW_VER = 1.02.a
   ...
END

BEGIN OS
 PARAMETER OS_NAME = petalinux
 PARAMETER OS_VER = 1.00.b
 PARAMETER PROC_INSTANCE = microblaze_0
 PARAMETER lmb_memory = dlmb_cntlr
 PARAMETER main_memory = Generic_DDR2
 PARAMETER stdin = RS232_Uart_A
 PARAMETER stdout = RS232_Uart_A
END

	Any hints will be much appreciated.....

	Bret

-----Original Message-----
From: owner-microblaze-uclinux@xxxxxxxxxxxxxx
[mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] On Behalf Of John Williams
Sent: Tuesday, May 08, 2007 1:24 AM
To: microblaze-uclinux@xxxxxxxxxxxxxx
Subject: Re: [microblaze-uclinux] uclinux on microblaze

Hi Sebastien,

> The name of the memory interface controller on the ML505 board is
> DDR2_SDRAM_32Mx32 (Multi-CHannel OPB Double Data Rate 2 (DDR2)
> Synchronous DRAM (SDRAM) Controller). 
> The version of the core is mch_opb_ddr2 v1.01.a
> I have tried with uclinux BSPs and petalinux BSPs and for these two
> packages, I can't select the main_memory parameter.
> Could you tell me how to fix it for the two BSPs?

Replace the file 
${PETALINUX}/hardware/edk_user_repository/PetaLogix/bsp/petalinux_v1_00_a/da
ta/petalinux_v2_1_0.mld

with the attached file, and you should then be able to select the DDR2 
memory controller.

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/

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