From: Detlev Zundel <dzu@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Porting to Broadcom BCM7038 (Hermes board)
Date: Thu, 20 Aug 2009 13:18:07 +0200 [thread overview]
Message-ID: <m2ljlebuog.fsf@ohwell.denx.de> (raw)
In-Reply-To: <574bb010908200247h7c045417n1877f636e6dbebff@mail.gmail.com> (Peter Belm's message of "Thu, 20 Aug 2009 10:47:55 +0100")
Hi Peter,
> All the tasks you mention here are performed by U-Boot. U-Boot _is_
> the boot loader.
>
> Right, I'm just having trouble getting to grips with the code flow, the start.S
> in the CPU is the initial entry point, at what point does that hand over to
> U-Boot? Any chance you could give me a brief overview of the code flow? In
> particular where the code I need to write fits in with the boot process, i.e.
> where I need to interface with U-Boot.
>
> Once I've got a better idea of how U-Boot boots, I should be able to get
> started at least.
Be sure to read the section "Implementation Internals" in the README.
Other than that, simply trace the flow (on a piece of paper) for a
comparable board, e.g. the "purple" board which seems to be pretty close
to what you have.
Another hint is that functions in U-Boot ending with _f are run from
flash, wherease functions ending in _r run already relocated from RAM.
I hope this gets you started.
Cheers
Detlev
--
It's like manually inflatable airbags -- people will never
think to use it in time to actually get any help from it.
-- Miles Bader in <20030607122005.GA1086@gnu.org>
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de
next prev parent reply other threads:[~2009-08-20 11:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-18 13:32 [U-Boot] Porting to Broadcom BCM7038 (Hermes board) Peter Belm
2009-08-19 16:13 ` Detlev Zundel
2009-08-19 19:19 ` Wolfgang Denk
2009-08-20 9:29 ` Peter Belm
2009-08-20 9:41 ` Wolfgang Denk
2009-08-20 9:47 ` Peter Belm
2009-08-20 11:18 ` Detlev Zundel [this message]
2009-08-20 11:04 ` Detlev Zundel
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=m2ljlebuog.fsf@ohwell.denx.de \
--to=dzu@denx.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.