Skip to contentSkip to conversation

Support for Artila M-501 starter kit

PATCH New Timo Tuunainen 2 participants 2 messages Feb 1, 2008 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Support for Artila M-501 starter kit

Hi,

This patch adds support for Artila M-501 starter kit:
? ? http://www.artila.com/p_matrix.html#m_501

The supported features include:
? ? ? ? - Atmel AT91RM9200
? ? ? ? - SDRAM (32MB on the V02 processor card)
? ? ? ? - Serial port DBGU
? ? ? ? - LEDs
? ? ? ? - Buzzer
? ? ? ? - NOR Flash
? ? ? ? - Ethernet
? ? ? ? - I2C
? ? ? ? - RTC

This is the second posting of the patch. The previous patch series is completely replaced by this one. Code has been tidied up to match the code styling rules.

This patch is to be applied on top of the current U-Boot git tree.

Some modifications are based on work done by Alan Lu from Artila.

Thanks to Ladislav Michl for comments. Issues with struct bd_info_ext and CONFIG_BOOTBINFUNC have now been fixed.

Kimmo Leppala / Sysart and
Timo Tuunainen / Sysart

---

---
 CREDITS                  |   16 ++++
 MAKEALL                  |    1 +
 Makefile                 |    2 +
 board/m501sk/Makefile    |   48 +++++++++++
 board/m501sk/config.mk   |    1 +
 board/m501sk/eeprom.c    |  100 +++++++++++++++++++++++
 board/m501sk/m501sk.c    |  190 +++++++++++++++++++++++++++++++++++++++++++
 board/m501sk/m501sk.h    |  167 ++++++++++++++++++++++++++++++++++++++
 board/m501sk/memsetup.S  |  200 ++++++++++++++++++++++++++++++++++++++++++++++
 board/m501sk/u-boot.lds  |   55 +++++++++++++
 include/configs/m501sk.h |  187 +++++++++++++++++++++++++++++++++++++++++++
 lib_arm/armlinux.c       |    2 +-
 12 files changed, 968 insertions(+), 1 deletions(-)
 create mode 100644 board/m501sk/Makefile
 create mode 100644 board/m501sk/config.mk
 create mode 100644 board/m501sk/eeprom.c
 create mode 100644 board/m501sk/m501sk.c
 create mode 100644 board/m501sk/m501sk.h
 create mode 100644 board/m501sk/memsetup.S
 create mode 100644 board/m501sk/u-boot.lds
 create mode 100644 include/configs/m501sk.h
CREDITS +16 -0
index 57a82d2..b3c55ae 100644
@@ -509,3 +509,19 @@ N: Nobuhiro Iwamatsu
 E: iwamatsu at nigauri.org
 D: Support for SuperH, MS7750SE01 and  MS7722SE01 boards.
 W: http://www.nigauri.org/~iwamatsu/
+
+N: Alan Lu
+E: alnalu001 at gmail.com
+D: Support for Artila M-501 starter kit
+W: http://www.artila.com/
+
+N: Kimmo Leppala
+E: kimmo.leppala at sysart.fi
+D: Support for Artila M-501 starter kit
+W: http://www.sysart.fi/
+
+N: Timo Tuunainen
+E: timo.tuunainen at sysart.fi
+D: Support for Artila M-501 starter kit
+W: http://www.sysart.fi/
+
MAKEALL +1 -0
index d66a5fa..655e100 100755
@@ -459,6 +459,7 @@ LIST_ARM9="			\
 	cp946es			\
 	cp966			\
 	lpd7a400		\
+	m501sk			\
 	mp2usb			\
 	mx1ads			\
 	mx1fs2			\
Makefile +2 -0
index 0f6cc59..9200d17 100644
@@ -2313,6 +2313,8 @@ csb637_config	:	unconfig
 mp2usb_config	:	unconfig
 	@$(MKCONFIG) $(@:_config=) arm arm920t mp2usb NULL at91rm9200
 
+m501sk_config	:	unconfig
+	@$(MKCONFIG) $(@:_config=) arm arm920t m501sk NULL at91rm9200
 
 ########################################################################
 ## ARM Integrator boards - see doc/README-integrator for more info.
board/m501sk/Makefile new file +48 -0

48 lines not on this page · raw message

board/m501sk/config.mk new file +1 -0
new file mode 100644
index 0000000..9ce161e
@@ -0,0 +1 @@
+TEXT_BASE = 0x21f00000
board/m501sk/eeprom.c new file +100 -0

100 lines not on this page · raw message

board/m501sk/m501sk.c new file +190 -0

190 lines not on this page · raw message

board/m501sk/m501sk.h new file +167 -0

167 lines not on this page · raw message

board/m501sk/memsetup.S new file +200 -0

200 lines not on this page · raw message

board/m501sk/u-boot.lds new file +55 -0

55 lines not on this page · raw message

include/configs/m501sk.h new file +187 -0

187 lines not on this page · raw message

lib_arm/armlinux.c +1 -1
index 6d32a41..f12f33c 100644
@@ -160,7 +160,7 @@ void do_bootm_linux (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[],
 			do_reset (cmdtp, flag, argc, argv);
 		}
 
-#if defined(CONFIG_B2) || defined(CONFIG_EVB4510) || defined(CONFIG_ARMADILLO)
+#if defined(CONFIG_B2) || defined(CONFIG_EVB4510) || defined(CONFIG_ARMADILLO) || defined(CONFIG_M501SK)
 		/*
 		 *we need to copy the ramdisk to SRAM to let Linux boot
 		 */
Signature · 1 line
1.5.2.5
#1 lore raw

PATCH 1/1 Support for Artila M-501 starter kit

Quoted 11 lines

-----Original Message-----
From: u-boot-users-bounces at lists.sourceforge.net [mailto:u-boot-users-bounces at lists.sourceforge.net] On Behalf Of Timo Tuunainen
Sent: 01 February 2008 10:09
To: u-boot-users at lists.sourceforge.net
Subject: [U-Boot-Users] [PATCH] [ARM] Support for Artila M-501 starter kit

Quoted 8 lines

Hi,

This patch adds support for Artila M-501 starter kit:
? ? http://www.artila.com/p_matrix.html#m_501

This is the second posting of the patch. The previous patch series is completely replaced by this one. Code has been tidied up to match the code styling rules.

Replaced on my list

Regards

Peter