* [U-Boot] Read kernel image with nios2
@ 2008-10-21 12:58 ivanchuklist ivanchu
2008-10-21 13:40 ` Jerry Van Baren
0 siblings, 1 reply; 2+ messages in thread
From: ivanchuklist ivanchu @ 2008-10-21 12:58 UTC (permalink / raw)
To: u-boot
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot] Read kernel image with nios2
2008-10-21 12:58 [U-Boot] Read kernel image with nios2 ivanchuklist ivanchu
@ 2008-10-21 13:40 ` Jerry Van Baren
0 siblings, 0 replies; 2+ messages in thread
From: Jerry Van Baren @ 2008-10-21 13:40 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-21 13:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-21 12:58 [U-Boot] Read kernel image with nios2 ivanchuklist ivanchu
2008-10-21 13:40 ` Jerry Van Baren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox