public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jerry Van Baren <gerald.vanbaren@ge.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Read kernel image with nios2
Date: Tue, 21 Oct 2008 09:40:43 -0400	[thread overview]
Message-ID: <48FDDBDB.60502@ge.com> (raw)
In-Reply-To: <51a313240810210558w2ecbf44ckdf23650c24aeba49@mail.gmail.com>

ivanchuklist ivanchu wrote:
> Hi list,
> I would like to know how u-boot read and copy the image of uclinux kernel in
> a nios2 platform.
> Where can i find information about the execution flow of u-boot, code of
> commands, etc.?
> Regards,
> Ivan.

Hi Ivan,

Start by learning to ask good questions:
<http://www.catb.org/~esr/faqs/smart-questions.html>

Clone the git repository.  Read the top level README and applicable 
READMEs in the doc subdirectory.

Read the source code.  The execution flow probably starts in 
cpu/nios2/start.S (yes, that was a tinge of sarcasm).

Reading and copying of the image is going to involve common/cmd*.c 
(common/cmd_bootm.c) and probably common/image.c.  There are a lot of 
other pieces involved since there are many ways of reading and copying 
images.

Ask specific questions as you progress in your understanding and code 
spelunking and we will be happy to answer them.  Ask ambiguous ("what is 
the meaning of life") questions and they will be ignored because we 
cannot give a specific answer to an ambiguous question.

Always remember: the quality of the answer is directly proportional to 
the quality of the question.  I've found that many times, by the time I 
have the question thought through properly, I've found the answer by myself.

Best regards,
gvb

      reply	other threads:[~2008-10-21 13:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-21 12:58 [U-Boot] Read kernel image with nios2 ivanchuklist ivanchu
2008-10-21 13:40 ` Jerry Van Baren [this message]

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=48FDDBDB.60502@ge.com \
    --to=gerald.vanbaren@ge.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