All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH 0/7] DaVinci: Add TI DaVinci support to U-Boot
@ 2007-08-05 12:05 Dirk Behme
  2007-08-05 16:45 ` ksi at koi8.net
  0 siblings, 1 reply; 2+ messages in thread
From: Dirk Behme @ 2007-08-05 12:05 UTC (permalink / raw)
  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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot-Users] [PATCH 0/7] DaVinci: Add TI DaVinci support to U-Boot
  2007-08-05 12:05 [U-Boot-Users] [PATCH 0/7] DaVinci: Add TI DaVinci support to U-Boot Dirk Behme
@ 2007-08-05 16:45 ` ksi at koi8.net
  0 siblings, 0 replies; 2+ messages in thread
From: ksi at koi8.net @ 2007-08-05 16:45 UTC (permalink / raw)
  To: u-boot

On Sun, 5 Aug 2007, Dirk Behme wrote:

Wow!

My work is stolen right off my hands... Very very nice... To say I'm amazed
is to say nothing...

I'll send my modified set in a couple of hours. With all the fixes and
working Large Page NAND.

>
> 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.
>
>

---
******************************************************************
*  KSI at home    KOI8 Net  < >  The impossible we do immediately.  *
*  Las Vegas   NV, USA   < >  Miracles require 24-hour notice.   *
******************************************************************

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-05 16:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-05 12:05 [U-Boot-Users] [PATCH 0/7] DaVinci: Add TI DaVinci support to U-Boot Dirk Behme
2007-08-05 16:45 ` ksi at koi8.net

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.