Skip to contentSkip to conversation

ATSTK1000 and ATSTK1002 board support

PATCH New Haavard Skinnemoen 2 participants 6 messages Sep 6, 2006 – Oct 24, 2006 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 6/6 ATSTK1000 and ATSTK1002 board support

The attached patch adds support for the ATSTK1000 development board and the ATSTK1002 CPU daughterboard for AT32AP7000. Please see the patch header for details.

CHANGELOG:
Add support for the ATSTK1000 development board

Haavard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: atstk1000-board.patch.gz
Type: application/x-gzip
Size: 5775 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20060906/8fecffe8/attachment.bin

#1 lore raw

PATCH 6/6 ATSTK1000 and ATSTK1002 board support

Quoted 3 lines · On Wed, 6 Sep 2006 16:25:25 +0200 Haavard Skinnemoen <[email protected]>…

The attached patch adds support for the ATSTK1000 development board and the ATSTK1002 CPU daughterboard for AT32AP7000. Please see the patch header for details.

This patch is exactly the same as the previous patch I submitted, except that it adds the ATSTK1000 board-specific directory under boards/atmel instead of under boards, as suggested by Stefan Roese.

Please let me know if there are more changes you want me to make before it's acceptable for mainline.

Quoted 2 lines

CHANGELOG:
Add support for the ATSTK1000 development board

Haavard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: atstk1000-board.patch.gz
Type: application/x-gzip
Size: 5768 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20060912/2c67c794/attachment.bin

#2 lore raw

PATCH 6/6 ATSTK1000 and ATSTK1002 board support

Quoted 10 lines · In message <[email protected]> you wrote:

This patch is exactly the same as the previous patch I submitted, except that it adds the ATSTK1000 board-specific directory under boards/atmel instead of under boards, as suggested by Stefan Roese.

Please let me know if there are more changes you want me to make before it's acceptable for mainline.

Quoted 2 lines

CHANGELOG:
Add support for the ATSTK1000 development board

Added, except for the top level makefile changes, which again included board specific build rules which must be moved into the board's Makefile.

Thanks.

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
On a clear disk you can seek forever.
#3 lore raw

PATCH 6/6 ATSTK1000 and ATSTK1002 board support

In reply to Haavard Skinnemoen
Quoted 7 lines · In message <[email protected]> you wrote:

The attached patch adds support for the ATSTK1000 development board and the ATSTK1002 CPU daughterboard for AT32AP7000. Please see the patch header for details.

CHANGELOG:
Add support for the ATSTK1000 development board

Mostly added, thanks.

I omitted the folowing parts of your patch:

Makefile +7 -0
Index: u-boot-1.1.4-git/Makefile
===================================================================
@@ -2060,6 +2060,13 @@ pb1000_config		: 	unconfig
 ## AT32AP7xxx
 #########################################################################
 
+atstk1002_config	:	unconfig
+	@./mkconfig $(@:_config=) avr32 at32ap atstk1000 NULL at32ap7000
+
+$(obj)board/atstk1000/u-boot.lds: board/atstk1000/u-boot.lds.S	\
+				  $(obj)include/config.h
+	$(CPP) $(AFLAGS) -P -o $@ $<
+
 

Please don't put "board" specific build rules in the top level Makefile. These belong into the board directory's makefile.

[Please submit a new, incremental patch against current top of tree in git repo.]

Thanks.

Best regards,

Wolfgang Denk

Signature · 8 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"IBM uses what I like to call the 'hole-in-the-ground  technique'  to
destroy  the  competition.....  IBM digs a big HOLE in the ground and
covers it with leaves. It then puts a big POT OF GOLD nearby. Then it
gives the call, 'Hey, look@all this gold, get over here fast.'  As
soon  as  the competitor approaches the pot, he falls into the pit"
                                                     - John C. Dvorak
#4 lore raw

PATCH 6/6 ATSTK1000 and ATSTK1002 board support

Quoted 8 lines · On Tue, 24 Oct 2006 14:59:52 +0200 Wolfgang Denk <[email protected]> wrote:

+$(obj)board/atstk1000/u-boot.lds:
board/atstk1000/u-boot.lds.S \

Makefile +3 -0
+				  $(obj)include/config.h
+	$(CPP) $(AFLAGS) -P -o $@ $<
+

Please don't put "board" specific build rules in the top level Makefile. These belong into the board directory's makefile.

Hmm...I can't quite remember the reason for doing this. I think it was that the board's config.mk was included before the default rule, so it would override it.

I'll see if I can figure out some other solution.

Quoted 2 lines

[Please submit a new, incremental patch against current top of tree in git repo.]

Will do. Thanks for applying my patches :-)

Btw, did you apply this one _and_ the other STK1000 patch? I only intended you to merge one of them (preferably the other one since it adds the atstk1000 directory under boards/atmel, as suggested by Stefan.)

Haavard

#5 lore raw

PATCH 6/6 ATSTK1000 and ATSTK1002 board support

Hello,

Quoted 9 lines · in message <[email protected]> you wrote:
Quoted 3 lines

Please don't put "board" specific build rules in the top level Makefile. These belong into the board directory's makefile.

Hmm...I can't quite remember the reason for doing this. I think it was that the board's config.mk was included before the default rule, so it would override it.

I'll see if I can figure out some other solution.

Thanks.

Quoted 1 line

Will do. Thanks for applying my patches :-)

You are welcome. Sorry it took so long.

Quoted 4 lines

Btw, did you apply this one _and_ the other STK1000 patch? I only intended you to merge one of them (preferably the other one since it adds the atstk1000 directory under boards/atmel, as suggested by Stefan.)

I intended to apply the second patch only, but squeezed between a long row of phonecalls I thought I'd be missing a patch from your sequence and applied this one, too - which was wrong. Mea culpa.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"When anyone says `theoretically,' they really mean `not really.'"
- David Parnas