avr32: add grasshopper (ICnova AP7000) board
PATCH 1/1 avr32: add grasshopper (ICnova AP7000) board
The grasshopper board is a neat avr32 evaluation kit produced by In-Circuit GmbH.
See http://www.ic-board.de/product_info.php?info=p75_ICnova-AP7000-Base.html
for detailed information about this device.
--- board/in-circuit/grasshopper/Makefile | 45 +++++++ board/in-circuit/grasshopper/grasshopper.c | 105 +++++++++++++++ boards.cfg | 1 + include/configs/grasshopper.h | 197 ++++++++++++++++++++++++++++ 4 files changed, 348 insertions(+), 0 deletions(-) create mode 100644 board/in-circuit/grasshopper/Makefile create mode 100644 board/in-circuit/grasshopper/grasshopper.c create mode 100644 include/configs/grasshopper.h
board/in-circuit/grasshopper/Makefile new file +45 -0
@@ -0,0 +1,45 @@ +# +# (C) Copyright 2001-2006 +# Wolfgang Denk, DENX Software Engineering, wd at denx.de. +# +# Copyright (C) 2011 +# Corscience GmbH & Co.KG, Andreas Bie?mann <[email protected]> +# +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA + +include $(TOPDIR)/config.mk + +LIB := $(obj)lib$(BOARD).o + +COBJS-y += $(BOARD).o + +SRCS := $(COBJS-y:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS-y)) + +$(LIB): $(obj).depend $(OBJS) + $(call cmd_link_o_target, $(OBJS)) + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +#########################################################################
board/in-circuit/grasshopper/grasshopper.c new file +105 -0
105 lines not on this page · raw message
boards.cfg +1 -0
@@ -209,6 +209,7 @@ atstk1003 avr32 at32ap atstk1000 atmel atstk1004 avr32 at32ap atstk1000 atmel at32ap700x atstk1006 avr32 at32ap atstk1000 atmel at32ap700x favr-32-ezkit avr32 at32ap - earthlcd at32ap700x +grasshopper avr32 at32ap - in-circuit at32ap700x mimc200 avr32 at32ap - mimc at32ap700x hammerhead avr32 at32ap - miromico at32ap700x bct-brettl2 blackfin blackfin
include/configs/grasshopper.h new file +197 -0
197 lines not on this page · raw message
Signature · 1 line
1.7.2.5
PATCH 1/1 avr32: add grasshopper (ICnova AP7000) board
Dear Andreas Bie?mann,
Quoted 23 lines
The grasshopper board is a neat avr32 evaluation kit produced by In-Circuit GmbH.
...board/in-circuit/grasshopper/grasshopper.c new file +20
-0+struct mmu_vm_range mmu_vmr_table[CONFIG_SYS_NR_VM_REGIONS ] = { + { + .virt_pgno =CONFIG_SYS_FLASH_BASE >>PAGE_SHIFT , + .nr_pages =CONFIG_SYS_FLASH_SIZE >>PAGE_SHIFT , + .phys = (CONFIG_SYS_FLASH_BASE >>PAGE_SHIFT ) + |MMU_VMR_CACHE_NONE , + }, { + .virt_pgno =CONFIG_SYS_SDRAM_BASE >>PAGE_SHIFT , + .nr_pages =EBI_SDRAM_SIZE >>PAGE_SHIFT , + .phys = (CONFIG_SYS_SDRAM_BASE >>PAGE_SHIFT ) + |MMU_VMR_CACHE_WRBACK , + }, +}; + +static const struct sdram_config sdram_config = { +/* Dual MT48LC16M16A2-7E (or equal) */ + .data_bits =SDRAM_DATA_32BIT , + .row_bits =13 , + .col_bits =9 , + .bank_bits =2 ,
board/in-circuit/grasshopper/grasshopper.c line 64
Quoted 10 lines
board/in-circuit/grasshopper/grasshopper.c new file +10
-0+ .cas = 2, + .twr = 2, + .trc = 7, + .trp = 2, + .trcd = 2, + .tras = 4, + .txsr = 7, + /* 7.81 us */ + .refresh_period = (781 * (SDRAMC_BUS_HZ / 1000)) / 100000, +};
This patch is infested with 4/8 space indentations. Please fix to use tabs...
Best Regards,
Reinhard
PATCH v2 1/1 avr32: add grasshopper (ICnova AP7000) board
In reply to Andreas BießmannThe grasshopper board is a neat avr32 evaluation kit produced by In-Circuit GmbH.
See http://www.ic-board.de/product_info.php?info=p75_ICnova-AP7000-Base.html
for detailed information about this device.
---
changes since v1:
- use vim: set noet ts=8 for 80 char per line checking
- replace blank indention by tab indention
- add board_early_init_r to explicitely set the phy address to 0x00
board/in-circuit/grasshopper/Makefile | 45 +++++++ board/in-circuit/grasshopper/grasshopper.c | 112 ++++++++++++++++ boards.cfg | 1 + include/configs/grasshopper.h | 198 ++++++++++++++++++++++++++++ 4 files changed, 356 insertions(+), 0 deletions(-) create mode 100644 board/in-circuit/grasshopper/Makefile create mode 100644 board/in-circuit/grasshopper/grasshopper.c create mode 100644 include/configs/grasshopper.h
board/in-circuit/grasshopper/Makefile new file +45 -0
@@ -0,0 +1,45 @@ +# +# (C) Copyright 2001-2006 +# Wolfgang Denk, DENX Software Engineering, wd at denx.de. +# +# Copyright (C) 2011 +# Corscience GmbH & Co.KG, Andreas Bie?mann <[email protected]> +# +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA + +include $(TOPDIR)/config.mk + +LIB := $(obj)lib$(BOARD).o + +COBJS-y += $(BOARD).o + +SRCS := $(COBJS-y:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS-y)) + +$(LIB): $(obj).depend $(OBJS) + $(call cmd_link_o_target, $(OBJS)) + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +#########################################################################
board/in-circuit/grasshopper/grasshopper.c new file +112 -0
112 lines not on this page · raw message
boards.cfg +1 -0
@@ -209,6 +209,7 @@ atstk1003 avr32 at32ap atstk1000 atmel atstk1004 avr32 at32ap atstk1000 atmel at32ap700x atstk1006 avr32 at32ap atstk1000 atmel at32ap700x favr-32-ezkit avr32 at32ap - earthlcd at32ap700x +grasshopper avr32 at32ap - in-circuit at32ap700x mimc200 avr32 at32ap - mimc at32ap700x hammerhead avr32 at32ap - miromico at32ap700x bct-brettl2 blackfin blackfin
include/configs/grasshopper.h new file +198 -0
198 lines not on this page · raw message
Signature · 1 line
1.7.2.5
v3 cover Add grasshopper board (and modify MAINTIANERS)
This is now a series of two cause changing MAINTAINERS give an mismatch of charsets (ISO-8859-1 vs UTF-8).
There is an discussion about changing charset in files:
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/102199
Andreas Bie?mann (2):
MAINTAINERS: convert to UTF-8
avr32: add grasshopper (ICnova AP7000) board
MAINTAINERS | 11 +- board/in-circuit/grasshopper/Makefile | 45 +++++++ board/in-circuit/grasshopper/grasshopper.c | 112 ++++++++++++++++ boards.cfg | 1 + include/configs/grasshopper.h | 198 ++++++++++++++++++++++++++++ 5 files changed, 362 insertions(+), 5 deletions(-) create mode 100644 board/in-circuit/grasshopper/Makefile create mode 100644 board/in-circuit/grasshopper/grasshopper.c create mode 100644 include/configs/grasshopper.h
Signature · 1 line
1.7.2.5
PATCH v3 1/2 MAINTAINERS: convert to UTF-8
In reply to Andreas Bießmann--- MAINTAINERS | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-)
MAINTAINERS +5 -5
@@ -74,7 +74,7 @@ Joe D'Abbraccio <[email protected]> MPC837xERDB MPC837x -K?ri Dav??sson <[email protected]> +K??ri Dav????sson <[email protected]> FLAGADM MPC823
@@ -597,7 +597,7 @@ Rishi Bhattacharya <[email protected]> omap5912osk ARM926EJS -Andreas Bie?mann <[email protected]> +Andreas Bie??mann <[email protected]> at91rm9200ek at91rm9200
@@ -652,7 +652,7 @@ Sedji Gaouaou<[email protected]> at91sam9g10ek ARM926EJS (AT91SAM9G10 SoC) at91sam9m10g45ek ARM926EJS (AT91SAM9G45 SoC) -Marius Gr?ger <[email protected]> +Marius Gr??ger <[email protected]> impa7 ARM720T (EP7211) ep7312 ARM720T (EP7312)
@@ -735,7 +735,7 @@ Nishanth Menon <[email protected]> omap3_sdp3430 ARM ARMV7 (OMAP3xx SoC) omap3_zoom1 ARM ARMV7 (OMAP3xx SoC) -David M?ller <[email protected]> +David M??ller <[email protected]> smdk2410 ARM920T VCMA9 ARM920T
@@ -897,7 +897,7 @@ Richard Woodruff <[email protected]> omap2420h4 ARM1136EJS -Alex Z?pke <[email protected]> +Alex Z??pke <[email protected]> lart SA1100 dnp1110 SA1110
Signature · 1 line
1.7.2.5
PATCH v3 1/2 MAINTAINERS: convert to UTF-8
Le 01/07/2011 10:03, Andreas Bie?mann a ?crit :
Quoted 48 lines
Signed-off-by Andreas Bie?mann<[email protected]>CC albert.u.boot at aribaud.netCC vapier at gentoo.org--- MAINTAINERS | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-)MAINTAINERS +4
-4@@ -74,7 +74,7 @@ Joe D'Abbraccio<[email protected]> MPC837xERDB MPC837x -K?ri Dav??sson<[email protected]> +K?ri Dav??sson<[email protected]> FLAGADM MPC823@@ -597,7 +597,7 @@ Rishi Bhattacharya<[email protected]> omap5912osk ARM926EJS -Andreas Bie?mann<[email protected]> +Andreas Bie?mann<[email protected]> at91rm9200ek at91rm9200@@ -652,7 +652,7 @@ Sedji Gaouaou<[email protected]> at91sam9g10ek ARM926EJS (AT91SAM9G10 SoC) at91sam9m10g45ek ARM926EJS (AT91SAM9G45 SoC) -Marius Gr?ger<[email protected]> +Marius Gr?ger<[email protected]> impa7 ARM720T (EP7211) ep7312 ARM720T (EP7312)@@ -735,7 +735,7 @@ Nishanth Menon<[email protected]> omap3_sdp3430 ARM ARMV7 (OMAP3xx SoC) omap3_zoom1 ARM ARMV7 (OMAP3xx SoC) -David M?ller<[email protected]> +David M?ller<[email protected]> smdk2410 ARM920T VCMA9 ARM920T
MAINTAINERS Richard Woodruff<[email protected]> · line 903
Quoted 8 lines
MAINTAINERS +1
-1@@ -897,7 +897,7 @@ Richard Woodruff<[email protected]> omap2420h4 ARM1136EJS -Alex Z?pke<[email protected]> +Alex Z?pke<[email protected]> lart SA1100 dnp1110 SA1110
Andreas,
Please do not issue a single file encoding conversion, and do not submit a conversion patch to UTF before agreement is reached on which encoding to use.
As for the full change, if you really insist on doing it, then you're welcome, but as I am the one who raised the subject, I feel it is only normal that I prepare and submit the overall change patch.
Amicalement,
Signature · 1 line
Albert.
PATCH v3 1/2 MAINTAINERS: convert to UTF-8
Dear Albert Aribaud,
Am 01.07.2011 13:09, schrieb Albert ARIBAUD:
Quoted 1 line
Le 01/07/2011 10:03, Andreas Bie?mann a ?crit :
<snip patch>
Quoted 5 lines
Andreas,
Please do not issue a single file encoding conversion, and do not submit a conversion patch to UTF before agreement is reached on which encoding to use.
I have no problem with that. I just remembered this morning that I missed an entry in MAINTAINERS file. But when I change the MAINTAINERS file in current encoding the whole patch gets another encoding. My SoB show's immediately the wrong encoding.
Therefore I thought it would be good point to show on that problem with that patch.
Will send v4 with UTF-8 conversion removed.
Quoted 3 lines
As for the full change, if you really insist on doing it, then you're welcome, but as I am the one who raised the subject, I feel it is only normal that I prepare and submit the overall change patch.
I do not insist on doing the conversion. There are some places where errors may occur, therefore it would be best someone with upstream repository does the job.
regards
Andreas Bie?mann
PATCH v4 1/1 avr32: add grasshopper (ICnova AP7000) board
In reply to Albert ARIBAUDThe grasshopper board is a neat avr32 evaluation kit produced by In-Circuit GmbH.
See http://www.ic-board.de/product_info.php?info=p75_ICnova-AP7000-Base.html
for detailed information about this device.
---
changes since v1:
- use vim: set noet ts=8 for 80 char per line checking
- replace blank indention by tab indention
- add board_early_init_r to explicitely set the phy address to 0x00
changes since v2:
- add MAINTAINERS entry
chganges since v3:
- remove previous commit 'MAINTAINERS: convert to utf-8' -> encoding of this patch is defective since '?' in MAINTAINERS is ISO-8859-1 coded and everywhere else it is UTF-8 coded.
MAINTAINERS | 1 + board/in-circuit/grasshopper/Makefile | 45 +++++++ board/in-circuit/grasshopper/grasshopper.c | 112 ++++++++++++++++ boards.cfg | 1 + include/configs/grasshopper.h | 198 ++++++++++++++++++++++++++++ 5 files changed, 357 insertions(+), 0 deletions(-) create mode 100644 board/in-circuit/grasshopper/Makefile create mode 100644 board/in-circuit/grasshopper/grasshopper.c create mode 100644 include/configs/grasshopper.h
MAINTAINERS +1 -0
@@ -600,6 +600,7 @@ Rishi Bhattacharya <[email protected]> Andreas Bie?mann <[email protected]> at91rm9200ek at91rm9200 + grasshopper avr32 Cliff Brake <[email protected]>
board/in-circuit/grasshopper/Makefile new file +45 -0
45 lines not on this page · raw message
board/in-circuit/grasshopper/grasshopper.c new file +112 -0
112 lines not on this page · raw message
boards.cfg +1 -0
@@ -209,6 +209,7 @@ atstk1003 avr32 at32ap atstk1000 atmel atstk1004 avr32 at32ap atstk1000 atmel at32ap700x atstk1006 avr32 at32ap atstk1000 atmel at32ap700x favr-32-ezkit avr32 at32ap - earthlcd at32ap700x +grasshopper avr32 at32ap - in-circuit at32ap700x mimc200 avr32 at32ap - mimc at32ap700x hammerhead avr32 at32ap - miromico at32ap700x bct-brettl2 blackfin blackfin
include/configs/grasshopper.h new file +198 -0
198 lines not on this page · raw message
Signature · 1 line
1.7.2.5
PATCH v4 1/1 avr32: add grasshopper (ICnova AP7000) board
Dear Reinahrd Meyer,
Am 01.07.2011 16:47, schrieb Andreas Bie?mann:
Quoted 12 lines
The grasshopper board is a neat avr32 evaluation kit produced by In-Circuit GmbH.
See http://www.ic-board.de/product_info.php?info=p75_ICnova-AP7000-Base.html
for detailed information about this device.Signed-off-by Andreas Bie?mann <[email protected]>---
changes since v1:
- use vim: set noet ts=8 for 80 char per line checking
- replace blank indention by tab indention
- addboard_early_init_rto explicitely set the phy address to0x00
Quoted 7 lines
changes since v2:
- addMAINTAINERSentrychganges since v3:
- remove previous commit 'MAINTAINERS: convert to utf-8' -> encoding of this patch is defective since '?' inMAINTAINERSis ISO-8859-1 coded and everywhere else it is UTF-8 coded.
ping?
PATCH v4 1/1 avr32: add grasshopper (ICnova AP7000) board
In reply to Andreas BießmannDear Reinhard Meyer,
you took the at91 related patches today.
Am 01.07.2011 16:47, schrieb Andreas Bie?mann:
Quoted 20 lines
The grasshopper board is a neat avr32 evaluation kit produced by In-Circuit GmbH.
See http://www.ic-board.de/product_info.php?info=p75_ICnova-AP7000-Base.html
for detailed information about this device.Signed-off-by Andreas Bie?mann <[email protected]>---
changes since v1:
- use vim: set noet ts=8 for 80 char per line checking
- replace blank indention by tab indention
- addboard_early_init_rto explicitely set the phy address to0x00changes since v2:
- addMAINTAINERSentrychganges since v3:
- remove previous commit 'MAINTAINERS: convert to utf-8' -> encoding of this patch is defective since '?' inMAINTAINERSis ISO-8859-1 coded and everywhere else it is UTF-8 coded.
Quoted 9 lines
MAINTAINERS | 1 + board/in-circuit/grasshopper/Makefile | 45 +++++++ board/in-circuit/grasshopper/grasshopper.c | 112 ++++++++++++++++ boards.cfg | 1 + include/configs/grasshopper.h | 198 ++++++++++++++++++++++++++++ 5 files changed, 357 insertions(+), 0 deletions(-) create mode 100644 board/in-circuit/grasshopper/Makefile create mode 100644 board/in-circuit/grasshopper/grasshopper.c create mode 100644 include/configs/grasshopper.h
Any objections to this patch? v4 was out before the merge window closed. I know you are right before your holiday ... but it would be great if you take this too.
best regards
Andreas Bie?mann
PATCH v4 1/1 avr32: add grasshopper (ICnova AP7000) board
Dear Andreas Bie?mann:
Quoted 31 lines
Am 01.07.2011 16:47, schrieb Andreas Bie?mann:
Quoted 20 lines
The grasshopper board is a neat avr32 evaluation kit produced by In-Circuit GmbH.
See http://www.ic-board.de/product_info.php?info=p75_ICnova-AP7000-Base.html
for detailed information about this device.Signed-off-by Andreas Bie?mann <[email protected]>---
changes since v1:
- use vim: set noet ts=8 for 80 char per line checking
- replace blank indention by tab indention
- addboard_early_init_rto explicitely set the phy address to0x00changes since v2:
- addMAINTAINERSentrychganges since v3:
- remove previous commit 'MAINTAINERS: convert to utf-8' -> encoding of this patch is defective since '?' inMAINTAINERSis ISO-8859-1 coded and everywhere else it is UTF-8 coded.Quoted 9 lines
MAINTAINERS | 1 + board/in-circuit/grasshopper/Makefile | 45 +++++++ board/in-circuit/grasshopper/grasshopper.c | 112 ++++++++++++++++ boards.cfg | 1 + include/configs/grasshopper.h | 198 ++++++++++++++++++++++++++++ 5 files changed, 357 insertions(+), 0 deletions(-) create mode 100644 board/in-circuit/grasshopper/Makefile create mode 100644 board/in-circuit/grasshopper/grasshopper.c create mode 100644 include/configs/grasshopper.h
Quoted 3 lines
Any objections to this patch? v4 was out before the merge window closed. I know you are right before your holiday ... but it would be great if you take this too.
No objections. Applied to u-boot-atmel/master.
Thanks, Reinhard
PATCH v3 2/2 avr32: add grasshopper (ICnova AP7000) board
In reply to Andreas BießmannThe grasshopper board is a neat avr32 evaluation kit produced by In-Circuit GmbH.
See http://www.ic-board.de/product_info.php?info=p75_ICnova-AP7000-Base.html
for detailed information about this device.
---
changes since v1:
- use vim: set noet ts=8 for 80 char per line checking
- replace blank indention by tab indention
- add board_early_init_r to explicitely set the phy address to 0x00
changes since v2:
- add MAINTAINERS entry
MAINTAINERS | 1 + board/in-circuit/grasshopper/Makefile | 45 +++++++ board/in-circuit/grasshopper/grasshopper.c | 112 ++++++++++++++++ boards.cfg | 1 + include/configs/grasshopper.h | 198 ++++++++++++++++++++++++++++ 5 files changed, 357 insertions(+), 0 deletions(-) create mode 100644 board/in-circuit/grasshopper/Makefile create mode 100644 board/in-circuit/grasshopper/grasshopper.c create mode 100644 include/configs/grasshopper.h
MAINTAINERS +1 -0
@@ -600,6 +600,7 @@ Rishi Bhattacharya <[email protected]> Andreas Bie?mann <[email protected]> at91rm9200ek at91rm9200 + grasshopper avr32 Cliff Brake <[email protected]>
board/in-circuit/grasshopper/Makefile new file +45 -0
45 lines not on this page · raw message
board/in-circuit/grasshopper/grasshopper.c new file +112 -0
112 lines not on this page · raw message
boards.cfg +1 -0
@@ -209,6 +209,7 @@ atstk1003 avr32 at32ap atstk1000 atmel atstk1004 avr32 at32ap atstk1000 atmel at32ap700x atstk1006 avr32 at32ap atstk1000 atmel at32ap700x favr-32-ezkit avr32 at32ap - earthlcd at32ap700x +grasshopper avr32 at32ap - in-circuit at32ap700x mimc200 avr32 at32ap - mimc at32ap700x hammerhead avr32 at32ap - miromico at32ap700x bct-brettl2 blackfin blackfin
include/configs/grasshopper.h new file +198 -0
198 lines not on this page · raw message
Signature · 1 line
1.7.2.5