r2037 - trunk/src/target/u-boot/patches
laforge at sita.openmoko.org
laforge at sita.openmoko.org
Sat May 19 07:30:06 CEST 2007
Author: laforge
Date: 2007-05-19 07:29:57 +0200 (Sat, 19 May 2007)
New Revision: 2037
Modified:
trunk/src/target/u-boot/patches/uboot-gta02.patch
trunk/src/target/u-boot/patches/uboot-hxd8.patch
trunk/src/target/u-boot/patches/uboot-smdk2440.patch
trunk/src/target/u-boot/patches/uboot-smdk2443.patch
Log:
make smdk2440, smdk2443, hxd8 and gta02 support work with new udfu handling
Modified: trunk/src/target/u-boot/patches/uboot-gta02.patch
===================================================================
--- trunk/src/target/u-boot/patches/uboot-gta02.patch 2007-05-19 05:13:53 UTC (rev 2036)
+++ trunk/src/target/u-boot/patches/uboot-gta02.patch 2007-05-19 05:29:57 UTC (rev 2037)
@@ -4,7 +4,7 @@
===================================================================
--- u-boot.orig/Makefile
+++ u-boot/Makefile
-@@ -1988,6 +1988,10 @@
+@@ -2015,6 +2015,10 @@
sbc2410x_config: unconfig
@$(MKCONFIG) $(@:_config=) arm arm920t sbc2410x NULL s3c24x0
@@ -736,7 +736,7 @@
===================================================================
--- /dev/null
+++ u-boot/board/neo1973/gta02/split_by_variant.sh
-@@ -0,0 +1,31 @@
+@@ -0,0 +1,37 @@
+#!/bin/sh
+# ---------------------------------------------------------
+# Set the core module defines according to Core Module
@@ -745,20 +745,26 @@
+# Set up the GTA01 type define
+# ---------------------------------------------------------
+
++CFGINC=${obj}include/config.h
++CFGTMP=${obj}board/neo1973/gta02/config.tmp
++
+mkdir -p ${obj}include
+if [ "$1" == "" ]
+then
+ echo "$0:: No parameters - using GTA02Bv1 config"
-+ echo "#define CONFIG_ARCH_GTA02_v1" > ${obj}include/config.h
++ echo "#define CONFIG_ARCH_GTA02_v1" > $CFGINC
++ echo "CONFIG_USB_DFU_REVISION=0x0310" > $CFGTMP
+else
+ case "$1" in
+ gta02v1_config)
-+ echo "#define CONFIG_ARCH_GTA02_v1" > ${obj}include/config.h
++ echo "#define CONFIG_ARCH_GTA02_v1" > $CFGINC
++ echo "CONFIG_USB_DFU_REVISION=0x0310" > $CFGTMP
+ ;;
+
+ *)
+ echo "$0:: Unrecognised config - using GTA02v1 config"
-+ echo "#define CONFIG_ARCH_GTA02_v1" > ${obj}include/config.h
++ echo "#define CONFIG_ARCH_GTA02_v1" > $CFGINC
++ echo "CONFIG_USB_DFU_REVISION=0x0310" > $CFGTMP
+ ;;
+
+ esac
@@ -1175,3 +1181,40 @@
+
+ /* FIXME */
+};
+Index: u-boot/board/neo1973/gta02/config.mk
+===================================================================
+--- /dev/null
++++ u-boot/board/neo1973/gta02/config.mk
+@@ -0,0 +1,32 @@
++#
++# (C) Copyright 2002
++# Gary Jennejohn, DENX Software Engineering, <gj at denx.de>
++# David Mueller, ELSOFT AG, <d.mueller at elsoft.ch>
++#
++# FIC Neo1973 GTA01 board with S3C2410X (ARM920T) cpu
++#
++# see http://www.samsung.com/ for more information on SAMSUNG
++#
++
++# GTA01v3 has 1 bank of 64 MB SDRAM
++# GTA01v4 has 1 bank of 64 MB SDRAM
++#
++# 3000'0000 to 3400'0000
++# we load ourself to 33F8'0000
++#
++# GTA01Bv2 or later has 1 bank of 128 MB SDRAM
++#
++# 3000'0000 to 3800'0000
++# we load ourself to 37F8'0000
++#
++# Linux-Kernel is expected to be at 3000'8000, entry 3000'8000
++# optionally with a ramdisk at 3080'0000
++#
++# download area is 3200'0000 or 3300'0000
++
++CONFIG_USB_DFU_VENDOR=0x1457
++CONFIG_USB_DFU_PRODUCT=0x5119
++
++sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp
++
++TEXT_BASE = 0x33F80000
Modified: trunk/src/target/u-boot/patches/uboot-hxd8.patch
===================================================================
--- trunk/src/target/u-boot/patches/uboot-hxd8.patch 2007-05-19 05:13:53 UTC (rev 2036)
+++ trunk/src/target/u-boot/patches/uboot-hxd8.patch 2007-05-19 05:29:57 UTC (rev 2037)
@@ -4,7 +4,7 @@
===================================================================
--- u-boot.orig/Makefile
+++ u-boot/Makefile
-@@ -1999,6 +1999,9 @@
+@@ -2026,6 +2026,9 @@
qt2410_config : unconfig
@./mkconfig $(@:_config=) arm arm920t qt2410 NULL s3c24x0
@@ -826,7 +826,7 @@
===================================================================
--- /dev/null
+++ u-boot/board/hxd8/config.mk
-@@ -0,0 +1,22 @@
+@@ -0,0 +1,27 @@
+#
+# (C) Copyright 2002
+# Gary Jennejohn, DENX Software Engineering, <gj at denx.de>
@@ -837,6 +837,11 @@
+# see http://www.samsung.com/ for more information on SAMSUNG
+#
+
++CONFIG_USB_DFU_VENDOR=0x1457
++CONFIG_USB_DFU_PRODUCT=0x511a
++CONFIG_USB_DFU_REVISION=0x0100
++
++#
+# HXD81v011 or later has 1 bank of 128 MB SDRAM
+#
+# 3000'0000 to 3800'0000
Modified: trunk/src/target/u-boot/patches/uboot-smdk2440.patch
===================================================================
--- trunk/src/target/u-boot/patches/uboot-smdk2440.patch 2007-05-19 05:13:53 UTC (rev 2036)
+++ trunk/src/target/u-boot/patches/uboot-smdk2440.patch 2007-05-19 05:29:57 UTC (rev 2037)
@@ -4,7 +4,7 @@
===================================================================
--- u-boot.orig/Makefile
+++ u-boot/Makefile
-@@ -2008,6 +2008,9 @@
+@@ -2035,6 +2035,9 @@
smdk2410_config : unconfig
@$(MKCONFIG) $(@:_config=) arm arm920t smdk2410 NULL s3c24x0
@@ -204,10 +204,10 @@
+#define CONFIG_USB_DEVICE 1
+#define CONFIG_USB_TTY 1
+#define CFG_CONSOLE_IS_IN_ENV 1
-+#define CONFIG_USBD_VENDORID 0x1457 /* Linux/NetChip */
-+#define CONFIG_USBD_PRODUCTID_GSERIAL 0x5120 /* gserial */
-+#define CONFIG_USBD_PRODUCTID_CDCACM 0x5119 /* CDC ACM */
-+#define CONFIG_USBD_MANUFACTURER "FiWin"
++#define CONFIG_USBD_VENDORID 0x1457 /* FIC */
++#define CONFIG_USBD_PRODUCTID_GSERIAL 0x5120 /* gserial */
++#define CONFIG_USBD_PRODUCTID_CDCACM 0x511b /* SMDK2440 CDC ACM */
++#define CONFIG_USBD_MANUFACTURER "OpenMoko, Inc."
+#define CONFIG_USBD_PRODUCT_NAME "S3C2440 Bootloader " U_BOOT_VERSION
+#define CONFIG_EXTRA_ENV_SETTINGS "usbtty=cdc_acm\0"
+#define CONFIG_USBD_DFU 1
@@ -443,19 +443,23 @@
===================================================================
--- /dev/null
+++ u-boot/board/smdk2440/config.mk
-@@ -0,0 +1,25 @@
+@@ -0,0 +1,29 @@
+#
+# (C) Copyright 2002
+# Gary Jennejohn, DENX Software Engineering, <gj at denx.de>
+# David Mueller, ELSOFT AG, <d.mueller at elsoft.ch>
+#
-+# SAMSUNG SMDK2410 board with S3C2410X (ARM920T) cpu
++# SAMSUNG SMDK2440 board with S3C2440 (ARM920T) cpu
+#
+# see http://www.samsung.com/ for more information on SAMSUNG
+#
+
++CONFIG_USB_DFU_VENDOR=0x1457
++CONFIG_USB_DFU_PRODUCT=0x511b
++CONFIG_USB_DFU_REVISION=0x0100
++
+#
-+# SMDK2410 has 1 bank of 64 MB DRAM
++# SMDK2440 has 1 bank of 64 MB DRAM
+#
+# 3000'0000 to 3400'0000
+#
Modified: trunk/src/target/u-boot/patches/uboot-smdk2443.patch
===================================================================
--- trunk/src/target/u-boot/patches/uboot-smdk2443.patch 2007-05-19 05:13:53 UTC (rev 2036)
+++ trunk/src/target/u-boot/patches/uboot-smdk2443.patch 2007-05-19 05:29:57 UTC (rev 2037)
@@ -2,7 +2,7 @@
===================================================================
--- u-boot.orig/Makefile
+++ u-boot/Makefile
-@@ -2014,6 +2014,9 @@
+@@ -2045,6 +2045,9 @@
smdk2440_config : unconfig
@$(MKCONFIG) $(@:_config=) arm arm920t smdk2440 NULL s3c24x0
@@ -852,19 +852,23 @@
===================================================================
--- /dev/null
+++ u-boot/board/smdk2443/config.mk
-@@ -0,0 +1,25 @@
+@@ -0,0 +1,29 @@
+#
+# (C) Copyright 2002
+# Gary Jennejohn, DENX Software Engineering, <gj at denx.de>
+# David Mueller, ELSOFT AG, <d.mueller at elsoft.ch>
+#
-+# SAMSUNG SMDK2410 board with S3C2410X (ARM920T) cpu
++# SAMSUNG SMDK2443 board with S3C2443 (ARM920T) cpu
+#
+# see http://www.samsung.com/ for more information on SAMSUNG
+#
+
++CONFIG_USB_DFU_VENDOR=0x1457
++CONFIG_USB_DFU_PRODUCT=0x511c
++CONFIG_USB_DFU_REVISION=0x0100
++
+#
-+# SMDK2410 has 1 bank of 64 MB DRAM
++# SMDK2443 has 1 bank of 64 MB DRAM
+#
+# 3000'0000 to 3400'0000
+#
More information about the commitlog
mailing list