Skip to contentSkip to conversation

SMDKV310 Board Support

PATCH Superseded Chander Kashyap 4 participants 8 messages May 19, 2011

Subsystems (2)

v3 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

v3 cover SMDKV310 Board Support

Hi,
This patchset adds support for a new board SMDKV310, based on S5PV310 SOC. This SOC is very similar to S5PC210 SOC, hence we are re-using this SOC code.

Specific changes in PATCH v3 are mention in specific patch files.

Chander Kashyap (2):
ARMV7: Add support for Samsung SMDKV310 Board
ARMV7: MMC SPL Boot support for SMDKV310 board

 MAINTAINERS                                        |    4 +
 Makefile                                           |   11 +
 board/samsung/smdkv310/Makefile                    |   46 ++
 board/samsung/smdkv310/lowlevel_init.S             |  470 ++++++++++++++++++++
 board/samsung/smdkv310/mem_setup.S                 |  365 +++++++++++++++
 board/samsung/smdkv310/smdkv310.c                  |  136 ++++++
 boards.cfg                                         |    1 +
 include/configs/smdkv310.h                         |  169 +++++++
 mmc_spl/board/samsung/smdkv310/Makefile            |  105 +++++
 mmc_spl/board/samsung/smdkv310/mmc_boot.c          |   81 ++++
 .../board/samsung/smdkv310/tools/mkv310_image.c    |  116 +++++
 mmc_spl/board/samsung/smdkv310/u-boot.lds          |   86 ++++
 12 files changed, 1590 insertions(+), 0 deletions(-)
 create mode 100644 board/samsung/smdkv310/Makefile
 create mode 100644 board/samsung/smdkv310/lowlevel_init.S
 create mode 100644 board/samsung/smdkv310/mem_setup.S
 create mode 100644 board/samsung/smdkv310/smdkv310.c
 create mode 100644 include/configs/smdkv310.h
 create mode 100644 mmc_spl/board/samsung/smdkv310/Makefile
 create mode 100644 mmc_spl/board/samsung/smdkv310/mmc_boot.c
 create mode 100644 mmc_spl/board/samsung/smdkv310/tools/mkv310_image.c
 create mode 100644 mmc_spl/board/samsung/smdkv310/u-boot.lds

--
1.7.4.1

#1 lore raw

PATCH v3 1/2 ARMV7: Add support for Samsung SMDKV310 Board

SMDKV310 board is based on Samsung S5PV310 SOC. This SOC is very much similar to S5PC210.

---
Changes for v2:
- Coding Style Cleanup
- Removed unwanted macros from board config file.
- Ethernet controllor configuration is done using gpio structures.
- MMC Controllor gpio configuration corrected.
- Added MAINTAINERS entry.
- Removed unwanted code from mem_setup.S.
Changes for v3:
- Comment style fixed
- Added New macro in board config file.

 MAINTAINERS                            |    4 +
 board/samsung/smdkv310/Makefile        |   46 +++
 board/samsung/smdkv310/lowlevel_init.S |  470 ++++++++++++++++++++++++++++++++
 board/samsung/smdkv310/mem_setup.S     |  365 +++++++++++++++++++++++++
 board/samsung/smdkv310/smdkv310.c      |  136 +++++++++
 boards.cfg                             |    1 +
 include/configs/smdkv310.h             |  169 ++++++++++++
 7 files changed, 1191 insertions(+), 0 deletions(-)
 create mode 100644 board/samsung/smdkv310/Makefile
 create mode 100644 board/samsung/smdkv310/lowlevel_init.S
 create mode 100644 board/samsung/smdkv310/mem_setup.S
 create mode 100644 board/samsung/smdkv310/smdkv310.c
 create mode 100644 include/configs/smdkv310.h
MAINTAINERS +4 -0
index e2c48a8..a3f6ef2 100644
@@ -702,6 +702,10 @@ Minkyu Kang <[email protected]>
 	s5p_goni		ARM ARMV7 (S5PC110 SoC)
 	s5pc210_universal	ARM ARMV7 (S5PC210 SoC)
 
+Chander Kashyap <[email protected]>
+
+	SMDKV310		ARM ARMV7 (S5PC210 SoC)
+
 Frederik Kriewitz <[email protected]>
 
 	devkit8000	ARM ARMV7 (OMAP3530 SoC)
board/samsung/smdkv310/Makefile new file +46 -0

46 lines not on this page · raw message

board/samsung/smdkv310/lowlevel_init.S new file +470 -0

470 lines not on this page · raw message

board/samsung/smdkv310/mem_setup.S new file +365 -0

365 lines not on this page · raw message

board/samsung/smdkv310/smdkv310.c new file +136 -0

136 lines not on this page · raw message

boards.cfg +1 -0
index 4f48d19..f8a1cf9 100644
@@ -146,6 +146,7 @@ omap4_sdp4430                arm         armv7       sdp4430             ti
 s5p_goni                     arm         armv7       goni                samsung        s5pc1xx
 smdkc100                     arm         armv7       smdkc100            samsung        s5pc1xx
 s5pc210_universal            arm         armv7       universal_c210      samsung        s5pc2xx
+smdkv310		     arm	 armv7	     smdkv310		 samsung	s5pc2xx
 harmony                      arm         armv7       harmony             nvidia         tegra2
 seaboard                     arm         armv7       seaboard            nvidia         tegra2
 actux1                       arm         ixp
include/configs/smdkv310.h new file +169 -0

169 lines not on this page · raw message

--
1.7.4.1

#2 lore raw

PATCH v3 2/2 ARMV7: MMC SPL Boot support for SMDKV310 board

In reply to Chander Kashyap

Added MMC SPL boot support for SMDKV310. This framework design is based on nand_spl support.

---
Changes for v3:
- spl file renamed to u-boot-mmc-spl.bin
- spl directory renamed to mmc_spl
- comments added in mkv310_image.c file

 Makefile                                           |   11 ++
 mmc_spl/board/samsung/smdkv310/Makefile            |  105 ++++++++++++++++++
 mmc_spl/board/samsung/smdkv310/mmc_boot.c          |   81 ++++++++++++++
 .../board/samsung/smdkv310/tools/mkv310_image.c    |  116 ++++++++++++++++++++
 mmc_spl/board/samsung/smdkv310/u-boot.lds          |   86 +++++++++++++++
 5 files changed, 399 insertions(+), 0 deletions(-)
 create mode 100644 mmc_spl/board/samsung/smdkv310/Makefile
 create mode 100644 mmc_spl/board/samsung/smdkv310/mmc_boot.c
 create mode 100644 mmc_spl/board/samsung/smdkv310/tools/mkv310_image.c
 create mode 100644 mmc_spl/board/samsung/smdkv310/u-boot.lds
Makefile +11 -0
index 384a59e..25b87b0 100644
@@ -322,6 +322,10 @@ ALL += $(obj)u-boot-onenand.bin
 ONENAND_BIN ?= $(obj)onenand_ipl/onenand-ipl-2k.bin
 endif
 
+ifeq ($(CONFIG_MMC_U_BOOT),y)
+ALL += $(obj)mmc_spl/u-boot-mmc-spl.bin
+endif
+
 all:		$(ALL)
 
 $(obj)u-boot.hex:	$(obj)u-boot
@@ -413,6 +417,11 @@ onenand_ipl:	$(TIMESTAMP_FILE) $(VERSION_FILE) $(obj)include/autoconf.mk
 $(obj)u-boot-onenand.bin:	onenand_ipl $(obj)u-boot.bin
 		cat $(ONENAND_BIN) $(obj)u-boot.bin > $(obj)u-boot-onenand.bin
 
+mmc_spl:	$(TIMESTAMP_FILE) $(VERSION_FILE) depend
+		$(MAKE) -C mmc_spl/board/$(BOARDDIR) all
+
+$(obj)mmc_spl/u-boot-mmc-spl.bin:	mmc_spl
+
 $(VERSION_FILE):
 		@( localvers='$(shell $(TOPDIR)/tools/setlocalversion $(TOPDIR))' ; \
 		   printf '#define PLAIN_VERSION "%s%s"\n' \
@@ -1123,6 +1132,7 @@ clean:
 	@rm -f $(obj)lib/asm-offsets.s
 	@rm -f $(obj)nand_spl/{u-boot.lds,u-boot-spl,u-boot-spl.map,System.map}
 	@rm -f $(obj)onenand_ipl/onenand-{ipl,ipl.bin,ipl.map}
+	@rm -f $(obj)mmc_spl/{u-boot.lds,u-boot-spl,u-boot-spl.map,u-boot-spl.bin,u-boot-mmc-spl.bin}
 	@rm -f $(ONENAND_BIN)
 	@rm -f $(obj)onenand_ipl/u-boot.lds
 	@rm -f $(TIMESTAMP_FILE) $(VERSION_FILE)
@@ -1147,6 +1157,7 @@ clobber:	clean
 	@rm -fr $(obj)include/generated
 	@[ ! -d $(obj)nand_spl ] || find $(obj)nand_spl -name "*" -type l -print | xargs rm -f
 	@[ ! -d $(obj)onenand_ipl ] || find $(obj)onenand_ipl -name "*" -type l -print | xargs rm -f
+	@[ ! -d $(obj)mmc_spl ] || find $(obj)mmc_spl -name "*" -type l -print | xargs rm -f
 
 ifeq ($(OBJTREE),$(SRCTREE))
 mrproper \
mmc_spl/board/samsung/smdkv310/Makefile new file +105 -0

105 lines not on this page · raw message

mmc_spl/board/samsung/smdkv310/mmc_boot.c new file +81 -0

81 lines not on this page · raw message

mmc_spl/board/samsung/smdkv310/tools/mkv310_image.c new file +116 -0

116 lines not on this page · raw message

mmc_spl/board/samsung/smdkv310/u-boot.lds new file +86 -0

86 lines not on this page · raw message

--
1.7.4.1

#3 lore raw

PATCH v3 2/2 ARMV7: MMC SPL Boot support for SMDKV310 board

Dear Chander Kashyap,

Quoted 4 lines · In message <[email protected]> you…

Added MMC SPL boot support for SMDKV310. This framework design is based on nand_spl support.

Checkpatch says:

WARNING: line over 80 characters
#1333: FILE: include/configs/smdkv310.h:158:
+#define BL2_START_OFFSET ((CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE)/512)

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"If you own a machine, you are in turn owned by it,  and  spend  your
time serving it..."    - Marion Zimmer Bradley, _The Forbidden Tower_
#4 lore raw

v3 cover SMDKV310 Board Support

In reply to Chander Kashyap

Dear Chander Kashyap,

Quoted 3 lines · In message <[email protected]> you…

This patchset adds support for a new board SMDKV310, based on S5PV310 SOC. This SOC is very similar to S5PC210 SOC, hence we are re-using this SOC code.

Which patchset? I see only this cover letter, but neither patch 1/2 nor patch 2.2 ?

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Life is a game. Money is how we keep score.              - Ted Turner
#5 lore raw

v3 cover SMDKV310 Board Support

Hi Wolfgang

Quoted 10 lines · Wolfgang Denk

Dear Chander Kashyap,

Quoted 3 lines · In message <[email protected]> you…

This patchset adds support for a new board SMDKV310, based on S5PV310 SOC. This SOC is very similar to S5PC210 SOC, hence we are re-using this SOC code.

Which patchset? I see only this cover letter, but neither patch 1/2 nor patch 2.2 ?

It looks like they ended up in a different thread.

http://lists.denx.de/pipermail/u-boot/2011-May/092977.html
http://lists.denx.de/pipermail/u-boot/2011-May/092976.html

Angus

Signature · 2 lines
Angus Ainslie <[email protected]>
Team Lead, Samsung Landing Team
#6 lore raw

v3 cover SMDKV310 Board Support

Dear Angus Ainslie,

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

Which patchset? I see only this cover letter, but neither patch 1/2 nor patch 2.2 ?

It looks like they ended up in a different thread.

I found them. You also had the linaro-dev list on Cc:, and the Linaro mail server was faster, so they got sorted into my Linaro folder.

Sorry for the noise.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Insufficient facts always invite danger.
	-- Spock, "Space Seed", stardate 3141.9
#7 lore raw

v3 cover SMDKV310 Board Support

In reply to Wolfgang Denk
Quoted 9 lines · Wolfgang Denk

Dear Chander Kashyap,

Quoted 3 lines · In message <[email protected]> you…

This patchset adds support for a new board SMDKV310, based on S5PV310 SOC. This SOC is very similar to S5PC210 SOC, hence we are re-using this SOC code.

Which patchset? I see only this cover letter, but neither patch 1/2 nor patch 2.2 ?

I see them all.

Cheers,

Scott