* linux and sram
@ 2005-07-13 19:32 Russell McGuire
2005-07-13 20:34 ` Wolfgang Denk
0 siblings, 1 reply; 3+ messages in thread
From: Russell McGuire @ 2005-07-13 19:32 UTC (permalink / raw)
To: linuxppc-embedded
Everyone,
If we are using U-boot and populate the CFG_SRAM_SIZE and CFG_SRAM_BASE
values, and makes sure this is passed into the kernel.
Does Linux 2.4.2x+ have any direct support for this? Is it just added into
the regular memory pool? Does it get used for specific tasks?
Or is this set aside for custom drivers?
Thanks,
Russell McGuire
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: linux and sram
2005-07-13 19:32 linux and sram Russell McGuire
@ 2005-07-13 20:34 ` Wolfgang Denk
2005-07-13 22:20 ` Jörn Engel
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2005-07-13 20:34 UTC (permalink / raw)
To: Russell McGuire; +Cc: linuxppc-embedded
In message <20050713153231.GA17534@mail19d.g19.rapidsite.net> you wrote:
>
> If we are using U-boot and populate the CFG_SRAM_SIZE and CFG_SRAM_BASE
> values, and makes sure this is passed into the kernel.
>
> Does Linux 2.4.2x+ have any direct support for this? Is it just added into
> the regular memory pool? Does it get used for specific tasks?
The standard Linux kernel knows nothing about SRAM.
> Or is this set aside for custom drivers?
Indeed. You need a driver to support SRAM.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Microsoft Multimedia:
You have nice graphics, sound and animations when the system crashes.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: linux and sram
2005-07-13 20:34 ` Wolfgang Denk
@ 2005-07-13 22:20 ` Jörn Engel
0 siblings, 0 replies; 3+ messages in thread
From: Jörn Engel @ 2005-07-13 22:20 UTC (permalink / raw)
To: Wolfgang Denk; +Cc: Russell McGuire, linuxppc-embedded
On Wed, 13 July 2005 22:34:09 +0200, Wolfgang Denk wrote:
> In message <20050713153231.GA17534@mail19d.g19.rapidsite.net> you wrote:
> >
> > If we are using U-boot and populate the CFG_SRAM_SIZE and CFG_SRAM_BASE
> > values, and makes sure this is passed into the kernel.
> >
> > Does Linux 2.4.2x+ have any direct support for this? Is it just added into
> > the regular memory pool? Does it get used for specific tasks?
>
> The standard Linux kernel knows nothing about SRAM.
>
> > Or is this set aside for custom drivers?
>
> Indeed. You need a driver to support SRAM.
Some people use slram/phram for that purpose. It creates an mtd
(memory technology device) which can be translated into either a block
or a char device. Quite sufficient for most uses.
Jörn
--
To announce that there must be no criticism of the President, or that we
are to stand by the President, right or wrong, is not only unpatriotic
and servile, but is morally treasonable to the American public.
-- Theodore Roosevelt, Kansas City Star, 1918
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-07-13 22:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-13 19:32 linux and sram Russell McGuire
2005-07-13 20:34 ` Wolfgang Denk
2005-07-13 22:20 ` Jörn Engel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox