public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: prathika <prathika@deeopl.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Allocating memory in u-boot application
Date: Mon, 12 Jul 2010 12:14:29 +0530	[thread overview]
Message-ID: <4C3AB9CD.3000003@deeopl.com> (raw)

hi,
I am working on PPC440EP base custom board. I managed to port u-boot 
successfully.
The requirement is, there should be no OS running on-board and run an 
application in u-boot. I have successfully ported and example 
application also.
The part of my requirement is to read data as large as 10MB from NVRAM 
and load it to PC.
I am not able to allocate more than 64kB to a buffer. When i allocate 
even 1MB, my application hangs when i try to access the buffer. I have 
64MB DDR-RAM interface to PPC440EP.

The size of my application is 300kB and i don't think u-boot uses large 
memory.
How can I malloc big size to a buffer in this case. Please help me fix 
this issue, thanks in advance.

Regards,
Prathika R

                 reply	other threads:[~2010-07-12  6:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C3AB9CD.3000003@deeopl.com \
    --to=prathika@deeopl.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox