SMDK6400 support
Subsystems (6)
v7 cover SMDK6400 support
Version 7: further comments addressed, style cleanup, s3c64xx NAND driver should now handle both chip-selects correctly. USB driver unchanged, serial driver got a polish in its baudrate-calculation routine - thanks to all participants:-)
Based upon nand/testing, but I'm omitting "[PATCH 2/7] Add definition for the AM29LV800BB AMD NOR-flash", because it has been applied by Stefan to cfi-flash/next. [PATCH 1/7] is in nand/testing already too.
While working on this new version I hit a compilation problem, which I will describe in a separate email.
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
PATCH v7 3/7 ARM: Add arm1176 core with S3C6400 SoC
Based on the original S3C64XX port by Samsung for U-Boot 1.1.6.
--- cpu/arm1176/Makefile | 50 ++ cpu/arm1176/config.mk | 35 ++ cpu/arm1176/cpu.c | 188 +++++++ cpu/arm1176/s3c64xx/Makefile | 48 ++ cpu/arm1176/s3c64xx/config.mk | 34 ++ cpu/arm1176/s3c64xx/cpu_init.S | 142 +++++ cpu/arm1176/s3c64xx/interrupts.c | 174 ++++++ cpu/arm1176/s3c64xx/speed.c | 145 +++++ cpu/arm1176/start.S | 469 ++++++++++++++++ include/asm-arm/arch-s3c64xx/hardware.h | 63 +++ include/common.h | 3 +- include/s3c6400.h | 894 +++++++++++++++++++++++++++++++ include/s3c64x0.h | 90 +++ 13 files changed, 2334 insertions(+), 1 deletions(-) create mode 100644 cpu/arm1176/Makefile create mode 100644 cpu/arm1176/config.mk create mode 100644 cpu/arm1176/cpu.c create mode 100644 cpu/arm1176/s3c64xx/Makefile create mode 100644 cpu/arm1176/s3c64xx/config.mk create mode 100644 cpu/arm1176/s3c64xx/cpu_init.S create mode 100644 cpu/arm1176/s3c64xx/interrupts.c create mode 100644 cpu/arm1176/s3c64xx/speed.c create mode 100644 cpu/arm1176/start.S create mode 100644 include/asm-arm/arch-s3c64xx/hardware.h create mode 100644 include/s3c6400.h create mode 100644 include/s3c64x0.h
cpu/arm1176/Makefile new file +50 -0
@@ -0,0 +1,50 @@ +# +# (C) Copyright 2000-2006 +# Wolfgang Denk, DENX Software Engineering, wd at denx.de. +# +# (C) Copyright 2008 +# Guennadi Liakhovetki, DENX Software Engineering, <[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$(CPU).a + +START = start.o +COBJS = cpu.o + +SRCS := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS) $(SOBJS)) +START := $(addprefix $(obj),$(START)) + +all: $(obj).depend $(START) $(LIB) + +$(LIB): $(OBJS) + $(AR) $(ARFLAGS) $@ $(OBJS) + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +#########################################################################
cpu/arm1176/config.mk new file +35 -0
@@ -0,0 +1,35 @@ +# +# (C) Copyright 2002 +# Gary Jennejohn, DENX Software Engineering, <[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 +# +PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -ffixed-r8 \ + -msoft-float + +# Make ARMv5 to allow more compilers to work, even though its v6. +PLATFORM_CPPFLAGS += -march=armv5t +# ========================================================================= +# +# Supply options according to compiler version +# +# ========================================================================= +PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32,-mabi=apcs-gnu) +PLATFORM_CPPFLAGS +=$(call cc-option,-mno-thumb-interwork,) +PLATFORM_RELFLAGS +=$(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,))
cpu/arm1176/cpu.c new file +188 -0
188 lines not on this page · raw message
cpu/arm1176/s3c64xx/Makefile new file +48 -0
48 lines not on this page · raw message
cpu/arm1176/s3c64xx/config.mk new file +34 -0
@@ -0,0 +1,34 @@ +# +# (C) Copyright 2002 +# Gary Jennejohn, DENX Software Engineering, <[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 +# +PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -ffixed-r8 \ + -msoft-float + +# Make ARMv5 to allow more compilers to work, even though its v6. +PLATFORM_CPPFLAGS += -march=armv5t +# ========================================================================= +# +# Supply options according to compiler version +# +# ========================================================================= +#PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32,-mabi=apcs-gnu) +PLATFORM_RELFLAGS +=$(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,))
cpu/arm1176/s3c64xx/cpu_init.S new file +142 -0
142 lines not on this page · raw message
cpu/arm1176/s3c64xx/interrupts.c new file +174 -0
174 lines not on this page · raw message
cpu/arm1176/s3c64xx/speed.c new file +145 -0
145 lines not on this page · raw message
cpu/arm1176/start.S new file +469 -0
469 lines not on this page · raw message
include/asm-arm/arch-s3c64xx/hardware.h new file +63 -0
63 lines not on this page · raw message
include/common.h +2 -1
@@ -491,7 +491,8 @@ int prt_mpc8220_clks (void);ulong get_OPB_freq (void );ulong get_PCI_freq (void );#endif -#if defined(CONFIG_S3C2400 ) || defined(CONFIG_S3C2410 ) || defined(CONFIG_LH7A40X ) +#if defined(CONFIG_S3C2400 ) || defined(CONFIG_S3C2410 ) || \ + defined(CONFIG_LH7A40X ) || defined(CONFIG_S3C6400 )void s3c2410_irq (void );#define ARM920_IRQ_CALLBACK s3c2410_irqulong get_FCLK (void );
include/s3c6400.h new file +894 -0
894 lines not on this page · raw message
include/s3c64x0.h new file +90 -0
90 lines not on this page · raw message
Signature · 1 line
1.5.4
PATCH v7 4/7 USB: Add support for OHCI controller on S3C6400
In reply to Guennadi LiakhovetskiNotice: USB on S3C6400 currently works _only_ with switched off MMU. One could try to enable the MMU, but map addresses 1-to-1, and disable data cache, then it should work too and we could still profit from instruction cache.
--- cpu/arm1176/s3c64xx/Makefile | 1 + cpu/arm1176/s3c64xx/usb.c | 45 ++++++++++++++++++++++++++++++++++++++++++ drivers/usb/usb_ohci.c | 1 + 3 files changed, 47 insertions(+), 0 deletions(-) create mode 100644 cpu/arm1176/s3c64xx/usb.c
cpu/arm1176/s3c64xx/Makefile +1 -0
@@ -30,6 +30,7 @@ LIB = $(obj)lib$(SOC).a COBJS-y = interrupts.o COBJS-$(CONFIG_S3C6400) += cpu_init.o speed.o +COBJS-$(CONFIG_USB_OHCI_NEW) += usb.o OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS-y))
cpu/arm1176/s3c64xx/usb.c new file +45 -0
45 lines not on this page · raw message
drivers/usb/usb_ohci.c +1 -0
@@ -69,6 +69,7 @@ #if defined(CONFIG_ARM920T) || \ defined(CONFIG_S3C2400) || \ defined(CONFIG_S3C2410) || \ + defined(CONFIG_S3C6400) || \ defined(CONFIG_440EP) || \ defined(CONFIG_PCI_OHCI) || \ defined(CONFIG_MPC5200) || \
Signature · 1 line
1.5.4
PATCH v7 4/7 USB: Add support for OHCI controller on S3C6400
Quoted 5 lines · Guennadi Liakhovetski
Notice: USB on S3C6400 currently works _only_ with switched off MMU. One could try to enable the MMU, but map addresses 1-to-1, and disable data cache, then it should work too and we could still profit from instruction cache.
Signed-off-by Guennadi Liakhovetski <[email protected]>
This one has actually been
in v6, and this version is identical to it.
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
PATCH v7 5/7 serial: add S3C64XX serial driver
In reply to Guennadi LiakhovetskiBased on the original S3C64XX UART driver by Samsung for U-Boot 1.1.6.
--- drivers/serial/Makefile | 1 + drivers/serial/s3c64xx.c | 193 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 194 insertions(+), 0 deletions(-) create mode 100644 drivers/serial/s3c64xx.c
drivers/serial/Makefile +1 -0
@@ -30,6 +30,7 @@ COBJS-$(CONFIG_MCFUART) += mcfuart.o COBJS-y += ns9750_serial.o COBJS-y += ns16550.o COBJS-$(CONFIG_DRIVER_S3C4510_UART) += s3c4510b_uart.o +COBJS-$(CONFIG_S3C64XX) += s3c64xx.o COBJS-y += serial.o COBJS-$(CONFIG_MAX3100_SERIAL) += serial_max3100.o COBJS-y += serial_pl010.o
drivers/serial/s3c64xx.c new file +193 -0
193 lines not on this page · raw message
Signature · 1 line
1.5.4
PATCH v7 5/7 serial: add S3C64XX serial driver
Hi Guennadi,
thanks for all your s3c64xx work. It's great to see that later s3c SoCs receive better u-boot integration from the start.
Quoted 1 line · Guennadi Liakhovetski
Based on the original S3C64XX UART driver by Samsung for U-Boot 1.1.6.
I would prefer to see multi-serial (CONFIG_SERIAL_MULTI) support in this, but it's definitely something that can be added later.
Also, CONFIG_HWFLOW is probably not working (I guess you need to set UMCON bit0x1, just like in the s3c24xx serial driver in cpu/arm920t/s3c24xx/serial.c in
order to activate nRTS. I checked the s3c6400 documentation and it seems to be identical with s3c24xx)
As you will also see, the s3c24xx UART is very similar to the s3c64xx UART. I'm not sure if it is worth sharing the code, though, since it's only a couple of lines...
Signature · 11 lines
- Harald Welte <[email protected]> http://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.denx.de/pipermail/u-boot/attachments/20080822/2c040f67/attachment.pgp
PATCH 1/1 S3C64XX: remove broken HWFLOW support from the serial driver
As noted by Harald Welte, HWFLOW support in the S3C64XX serial driver is broken and currently unused. Remove it.
---
As well as the previous patch, please, apply after the s3c64xx / smdk6400 support is merged in.
drivers/serial/s3c64xx.c +0 -21
@@ -119,22 +119,6 @@ int serial_getc(void)return uart->URXH &0xff ; } -#ifdef CONFIG_HWFLOW -static int hwflow;/* turned off by default */ -int hwflow_onoff (int on) -{ -switch (on) { -case 1 : - hwflow =1 ;/* turn on */ -break ; -case -1 : - hwflow =0 ;/* turn off */ -break ; - } -return hwflow; -} -#endif -#ifdef CONFIG_MODEM_SUPPORT static int be_quiet;void disable_putc (void )
@@ -164,11 +148,6 @@ void serial_putc(const char c)/* wait for room in the tx FIFO */ while (!(uart->UTRSTAT &0x2 )); -#ifdef CONFIG_HWFLOW -/* Wait for CTS up */ -while (hwflow && !(uart->UMSTAT &0x1 )); -#endif - uart->UTXH = c;/* If \n, also do \r */
PATCH v7 6/7 NAND: add NAND driver for S3C64XX
In reply to Guennadi LiakhovetskiBased on the original S3C64XX NAND driver by Samsung for U-Boot 1.1.6.
--- drivers/mtd/nand/Makefile | 1 + drivers/mtd/nand/s3c64xx.c | 319 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 320 insertions(+), 0 deletions(-) create mode 100644 drivers/mtd/nand/s3c64xx.c
drivers/mtd/nand/Makefile +1 -0
@@ -34,6 +34,7 @@ COBJS-y += nand_util.o COBJS-$(CONFIG_NAND_FSL_ELBC) += fsl_elbc_nand.o COBJS-y += fsl_upm.o +COBJS-$(CONFIG_NAND_S3C64XX) += s3c64xx.o COBJS := $(COBJS-y) SRCS := $(COBJS:.o=.c)
drivers/mtd/nand/s3c64xx.c new file +319 -0
319 lines not on this page · raw message
Signature · 1 line
1.5.4
PATCH v7 7/7 ARM: Add support for S3C6400 based SMDK6400 board
In reply to Guennadi LiakhovetskiSMDK6400 can only boot U-Boot from NAND-flash. This patch adds a nand_spl driver for it too. The board can also boot from the NOR flash, but due to hardware limitations it can only address 64KiB on it, which is not enough for U-Boot. Based on the original sources by Samsung for U-Boot 1.1.6.
--- MAINTAINERS | 1 + MAKEALL | 1 + Makefile | 17 ++ board/samsung/smdk6400/Makefile | 54 +++++ board/samsung/smdk6400/config.mk | 30 +++ board/samsung/smdk6400/lowlevel_init.S | 316 ++++++++++++++++++++++++++++ board/samsung/smdk6400/smdk6400.c | 130 ++++++++++++ board/samsung/smdk6400/u-boot-nand.lds | 62 ++++++ include/configs/smdk6400.h | 308 +++++++++++++++++++++++++++ nand_spl/board/samsung/smdk6400/Makefile | 106 ++++++++++ nand_spl/board/samsung/smdk6400/config.mk | 40 ++++ nand_spl/board/samsung/smdk6400/u-boot.lds | 61 ++++++ 12 files changed, 1126 insertions(+), 0 deletions(-) create mode 100644 board/samsung/smdk6400/Makefile create mode 100644 board/samsung/smdk6400/config.mk create mode 100644 board/samsung/smdk6400/lowlevel_init.S create mode 100644 board/samsung/smdk6400/smdk6400.c create mode 100644 board/samsung/smdk6400/u-boot-nand.lds create mode 100644 include/configs/smdk6400.h create mode 100644 nand_spl/board/samsung/smdk6400/Makefile create mode 100644 nand_spl/board/samsung/smdk6400/config.mk create mode 100644 nand_spl/board/samsung/smdk6400/u-boot.lds
MAINTAINERS +1 -0
@@ -419,6 +419,7 @@ John Zhan <[email protected]> Guennadi Liakhovetski <[email protected]> linkstation MPC8241 + SMDK6400 S3C6400 -------------------------------------------------------------------------
MAKEALL +1 -0
@@ -515,6 +515,7 @@ LIST_ARM11=" \ imx31_litekit \ imx31_phycore \ mx31ads \ + smdk6400 \ " #########################################################################
Makefile +17 -0
@@ -2686,6 +2686,23 @@ mx31ads_config : unconfig omap2420h4_config : unconfig @$(MKCONFIG) $(@:_config=) arm arm1136 omap2420h4 NULL omap24xx +######################################################################### +## ARM1176 Systems +######################################################################### +smdk6400_noUSB_config \ +smdk6400_config : unconfig + @mkdir -p $(obj)include $(obj)board/samsung/smdk6400 + @mkdir -p $(obj)nand_spl/board/samsung/smdk6400 + @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h + @if [ -z "$(findstring smdk6400_noUSB_config,$@)" ]; then \ + echo "RAM_TEXT = 0x57e00000" >> $(obj)board/samsung/smdk6400/config.tmp;\ + $(MKCONFIG) $(@:_config=) arm arm1176 smdk6400 samsung s3c64xx; \ + else \ + echo "RAM_TEXT = 0xc7e00000" >> $(obj)board/samsung/smdk6400/config.tmp;\ + $(MKCONFIG) $(@:_noUSB_config=) arm arm1176 smdk6400 samsung s3c64xx; \ + fi + @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk + #======================================================================== # i386 #========================================================================
board/samsung/smdk6400/Makefile new file +54 -0
54 lines not on this page · raw message
board/samsung/smdk6400/config.mk new file +30 -0
@@ -0,0 +1,30 @@ +# +# (C) Copyright 2002 +# Gary Jennejohn, DENX Software Engineering, <[email protected]> +# David Mueller, ELSOFT AG, <[email protected]> +# +# (C) Copyright 2008 +# Guennadi Liakhovetki, DENX Software Engineering, <[email protected]> +# +# SAMSUNG SMDK6400 board with mDirac3 (ARM1176) cpu +# +# see http://www.samsung.com/ for more information on SAMSUNG + +# On SMDK6400 we use the 64 MB SDRAM bank at +# +# 0x50000000 to 0x58000000 +# +# Linux-Kernel is expected to be at 0x50008000, entry 0x50008000 +# +# we load ourselves to 0x57e00000 without MMU +# with MMU, load address is changed to 0xc7e00000 +# +# download area is 0x5000c000 + +sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp + +ifndef CONFIG_NAND_SPL +TEXT_BASE = $(RAM_TEXT) +else +TEXT_BASE = 0 +endif
board/samsung/smdk6400/lowlevel_init.S new file +316 -0
316 lines not on this page · raw message
board/samsung/smdk6400/smdk6400.c new file +130 -0
130 lines not on this page · raw message
board/samsung/smdk6400/u-boot-nand.lds new file +62 -0
62 lines not on this page · raw message
include/configs/smdk6400.h new file +308 -0
308 lines not on this page · raw message
nand_spl/board/samsung/smdk6400/Makefile new file +106 -0
106 lines not on this page · raw message
nand_spl/board/samsung/smdk6400/config.mk new file +40 -0
@@ -0,0 +1,40 @@ +# +# (C) Copyright 2006 +# Stefan Roese, DENX Software Engineering, sr at denx.de. +# +# 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 +# +# +# Samsung S3C64xx Reference Platform (smdk6400) board + +# TEXT_BASE for SPL: +# +# On S3C64xx platforms the SPL is located in SRAM@0. +# +# TEXT_BASE = 0 + +include $(TOPDIR)/board/$(BOARDDIR)/config.mk + +# PAD_TO used to generate a 4kByte binary needed for the combined image +# -> PAD_TO = TEXT_BASE + 4096 +PAD_TO := $(shell expr $$[$(TEXT_BASE) + 4096]) + +ifeq ($(debug),1) +PLATFORM_CPPFLAGS += -DDEBUG +endif
nand_spl/board/samsung/smdk6400/u-boot.lds new file +61 -0
61 lines not on this page · raw message
Signature · 1 line
1.5.4
PATCH v7 7/7 ARM: Add support for S3C6400 based SMDK6400 board
Dear Guennadi Liakhovetski,
Quoted 4 lines · In message <[email protected]> you wrote:
SMDK6400 can only boot U-Boot from NAND-flash. This patch adds a
nand_spldriver for it too. The board can also boot from the NOR flash, but due to hardware limitations it can only address 64KiB on it, which is not enough for U-Boot. Based on the original sources by Samsung for U-Boot 1.1.6.
Can you please check the compiler options? This is what I get with ELDK 4.1 for ARM:
-> ./MAKEALL smdk6400 cc1: error: invalid option 'eabi' cc1: error: invalid option 'string' ...
Best regards,
Wolfgang Denk
Signature · 6 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 "...all the good computer designs are bootlegged; the formally planned products, if they are built at all, are dogs!" - David E. Lundstrom, "A Few Good Men From Univac", MIT Press, 1987
PATCH v7 7/7 ARM: Add support for S3C6400 based SMDK6400 board
Quoted 8 lines · Wolfgang Denk
Dear Guennadi Liakhovetski,
Quoted 4 lines · In message <[email protected]> you wrote:
SMDK6400 can only boot U-Boot from NAND-flash. This patch adds a
nand_spldriver for it too. The board can also boot from the NOR flash, but due to hardware limitations it can only address 64KiB on it, which is not enough for U-Boot. Based on the original sources by Samsung for U-Boot 1.1.6.
Quoted 7 lines
Can you please check the compiler options? This is what I get with ELDK 4.1 for ARM:
-> ./MAKEALL smdk6400 cc1: error: invalid option 'eabi' cc1: error: invalid option 'string' ...
Looks like the problem is with the build system somewhere. After a distclean it builds cleanly. Whereas, just tried it after "kilauea" without any clean - was flooded with errors. A look in the log reveals, that it is trying to call ppc_4xx-gcc with arm options.
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
PATCH v7 7/7 ARM: Add support for S3C6400 based SMDK6400 board
Dear Guennadi Liakhovetski,
Quoted 4 lines · In message <[email protected]> you wrote:
Looks like the problem is with the build system somewhere. After a distclean it builds cleanly. Whereas, just tried it after "kilauea" without any clean - was flooded with errors. A look in the log reveals,
Indeed - it's a somewhat stupid thing to try to compile an ARM board without cleaning up the configuration for a PPC board. It's asking for trouble, and that's what you get.
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 The faster I go, the behinder I get. -- Lewis Carroll
v7 cover SMDK6400 support
In reply to Guennadi LiakhovetskiQuoted 11 lines · Guennadi Liakhovetski
Version 7: further comments addressed, style cleanup, s3c64xx NAND driver should now handle both chip-selects correctly. USB driver unchanged, serial driver got a polish in its baudrate-calculation routine - thanks to all participants:-)
Based upon nand/testing, but I'm omitting "[PATCH 2/7] Add definition for the AM29LV800BB AMD NOR-flash", because it has been applied by Stefan to cfi-flash/next. [PATCH 1/7] is in nand/testing already too.
While working on this new version I hit a compilation problem, which I will describe in a separate email.
Hi Harald,
Could you take a look on this patchset?
I'd like to have your comments.
Best Regards,
J.
v7 cover SMDK6400 support
Quoted 10 lines · Jean-Christophe PLAGNIOL-VILLARD
Quoted 9 lines · Guennadi Liakhovetski
Version 7: further comments addressed, style cleanup, s3c64xx NAND driver should now handle both chip-selects correctly. USB driver unchanged, serial driver got a polish in its baudrate-calculation routine - thanks to all participants:-)
Based upon nand/testing, but I'm omitting "[PATCH 2/7] Add definition for the AM29LV800BB AMD NOR-flash", because it has been applied by Stefan to cfi-flash/next. [PATCH 1/7] is in nand/testing already too.
Quoted 6 lines
Quoted 2 lines
While working on this new version I hit a compilation problem, which I will describe in a separate email.
Hi Harald,
Could you take a look on this patchset?
I've reviewed it now, looks all fine to me, apart from the few comments i had on the serial driver. Though I have access to a SMDK6400 I didn't do any testing of the code due to time constraints.
Signature · 11 lines
- Harald Welte <[email protected]> http://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.denx.de/pipermail/u-boot/attachments/20080822/94b0ec42/attachment-0001.pgp
v7 cover SMDK6400 support
Hi Harald,
Quoted 14 lines · Harald Welte
Quoted 13 lines · Jean-Christophe PLAGNIOL-VILLARD
Quoted 11 lines · Guennadi Liakhovetski
Version 7: further comments addressed, style cleanup, s3c64xx NAND driver should now handle both chip-selects correctly. USB driver unchanged, serial driver got a polish in its baudrate-calculation routine - thanks to all participants:-)
Based upon nand/testing, but I'm omitting "[PATCH 2/7] Add definition for the AM29LV800BB AMD NOR-flash", because it has been applied by Stefan to cfi-flash/next. [PATCH 1/7] is in nand/testing already too.
While working on this new version I hit a compilation problem, which I will describe in a separate email.
Quoted 7 lines
Quoted 3 lines
Hi Harald,
Could you take a look on this patchset?
I've reviewed it now, looks all fine to me, apart from the few comments i had on the serial driver. Though I have access to a SMDK6400 I didn't do any testing of the code due to time constraints.
Good, thanks for the review. I would suggest, we pull v7 in, and then I submit two updates: document high / low precision timer option and remove hardware handshake from the serial driver, ok?
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
v7 cover SMDK6400 support
Quoted 22 lines · Guennadi Liakhovetski
Hi Harald,
Quoted 18 lines · Harald Welte
Quoted 16 lines · Jean-Christophe PLAGNIOL-VILLARD
Quoted 11 lines · Guennadi Liakhovetski
Version 7: further comments addressed, style cleanup, s3c64xx NAND driver should now handle both chip-selects correctly. USB driver unchanged, serial driver got a polish in its baudrate-calculation routine - thanks to all participants:-)
Based upon nand/testing, but I'm omitting "[PATCH 2/7] Add definition for the AM29LV800BB AMD NOR-flash", because it has been applied by Stefan to cfi-flash/next. [PATCH 1/7] is in nand/testing already too.
While working on this new version I hit a compilation problem, which I will describe in a separate email.
Hi Harald,
Could you take a look on this patchset?
Quoted 7 lines
Quoted 3 lines
I've reviewed it now, looks all fine to me, apart from the few comments i had on the serial driver. Though I have access to a SMDK6400 I didn't do any testing of the code due to time constraints.
Good, thanks for the review. I would suggest, we pull v7 in, and then I submit two updates: document high / low precision timer option and remove hardware handshake from the serial driver, ok?
I'll prefer you prefer I you can before the end of the window to do a v8.
Otherwise I'll apply the v7.
Best Regards,
J.
v7 cover SMDK6400 support
Quoted 27 lines · Jean-Christophe PLAGNIOL-VILLARD
Quoted 26 lines · Guennadi Liakhovetski
Hi Harald,
Quoted 21 lines · Harald Welte
Quoted 10 lines · Jean-Christophe PLAGNIOL-VILLARD
Quoted 9 lines · Guennadi Liakhovetski
Version 7: further comments addressed, style cleanup, s3c64xx NAND driver should now handle both chip-selects correctly. USB driver unchanged, serial driver got a polish in its baudrate-calculation routine - thanks to all participants:-)
Based upon nand/testing, but I'm omitting "[PATCH 2/7] Add definition for the AM29LV800BB AMD NOR-flash", because it has been applied by Stefan to cfi-flash/next. [PATCH 1/7] is in nand/testing already too.
Quoted 6 lines
Quoted 2 lines
While working on this new version I hit a compilation problem, which I will describe in a separate email.
Hi Harald,
Could you take a look on this patchset?
I've reviewed it now, looks all fine to me, apart from the few comments i had on the serial driver. Though I have access to a SMDK6400 I didn't do any testing of the code due to time constraints.
Quoted 7 lines
Quoted 3 lines
Good, thanks for the review. I would suggest, we pull v7 in, and then I submit two updates: document high / low precision timer option and remove hardware handshake from the serial driver, ok?
I'll prefer you prefer I you can before the end of the window to do a v8.
Otherwise I'll apply the v7.
Please, do this. I am away this weekend, and the beginning of the next week will be pretty busy, so, it would be _much_ easier for me, if the patches were already in the mainline, to then post two small incremental patches, than to regenerate all 7 of them, which, eventually, would have to be checked / reviewed again...
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
v7 cover SMDK6400 support
In reply to Guennadi LiakhovetskiQuoted 11 lines · Guennadi Liakhovetski
Version 7: further comments addressed, style cleanup, s3c64xx NAND driver should now handle both chip-selects correctly. USB driver unchanged, serial driver got a polish in its baudrate-calculation routine - thanks to all participants:-)
Based upon nand/testing, but I'm omitting "[PATCH 2/7] Add definition for the AM29LV800BB AMD NOR-flash", because it has been applied by Stefan to cfi-flash/next. [PATCH 1/7] is in nand/testing already too.
While working on this new version I hit a compilation problem, which I will describe in a separate email.
Hi Harald,
Could you take a look on this patchset?
I'd like to have your comments.
Best Regards,
J.
v7 cover SMDK6400 support
Hi
Quoted 3 lines · Jean-Christophe PLAGNIOL-VILLARD
Hi Harald,
Could you take a look on this patchset?
I will do some review over the weekend. Please note that there is almost no technical relationship of the s3c64xx with s3c24xx (at least anything != 2460).
Cheers,
Signature · 11 lines
- Harald Welte <[email protected]> http://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.denx.de/pipermail/u-boot/attachments/20080815/21ef13a7/attachment.pgp