linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* suffisant space for U-Boot, Linux and an initrd image ? (4MB SDRAM)
@ 2008-08-04 12:54 Fabien Oriede
  2008-08-04 13:43 ` Marco Stornelli
  2008-08-04 22:59 ` Wolfgang Denk
  0 siblings, 2 replies; 3+ messages in thread
From: Fabien Oriede @ 2008-08-04 12:54 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 573 bytes --]

Hi all,
I would like to know if this is possible to port U-Boot, Linux and an initrd image on a board with 4MB of SDRAM ?
When Linux try to boot, there is this line on the terminal :
"Memory : 2036k available (1036k kernel code, 256k data, 80k init, 0k highmem)"
So I have 2036k memory available for my initrd image but I don't know if this is suffisant.
Thanks in advance.
Regards,
Fabien.


      _____________________________________________________________________________ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr

[-- Attachment #2: Type: text/html, Size: 1025 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: suffisant space for U-Boot, Linux and an initrd image ? (4MB SDRAM)
  2008-08-04 12:54 suffisant space for U-Boot, Linux and an initrd image ? (4MB SDRAM) Fabien Oriede
@ 2008-08-04 13:43 ` Marco Stornelli
  2008-08-04 22:59 ` Wolfgang Denk
  1 sibling, 0 replies; 3+ messages in thread
From: Marco Stornelli @ 2008-08-04 13:43 UTC (permalink / raw)
  To: Fabien Oriede; +Cc: linuxppc-embedded

Fabien Oriede ha scritto:
> Hi all,
> I would like to know if this is possible to port U-Boot, Linux and an initrd image on a board with 4MB of SDRAM ?
> When Linux try to boot, there is this line on the terminal :
> "Memory : 2036k available (1036k kernel code, 256k data, 80k init, 0k highmem)"
> So I have 2036k memory available for my initrd image but I don't know if this is suffisant.
> Thanks in advance.
> Regards,
> Fabien.
> 
> 
>       _____________________________________________________________________________ 
> Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Only 4MB of sdram? As far as I know the smallest device with Linux is 
picotux with 8MB of ram and 2MB of flash.

-- 
Marco Stornelli
Embedded Software Engineer
CoRiTeL - Consorzio di Ricerca sulle Telecomunicazioni
http://www.coritel.it

marco.stornelli@coritel.it
+39 06 72582838

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: suffisant space for U-Boot, Linux and an initrd image ? (4MB SDRAM)
  2008-08-04 12:54 suffisant space for U-Boot, Linux and an initrd image ? (4MB SDRAM) Fabien Oriede
  2008-08-04 13:43 ` Marco Stornelli
@ 2008-08-04 22:59 ` Wolfgang Denk
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2008-08-04 22:59 UTC (permalink / raw)
  To: Fabien Oriede; +Cc: linuxppc-embedded

In message <789365.58211.qm@web27401.mail.ukl.yahoo.com> you wrote:
>
> I would like to know if this is possible to port U-Boot, Linux and an initrd image on a board with 4MB of SDRAM ?

In Theory it may be possible, but just for very tiny demo
applications. Probably not for a useful device.

> When Linux try to boot, there is this line on the terminal :
> "Memory : 2036k available (1036k kernel code, 256k data, 80k init, 0k highmem)"
> So I have 2036k memory available for my initrd image but I don't know if this is suffisant.

Note that a ramdisk is NOT an efficient way to use memory. See fro
example http://www.denx.de/wiki/view/DULG/RootFileSystemSelection
which shows that for example a cramfs image is not only faster to boot
but also needs less RAM.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Keep your head and your heart going in the right  direction  and  you
will not have to worry about your feet.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-08-04 23:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-04 12:54 suffisant space for U-Boot, Linux and an initrd image ? (4MB SDRAM) Fabien Oriede
2008-08-04 13:43 ` Marco Stornelli
2008-08-04 22:59 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).