SDRAM
Ok i hope i turned the irritating HTML of, now!
The thing i missed is which cfg_ the U-Boot has to have. Should i put my sram address as CFG_SDRAM_BASE and underline CFG_SRAM_BASE?
--
M?ns Brorsson
Quoted 1 line · In message <[email protected]> you…
Ok i hope i turned the irritating HTML of, now!
Yes, thanks!
Quoted 2 lines
The thing i missed is which
cfg_the U-Boot has to have. Should i put my sram address asCFG_SDRAM_BASEand underlineCFG_SRAM_BASE?
CFG_SRAM_BASE is not really used anywhere in U-Boot; it's just passed to the Linux kernel on some boards.
CFG_SDRAM_BASE is more important.
Best regards,
Wolfgang Denk
Signature · 4 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Research is what I'm doing when I don't know what I'm doing.
-- Wernher von BraunHi Mans,
Quoted 2 lines
The thing i missed is which
cfg_the U-Boot has to have. Should i put my sram address asCFG_SDRAM_BASEand underlineCFG_SRAM_BASE?
I'm assuming you're using Nios II ... in which case the code doesn't really care about SDRAM ... since the SDRAM controller is configured when you create the Nios II system module, not a run time. So yes, you can set CFG_SDRAM_BASE to point to your SRAM base address. And just set CFG_SRAM_BASE/SIZE to zero.
Also, there are several patches for the Nios II code that haven't made it into the source tree yet -- if you run into problems, just let me know & I'll send you the patches directly.
Regards,
--Scott