Forum Discussion
Altera_Forum
Honored Contributor
19 years ago --- Quote Start --- originally posted by macio@May 24 2006, 10:53 PM hi,
i have build hardware for stratix gx development board without any error, but now i have problem with building uclinux kernel. when i try to generate system.h
# generate nios2_system.h from ptf
make arch=nios2nommu cross_compile=nios2-linux-uclibc- hwselect sysptf=stratixgx.ptf it detects that i have 0 bytes ddr_sdram
--- please select a device to execute kernel from:
(1) ddr_sdram
class: ddr_sdram_component
size: 0 bytes sopc builder system consists of nios2 cpu, ddr sdram controller (base address 0x00000000, end address 0x07ffffff == 128mb ??), uart, jtag uart, timer, sysid, avalon tri state bridge and dummy cfi flash (not connected to any fpga pin). can anybody help me?
best regards,
maciek
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15551)</div> --- Quote End --- I had similar problem before. Your ddr core avalon data bus width is greater than 32 bits, and the hwselect script can't handle. Please edit the ptf for hwselect only (not for hardware generation), reduce data bus width to 32 bits, and increase address bus width (up to the ddr memory capacity) .