DaVinci: Add TI DaVinci support to U-Boot
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | DaVinci: U-Boot board support | +0 | 0 replies | |
| 2/7 | DaVinci: U-Boot cpu support | +0 | 0 replies | |
| 3/7 | DaVinci: U-Boot nand support | +0 | 0 replies | |
| 4/7 | DaVinci: U-Boot ethernet support | +0 | 0 replies | |
| 5/7 | DaVinci: U-Boot include files | +0 | 0 replies | |
| 6/7 | DaVinci: U-Boot misc files | +0 | 0 replies | |
| 6/7 | DaVinci: U-Boot board config files | +0 | 0 replies | |
| 7/7 | DaVinci: U-Boot board config files | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot-Users] [PATCH 0/7] DaVinci: Add TI DaVinci support to U-Boot
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.