Initial support for Nomadik 8815 development board
PATCH 1/1 Initial support for Nomadik 8815 development board
The NMDK8815 board is distributed by ST Microelectornics. This is the initial port, with basic infrastructure and a working serial port.
--- MAINTAINERS | 5 + MAKEALL | 1 + Makefile | 11 ++ board/nmdk8815/Makefile | 53 ++++++ board/nmdk8815/config.mk | 26 +++ board/nmdk8815/nmdk8815.c | 79 +++++++++ board/nmdk8815/platform.S | 349 ++++++++++++++++++++++++++++++++++++++++ board/nmdk8815/u-boot.lds | 51 ++++++ cpu/arm926ejs/nomadik/Makefile | 46 ++++++ cpu/arm926ejs/nomadik/reset.S | 27 +++ cpu/arm926ejs/nomadik/timer.c | 172 ++++++++++++++++++++ include/configs/nmdk8815.h | 187 +++++++++++++++++++++ 12 files changed, 1007 insertions(+), 0 deletions(-) create mode 100644 board/nmdk8815/Makefile create mode 100644 board/nmdk8815/config.mk create mode 100644 board/nmdk8815/nmdk8815.c create mode 100644 board/nmdk8815/platform.S create mode 100644 board/nmdk8815/u-boot.lds create mode 100644 cpu/arm926ejs/nomadik/Makefile create mode 100644 cpu/arm926ejs/nomadik/reset.S create mode 100644 cpu/arm926ejs/nomadik/timer.c create mode 100644 include/configs/nmdk8815.h
MAINTAINERS +5 -0
@@ -581,6 +581,11 @@ Stefan Roese <[email protected]> pdnb3 xscale scpu xscale +Alessandro Rubini <[email protected]> +Nomadik Linux Team <[email protected]> + + nmdk8815 ARM926EJS (Nomadik 8815 Soc) + Robert Schwebel <[email protected]> csb226 xscale
MAKEALL +1 -0
@@ -487,6 +487,7 @@ LIST_ARM9=" \ mx1ads \ mx1fs2 \ netstar \ + nmdk8815 \ omap1510inn \ omap1610h2 \ omap1610inn \
Makefile +11 -0
@@ -2612,6 +2612,17 @@ mx1fs2_config : unconfig netstar_config: unconfig @$(MKCONFIG) $(@:_config=) arm arm925t netstar +nmdk8815_config \ +nmdk8815_onenand_config: unconfig + @ > $(obj)include/config.h + @if [ "$(findstring _onenand, $@)" ] ; then \ + echo "#define CONFIG_BOOT_ONENAND" >> $(obj)include/config.h; \ + $(XECHO) "... configured for OneNand Flash"; \ + else \ + $(XECHO) "... configured for Nand Flash"; \ + fi + @./mkconfig -a nmdk8815 arm arm926ejs nmdk8815 NULL nomadik + omap1510inn_config : unconfig @$(MKCONFIG) $(@:_config=) arm arm925t omap1510inn
board/nmdk8815/Makefile new file +53 -0
53 lines not on this page · raw message
board/nmdk8815/config.mk new file +26 -0
@@ -0,0 +1,26 @@ +# (C) Copyright 2007 +# STMicroelectronics, <www.st.com> +# +# 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 +# +# +# image should be loaded at 0x01000000 +# + +TEXT_BASE = 0x03F80000
board/nmdk8815/nmdk8815.c new file +79 -0
79 lines not on this page · raw message
board/nmdk8815/platform.S new file +349 -0
349 lines not on this page · raw message
board/nmdk8815/u-boot.lds new file +51 -0
51 lines not on this page · raw message
cpu/arm926ejs/nomadik/Makefile new file +46 -0
46 lines not on this page · raw message
cpu/arm926ejs/nomadik/reset.S new file +27 -0
@@ -0,0 +1,27 @@ +#include <config.h> +/* + * Processor reset for Nomadik + */ + + .align 5 +.globl reset_cpu +reset_cpu: +#if defined CONFIG_NOMADIK_8815 + ldr r0, =NOMADIK_SRC_BASE + ldr r1, =0x1 + str r1, [r0, #0x18] +#else + ldr r1, rstctl1 /* get clkm1 reset ctl */ + mov r3, #0x0 + strh r3, [r1] /* clear it */ + mov r3, #0x8 + strh r3, [r1] /* force dsp+arm reset */ +#endif +_loop_forever: + b _loop_forever + + +rstctl1: + .word 0xfffece10 + +
cpu/arm926ejs/nomadik/timer.c new file +172 -0
172 lines not on this page · raw message
include/configs/nmdk8815.h new file +187 -0
187 lines not on this page · raw message
Signature · 1 line
1.6.0.2
PATCH 1/1 Initial support for Nomadik 8815 development board
Quoted 3 lines
This is the initial port, with basic infrastructure and a working serial port.
While rebasing in order to add drivers, I found I have whitespace and other stilistic errors. I'll post a fixed patch this night with those details fixed.
/alessandro
PATCH 1/1 Initial support for Nomadik 8815 development board
Quoted 7 lines · Alessandro Rubini
Quoted 3 lines
This is the initial port, with basic infrastructure and a working serial port.
While rebasing in order to add drivers, I found I have whitespace and other stilistic errors. I'll post a fixed patch this night with those details fixed.
btw please fix all Makefile
Best Regards,
J.