From: Dirk Behme <dirk.behme@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH 0/7] DaVinci: Add TI DaVinci support to U-Boot
Date: Sun, 05 Aug 2007 14:05:07 +0200 [thread overview]
Message-ID: <46B5BCF3.5090903@googlemail.com> (raw)
The following patches are a proposal to add TI DaVinci support to
U-Boot. They are completely based on ksi at koi8.net patches:
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/27603
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/27604
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/27605
Many thanks to ksi at koi8.net for these! Following small modifications
are done:
- Make patch set apply cleanly to recent git
- Remove some #if 0 and #if 1
- Remove some (hopefully all?) compiler warnings
- Create 3 configs (DaVinci EVM, Sonata, Schmoogie) instead of one
which had to be edited to switch to another board.
- Attention: It seems that in original davinci.h config file there was
missing/incorrect configuration for Schmoogie NOR (?). Therefore I added
#define CFG_FLASH_SECT_SZ 0x20000 /* 128KB sect size AMD Flash */
#define CFG_ENV_OFFSET (CFG_FLASH_SECT_SZ*2)
in davinci_schmoogie.h Please check if this is correct!
- The directories
cpu/arm926ejs/tms320dm6446/
and
include/asm-arm/arch-tms320dm6446
are renamed to "davinci". As both are subdirectories of "*arm*'"
directories, it is clear that they are not DSP related. I think that
"davinci" is more intuitive and less confusing
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/28321
Compare omap directories, they are not called tms* as well.
- I removed usage of
include/asm-arm/arch-davinci/types.h
- I removed usage of mach-types.h. While it would be nice to have
mach-types.h, introducing mach-types.h would require all boards to
switch to use it. And this would be another task, which isn't related
to DaVinci.
As you can see, I split the patches into seven parts and attached them
unzipped. Therefore:
Please comment, improve and test!
But be aware: Deadline of U-Boot merge window is August 17, 2007:
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/30437
Note #1: Default toolchain for this patches is arm-linux-*. If you use
MontaVista toolchain, you have to add
CROSS_COMPILE = arm_v5t_le-
to board/davinci/config.mk.
Note #2: Depending on your toolchain you will need the fix for
nand_util.c 64bit division
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/30484
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/30476
until it is merged to main branch.
Note #3: Use the following configurations to select one board:
make davinci_evm_config
or
make davinci_sonata_config
or
make davinci_schmoogie_config
Many thanks and best regards
Dirk
P.S.: CCying DaVinci mailing list for info and additional comments.
next reply other threads:[~2007-08-05 12:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-05 12:05 Dirk Behme [this message]
2007-08-05 16:45 ` [U-Boot-Users] [PATCH 0/7] DaVinci: Add TI DaVinci support to U-Boot ksi at koi8.net
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=46B5BCF3.5090903@googlemail.com \
--to=dirk.behme@googlemail.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 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.