[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] XUPV2P with 512MB DIMM
Dear all,
I am using the XUPV2P with 512MB DIMM, but uClinux only recognizes
256 MB RAM.
After including the mch_opb_ddr for DDR_512MB within EDK 8.2, I was able
to successfully pass the Memory Test for 512MB.
I ensured under "Software Platform Settings" -> "OS and Libraries"
that the Memory is used for uClinux v1.00.d:
main_memory=DDR_512MB_64MX64_rank2_row13_col10_cl2_5
but keeping the default values for:
main_memory_start=-1
main_memory_size=0
The generated auto-config.in shows the correct Memory configuration:
# MAIN_MEMORY Settings
define_hex CONFIG_XILINX_ERAM_START 0x20000000
define_hex CONFIG_XILINX_ERAM_SIZE 0x20000000
Building the uClinux Kernel image and downloading it to the FPGA:
XMD% dow -data image.bin 0x20000000
start uClinux:
XMD% con 0x20000000
stop imediately:
RUNNING> stop
XMD% Processor stopped at PC: 0x3000669c
seems to me that uClinux jumps directly to 0x30000000 and somehow
only uses Mem-region 0x30000000-0x3FFFFFFF.
Anyway, uClinux boots up successfully but shows only
256MB RAM:
# cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 263114752 4911104 258203648 0 499712 512000
Swap: 0 0 0
MemTotal: 256948 kB
MemFree: 252152 kB
MemShared: 0 kB
Buffers: 488 kB
Active: 760 kB
Inactive: 228 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 256948 kB
LowFree: 252152 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Is there maybe another config-file to set the RAM for uClinux?
I really appreciate any hint or suggestion. Below I put the
output of the XMD.
Thanks & Kind Regards
Igor
Xilinx Microprocessor Debug (XMD) Engine
Xilinx EDK 8.2.02 Build EDK_Im_Sp2.4
Copyright (c) 1995-2005 Xilinx, Inc. All rights reserved.
XMD%
Loading XMP File..
Processor(s) in System ::
Microblaze(1) : microblaze_0
Address Map for Processor microblaze_0
(0x00000000-0x00001fff) dlmb_cntlr dlmb
(0x00000000-0x00001fff) ilmb_cntlr ilmb
(0x20000000-0x3fffffff) DDR_512MB_64MX64_rank2_row13_col10_cl2_5 mb_opb
(0x20000000-0x3fffffff) DDR_512MB_64MX64_rank2_row13_col10_cl2_5 ixcl
(0x20000000-0x3fffffff) DDR_512MB_64MX64_rank2_row13_col10_cl2_5 dxcl
(0x40000000-0x4000ffff) LEDs_4Bit mb_opb
(0x40020000-0x4002ffff) DIPSWs_4Bit mb_opb
(0x40040000-0x4004ffff) PushButtons_5Bit mb_opb
(0x40600000-0x4060ffff) RS232_Uart_1 mb_opb
(0x40c00000-0x40c0ffff) Ethernet_MAC mb_opb
(0x41200000-0x4120ffff) opb_intc_0 mb_opb
(0x41400000-0x4140ffff) debug_module mb_opb
(0x41800000-0x4180ffff) SysACE_CompactFlash mb_opb
(0x41c00000-0x41c0ffff) opb_timer_1 mb_opb
Connecting to cable (Usb Port - USB22).
Checking cable driver.
Driver xusbdfwu.sys version: 1021 (1021).
Driver windrvr6.sys version = 7.0.0.0.Calling setinterface num=0, alternate=0.
DeviceAttach: received and accepted attach for:
vendor id 0x3fd, product id 0x8, device handle 0x2d90038
Cable PID = 0008.
Max current requested during enumeration is 150 mA.
Cable Type = 3, Revision = 0.
Setting cable speed to 12 MHz.
Cable connection established.
Firmware version = 1021.
CPLD file version = 0012h.
CPLD version = 0012h.
JTAG chain configuration
--------------------------------------------------
Device ID Code IR Length Part Name
1 05059093 16 XCF32P
2 0a001093 8 System_ACE
3 0127e093 14 XC2VP30
Assuming, Device No: 3 contains the MicroBlaze system
Connected to the JTAG MicroProcessor Debug Module (MDM)
No of processors = 1
MicroBlaze Processor 1 Configuration :
-------------------------------------
Version............................5.00.c
No of PC Breakpoints...............2
No of Read Addr/Data Watchpoints...0
No of Write Addr/Data Watchpoints..0
Instruction Cache Support..........on
Instruction Cache Base Address.....0x20000000
Instruction Cache High Address.....0x3fffffff
Data Cache Support.................on
Data Cache Base Address............0x20000000
Data Cache High Address............0x3fffffff
Exceptions Support................off
FPU Support.......................off
FSL DCache Support.................on
FSL ICache Support.................on
Hard Divider Support...............on
Hard Multiplier Support............on
Barrel Shifter Support.............on
MSR clr/set Instruction Support....on
Compare Instruction Support........on
Number of FSL ports..............1
PVR Supported......................off
MBsfsl(0)-MDMmfsl(0) Connected..........Yes
JTAG MDM Connected to MicroBlaze 1
Connected to "mb" target. id = 0
Starting GDB server for "mb" target (id = 0) at TCP port no 1234
XMD% dow -data image.bin 0x20000000
XMD% con 0x20000000
Processor started. Type "stop" to stop processor
RUNNING> stop
XMD%
XMD%
Processor stopped at PC: 0x3000669c
___________________________
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/