From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Porting U-Boot to an ARM920T-Based Board.
Date: Tue, 05 Oct 2004 19:17:43 +0200 [thread overview]
Message-ID: <20041005171748.5DF89C1430@atlas.denx.de> (raw)
In-Reply-To: Your message of "Tue, 05 Oct 2004 23:56:37 +0800." <515b5ffa04100508563e7d6b6f@mail.gmail.com>
Dear Rodel,
in message <515b5ffa04100508563e7d6b6f@mail.gmail.com> you wrote:
>
> 1. My board has an ARM920T core. Instinctively, I would choose a
> "template" board support subdirectory that has the same core. If my
> platform is very different from the template, can I just choose the
Please don't ask "can I". Of course you can. _Anything_ can be done.
The question is if it makes sense to do it, and how much effort it
needs.
> board that fits my needs (e.g. UART, FLASH, MEMORY MAP, etc.) and just
> re-configure the core? If this is possible, how do I do this?
Yes, you can chose a similar board and re-use it's code. This is what
U-Boot is all about.
> 2. My UART port is 16550 compliant. The ARM920T core (cpu/arm920T/)
> is using a serial.c that is compliant to S3C24XX. Can I just simply
> overwrite cpu/arm920t/serial.c with 16550 compliant serial.c?
No, you cannot. You will use the existing code in drivers/serial.c
instead.
> 3. Can somebody please tell me the files that are most-likely to
> change when porting u-boot to a new platform? Currently I am
Please read the README.
> board/myboard /* copied from board smdk2410 */
> - What should be placed here? Initialization routines?
> What is the "minimal" requirement for this subdirectory?
This depends on your requirements. The minimum is the initialization
needed to get your board started.
> 4. Are there other important files to modify in order to build the
> proper u-boot image?
Maybe, but unlikely.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
When a child is taught ... its programmed with simple instructions --
and at some point, if its mind develops properly, it exceeds the sum
of what it was taught, thinks independently.
-- Dr. Richard Daystrom, "The Ultimate Computer",
stardate 4731.3.
prev parent reply other threads:[~2004-10-05 17:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-05 15:56 [U-Boot-Users] Porting U-Boot to an ARM920T-Based Board Rodel Miguel
2004-10-05 17:17 ` Wolfgang Denk [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=20041005171748.5DF89C1430@atlas.denx.de \
--to=wd@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox