Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2008-04-23 13:03 jacmet at uclibc.org
  0 siblings, 0 replies; 69+ messages in thread
From: jacmet at uclibc.org @ 2008-04-23 13:03 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-04-23 06:03:47 -0700 (Wed, 23 Apr 2008)
New Revision: 21807

Log:
u-boot: clean: also remove mkimage from staging_dir


Modified:
   trunk/buildroot/target/u-boot/Makefile.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Makefile.in
===================================================================
--- trunk/buildroot/target/u-boot/Makefile.in	2008-04-23 10:30:03 UTC (rev 21806)
+++ trunk/buildroot/target/u-boot/Makefile.in	2008-04-23 13:03:47 UTC (rev 21807)
@@ -117,6 +117,7 @@
 
 u-boot-clean:
 	-$(MAKE) -C $(U_BOOT_DIR) clean
+	rm -f $(STAGING_DIR)/usr/bin/$(U_BOOT_TOOLS_BIN)
 
 u-boot-dirclean:
 	rm -rf $(U_BOOT_DIR)

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2009-02-10 15:19 jacmet at uclibc.org
  0 siblings, 0 replies; 69+ messages in thread
From: jacmet at uclibc.org @ 2009-02-10 15:19 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-02-10 15:19:57 +0000 (Tue, 10 Feb 2009)
New Revision: 25293

Log:
u-boot: don't touch config.h unless explicitly requested by user

Fixes the problem of important variables like serverip being overwritten
with empty strings if the network/default env stuff isn't used.

Modified:
   trunk/buildroot/target/u-boot/Makefile.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Makefile.in
===================================================================
--- trunk/buildroot/target/u-boot/Makefile.in	2009-02-10 15:19:31 UTC (rev 25292)
+++ trunk/buildroot/target/u-boot/Makefile.in	2009-02-10 15:19:57 UTC (rev 25293)
@@ -105,15 +105,18 @@
 
 $(U_BOOT_DIR)/.header_modified: $(U_BOOT_DIR)/.configured
 	# Modify configuration header in $(U_BOOT_INC_CONF_FILE)
+ifdef BR2_TARGET_UBOOT_DEFAULT_ENV
 	@echo >> $(U_BOOT_INC_CONF_FILE)
 	@echo "/* Add a wrapper around the values Buildroot sets. */" >> $(U_BOOT_INC_CONF_FILE)
 	@echo "#ifndef __BR2_ADDED_CONFIG_H" >> $(U_BOOT_INC_CONF_FILE)
 	@echo "#define __BR2_ADDED_CONFIG_H" >> $(U_BOOT_INC_CONF_FILE)
-	$(call insert_define, DATE, $(DATE))	
+	$(call insert_define, DATE, $(DATE))
 	$(call insert_define, CONFIG_LOAD_SCRIPTS, 1)
 ifneq ($(strip $(BR2_PROJECT)),"")
 	$(call insert_define, CONFIG_HOSTNAME, $(BR2_PROJECT))
 endif
+endif # BR2_TARGET_UBOOT_DEFAULT_ENV
+ifdef BR2_TARGET_UBOOT_NETWORK
 ifneq ($(strip $(BR2_TARGET_UBOOT_IPADDR)),"")
 	$(call insert_define, CONFIG_IPADDR, $(BR2_TARGET_UBOOT_IPADDR))
 ifneq ($(strip $(BR2_TARGET_UBOOT_GATEWAY)),"")
@@ -134,9 +137,11 @@
 	$(call insert_define, CONFIG_ETH1ADDR, $(BR2_TARGET_UBOOT_ETH1ADDR))
 endif
 endif
+endif # BR2_TARGET_UBOOT_NETWORK
 ifeq ($(BR2_TARGET_UBOOT_SILENT),y)
 	$(call insert_define, CONFIG_SILENT_CONSOLE,)
 endif
+ifdef BR2_TARGET_UBOOT_DEFAULT_ENV
 ifneq ($(strip $(BR2_TARGET_UBOOT_KERNEL_START)),"")
 	$(call insert_define, KERNEL_START, $(BR2_TARGET_UBOOT_KERNEL_START))
 endif
@@ -159,6 +164,7 @@
 	$(call insert_define, MEMORY_SIZE, $(BR2_TARGET_UBOOT_MEMORY_SIZE))
 endif
 	@echo "#endif /* __BR2_ADDED_CONFIG_H */" >> $(U_BOOT_INC_CONF_FILE)
+endif # BR2_TARGET_UBOOT_DEFAULT_ENV
 	touch $@
 
 $(U_BOOT_DIR)/$(U_BOOT_BIN): $(U_BOOT_DIR)/.header_modified

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2009-02-10 15:19 jacmet at uclibc.org
  0 siblings, 0 replies; 69+ messages in thread
From: jacmet at uclibc.org @ 2009-02-10 15:19 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-02-10 15:19:24 +0000 (Tue, 10 Feb 2009)
New Revision: 25291

Log:
u-boot: remove unused BOOTARGS / BOOTCMD handling

Not available in Kconfig and no references to it in the tree.

Modified:
   trunk/buildroot/target/u-boot/Makefile.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Makefile.in
===================================================================
--- trunk/buildroot/target/u-boot/Makefile.in	2009-02-10 15:19:04 UTC (rev 25290)
+++ trunk/buildroot/target/u-boot/Makefile.in	2009-02-10 15:19:24 UTC (rev 25291)
@@ -134,16 +134,6 @@
 	$(call insert_define, CONFIG_ETH1ADDR, $(BR2_TARGET_UBOOT_ETH1ADDR))
 endif
 endif
-ifneq ($(strip $(BR2_TARGET_UBOOT_BOOTARGS)),)
-ifneq ($(strip $(BR2_TARGET_UBOOT_BOOTARGS)),"")
-	$(call insert_define, CONFIG_BOOTARGS, $(BR2_TARGET_UBOOT_BOOTARGS))
-endif
-endif
-ifneq ($(strip $(BR2_TARGET_UBOOT_BOOTCMD)),)
-ifneq ($(strip $(BR2_TARGET_UBOOT_BOOTCMD)),"")
-	$(call insert_define, CONFIG_BOOTCOMMAND, $(BR2_TARGET_UBOOT_BOOTCMD))
-endif
-endif
 ifeq ($(BR2_TARGET_UBOOT_SILENT),y)
 	$(call insert_define, CONFIG_SILENT_CONSOLE,)
 endif
@@ -298,8 +288,6 @@
 	@echo BR2_TARGET_UBOOT_NETMASK = $(BR2_TARGET_UBOOT_NETMASK)
 	@echo BR2_TARGET_UBOOT_ETH0ADDR = $(BR2_TARGET_UBOOT_ETHADDR)
 	@echo BR2_TARGET_UBOOT_ETH1ADDR = $(BR2_TARGET_UBOOT_ETH1ADDR)
-	@echo BR2_TARGET_UBOOT_BOOTARGS = $(BR2_TARGET_UBOOT_BOOTARGS)
-	@echo BR2_TARGET_UBOOT_BOOTCMD = $(BR2_TARGET_UBOOT_BOOTCMD)
 	@echo BR2_TARGET_UBOOT_SILENT = $(BR2_TARGET_UBOOT_SILENT)
 	@echo UBOOT_BOARD_NAME=$(UBOOT_BOARD_NAME)
 	@exit 0

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2009-02-10 15:19 jacmet at uclibc.org
  0 siblings, 0 replies; 69+ messages in thread
From: jacmet at uclibc.org @ 2009-02-10 15:19 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-02-10 15:19:04 +0000 (Tue, 10 Feb 2009)
New Revision: 25290

Log:
u-boot: don't make ETH1ADDR setting depend on avr32

No sensible reason why this should only be present on avr32.

Modified:
   trunk/buildroot/target/u-boot/Config.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Config.in
===================================================================
--- trunk/buildroot/target/u-boot/Config.in	2009-02-10 13:01:28 UTC (rev 25289)
+++ trunk/buildroot/target/u-boot/Config.in	2009-02-10 15:19:04 UTC (rev 25290)
@@ -311,7 +311,6 @@
 
 config BR2_TARGET_UBOOT_ETH1ADDR
 	string "ethernet 2 address"
-	depends on BR2_TARGET_AVR32
 	help
 	  Target MAC address for the second ethernet interface.
 

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2009-02-07  6:57 jacmet at uclibc.org
  0 siblings, 0 replies; 69+ messages in thread
From: jacmet at uclibc.org @ 2009-02-07  6:57 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-02-07 06:57:37 +0000 (Sat, 07 Feb 2009)
New Revision: 25260

Log:
u-boot: remove commented out line

Modified:
   trunk/buildroot/target/u-boot/Makefile.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Makefile.in
===================================================================
--- trunk/buildroot/target/u-boot/Makefile.in	2009-02-07 06:57:29 UTC (rev 25259)
+++ trunk/buildroot/target/u-boot/Makefile.in	2009-02-07 06:57:37 UTC (rev 25260)
@@ -22,7 +22,6 @@
 U_BOOT_AUTOSCRIPT=$(BINARIES_DIR)/autoscript
 
 U_BOOT_TARGETS:=$(BINARIES_DIR)/$(U_BOOT_BIN) $(U_BOOT_TOOLS)
-#U_BOOT_TARGETS:=$(BINARIES_DIR)/$(U_BOOT_BIN)
 
 ifeq ($(strip $(subst ",,$(BR2_TARGET_UBOOT_DEFAULT_ENV))),y)
 #"))

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2009-02-04 23:15 jacmet at uclibc.org
  0 siblings, 0 replies; 69+ messages in thread
From: jacmet at uclibc.org @ 2009-02-04 23:15 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-02-04 23:15:51 +0000 (Wed, 04 Feb 2009)
New Revision: 25240

Log:
u-boot: fix dependency for host mkimage

Modified:
   trunk/buildroot/target/u-boot/Makefile.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Makefile.in
===================================================================
--- trunk/buildroot/target/u-boot/Makefile.in	2009-02-04 23:15:48 UTC (rev 25239)
+++ trunk/buildroot/target/u-boot/Makefile.in	2009-02-04 23:15:51 UTC (rev 25240)
@@ -186,7 +186,7 @@
 	cp -dpf $(U_BOOT_DIR)/$(U_BOOT_BIN) $(BINARIES_DIR)/$(U_BOOT_TARGET_BIN)
 	(cd $(BINARIES_DIR); ln -s $(U_BOOT_TARGET_BIN) $(U_BOOT_BIN))
 
-$(U_BOOT_TOOLS):	$(U_BOOT_DIR)/tools/$(U_BOOT_TOOLS_BIN)
+$(U_BOOT_TOOLS): $(U_BOOT_DIR)/$(U_BOOT_BIN)
 	cp -dpf $(U_BOOT_DIR)/tools/$(U_BOOT_TOOLS_BIN) $(STAGING_DIR)/usr/bin/
 
 $(TARGET_DIR)/usr/bin/mkimage: $(U_BOOT_DIR)/$(U_BOOT_BIN)

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2009-01-26 14:49 jacmet at uclibc.org
  0 siblings, 0 replies; 69+ messages in thread
From: jacmet at uclibc.org @ 2009-01-26 14:49 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-01-26 14:49:19 +0000 (Mon, 26 Jan 2009)
New Revision: 25052

Log:
u-boot: halt build early with description if no u-boot board name is set

Modified:
   trunk/buildroot/target/u-boot/Makefile.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Makefile.in
===================================================================
--- trunk/buildroot/target/u-boot/Makefile.in	2009-01-26 14:49:00 UTC (rev 25051)
+++ trunk/buildroot/target/u-boot/Makefile.in	2009-01-26 14:49:19 UTC (rev 25052)
@@ -281,8 +281,14 @@
 #############################################################
 ifeq ($(BR2_TARGET_UBOOT),y)
 TARGETS+=u-boot
+
+# we NEED a board name
+ifeq ($(UBOOT_BOARD_NAME),)
+$(error NO U-Boot board name set. Check your BR2_TARGET_UBOOT_BOARDNAME setting)
 endif
 
+endif
+
 u-boot-status:
 	@echo
 	@echo U_BOOT_INC_CONF_FILE = $(U_BOOT_INC_CONF_FILE)

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2009-01-26 14:49 jacmet at uclibc.org
  0 siblings, 0 replies; 69+ messages in thread
From: jacmet at uclibc.org @ 2009-01-26 14:49 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-01-26 14:49:00 +0000 (Mon, 26 Jan 2009)
New Revision: 25051

Log:
u-boot: clean up after Ulf

As discussed on the list.

Modified:
   trunk/buildroot/target/u-boot/Makefile.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Makefile.in
===================================================================
--- trunk/buildroot/target/u-boot/Makefile.in	2009-01-26 14:04:10 UTC (rev 25050)
+++ trunk/buildroot/target/u-boot/Makefile.in	2009-01-26 14:49:00 UTC (rev 25051)
@@ -47,11 +47,7 @@
 #"))
 endif
 
-ifneq ($(BR2_TARGET_U_BOOT_CONFIG_BOARD),)
-U_BOOT_INC_CONF_FILE:=$(U_BOOT_DIR)/include/configs/$(subst _config,,$(BR2_TARGET_U_BOOT_CONFIG_BOARD)).h
-else
 U_BOOT_INC_CONF_FILE:=$(U_BOOT_DIR)/include/config.h
-endif
 
 U_BOOT_TARGET_TOOLS:=
 ifeq ($(BR2_TARGET_UBOOT_TOOL_MKIMAGE),y)
@@ -99,13 +95,7 @@
 endif
 	touch $@
 
-$(U_BOOT_DIR)/.header_copied: $(U_BOOT_DIR)/.patched
-ifneq ($(strip $(BR2_TARGET_U_BOOT_CONFIG_HEADER_FILE)),)
-	cp -dpf $(BR2_TARGET_U_BOOT_CONFIG_HEADER_FILE) $(U_BOOT_INC_CONF_FILE)
-endif
-	touch $@
-
-$(U_BOOT_DIR)/.configured: $(U_BOOT_DIR)/.header_copied
+$(U_BOOT_DIR)/.configured: $(U_BOOT_DIR)/.patched
 	$(TARGET_CONFIGURE_OPTS)		\
 		CFLAGS="$(TARGET_CFLAGS)"	\
 		LDFLAGS="$(TARGET_LDFLAGS)"	\
@@ -297,8 +287,6 @@
 	@echo
 	@echo U_BOOT_INC_CONF_FILE = $(U_BOOT_INC_CONF_FILE)
 	@echo BR2_UBOOT_VERSION = $(BR2_UBOOT_VERSION)
-	@echo BR2_TARGET_U_BOOT_CONFIG_HEADER_FILE = $(BR2_TARGET_U_BOOT_CONFIG_HEADER_FILE)
-	@echo BR2_TARGET_U_BOOT_CONFIG_BOARD = $(BR2_TARGET_U_BOOT_CONFIG_BOARD)
 	@echo BR2_TARGET_UBOOT_SERVERIP = $(BR2_TARGET_UBOOT_SERVERIP)
 	@echo BR2_TARGET_UBOOT_IPADDR = $(BR2_TARGET_UBOOT_IPADDR)
 	@echo BR2_TARGET_UBOOT_GATEWAY = $(BR2_TARGET_UBOOT_GATEWAY)
@@ -309,6 +297,5 @@
 	@echo BR2_TARGET_UBOOT_BOOTCMD = $(BR2_TARGET_UBOOT_BOOTCMD)
 	@echo BR2_TARGET_UBOOT_SILENT = $(BR2_TARGET_UBOOT_SILENT)
 	@echo UBOOT_BOARD_NAME=$(UBOOT_BOARD_NAME)
-	@echo TEST=$(TEST)
 	@exit 0
 

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2009-01-26 14:04 jacmet at uclibc.org
  0 siblings, 0 replies; 69+ messages in thread
From: jacmet at uclibc.org @ 2009-01-26 14:04 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-01-26 14:04:10 +0000 (Mon, 26 Jan 2009)
New Revision: 25050

Log:
u-boot: mark 2008.10 version as recent

Modified:
   trunk/buildroot/target/u-boot/Config.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Config.in
===================================================================
--- trunk/buildroot/target/u-boot/Config.in	2009-01-26 11:46:44 UTC (rev 25049)
+++ trunk/buildroot/target/u-boot/Config.in	2009-01-26 14:04:10 UTC (rev 25050)
@@ -22,6 +22,7 @@
 
 config BR2_TARGET_UBOOT_2008_10
 	bool "u-boot-2008.10"
+	depends on BR2_DEPRECATED || BR2_RECENT
 
 config BR2_TARGET_UBOOT_1_3_4
 	bool "u-boot-1.3.4"

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2009-01-26 11:46 ulf at uclibc.org
  0 siblings, 0 replies; 69+ messages in thread
From: ulf at uclibc.org @ 2009-01-26 11:46 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2009-01-26 11:46:44 +0000 (Mon, 26 Jan 2009)
New Revision: 25049

Log:
Fix erronous mkimage target

Modified:
   trunk/buildroot/target/u-boot/Makefile.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Makefile.in
===================================================================
--- trunk/buildroot/target/u-boot/Makefile.in	2009-01-26 10:38:00 UTC (rev 25048)
+++ trunk/buildroot/target/u-boot/Makefile.in	2009-01-26 11:46:44 UTC (rev 25049)
@@ -290,7 +290,7 @@
 #
 #############################################################
 ifeq ($(BR2_TARGET_UBOOT),y)
-TARGETS+=u-boot mkimage
+TARGETS+=u-boot
 endif
 
 u-boot-status:

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2009-01-22 18:46 ulf at uclibc.org
  0 siblings, 0 replies; 69+ messages in thread
From: ulf at uclibc.org @ 2009-01-22 18:46 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2009-01-22 18:46:00 +0000 (Thu, 22 Jan 2009)
New Revision: 24969

Log:
Use latest u-boot as default

Modified:
   trunk/buildroot/target/u-boot/Config.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Config.in
===================================================================
--- trunk/buildroot/target/u-boot/Config.in	2009-01-22 16:04:28 UTC (rev 24968)
+++ trunk/buildroot/target/u-boot/Config.in	2009-01-22 18:46:00 UTC (rev 24969)
@@ -13,7 +13,7 @@
 
 choice
 	prompt "U-Boot Version"
-	default BR2_TARGET_UBOOT_2008_10
+	default BR2_TARGET_UBOOT_2009_01
 	help
 	  Select the specific U-Boot version you want to use
 

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2009-01-22 10:15 jacmet at uclibc.org
  0 siblings, 0 replies; 69+ messages in thread
From: jacmet at uclibc.org @ 2009-01-22 10:15 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-01-22 10:15:46 +0000 (Thu, 22 Jan 2009)
New Revision: 24959

Log:
u-boot: get rid of unused 2009.01-rc3 dir (git-svn issue)


Removed:
   trunk/buildroot/target/u-boot/2009.01-rc3/


Changeset:

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2009-01-21 15:49 jacmet at uclibc.org
  0 siblings, 0 replies; 69+ messages in thread
From: jacmet at uclibc.org @ 2009-01-21 15:49 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-01-21 15:49:06 +0000 (Wed, 21 Jan 2009)
New Revision: 24939

Log:
u-boot: unbreak target tools

Got broken by r24697.

Modified:
   trunk/buildroot/target/u-boot/Makefile.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Makefile.in
===================================================================
--- trunk/buildroot/target/u-boot/Makefile.in	2009-01-21 15:29:37 UTC (rev 24938)
+++ trunk/buildroot/target/u-boot/Makefile.in	2009-01-21 15:49:06 UTC (rev 24939)
@@ -21,7 +21,7 @@
 MKIMAGE:=$(U_BOOT_TOOLS)
 U_BOOT_AUTOSCRIPT=$(BINARIES_DIR)/autoscript
 
-U_BOOT_TARGETS:=$(BINARIES_DIR)/$(U_BOOT_BIN) $(U_BOOT_TOOLS) $(U_BOOT_TARGET_TOOLS)
+U_BOOT_TARGETS:=$(BINARIES_DIR)/$(U_BOOT_BIN) $(U_BOOT_TOOLS)
 
 ifeq ($(strip $(subst ",,$(BR2_TARGET_UBOOT_DEFAULT_ENV))),y)
 #"))
@@ -54,10 +54,10 @@
 
 U_BOOT_TARGET_TOOLS:=
 ifeq ($(BR2_TARGET_UBOOT_TOOL_MKIMAGE),y)
-U_BOOT_TARGET_TOOLS+=$(TARGET_DIR)/usr/bin/mkimage
+U_BOOT_TARGETS+=$(TARGET_DIR)/usr/bin/mkimage
 endif
 ifeq ($(BR2_TARGET_UBOOT_TOOL_ENV),y)
-U_BOOT_TARGET_TOOLS+=$(TARGET_DIR)/usr/sbin/fw_printenv
+U_BOOT_TARGETS+=$(TARGET_DIR)/usr/sbin/fw_printenv
 endif
 
 U_BOOT_CONFIGURE_OPTS :=

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2009-01-20  8:11 ulf at uclibc.org
  0 siblings, 0 replies; 69+ messages in thread
From: ulf at uclibc.org @ 2009-01-20  8:11 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2009-01-20 08:11:26 +0000 (Tue, 20 Jan 2009)
New Revision: 24918

Log:
U_BOOT_ARCH_PATCH_DIR should contain a value or should not be defined, empty string is not allowed

Modified:
   trunk/buildroot/target/u-boot/Makefile.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Makefile.in
===================================================================
--- trunk/buildroot/target/u-boot/Makefile.in	2009-01-20 06:17:12 UTC (rev 24917)
+++ trunk/buildroot/target/u-boot/Makefile.in	2009-01-20 08:11:26 UTC (rev 24918)
@@ -88,7 +88,7 @@
 	toolchain/patch-kernel.sh $(U_BOOT_DIR) target/u-boot/$(U_BOOT_VERSION) \
 		u-boot-$(U_BOOT_VERSION)-\*.patch \
 		u-boot-$(U_BOOT_VERSION)-\*.patch.$(ARCH)
-ifneq ($(strip $(U_BOOT_ARCH_PATCH_DIR)),"")
+ifneq ($(strip $(U_BOOT_ARCH_PATCH_DIR)),)
 	toolchain/patch-kernel.sh $(U_BOOT_DIR) $(U_BOOT_ARCH_PATCH_DIR) \*.patch
 endif
 ifneq ($(strip $(BR2_TARGET_UBOOT_CUSTOM_PATCH)),"")

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2009-01-11 21:39 ulf at uclibc.org
  2009-01-24  8:21 ` Peter Korsgaard
  0 siblings, 1 reply; 69+ messages in thread
From: ulf at uclibc.org @ 2009-01-11 21:39 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2009-01-11 21:39:54 +0000 (Sun, 11 Jan 2009)
New Revision: 24770

Log:
Remove premature deprecation of u-boot-1.2.0-atmel

Modified:
   trunk/buildroot/target/u-boot/Config.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Config.in
===================================================================
--- trunk/buildroot/target/u-boot/Config.in	2009-01-11 21:15:46 UTC (rev 24769)
+++ trunk/buildroot/target/u-boot/Config.in	2009-01-11 21:39:54 UTC (rev 24770)
@@ -30,7 +30,6 @@
 config BR2_TARGET_UBOOT_1_2_0_ATMEL
 	bool "u-boot-1.2.0-atmel"
 	depends on BR2_TARGET_AT91
-	depends on BR2_DEPRECATED
 
 #config BR2_TARGET_UBOOT_2009_01
 #	bool "u-boot-2009.01"

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2009-01-08 14:58 jacmet at uclibc.org
  0 siblings, 0 replies; 69+ messages in thread
From: jacmet at uclibc.org @ 2009-01-08 14:58 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-01-08 14:58:54 +0000 (Thu, 08 Jan 2009)
New Revision: 24724

Log:
target/u-boot: more cleanups

As discussed on the list.

- No sense in depending on BR2_TARGET_UBOOT when the configurations are
  within a if BR2_TARGET_UBOOT conditional.
- n is default, so remove 'default n'
- clarify nested conditionals

Modified:
   trunk/buildroot/target/u-boot/Config.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Config.in
===================================================================
--- trunk/buildroot/target/u-boot/Config.in	2009-01-08 14:58:51 UTC (rev 24723)
+++ trunk/buildroot/target/u-boot/Config.in	2009-01-08 14:58:54 UTC (rev 24724)
@@ -6,7 +6,6 @@
 if BR2_TARGET_UBOOT
 config BR2_TARGET_UBOOT_BOARDNAME
 	string "board name"
-	depends on BR2_TARGET_UBOOT
 	default "$(BOARD_NAME)"
 	help
 	  One of U-Boot supported boards to be built.
@@ -20,26 +19,21 @@
 
 config BR2_TARGET_UBOOT_2009_01_RC1
 	bool "u-boot-2009.01-rc1"
-	depends on BR2_TARGET_UBOOT
 
 config BR2_TARGET_UBOOT_2008_10
 	bool "u-boot-2008.10"
-	depends on BR2_TARGET_UBOOT
 
 config BR2_TARGET_UBOOT_1_3_4
 	bool "u-boot-1.3.4"
-	depends on BR2_TARGET_UBOOT
 	depends on BR2_DEPRECATED
 
 config BR2_TARGET_UBOOT_1_2_0_ATMEL
 	bool "u-boot-1.2.0-atmel"
 	depends on BR2_TARGET_AT91
-	depends on BR2_TARGET_UBOOT
 	depends on BR2_DEPRECATED
 
 #config BR2_TARGET_UBOOT_2009_01
 #	bool "u-boot-2009.01"
-#	depends on BR2_TARGET_UBOOT
 
 endchoice
 
@@ -58,7 +52,6 @@
 
 config BR2_TARGET_UBOOT_CUSTOM_PATCH
 	string "custom patch"
-	depends on BR2_TARGET_UBOOT
 	help
 	  If your board requires a custom patch, add the path to the file here.
 	  Most users may leave this empty
@@ -106,27 +99,22 @@
 
 config BR2_TARGET_UBOOT_SILENT
 	bool "silent console"
-	depends on BR2_TARGET_UBOOT
 	help
 	  If the option has been enabled, the output can be
 	  silenced by setting the environment variable "silent".
 
 config BR2_TARGET_UBOOT_TOOL_MKIMAGE
 	bool "mkimage tool in target"
-	depends on BR2_TARGET_UBOOT
 	help
 	  Install mkimage tool in target.
 
 config BR2_TARGET_UBOOT_TOOL_ENV
 	bool "fw_printenv tool in target"
-	depends on BR2_TARGET_UBOOT
 	help
 	  Install fw_printenv / fw_setenv tools in target.
 
 menuconfig BR2_TARGET_UBOOT_DEFAULT_ENV
 	bool "Generate a default environment"
-	default n
-	depends on BR2_TARGET_UBOOT
 	help
 	  Will generate variables for factory default command
 	  and autoscript.
@@ -236,18 +224,17 @@
 	default "C0083FFF" if  BR2_TARGET_UBOOT_DATAFLASH_SIZE_0_50MB
 	default "C0041FFF" if  BR2_TARGET_UBOOT_DATAFLASH_SIZE_0_25MB
 	help
-	  
 
 config BR2_TARGET_UBOOT_KERNEL_START
 	string "Kernel SDRAM address"
 	default "21000000"
 	help
-	  Kernel is loaded to this address in SDRAM 
+	  Kernel is loaded to this address in SDRAM
 
 config BR2_TARGET_UBOOT_KERNEL_LOCATION
 	string "Kernel flash address"
 	depends on BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD || \
-			BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH 
+			BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH
 	default "C0042000" if BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD || BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH
 	default ""
 	help
@@ -269,7 +256,7 @@
 config BR2_TARGET_UBOOT_FILESYSTEM_LOCATION
 	string
 	depends on BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD || \
-			BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH 
+			BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH
 	default "C018C000" if BR2_TARGET_UBOOT_KERNEL_SIZE_1_25MB
   	default "C01CE000" if BR2_TARGET_UBOOT_KERNEL_SIZE_1_50MB
   	default "C0210000" if BR2_TARGET_UBOOT_KERNEL_SIZE_1_75MB
@@ -284,12 +271,10 @@
 	string "File System Size"
 	default "6000000"
 	help
-	  
 
 menuconfig BR2_TARGET_UBOOT_NETWORK
 	bool "Network Settings"
 	default y
-	depends on BR2_TARGET_UBOOT
 	help
 	  Network settings for U-boot
 
@@ -297,35 +282,30 @@
 
 config BR2_TARGET_UBOOT_SERVERIP
 	string "server ip"
-	depends on BR2_TARGET_UBOOT
 	default "10.175.196.221"
 	help
 	  TFTP server ip address
 
 config BR2_TARGET_UBOOT_IPADDR
 	string "ip address"
-	depends on BR2_TARGET_UBOOT
 	default "10.175.196.18"
 	help
 	  Target ip address
 
 config BR2_TARGET_UBOOT_GATEWAY
 	string "gateway ip"
-	depends on BR2_TARGET_UBOOT
 	default "10.175.196.1"
 	help
 	  Gateway ip address
 
 config BR2_TARGET_UBOOT_NETMASK
 	string "netmask"
-	depends on BR2_TARGET_UBOOT
 	default "255.255.255.0"
 	help
 	  Network Mask
 
 config BR2_TARGET_UBOOT_ETHADDR
 	string "ethernet address"
-	depends on BR2_TARGET_UBOOT
 	default "04:25:fe:ed:00:18"
 	help
 	  Target MAC address for the ethernet interface.
@@ -333,16 +313,16 @@
 
 config BR2_TARGET_UBOOT_ETH1ADDR
 	string "ethernet 2 address"
-	depends on BR2_TARGET_UBOOT
 	depends on BR2_TARGET_AVR32
 	help
 	  Target MAC address for the second ethernet interface.
-endif
 
-endif
+endif # BR2_TARGET_UBOOT_NETWORK
 
-endif
+endif # BR2_TARGET_UBOOT_DEFAULT_ENV
 
+endif # BR2_TARGET_UBOOT
+
 config BR2_BOOTSOURCE_DATAFLASHCARD
 	bool
 	help

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2009-01-08 14:58 jacmet at uclibc.org
  0 siblings, 0 replies; 69+ messages in thread
From: jacmet at uclibc.org @ 2009-01-08 14:58 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-01-08 14:58:51 +0000 (Thu, 08 Jan 2009)
New Revision: 24723

Log:
target/u-boot: cleanup

Fix s/Linux/U-Boot/ typo, default to the latest stable version, mark
old versions as deprecated and comment out unreleased version for now.

Modified:
   trunk/buildroot/target/u-boot/Config.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Config.in
===================================================================
--- trunk/buildroot/target/u-boot/Config.in	2009-01-08 14:58:45 UTC (rev 24722)
+++ trunk/buildroot/target/u-boot/Config.in	2009-01-08 14:58:51 UTC (rev 24723)
@@ -14,10 +14,10 @@
 
 choice
 	prompt "U-Boot Version"
-	default BR2_TARGET_UBOOT_2009_01_RC1
+	default BR2_TARGET_UBOOT_2008_10
 	help
-	  Select the specific Linux version you want to use
-	
+	  Select the specific U-Boot version you want to use
+
 config BR2_TARGET_UBOOT_2009_01_RC1
 	bool "u-boot-2009.01-rc1"
 	depends on BR2_TARGET_UBOOT
@@ -25,20 +25,22 @@
 config BR2_TARGET_UBOOT_2008_10
 	bool "u-boot-2008.10"
 	depends on BR2_TARGET_UBOOT
-	
+
 config BR2_TARGET_UBOOT_1_3_4
 	bool "u-boot-1.3.4"
 	depends on BR2_TARGET_UBOOT
-	
+	depends on BR2_DEPRECATED
+
 config BR2_TARGET_UBOOT_1_2_0_ATMEL
 	bool "u-boot-1.2.0-atmel"
 	depends on BR2_TARGET_AT91
 	depends on BR2_TARGET_UBOOT
-	
-config BR2_TARGET_UBOOT_2009_01
-	bool "u-boot-2009.01"
-	depends on BR2_TARGET_UBOOT
+	depends on BR2_DEPRECATED
 
+#config BR2_TARGET_UBOOT_2009_01
+#	bool "u-boot-2009.01"
+#	depends on BR2_TARGET_UBOOT
+
 endchoice
 
 config BR2_UBOOT_VERSION

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2009-01-06 14:16 ulf at uclibc.org
  2009-01-06 14:26 ` Peter Korsgaard
  0 siblings, 1 reply; 69+ messages in thread
From: ulf at uclibc.org @ 2009-01-06 14:16 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2009-01-06 14:16:27 +0000 (Tue, 06 Jan 2009)
New Revision: 24697

Log:
Use PROJECT-u-boot-VERSION-DATE.bin as u-boot target
Provide link using "u-boot.bin"

Add BR2_TARGET_UBOOT_DEFAULT_ENV config
If this is set, Buildroot will generate
a default environment to allow easy downloading
of the kernel and root file system
Both as compile time data and an autoscript.

Make u-boot depend on $(U_BOOT_TARGETS)
Add "u-boot-autoscript" to U_BOOT_TARGETS if 
BR2_TARGET_UBOOT_DEFAULT_ENV is set.

Take kernel name from Linux build.

Use correct ARCH when mkimaging the autoscript.
Do not use TARGET_ATMEL_COPYTO for generic u-boot.

Hide dataflash memory configurations when 
different boot memory is used.



Modified:
   trunk/buildroot/target/u-boot/Config.in
   trunk/buildroot/target/u-boot/Makefile.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Config.in
===================================================================
--- trunk/buildroot/target/u-boot/Config.in	2009-01-06 11:59:55 UTC (rev 24696)
+++ trunk/buildroot/target/u-boot/Config.in	2009-01-06 14:16:27 UTC (rev 24697)
@@ -121,7 +121,15 @@
 	help
 	  Install fw_printenv / fw_setenv tools in target.
 
+menuconfig BR2_TARGET_UBOOT_DEFAULT_ENV
+	bool "Generate a default environment"
+	default n
+	depends on BR2_TARGET_UBOOT
+	help
+	  Will generate variables for factory default command
+	  and autoscript.
 
+if BR2_TARGET_UBOOT_DEFAULT_ENV
 choice
 	prompt "SDRAM Memory size"
 	default BR2_TARGET_UBOOT_SDRAM_SIZE_64M
@@ -183,6 +191,7 @@
 
 choice
 	prompt "Dataflash Size"
+	depends on BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD || BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH
 	default BR2_TARGET_UBOOT_DATAFLASH_SIZE_2_00MB
 
 config BR2_TARGET_UBOOT_DATAFLASH_SIZE_8MB
@@ -207,6 +216,7 @@
 
 config BR2_TARGET_UBOOT_DATAFLASH_SIZE
 	string
+	depends on BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD || BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH
 	default "8M"	if BR2_TARGET_DATAFLASH_SIZE_8MB
 	default "4M"	if BR2_TARGET_DATAFLASH_SIZE_4MB
 	default "2M"	if BR2_TARGET_DATAFLASH_SIZE_2MB
@@ -216,6 +226,7 @@
 
 config BR2_TARGET_UBOOT_END_OF_FLASH
 	string
+	depends on BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD || BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH
 	default "C083FFFF" if  BR2_TARGET_UBOOT_DATAFLASH_SIZE_8MB
 	default "C041FFFF" if  BR2_TARGET_UBOOT_DATAFLASH_SIZE_4MB
 	default "C020FFFF" if  BR2_TARGET_UBOOT_DATAFLASH_SIZE_2MB
@@ -233,7 +244,10 @@
 
 config BR2_TARGET_UBOOT_KERNEL_LOCATION
 	string "Kernel flash address"
-	default "C0042000"
+	depends on BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD || \
+			BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH 
+	default "C0042000" if BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD || BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH
+	default ""
 	help
 	  Kernel location in dataflash
 
@@ -252,6 +266,8 @@
 
 config BR2_TARGET_UBOOT_FILESYSTEM_LOCATION
 	string
+	depends on BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD || \
+			BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH 
 	default "C018C000" if BR2_TARGET_UBOOT_KERNEL_SIZE_1_25MB
   	default "C01CE000" if BR2_TARGET_UBOOT_KERNEL_SIZE_1_50MB
   	default "C0210000" if BR2_TARGET_UBOOT_KERNEL_SIZE_1_75MB
@@ -323,6 +339,8 @@
 
 endif
 
+endif
+
 config BR2_BOOTSOURCE_DATAFLASHCARD
 	bool
 	help

Modified: trunk/buildroot/target/u-boot/Makefile.in
===================================================================
--- trunk/buildroot/target/u-boot/Makefile.in	2009-01-06 11:59:55 UTC (rev 24696)
+++ trunk/buildroot/target/u-boot/Makefile.in	2009-01-06 14:16:27 UTC (rev 24697)
@@ -14,11 +14,20 @@
 U_BOOT_PATCH_DIR:=$(PROJECT_BUILD_DIR)/u-boot-$(U_BOOT_VERSION)-patches
 U_BOOT_CAT:=$(BZCAT)
 U_BOOT_BIN:=u-boot.bin
+U_BOOT_TARGET_BIN:=$(PROJECT)-u-boot-$(U_BOOT_VERSION)-$(DATE).bin
+
 U_BOOT_TOOLS_BIN:=mkimage
 U_BOOT_TOOLS:=$(STAGING_DIR)/usr/bin/$(U_BOOT_TOOLS_BIN)
 MKIMAGE:=$(U_BOOT_TOOLS)
+U_BOOT_AUTOSCRIPT=$(BINARIES_DIR)/autoscript
 
-U_BOOT_AUTOSCRIPT=$(BINARIES_DIR)/autoscript
+U_BOOT_TARGETS:=$(BINARIES_DIR)/$(U_BOOT_BIN) $(U_BOOT_TOOLS) $(U_BOOT_TARGET_TOOLS)
+
+ifeq ($(strip $(subst ",,$(BR2_TARGET_UBOOT_DEFAULT_ENV))),y)
+#"))
+U_BOOT_TARGETS += u-boot-autoscript
+endif
+
 TARGET_UBOOT_IPADDR:=$(strip $(subst ",, $(BR2_TARGET_UBOOT_IPADDR)))
 #"))
 TARGET_UBOOT_SERVERIP:=$(strip $(subst ",, $(BR2_TARGET_UBOOT_SERVERIP)))
@@ -179,7 +188,9 @@
 
 $(BINARIES_DIR)/$(U_BOOT_BIN): $(U_BOOT_DIR)/$(U_BOOT_BIN)
 	rm -f $(BINARIES_DIR)/$(U_BOOT_BIN)
-	cp -dpf $(U_BOOT_DIR)/$(U_BOOT_BIN) $(BINARIES_DIR)
+	rm -f $(BINARIES_DIR)/$(U_BOOT_TARGET_BIN)
+	cp -dpf $(U_BOOT_DIR)/$(U_BOOT_BIN) $(BINARIES_DIR)/$(U_BOOT_TARGET_BIN)
+	(cd $(BINARIES_DIR); ln -s $(U_BOOT_TARGET_BIN) $(U_BOOT_BIN))
 
 $(U_BOOT_TOOLS):	$(U_BOOT_DIR)/tools/$(U_BOOT_TOOLS_BIN)
 	cp -dpf $(U_BOOT_DIR)/tools/$(U_BOOT_TOOLS_BIN) $(STAGING_DIR)/usr/bin/
@@ -199,7 +210,7 @@
 	$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
 	ln -sf fw_printenv $(TARGET_DIR)/usr/sbin/fw_setenv
 
-u-boot: $(BINARIES_DIR)/$(U_BOOT_BIN) $(U_BOOT_TOOLS) $(U_BOOT_TARGET_TOOLS)
+u-boot: $(U_BOOT_TARGETS)
 
 u-boot-autoscript: $(U_BOOT_AUTOSCRIPT).$(PROJECT)
 
@@ -238,13 +249,13 @@
 ifneq ($(TARGET_UBOOT_NETMASK),)
 	echo setenv netmask $(TARGET_UBOOT_NETMASK) >> $(U_BOOT_AUTOSCRIPT)
 endif
-	echo setenv linux $(BOARD_NAME)-linux-$(LINUX26_VERSION)-$(DATE).gz >> $(U_BOOT_AUTOSCRIPT)
+	echo setenv linux $(LINUX26_KERNEL_NAME).gz >> $(U_BOOT_AUTOSCRIPT)
 	echo setenv kernel-version $(LINUX26_VERSION) >> $(U_BOOT_AUTOSCRIPT)
 	echo setenv kernel-date $(DATE) >> $(U_BOOT_AUTOSCRIPT)
 	echo setenv hostname $(TARGET_HOSTNAME) >> $(U_BOOT_AUTOSCRIPT)
 	echo setenv fs-date $(DATE) >> $(U_BOOT_AUTOSCRIPT)
-	echo setenv rd-1 rootfs.$(BR2_ARCH)-$(DATE).ext2 >> $(U_BOOT_AUTOSCRIPT)
-	echo setenv rd-2 rootfs.$(BR2_ARCH)-$(DATE).jffs2 >> $(U_BOOT_AUTOSCRIPT)
+	echo setenv rd-1 rootfs.$(ARCH)-$(DATE).ext2 >> $(U_BOOT_AUTOSCRIPT)
+	echo setenv rd-2 rootfs.$(ARCH)-$(DATE).jffs2 >> $(U_BOOT_AUTOSCRIPT)
 	echo setenv rd rootfs.$(BR2_ARCH)-$(DATE).ext2 >> $(U_BOOT_AUTOSCRIPT)
 	echo setenv ver 1 >> $(U_BOOT_AUTOSCRIPT)
 ifneq ($(TARGET_UBOOT_ETHADDR),)
@@ -257,7 +268,7 @@
 	echo saveenv >> $(U_BOOT_AUTOSCRIPT)
 
 $(U_BOOT_AUTOSCRIPT).$(PROJECT): $(U_BOOT_AUTOSCRIPT) $(MKIMAGE)
-	$(MKIMAGE) -A arm \
+	$(MKIMAGE) -A $(ARCH) \
 				-O linux \
 				-T script \
 				-C none \
@@ -266,7 +277,6 @@
 				-n "autoscr config" \
 				-d $(U_BOOT_AUTOSCRIPT) \
 				$(U_BOOT_AUTOSCRIPT).$(PROJECT)
-	cp $(U_BOOT_AUTOSCRIPT).$(PROJECT) $(TARGET_ATMEL_COPYTO)
 
 
 

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2009-01-05 16:16 jacmet at uclibc.org
  0 siblings, 0 replies; 69+ messages in thread
From: jacmet at uclibc.org @ 2009-01-05 16:16 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-01-05 16:16:30 +0000 (Mon, 05 Jan 2009)
New Revision: 24694

Log:
u-boot: unbreak build after r24674

Disable broken autoscript handling so the build atleast completes

Modified:
   trunk/buildroot/target/u-boot/Makefile.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Makefile.in
===================================================================
--- trunk/buildroot/target/u-boot/Makefile.in	2009-01-05 16:12:34 UTC (rev 24693)
+++ trunk/buildroot/target/u-boot/Makefile.in	2009-01-05 16:16:30 UTC (rev 24694)
@@ -199,7 +199,7 @@
 	$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
 	ln -sf fw_printenv $(TARGET_DIR)/usr/sbin/fw_setenv
 
-u-boot: $(BINARIES_DIR)/$(U_BOOT_BIN) $(U_BOOT_TOOLS) $(U_BOOT_TARGET_TOOLS) u-boot-autoscript
+u-boot: $(BINARIES_DIR)/$(U_BOOT_BIN) $(U_BOOT_TOOLS) $(U_BOOT_TARGET_TOOLS)
 
 u-boot-autoscript: $(U_BOOT_AUTOSCRIPT).$(PROJECT)
 

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2009-01-05 16:12 jacmet at uclibc.org
  2009-01-05 18:12 ` Ulf Samuelsson
  0 siblings, 1 reply; 69+ messages in thread
From: jacmet at uclibc.org @ 2009-01-05 16:12 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-01-05 16:12:34 +0000 (Mon, 05 Jan 2009)
New Revision: 24693

Log:
u-boot: revert U_BOOT_TARGET part of r24646

More u-boot build unbreaking. r24646 added U_BOOT_TARGET which uses the
nonexisting BOARDNAME variable, which means that the filename expands
to -u-boot-*, confusing ln.

There's limited point in having that symlink in the first please, so simply
revert that hunk.

Modified:
   trunk/buildroot/target/u-boot/Makefile.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Makefile.in
===================================================================
--- trunk/buildroot/target/u-boot/Makefile.in	2009-01-05 15:52:44 UTC (rev 24692)
+++ trunk/buildroot/target/u-boot/Makefile.in	2009-01-05 16:12:34 UTC (rev 24693)
@@ -14,7 +14,6 @@
 U_BOOT_PATCH_DIR:=$(PROJECT_BUILD_DIR)/u-boot-$(U_BOOT_VERSION)-patches
 U_BOOT_CAT:=$(BZCAT)
 U_BOOT_BIN:=u-boot.bin
-U_BOOT_TARGET:=$(BOARD_NAME)-u-boot-$(U_BOOT_VERSION)-$(DATE).bin
 U_BOOT_TOOLS_BIN:=mkimage
 U_BOOT_TOOLS:=$(STAGING_DIR)/usr/bin/$(U_BOOT_TOOLS_BIN)
 MKIMAGE:=$(U_BOOT_TOOLS)
@@ -179,10 +178,8 @@
 		 -C $(U_BOOT_DIR)
 
 $(BINARIES_DIR)/$(U_BOOT_BIN): $(U_BOOT_DIR)/$(U_BOOT_BIN)
-	rm -f $(BINARIES_DIR)/$(U_BOOT_TARGET)
 	rm -f $(BINARIES_DIR)/$(U_BOOT_BIN)
-	cp -dpf $(U_BOOT_DIR)/$(U_BOOT_BIN) $(BINARIES_DIR)/$(U_BOOT_TARGET)
-	(cd $(BINARIES_DIR); ln -s $(U_BOOT_TARGET) $(U_BOOT_BIN)) 
+	cp -dpf $(U_BOOT_DIR)/$(U_BOOT_BIN) $(BINARIES_DIR)
 
 $(U_BOOT_TOOLS):	$(U_BOOT_DIR)/tools/$(U_BOOT_TOOLS_BIN)
 	cp -dpf $(U_BOOT_DIR)/tools/$(U_BOOT_TOOLS_BIN) $(STAGING_DIR)/usr/bin/

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2009-01-05 15:52 jacmet at uclibc.org
  0 siblings, 0 replies; 69+ messages in thread
From: jacmet at uclibc.org @ 2009-01-05 15:52 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-01-05 15:52:44 +0000 (Mon, 05 Jan 2009)
New Revision: 24692

Log:
u-boot: unbreak build after r24646

Unset variables aren't the same as "".

Modified:
   trunk/buildroot/target/u-boot/Makefile.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Makefile.in
===================================================================
--- trunk/buildroot/target/u-boot/Makefile.in	2009-01-05 15:47:00 UTC (rev 24691)
+++ trunk/buildroot/target/u-boot/Makefile.in	2009-01-05 15:52:44 UTC (rev 24692)
@@ -33,7 +33,7 @@
 
 # u-boot still uses arch=ppc for powerpc
 U_BOOT_ARCH=$(KERNEL_ARCH:powerpc=ppc)
-ifeq ($(UBOOT_BOARD_NAME),"")
+ifeq ($(UBOOT_BOARD_NAME),)
 UBOOT_BOARD_NAME:=$(strip $(subst ",,$(BR2_TARGET_UBOOT_BOARDNAME)))
 #"))
 endif

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2009-01-03 15:03 nkukard at uclibc.org
  0 siblings, 0 replies; 69+ messages in thread
From: nkukard at uclibc.org @ 2009-01-03 15:03 UTC (permalink / raw)
  To: buildroot

Author: nkukard
Date: 2009-01-03 15:03:16 +0000 (Sat, 03 Jan 2009)
New Revision: 24671

Log:
Fixed missing "


Modified:
   trunk/buildroot/target/u-boot/Config.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Config.in
===================================================================
--- trunk/buildroot/target/u-boot/Config.in	2009-01-03 14:43:18 UTC (rev 24670)
+++ trunk/buildroot/target/u-boot/Config.in	2009-01-03 15:03:16 UTC (rev 24671)
@@ -67,7 +67,7 @@
 	depends on BR2_BOOTSOURCE_DATAFLASHCARD
 
 	config BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH
-	bool "Boot from dataflash
+	bool "Boot from dataflash"
 	depends on BR2_BOOTSOURCE_DATAFLASH
 
 	config BR2_TARGET_UBOOT_BOOTSOURCE_NANDFLASH

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2009-01-03  0:02 ulf at uclibc.org
  2009-01-03 20:46 ` Peter Korsgaard
  0 siblings, 1 reply; 69+ messages in thread
From: ulf at uclibc.org @ 2009-01-03  0:02 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2009-01-03 00:02:07 +0000 (Sat, 03 Jan 2009)
New Revision: 24653

Log:
Add Memory configration to u-boot (Config.in) and remove comments from 'choice's', Rearrange options for clarity

Modified:
   trunk/buildroot/target/u-boot/Config.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Config.in
===================================================================
--- trunk/buildroot/target/u-boot/Config.in	2009-01-03 00:00:46 UTC (rev 24652)
+++ trunk/buildroot/target/u-boot/Config.in	2009-01-03 00:02:07 UTC (rev 24653)
@@ -11,6 +11,14 @@
 	  Build "Das U-Boot" Boot Monitor
 
 if BR2_TARGET_UBOOT
+config BR2_TARGET_UBOOT_BOARDNAME
+	string "board name"
+	depends on BR2_TARGET_UBOOT
+	default "$(BOARD_NAME)"
+	help
+	  One of U-Boot supported boards to be built.
+	  This will be suffixed with _config to meet U-Boot standard naming.
+
 choice
 	prompt "U-Boot Version"
 	default BR2_TARGET_UBOOT_2009_01_RC1
@@ -20,27 +28,18 @@
 config BR2_TARGET_UBOOT_2009_01_RC1
 	bool "u-boot-2009.01-rc1"
 	depends on BR2_TARGET_UBOOT
-	help
-	  Use u-boot from December 2008 (RC1)
 
 config BR2_TARGET_UBOOT_2008_10
 	bool "u-boot-2008.10"
 	depends on BR2_TARGET_UBOOT
-	help
-	  Use u-boot from October 2008
 	
 config BR2_TARGET_UBOOT_1_3_4
 	bool "u-boot-1.3.4"
 	depends on BR2_TARGET_UBOOT
-	help
-	  Use u-boot from mid 2008
 	
 config BR2_TARGET_UBOOT_2009_01
 	bool "u-boot-2009.01"
 	depends on BR2_TARGET_UBOOT
-	help
-	  Use u-boot from January 2009
-	  Release date 2009-01-17
 
 endchoice
 
@@ -51,14 +50,6 @@
 	default "1.3.4"		if BR2_TARGET_UBOOT_1_3_4
 	default "2009.01"	if BR2_TARGET_UBOOT_2009_01
 
-config BR2_TARGET_UBOOT_BOARDNAME
-	string "board name"
-	depends on BR2_TARGET_UBOOT
-	default "$(BOARD_NAME)"
-	help
-	  One of U-Boot supported boards to be built.
-	  This will be suffixed with _config to meet U-Boot standard naming.
-
 config BR2_TARGET_UBOOT_CUSTOM_PATCH
 	string "custom patch"
 	depends on BR2_TARGET_UBOOT
@@ -74,42 +65,27 @@
 	config BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD
 	bool "Boot from dataflashcard"
 	depends on BR2_BOOTSOURCE_DATAFLASHCARD
-	help
-	  
 
 	config BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH
 	bool "Boot from dataflash
 	depends on BR2_BOOTSOURCE_DATAFLASH
-	help
-	  
 
 	config BR2_TARGET_UBOOT_BOOTSOURCE_NANDFLASH
 	bool "Boot from a NAND flash"
 	depends on BR2_BOOTSOURCE_NANDFLASH
-	help
-	  Build u-boot with environment in the NAND flash
 
 	config BR2_TARGET_UBOOT_BOOTSOURCE_FLASH
 	bool "Boot from a parallell flash"
 	depends on BR2_BOOTSOURCE_FLASH
-	help
-	  Build u-boot with environment in a flash RAM
 
 	config BR2_TARGET_UBOOT_BOOTSOURCE_SDCARD
-	bool "Boot from a NAND flash"
+	bool "Boot from an SD-Card"
 	depends on BR2_BOOTSOURCE_SDCARD
-	help
-	  Build u-boot with environment on an SD-Card
-	  Not yet supported
 
 	config BR2_TARGET_UBOOT_BOOTSOURCE_EEPROM
-	bool "Boot from a serial EEPROM"
+	bool "Boot from a serial EEPROM (Not yet supported)"
 	depends on BR2_BOOTSOURCE_EEPROM
-	help
-	  Build u-boot with environment in a serial EEPROM
-	  Not yet supported
 
-
 endchoice
 
 config BR2_TARGET_UBOOT_BOOTSOURCE
@@ -122,6 +98,181 @@
 	default "sdcard"	if BR2_TARGET_UBOOT_BOOTSOURCE_SDCARD
 	default "eeprom"	if BR2_TARGET_UBOOT_BOOTSOURCE_EEPROM
 
+config BR2_TARGET_UBOOT_SILENT
+	bool "silent console"
+	depends on BR2_TARGET_UBOOT
+	help
+	  If the option has been enabled, the output can be
+	  silenced by setting the environment variable "silent".
+
+config BR2_TARGET_UBOOT_TOOL_MKIMAGE
+	bool "mkimage tool in target"
+	depends on BR2_TARGET_UBOOT
+	help
+	  Install mkimage tool in target.
+
+config BR2_TARGET_UBOOT_TOOL_ENV
+	bool "fw_printenv tool in target"
+	depends on BR2_TARGET_UBOOT
+	help
+	  Install fw_printenv / fw_setenv tools in target.
+
+
+choice
+	prompt "SDRAM Memory size"
+	default BR2_TARGET_UBOOT_SDRAM_SIZE_64M
+	help
+	  Size of the onboard SDRAM
+
+config BR2_TARGET_UBOOT_SDRAM_SIZE_256MB
+	bool "256 MB"
+
+config BR2_TARGET_UBOOT_SDRAM_SIZE_128MB
+	bool "128 MB"
+
+config BR2_TARGET_UBOOT_SDRAM_SIZE_64MB
+	bool "64 MB"
+
+config BR2_TARGET_UBOOT_SDRAM_SIZE_32MB
+	bool "32 MB"
+
+config BR2_TARGET_UBOOT_SDRAM_SIZE_16MB
+	bool "16 MB"
+
+config BR2_TARGET_UBOOT_SDRAM_SIZE_8MB
+	bool "8 MB"
+
+endchoice
+
+config BR2_TARGET_UBOOT_MEMORY_SIZE
+	string
+	default "256M"	if BR2_TARGET_UBOOT_SDRAM_SIZE_256MB
+	default "128M"	if BR2_TARGET_UBOOT_SDRAM_SIZE_128MB
+	default "64M"	if BR2_TARGET_UBOOT_SDRAM_SIZE_64MB
+	default "32M"	if BR2_TARGET_UBOOT_SDRAM_SIZE_32MB
+	default "16M"	if BR2_TARGET_UBOOT_SDRAM_SIZE_16MB
+	default "8M"	if BR2_TARGET_UBOOT_SDRAM_SIZE_8MB
+
+choice
+	prompt "Kernel Size"
+	default BR2_TARGET_UBOOT_KERNEL_SIZE_2_00MB
+
+config BR2_TARGET_UBOOT_KERNEL_SIZE_1_25MB
+	bool "Kernel size is less than 1.25 MB"
+
+config BR2_TARGET_UBOOT_KERNEL_SIZE_1_50MB
+	bool "Kernel size is less than 1.50 MB"
+
+config BR2_TARGET_UBOOT_KERNEL_SIZE_1_75MB
+	bool "Kernel size is less than 1.75 MB"
+
+config BR2_TARGET_UBOOT_KERNEL_SIZE_2_00MB
+	bool "Kernel size is less than 2.00 MB"
+
+config BR2_TARGET_UBOOT_KERNEL_SIZE_2_25MB
+	bool "Kernel size is less than 2.25 MB"
+
+config BR2_TARGET_UBOOT_KERNEL_SIZE_2_50MB
+	bool "Kernel size is less than 2.50 MB"
+
+endchoice
+
+choice
+	prompt "Dataflash Size"
+	default BR2_TARGET_UBOOT_DATAFLASH_SIZE_2_00MB
+
+config BR2_TARGET_UBOOT_DATAFLASH_SIZE_8MB
+	bool "Dataflash size is 8 MB"
+
+config BR2_TARGET_UBOOT_DATAFLASH_SIZE_4MB
+	bool "Dataflash size is 4 MB"
+
+config BR2_TARGET_UBOOT_DATAFLASH_SIZE_2MB
+	bool "Dataflash size is 2 MB"
+
+config BR2_TARGET_UBOOT_DATAFLASH_SIZE_1MB
+	bool "Dataflash size is 1 MB"
+
+config BR2_TARGET_UBOOT_DATAFLASH_SIZE_0_50MB
+	bool "Dataflash size is 0.5 MB"
+
+config BR2_TARGET_UBOOT_DATAFLASH_SIZE_0_25MB
+	bool "Dataflash size is 0.25 MB"
+
+endchoice
+
+config BR2_TARGET_UBOOT_DATAFLASH_SIZE
+	string
+	default "8M"	if BR2_TARGET_DATAFLASH_SIZE_8MB
+	default "4M"	if BR2_TARGET_DATAFLASH_SIZE_4MB
+	default "2M"	if BR2_TARGET_DATAFLASH_SIZE_2MB
+	default "1M"	if BR2_TARGET_DATAFLASH_SIZE_1MB
+	default "0.5M"	if BR2_TARGET_DATAFLASH_SIZE_0_50MB
+	default "0.25M"	if BR2_TARGET_DATAFLASH_SIZE_0_25MB
+
+config BR2_TARGET_UBOOT_END_OF_FLASH
+	string
+	default "C083FFFF" if  BR2_TARGET_UBOOT_DATAFLASH_SIZE_8MB
+	default "C041FFFF" if  BR2_TARGET_UBOOT_DATAFLASH_SIZE_4MB
+	default "C020FFFF" if  BR2_TARGET_UBOOT_DATAFLASH_SIZE_2MB
+	default "C0107FFF" if  BR2_TARGET_UBOOT_DATAFLASH_SIZE_1MB
+	default "C0083FFF" if  BR2_TARGET_UBOOT_DATAFLASH_SIZE_0_50MB
+	default "C0041FFF" if  BR2_TARGET_UBOOT_DATAFLASH_SIZE_0_25MB
+	help
+	  
+
+config BR2_TARGET_UBOOT_KERNEL_START
+	string "Kernel SDRAM address"
+	default "21000000"
+	help
+	  Kernel is loaded to this address in SDRAM 
+
+config BR2_TARGET_UBOOT_KERNEL_LOCATION
+	string "Kernel flash address"
+	default "C0042000"
+	help
+	  Kernel location in dataflash
+
+config BR2_TARGET_UBOOT_FILESYSTEM_START
+	string
+	default "2114A000" if BR2_TARGET_UBOOT_KERNEL_SIZE_1_25MB
+	default "2118C000" if BR2_TARGET_UBOOT_KERNEL_SIZE_1_50MB
+  	default "211CE000" if BR2_TARGET_UBOOT_KERNEL_SIZE_1_75MB
+  	default "21210000" if BR2_TARGET_UBOOT_KERNEL_SIZE_2_00MB
+  	default "21252000" if BR2_TARGET_UBOOT_KERNEL_SIZE_2_25MB
+  	default "21294000" if BR2_TARGET_UBOOT_KERNEL_SIZE_2_50MB
+	help
+	  Kernel is loaded to this SDRAM address
+	  Assumes SDRAM starts at 20000000
+	  Will need to be updated if the SDRAM is located elsewhere
+
+config BR2_TARGET_UBOOT_FILESYSTEM_LOCATION
+	string
+	default "C018C000" if BR2_TARGET_UBOOT_KERNEL_SIZE_1_25MB
+  	default "C01CE000" if BR2_TARGET_UBOOT_KERNEL_SIZE_1_50MB
+  	default "C0210000" if BR2_TARGET_UBOOT_KERNEL_SIZE_1_75MB
+  	default "C0252000" if BR2_TARGET_UBOOT_KERNEL_SIZE_2_00MB
+  	default "C0294000" if BR2_TARGET_UBOOT_KERNEL_SIZE_2_25MB
+  	default "C02D6000" if BR2_TARGET_UBOOT_KERNEL_SIZE_2_50MB
+	help
+	  Determine location for File System in Dataflash
+	  This needs to be updated for other memory technologies
+
+config BR2_TARGET_UBOOT_FILESYSTEM_SIZE
+	string "File System Size"
+	default "6000000"
+	help
+	  
+
+menuconfig BR2_TARGET_UBOOT_NETWORK
+	bool "Network Settings"
+	default y
+	depends on BR2_TARGET_UBOOT
+	help
+	  Network settings for U-boot
+
+if BR2_TARGET_UBOOT_NETWORK
+
 config BR2_TARGET_UBOOT_SERVERIP
 	string "server ip"
 	depends on BR2_TARGET_UBOOT
@@ -164,25 +315,8 @@
 	depends on BR2_TARGET_AVR32
 	help
 	  Target MAC address for the second ethernet interface.
+endif
 
-config BR2_TARGET_UBOOT_SILENT
-	bool "silent console"
-	depends on BR2_TARGET_UBOOT
-	help
-	  If the option has been enabled, the output can be
-	  silenced by setting the environment variable "silent".
-
-config BR2_TARGET_UBOOT_TOOL_MKIMAGE
-	bool "mkimage tool in target"
-	depends on BR2_TARGET_UBOOT
-	help
-	  Install mkimage tool in target.
-
-config BR2_TARGET_UBOOT_TOOL_ENV
-	bool "fw_printenv tool in target"
-	depends on BR2_TARGET_UBOOT
-	help
-	  Install fw_printenv / fw_setenv tools in target.
 endif
 
 config BR2_BOOTSOURCE_DATAFLASHCARD

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2009-01-03  0:00 ulf at uclibc.org
  2009-01-03 20:28 ` Peter Korsgaard
  0 siblings, 1 reply; 69+ messages in thread
From: ulf at uclibc.org @ 2009-01-03  0:00 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2009-01-03 00:00:46 +0000 (Sat, 03 Jan 2009)
New Revision: 24652

Log:
Add Memory configuration to U-Boot build, remove some debugging info

Modified:
   trunk/buildroot/target/u-boot/Makefile.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Makefile.in
===================================================================
--- trunk/buildroot/target/u-boot/Makefile.in	2009-01-02 20:31:44 UTC (rev 24651)
+++ trunk/buildroot/target/u-boot/Makefile.in	2009-01-03 00:00:46 UTC (rev 24652)
@@ -42,8 +42,9 @@
 @echo "#ifdef $(strip $(1))" >> $(U_BOOT_INC_CONF_FILE)
 @echo "#undef $(strip $(1))" >> $(U_BOOT_INC_CONF_FILE)
 @echo "#endif" >> $(U_BOOT_INC_CONF_FILE)
- at echo '#define $(strip $(1)) $(2)' >> $(U_BOOT_INC_CONF_FILE)
+ at echo '#define $(strip $(1)) $(strip $(subst ",,$(2)))' >> $(U_BOOT_INC_CONF_FILE)
 endef
+#"))
 
 $(DL_DIR)/$(U_BOOT_SOURCE):
 	 $(WGET) -P $(DL_DIR) $(U_BOOT_SITE)/$(U_BOOT_SOURCE)
@@ -80,18 +81,15 @@
 
 $(U_BOOT_DIR)/.header_modified: $(U_BOOT_DIR)/.configured
 	# Modify configuration header in $(U_BOOT_INC_CONF_FILE)
-	
 	@echo >> $(U_BOOT_INC_CONF_FILE)
 	@echo "/* Add a wrapper around the values Buildroot sets. */" >> $(U_BOOT_INC_CONF_FILE)
 	@echo "#ifndef __BR2_ADDED_CONFIG_H" >> $(U_BOOT_INC_CONF_FILE)
 	@echo "#define __BR2_ADDED_CONFIG_H" >> $(U_BOOT_INC_CONF_FILE)
+	$(call insert_define, DATE, $(DATE))	
+	$(call insert_define, CONFIG_LOAD_SCRIPTS, 1)
 ifneq ($(strip $(BR2_PROJECT)),"")
 	$(call insert_define, CONFIG_HOSTNAME, $(BR2_PROJECT))
 endif
-ifneq ($(strip $(BR2_TARGET_UBOOT_SERVERIP)),"")
-	$(call insert_define, CONFIG_SERVERIP, $(BR2_TARGET_UBOOT_SERVERIP))
-endif
-
 ifneq ($(strip $(BR2_TARGET_UBOOT_IPADDR)),"")
 	$(call insert_define, CONFIG_IPADDR, $(BR2_TARGET_UBOOT_IPADDR))
 ifneq ($(strip $(BR2_TARGET_UBOOT_GATEWAY)),"")
@@ -101,22 +99,51 @@
 	$(call insert_define, CONFIG_NETMASK, $(BR2_TARGET_UBOOT_NETMASK))
 endif
 endif # end BR2_TARGET_U_BOOT_IPADDR
-
+ifneq ($(strip $(BR2_TARGET_UBOOT_SERVERIP)),"")
+	$(call insert_define, CONFIG_SERVERIP, $(BR2_TARGET_UBOOT_SERVERIP))
+endif
 ifneq ($(strip $(BR2_TARGET_UBOOT_ETHADDR)),"")
 	$(call insert_define, CONFIG_ETHADDR, $(BR2_TARGET_UBOOT_ETHADDR))
 endif
+ifneq ($(strip $(BR2_TARGET_UBOOT_ETH1ADDR)),)
 ifneq ($(strip $(BR2_TARGET_UBOOT_ETH1ADDR)),"")
-	$(call insert_define, CONFIG_ETH2ADDR, $(BR2_TARGET_UBOOT_ETH1ADDR))
+	$(call insert_define, CONFIG_ETH1ADDR, $(BR2_TARGET_UBOOT_ETH1ADDR))
 endif
+endif
+ifneq ($(strip $(BR2_TARGET_UBOOT_BOOTARGS)),)
 ifneq ($(strip $(BR2_TARGET_UBOOT_BOOTARGS)),"")
 	$(call insert_define, CONFIG_BOOTARGS, $(BR2_TARGET_UBOOT_BOOTARGS))
 endif
+endif
+ifneq ($(strip $(BR2_TARGET_UBOOT_BOOTCMD)),)
 ifneq ($(strip $(BR2_TARGET_UBOOT_BOOTCMD)),"")
 	$(call insert_define, CONFIG_BOOTCOMMAND, $(BR2_TARGET_UBOOT_BOOTCMD))
 endif
+endif
 ifeq ($(BR2_TARGET_UBOOT_SILENT),y)
 	$(call insert_define, CONFIG_SILENT_CONSOLE,)
 endif
+ifneq ($(strip $(BR2_TARGET_UBOOT_KERNEL_START)),"")
+	$(call insert_define, KERNEL_START, $(BR2_TARGET_UBOOT_KERNEL_START))
+endif
+ifneq ($(strip $(BR2_TARGET_UBOOT_KERNEL_LOCATION)),"")
+	$(call insert_define, KERNEL_LOCATION, $(BR2_TARGET_UBOOT_KERNEL_LOCATION))
+endif
+ifneq ($(strip $(BR2_TARGET_UBOOT_FILESYSTEM_START)),"")
+	$(call insert_define, FILESYSTEM_START, $(BR2_TARGET_UBOOT_FILESYSTEM_START))
+endif
+ifneq ($(strip $(BR2_TARGET_UBOOT_FILESYSTEM_LOCATION)),"")
+	$(call insert_define, FILESYSTEM_LOCATION, $(BR2_TARGET_UBOOT_FILESYSTEM_LOCATION))
+endif
+ifneq ($(strip $(BR2_TARGET_UBOOT_FILESYSTEM_SIZE)),"")
+	$(call insert_define, FILESYSTEM_SIZE, $(BR2_TARGET_UBOOT_FILESYSTEM_SIZE))
+endif
+ifneq ($(strip $(BR2_TARGET_UBOOT_END_OF_FLASH)),"")
+	$(call insert_define, END_OF_FLASH, $(BR2_TARGET_UBOOT_END_OF_FLASH))
+endif
+ifneq ($(strip $(BR2_TARGET_UBOOT_MEMORY_SIZE)),"")
+	$(call insert_define, MEMORY_SIZE, $(BR2_TARGET_UBOOT_MEMORY_SIZE))
+endif
 	@echo "#endif /* __BR2_ADDED_CONFIG_H */" >> $(U_BOOT_INC_CONF_FILE)
 	touch $@
 
@@ -162,6 +189,10 @@
 
 u-boot-source: $(DL_DIR)/$(U_BOOT_SOURCE)
 
+u-boot-unpacked: $(U_BOOT_DIR)/.patched
+
+u-boot-configured: $(U_BOOT_DIR)/.header_modified
+
 #############################################################
 #
 # Toplevel Makefile options
@@ -186,13 +217,6 @@
 	@echo BR2_TARGET_UBOOT_BOOTARGS = $(BR2_TARGET_UBOOT_BOOTARGS)
 	@echo BR2_TARGET_UBOOT_BOOTCMD = $(BR2_TARGET_UBOOT_BOOTCMD)
 	@echo BR2_TARGET_UBOOT_SILENT = $(BR2_TARGET_UBOOT_SILENT)
-	@echo BR2_BOOTSOURCE=$(BR2_BOOTSOURCE)
-	@echo BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD=$(BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD)
-	@echo BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH=$(BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH)
-	@echo BR2_TARGET_UBOOT_BOOTSOURCE_NANDFLASH=$(BR2_TARGET_UBOOT_BOOTSOURCE_NANDFLASH)
-	@echo BR2_TARGET_UBOOT_BOOTSOURCE_FLASH=$(BR2_TARGET_UBOOT_BOOTSOURCE_FLASH)
-	@echo BR2_TARGET_UBOOT_BOOTSOURCE_SDCARD=$(BR2_TARGET_UBOOT_BOOTSOURCE_SDCARD)
-	@echo BR2_TARGET_UBOOT_BOOTSOURCE_EEPROM=$(BR2_TARGET_UBOOT_BOOTSOURCE_EEPROM)
 	@echo UBOOT_BOARD_NAME=$(UBOOT_BOARD_NAME)
 	@echo TEST=$(TEST)
 	@exit 0

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2008-08-20 20:04 jacmet at uclibc.org
  0 siblings, 0 replies; 69+ messages in thread
From: jacmet at uclibc.org @ 2008-08-20 20:04 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-08-20 13:04:18 -0700 (Wed, 20 Aug 2008)
New Revision: 23123

Log:
u-boot: bump version

Modified:
   trunk/buildroot/target/u-boot/Makefile.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Makefile.in
===================================================================
--- trunk/buildroot/target/u-boot/Makefile.in	2008-08-20 20:04:14 UTC (rev 23122)
+++ trunk/buildroot/target/u-boot/Makefile.in	2008-08-20 20:04:18 UTC (rev 23123)
@@ -3,7 +3,7 @@
 # U-Boot
 #
 #############################################################
-U_BOOT_VERSION:=1.3.2
+U_BOOT_VERSION:=1.3.4
 U_BOOT_SOURCE:=u-boot-$(U_BOOT_VERSION).tar.bz2
 U_BOOT_SITE:=ftp://ftp.denx.de/pub/u-boot
 U_BOOT_DIR:=$(PROJECT_BUILD_DIR)/u-boot-$(U_BOOT_VERSION)
@@ -126,7 +126,8 @@
 $(TARGET_DIR)/usr/bin/mkimage: $(U_BOOT_DIR)/$(U_BOOT_BIN)
 	mkdir -p $(@D)
 	$(TARGET_CC) -I$(U_BOOT_DIR)/include -DUSE_HOSTCC -o $@ \
-		$(U_BOOT_DIR)/tools/mkimage.c $(U_BOOT_DIR)/tools/crc32.c
+		$(U_BOOT_DIR)/tools/mkimage.c \
+		$(addprefix $(U_BOOT_DIR)/tools/,crc32.c image.c md5.c sha1.c fdt*.c)
 	$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
 
 $(TARGET_DIR)/usr/sbin/fw_printenv: $(U_BOOT_DIR)/$(U_BOOT_BIN)

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2008-08-20 20:04 jacmet at uclibc.org
  0 siblings, 0 replies; 69+ messages in thread
From: jacmet at uclibc.org @ 2008-08-20 20:04 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-08-20 13:04:14 -0700 (Wed, 20 Aug 2008)
New Revision: 23122

Log:
u-boot: fix broken insert_define in Makefile

Patch by Markus Heidelberg <markus.heidelberg@web.de>

Modified:
   trunk/buildroot/target/u-boot/Makefile.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Makefile.in
===================================================================
--- trunk/buildroot/target/u-boot/Makefile.in	2008-08-20 20:04:11 UTC (rev 23121)
+++ trunk/buildroot/target/u-boot/Makefile.in	2008-08-20 20:04:14 UTC (rev 23122)
@@ -34,7 +34,7 @@
 @echo "#ifdef $(strip $(1))" >> $(U_BOOT_INC_CONF_FILE)
 @echo "#undef $(strip $(1))" >> $(U_BOOT_INC_CONF_FILE)
 @echo "#endif" >> $(U_BOOT_INC_CONF_FILE)
- at echo "#define $(strip $(1)) $(2)" >> $(U_BOOT_INC_CONF_FILE)
+ at echo '#define $(strip $(1)) $(2)' >> $(U_BOOT_INC_CONF_FILE)
 endef
 
 $(DL_DIR)/$(U_BOOT_SOURCE):
@@ -78,36 +78,36 @@
 	@echo "#ifndef __BR2_ADDED_CONFIG_H" >> $(U_BOOT_INC_CONF_FILE)
 	@echo "#define __BR2_ADDED_CONFIG_H" >> $(U_BOOT_INC_CONF_FILE)
 ifneq ($(strip $(BR2_PROJECT)),"")
-	$(call insert_define, "CONFIG_HOSTNAME", $(BR2_PROJECT))
+	$(call insert_define, CONFIG_HOSTNAME, $(BR2_PROJECT))
 endif
 ifneq ($(strip $(BR2_TARGET_UBOOT_SERVERIP)),"")
-	$(call insert_define, "CONFIG_SERVERIP", $(BR2_TARGET_UBOOT_SERVERIP))
+	$(call insert_define, CONFIG_SERVERIP, $(BR2_TARGET_UBOOT_SERVERIP))
 endif
 
 ifneq ($(strip $(BR2_TARGET_UBOOT_IPADDR)),"")
-	$(call insert_define, "CONFIG_IPADDR", $(BR2_TARGET_UBOOT_IPADDR))
+	$(call insert_define, CONFIG_IPADDR, $(BR2_TARGET_UBOOT_IPADDR))
 ifneq ($(strip $(BR2_TARGET_UBOOT_GATEWAY)),"")
-	$(call insert_define, "CONFIG_GATEWAYIP", $(BR2_TARGET_UBOOT_GATEWAY))
+	$(call insert_define, CONFIG_GATEWAYIP, $(BR2_TARGET_UBOOT_GATEWAY))
 endif
 ifneq ($(strip $(BR2_TARGET_UBOOT_NETMASK)),"")
-	$(call insert_define, "CONFIG_NETMASK", $(BR2_TARGET_UBOOT_NETMASK))
+	$(call insert_define, CONFIG_NETMASK, $(BR2_TARGET_UBOOT_NETMASK))
 endif
 endif # end BR2_TARGET_U_BOOT_IPADDR
 
 ifneq ($(strip $(BR2_TARGET_UBOOT_ETHADDR)),"")
-	$(call insert_define, "CONFIG_ETHADDR", $(BR2_TARGET_UBOOT_ETHADDR))
+	$(call insert_define, CONFIG_ETHADDR, $(BR2_TARGET_UBOOT_ETHADDR))
 endif
 ifneq ($(strip $(BR2_TARGET_UBOOT_ETH1ADDR)),"")
-	$(call insert_define, "CONFIG_ETH2ADDR", $(BR2_TARGET_UBOOT_ETH1ADDR))
+	$(call insert_define, CONFIG_ETH2ADDR, $(BR2_TARGET_UBOOT_ETH1ADDR))
 endif
 ifneq ($(strip $(BR2_TARGET_UBOOT_BOOTARGS)),"")
-	$(call insert_define, "CONFIG_BOOTARGS", $(BR2_TARGET_UBOOT_BOOTARGS))
+	$(call insert_define, CONFIG_BOOTARGS, $(BR2_TARGET_UBOOT_BOOTARGS))
 endif
 ifneq ($(strip $(BR2_TARGET_UBOOT_BOOTCMD)),"")
-	$(call insert_define, "CONFIG_BOOTCOMMAND", $(BR2_TARGET_UBOOT_BOOTCMD))
+	$(call insert_define, CONFIG_BOOTCOMMAND, $(BR2_TARGET_UBOOT_BOOTCMD))
 endif
-ifneq ($(strip $(BR2_TARGET_UBOOT_SILENT)),"")
-	$(call insert_define, "CONFIG_SILENT_CONSOLE", "")
+ifeq ($(strip $(BR2_TARGET_UBOOT_SILENT)),y)
+	$(call insert_define, CONFIG_SILENT_CONSOLE,)
 endif
 	@echo "#endif /* __BR2_ADDED_CONFIG_H */" >> $(U_BOOT_INC_CONF_FILE)
 	touch $@

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2008-08-20 20:04 jacmet at uclibc.org
  0 siblings, 0 replies; 69+ messages in thread
From: jacmet at uclibc.org @ 2008-08-20 20:04 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-08-20 13:04:11 -0700 (Wed, 20 Aug 2008)
New Revision: 23121

Log:
u-boot: fix wrong syntax in Makefile

Patch by Markus Heidelberg <markus.heidelberg@web.de>

Some $(call insert_define, ..., ...) calls were lacking the comma after
the variable. That didn't lead to a syntax error but it didn't have any
effect on the output u-boot/include/config.h

Modified:
   trunk/buildroot/target/u-boot/Makefile.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Makefile.in
===================================================================
--- trunk/buildroot/target/u-boot/Makefile.in	2008-08-20 14:28:58 UTC (rev 23120)
+++ trunk/buildroot/target/u-boot/Makefile.in	2008-08-20 20:04:11 UTC (rev 23121)
@@ -98,16 +98,16 @@
 	$(call insert_define, "CONFIG_ETHADDR", $(BR2_TARGET_UBOOT_ETHADDR))
 endif
 ifneq ($(strip $(BR2_TARGET_UBOOT_ETH1ADDR)),"")
-	$(call insert_define "CONFIG_ETH2ADDR", $(BR2_TARGET_UBOOT_ETH1ADDR))
+	$(call insert_define, "CONFIG_ETH2ADDR", $(BR2_TARGET_UBOOT_ETH1ADDR))
 endif
 ifneq ($(strip $(BR2_TARGET_UBOOT_BOOTARGS)),"")
-	$(call insert_define "CONFIG_BOOTARGS", $(BR2_TARGET_UBOOT_BOOTARGS))
+	$(call insert_define, "CONFIG_BOOTARGS", $(BR2_TARGET_UBOOT_BOOTARGS))
 endif
 ifneq ($(strip $(BR2_TARGET_UBOOT_BOOTCMD)),"")
-	$(call insert_define "CONFIG_BOOTCOMMAND", $(BR2_TARGET_UBOOT_BOOTCMD))
+	$(call insert_define, "CONFIG_BOOTCOMMAND", $(BR2_TARGET_UBOOT_BOOTCMD))
 endif
 ifneq ($(strip $(BR2_TARGET_UBOOT_SILENT)),"")
-	$(call insert_define "CONFIG_SILENT_CONSOLE", "")
+	$(call insert_define, "CONFIG_SILENT_CONSOLE", "")
 endif
 	@echo "#endif /* __BR2_ADDED_CONFIG_H */" >> $(U_BOOT_INC_CONF_FILE)
 	touch $@

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2008-07-08 10:53 jacmet at uclibc.org
  0 siblings, 0 replies; 69+ messages in thread
From: jacmet at uclibc.org @ 2008-07-08 10:53 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-07-08 03:53:17 -0700 (Tue, 08 Jul 2008)
New Revision: 22689

Log:
uboot: revert r22638

Go back to 1.3.2 as r22638 breaks mkimage

Modified:
   trunk/buildroot/target/u-boot/Makefile.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Makefile.in
===================================================================
--- trunk/buildroot/target/u-boot/Makefile.in	2008-07-08 10:37:05 UTC (rev 22688)
+++ trunk/buildroot/target/u-boot/Makefile.in	2008-07-08 10:53:17 UTC (rev 22689)
@@ -3,7 +3,7 @@
 # U-Boot
 #
 #############################################################
-U_BOOT_VERSION:=1.3.3
+U_BOOT_VERSION:=1.3.2
 U_BOOT_SOURCE:=u-boot-$(U_BOOT_VERSION).tar.bz2
 U_BOOT_SITE:=ftp://ftp.denx.de/pub/u-boot
 U_BOOT_DIR:=$(PROJECT_BUILD_DIR)/u-boot-$(U_BOOT_VERSION)

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2008-07-04 22:18 ulf at uclibc.org
  2008-07-07 13:27 ` Peter Korsgaard
  0 siblings, 1 reply; 69+ messages in thread
From: ulf at uclibc.org @ 2008-07-04 22:18 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2008-07-04 15:18:56 -0700 (Fri, 04 Jul 2008)
New Revision: 22638

Log:
Bump U-Boot version to 1.3.3

Modified:
   trunk/buildroot/target/u-boot/Makefile.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Makefile.in
===================================================================
--- trunk/buildroot/target/u-boot/Makefile.in	2008-07-04 21:58:00 UTC (rev 22637)
+++ trunk/buildroot/target/u-boot/Makefile.in	2008-07-04 22:18:56 UTC (rev 22638)
@@ -3,7 +3,7 @@
 # U-Boot
 #
 #############################################################
-U_BOOT_VERSION:=1.3.2
+U_BOOT_VERSION:=1.3.3
 U_BOOT_SOURCE:=u-boot-$(U_BOOT_VERSION).tar.bz2
 U_BOOT_SITE:=ftp://ftp.denx.de/pub/u-boot
 U_BOOT_DIR:=$(PROJECT_BUILD_DIR)/u-boot-$(U_BOOT_VERSION)

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2008-06-17  8:04 jacmet at uclibc.org
  0 siblings, 0 replies; 69+ messages in thread
From: jacmet at uclibc.org @ 2008-06-17  8:04 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-06-17 01:04:15 -0700 (Tue, 17 Jun 2008)
New Revision: 22394

Log:
u-boot tools: make sure destination directory exists


Modified:
   trunk/buildroot/target/u-boot/Makefile.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Makefile.in
===================================================================
--- trunk/buildroot/target/u-boot/Makefile.in	2008-06-17 07:52:43 UTC (rev 22393)
+++ trunk/buildroot/target/u-boot/Makefile.in	2008-06-17 08:04:15 UTC (rev 22394)
@@ -124,11 +124,13 @@
 	cp -dpf $(U_BOOT_DIR)/tools/$(U_BOOT_TOOLS_BIN) $(STAGING_DIR)/usr/bin/
 
 $(TARGET_DIR)/usr/bin/mkimage: $(U_BOOT_DIR)/$(U_BOOT_BIN)
+	mkdir -p $(@D)
 	$(TARGET_CC) -I$(U_BOOT_DIR)/include -DUSE_HOSTCC -o $@ \
 		$(U_BOOT_DIR)/tools/mkimage.c $(U_BOOT_DIR)/tools/crc32.c
 	$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
 
 $(TARGET_DIR)/usr/sbin/fw_printenv: $(U_BOOT_DIR)/$(U_BOOT_BIN)
+	mkdir -p $(@D)
 	$(TARGET_CC) -I$(U_BOOT_DIR)/include -I$(LINUX_HEADERS_DIR)/include \
 		-DUSE_HOSTCC -o $@ \
 		$(U_BOOT_DIR)/tools/env/*.c $(U_BOOT_DIR)/tools/crc32.c

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2008-06-13 13:46 jacmet at uclibc.org
  0 siblings, 0 replies; 69+ messages in thread
From: jacmet at uclibc.org @ 2008-06-13 13:46 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-06-13 06:46:42 -0700 (Fri, 13 Jun 2008)
New Revision: 22323

Log:
u-boot: don't depend on gcc (not needed and not provided by ext toolchain)


Modified:
   trunk/buildroot/target/u-boot/Makefile.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Makefile.in
===================================================================
--- trunk/buildroot/target/u-boot/Makefile.in	2008-06-13 13:31:41 UTC (rev 22322)
+++ trunk/buildroot/target/u-boot/Makefile.in	2008-06-13 13:46:42 UTC (rev 22323)
@@ -135,7 +135,7 @@
 	$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
 	ln -sf fw_printenv $(TARGET_DIR)/usr/sbin/fw_setenv
 
-u-boot: gcc $(BINARIES_DIR)/$(U_BOOT_BIN) $(U_BOOT_TARGET_TOOLS)
+u-boot: $(BINARIES_DIR)/$(U_BOOT_BIN) $(U_BOOT_TARGET_TOOLS)
 
 u-boot-clean:
 	-$(MAKE) -C $(U_BOOT_DIR) clean

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2008-06-12  7:27 jacmet at uclibc.org
  0 siblings, 0 replies; 69+ messages in thread
From: jacmet at uclibc.org @ 2008-06-12  7:27 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-06-12 00:27:48 -0700 (Thu, 12 Jun 2008)
New Revision: 22298

Log:
u-boot: cleanup arch handling

Thanks to Hamish Moffatt.


Modified:
   trunk/buildroot/target/u-boot/Makefile.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Makefile.in
===================================================================
--- trunk/buildroot/target/u-boot/Makefile.in	2008-06-11 18:29:48 UTC (rev 22297)
+++ trunk/buildroot/target/u-boot/Makefile.in	2008-06-12 07:27:48 UTC (rev 22298)
@@ -12,7 +12,7 @@
 U_BOOT_BIN:=u-boot.bin
 U_BOOT_TOOLS_BIN:=mkimage
 # u-boot still uses arch=ppc for powerpc
-U_BOOT_ARCH=$(shell echo $(KERNEL_ARCH)|$(HOST_SED_DIR)/bin/sed 's/powerpc/ppc/')
+U_BOOT_ARCH=$(KERNEL_ARCH:powerpc=ppc)
 
 ifneq ($(BR2_TARGET_U_BOOT_CONFIG_BOARD),)
 U_BOOT_INC_CONF_FILE:=$(U_BOOT_DIR)/include/configs/$(subst _config,,$(BR2_TARGET_U_BOOT_CONFIG_BOARD)).h

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2008-06-11 13:07 jacmet at uclibc.org
  2008-06-12  5:14 ` Hamish Moffatt
  0 siblings, 1 reply; 69+ messages in thread
From: jacmet at uclibc.org @ 2008-06-11 13:07 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-06-11 06:07:03 -0700 (Wed, 11 Jun 2008)
New Revision: 22292

Log:
u-boot: evaluate U_BOOT_ARCH at use time, rather than Makefile parse time

U_BOOT_ARCH seems to race with KERNEL_ARCH in some situations,
so it end up empty. It's only used once, so fix it by using a
use-time evaluated variable instead (=).



Modified:
   trunk/buildroot/target/u-boot/Makefile.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Makefile.in
===================================================================
--- trunk/buildroot/target/u-boot/Makefile.in	2008-06-11 13:05:23 UTC (rev 22291)
+++ trunk/buildroot/target/u-boot/Makefile.in	2008-06-11 13:07:03 UTC (rev 22292)
@@ -12,7 +12,7 @@
 U_BOOT_BIN:=u-boot.bin
 U_BOOT_TOOLS_BIN:=mkimage
 # u-boot still uses arch=ppc for powerpc
-U_BOOT_ARCH:=$(shell echo $(KERNEL_ARCH)|$(HOST_SED_DIR)/bin/sed 's/powerpc/ppc/')
+U_BOOT_ARCH=$(shell echo $(KERNEL_ARCH)|$(HOST_SED_DIR)/bin/sed 's/powerpc/ppc/')
 
 ifneq ($(BR2_TARGET_U_BOOT_CONFIG_BOARD),)
 U_BOOT_INC_CONF_FILE:=$(U_BOOT_DIR)/include/configs/$(subst _config,,$(BR2_TARGET_U_BOOT_CONFIG_BOARD)).h

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2008-04-23 14:52 jacmet at uclibc.org
  2008-04-23 14:59 ` Thiago A. Corrêa
  0 siblings, 1 reply; 69+ messages in thread
From: jacmet at uclibc.org @ 2008-04-23 14:52 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-04-23 07:52:38 -0700 (Wed, 23 Apr 2008)
New Revision: 21811

Log:
u-boot: support platform-independent patches

Support platform independent patches (.patch) and use .patch.$ARCH for
platform dependent ones like elsewhere.


Modified:
   trunk/buildroot/target/u-boot/Makefile.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Makefile.in
===================================================================
--- trunk/buildroot/target/u-boot/Makefile.in	2008-04-23 14:52:35 UTC (rev 21810)
+++ trunk/buildroot/target/u-boot/Makefile.in	2008-04-23 14:52:38 UTC (rev 21811)
@@ -47,7 +47,8 @@
 
 $(U_BOOT_DIR)/.patched: $(U_BOOT_DIR)/.unpacked
 	toolchain/patch-kernel.sh $(U_BOOT_DIR) target/u-boot/ \
-		u-boot-$(U_BOOT_VERSION)-$(BR2_ARCH)-\*.patch\*
+		u-boot-$(U_BOOT_VERSION)-\*.patch \
+		u-boot-$(U_BOOT_VERSION)-\*.patch.$(ARCH)
 ifneq ($(strip $(BR2_TARGET_UBOOT_CUSTOM_PATCH)),"")
 	@mkdir -p $(U_BOOT_PATCH_DIR)
 	cp -dpr $(BR2_TARGET_UBOOT_CUSTOM_PATCH) $(U_BOOT_PATCH_DIR)

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2008-04-23 14:52 jacmet at uclibc.org
  0 siblings, 0 replies; 69+ messages in thread
From: jacmet at uclibc.org @ 2008-04-23 14:52 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-04-23 07:52:35 -0700 (Wed, 23 Apr 2008)
New Revision: 21810

Log:
u-boot: don't error on existing symlink


Modified:
   trunk/buildroot/target/u-boot/Makefile.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Makefile.in
===================================================================
--- trunk/buildroot/target/u-boot/Makefile.in	2008-04-23 13:03:53 UTC (rev 21809)
+++ trunk/buildroot/target/u-boot/Makefile.in	2008-04-23 14:52:35 UTC (rev 21810)
@@ -132,7 +132,7 @@
 		-DUSE_HOSTCC -o $@ \
 		$(U_BOOT_DIR)/tools/env/*.c $(U_BOOT_DIR)/tools/crc32.c
 	$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
-	ln -s fw_printenv $(TARGET_DIR)/usr/sbin/fw_setenv
+	ln -sf fw_printenv $(TARGET_DIR)/usr/sbin/fw_setenv
 
 u-boot: gcc $(BINARIES_DIR)/$(U_BOOT_BIN) $(U_BOOT_TARGET_TOOLS)
 

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2008-04-23 13:03 jacmet at uclibc.org
  2008-04-23 16:09 ` Ulf Samuelsson
  0 siblings, 1 reply; 69+ messages in thread
From: jacmet at uclibc.org @ 2008-04-23 13:03 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-04-23 06:03:53 -0700 (Wed, 23 Apr 2008)
New Revision: 21809

Log:
u-boot: tools in target (mkimage, fw_printenv and fw_setenv)


Modified:
   trunk/buildroot/target/u-boot/Config.in
   trunk/buildroot/target/u-boot/Makefile.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Config.in
===================================================================
--- trunk/buildroot/target/u-boot/Config.in	2008-04-23 13:03:50 UTC (rev 21808)
+++ trunk/buildroot/target/u-boot/Config.in	2008-04-23 13:03:53 UTC (rev 21809)
@@ -70,3 +70,15 @@
 	help
 	  If the option has been enabled, the output can be
 	  silenced by setting the environment variable "silent".
+
+config BR2_TARGET_UBOOT_TOOL_MKIMAGE
+	bool "mkimage tool in target"
+	depends on BR2_TARGET_UBOOT
+	help
+	  Install mkimage tool in target.
+
+config BR2_TARGET_UBOOT_TOOL_ENV
+	bool "fw_printenv tool in target"
+	depends on BR2_TARGET_UBOOT
+	help
+	  Install fw_printenv / fw_setenv tools in target.

Modified: trunk/buildroot/target/u-boot/Makefile.in
===================================================================
--- trunk/buildroot/target/u-boot/Makefile.in	2008-04-23 13:03:50 UTC (rev 21808)
+++ trunk/buildroot/target/u-boot/Makefile.in	2008-04-23 13:03:53 UTC (rev 21809)
@@ -20,6 +20,15 @@
 U_BOOT_INC_CONF_FILE:=$(U_BOOT_DIR)/include/config.h
 endif
 
+U_BOOT_TARGET_TOOLS:=
+ifeq ($(strip $(BR2_TARGET_UBOOT_TOOL_MKIMAGE)),y)
+U_BOOT_TARGET_TOOLS+=$(TARGET_DIR)/usr/bin/mkimage
+endif
+ifeq ($(strip $(BR2_TARGET_UBOOT_TOOL_ENV)),y)
+U_BOOT_TARGET_TOOLS+=$(TARGET_DIR)/usr/sbin/fw_printenv
+endif
+
+
 # Define a helper function
 define insert_define
 @echo "#ifdef $(strip $(1))" >> $(U_BOOT_INC_CONF_FILE)
@@ -113,11 +122,23 @@
 	cp -dpf $(U_BOOT_DIR)/$(U_BOOT_BIN) $(BINARIES_DIR)
 	cp -dpf $(U_BOOT_DIR)/tools/$(U_BOOT_TOOLS_BIN) $(STAGING_DIR)/usr/bin/
 
-u-boot: gcc $(BINARIES_DIR)/$(U_BOOT_BIN)
+$(TARGET_DIR)/usr/bin/mkimage: $(U_BOOT_DIR)/$(U_BOOT_BIN)
+	$(TARGET_CC) -I$(U_BOOT_DIR)/include -DUSE_HOSTCC -o $@ \
+		$(U_BOOT_DIR)/tools/mkimage.c $(U_BOOT_DIR)/tools/crc32.c
+	$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
 
+$(TARGET_DIR)/usr/sbin/fw_printenv: $(U_BOOT_DIR)/$(U_BOOT_BIN)
+	$(TARGET_CC) -I$(U_BOOT_DIR)/include -I$(LINUX_HEADERS_DIR)/include \
+		-DUSE_HOSTCC -o $@ \
+		$(U_BOOT_DIR)/tools/env/*.c $(U_BOOT_DIR)/tools/crc32.c
+	$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
+	ln -s fw_printenv $(TARGET_DIR)/usr/sbin/fw_setenv
+
+u-boot: gcc $(BINARIES_DIR)/$(U_BOOT_BIN) $(U_BOOT_TARGET_TOOLS)
+
 u-boot-clean:
 	-$(MAKE) -C $(U_BOOT_DIR) clean
-	rm -f $(STAGING_DIR)/usr/bin/$(U_BOOT_TOOLS_BIN)
+	rm -f $(STAGING_DIR)/usr/bin/$(U_BOOT_TOOLS_BIN) $(U_BOOT_TARGET_TOOLS)
 
 u-boot-dirclean:
 	rm -rf $(U_BOOT_DIR)

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2008-04-23 13:03 jacmet at uclibc.org
  0 siblings, 0 replies; 69+ messages in thread
From: jacmet at uclibc.org @ 2008-04-23 13:03 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-04-23 06:03:50 -0700 (Wed, 23 Apr 2008)
New Revision: 21808

Log:
u-boot: use correct ARCH


Modified:
   trunk/buildroot/target/u-boot/Makefile.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Makefile.in
===================================================================
--- trunk/buildroot/target/u-boot/Makefile.in	2008-04-23 13:03:47 UTC (rev 21807)
+++ trunk/buildroot/target/u-boot/Makefile.in	2008-04-23 13:03:50 UTC (rev 21808)
@@ -12,7 +12,7 @@
 U_BOOT_BIN:=u-boot.bin
 U_BOOT_TOOLS_BIN:=mkimage
 # u-boot still uses arch=ppc for powerpc
-U_BOOT_ARCH=$(echo $(KERNEL_ARCH)|$(SED) 's/powerpc/ppc/')
+U_BOOT_ARCH:=$(shell echo $(KERNEL_ARCH)|$(HOST_SED_DIR)/bin/sed 's/powerpc/ppc/')
 
 ifneq ($(BR2_TARGET_U_BOOT_CONFIG_BOARD),)
 U_BOOT_INC_CONF_FILE:=$(U_BOOT_DIR)/include/configs/$(subst _config,,$(BR2_TARGET_U_BOOT_CONFIG_BOARD)).h
@@ -106,7 +106,7 @@
 	$(TARGET_CONFIGURE_OPTS) \
 		CFLAGS="$(TARGET_CFLAGS)" \
 		LDFLAGS="$(TARGET_LDFLAGS)" \
-		$(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" ARCH=$(KERNEL_ARCH) \
+		$(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" ARCH=$(U_BOOT_ARCH) \
 		 -C $(U_BOOT_DIR)
 
 $(BINARIES_DIR)/$(U_BOOT_BIN): $(U_BOOT_DIR)/$(U_BOOT_BIN)

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2008-04-23 10:30 jacmet at uclibc.org
  0 siblings, 0 replies; 69+ messages in thread
From: jacmet at uclibc.org @ 2008-04-23 10:30 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-04-23 03:30:03 -0700 (Wed, 23 Apr 2008)
New Revision: 21806

Log:
u-boot: set ARCH and CROSS_COMPILE


Modified:
   trunk/buildroot/target/u-boot/Makefile.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Makefile.in
===================================================================
--- trunk/buildroot/target/u-boot/Makefile.in	2008-04-23 07:22:31 UTC (rev 21805)
+++ trunk/buildroot/target/u-boot/Makefile.in	2008-04-23 10:30:03 UTC (rev 21806)
@@ -11,6 +11,8 @@
 U_BOOT_CAT:=$(BZCAT)
 U_BOOT_BIN:=u-boot.bin
 U_BOOT_TOOLS_BIN:=mkimage
+# u-boot still uses arch=ppc for powerpc
+U_BOOT_ARCH=$(echo $(KERNEL_ARCH)|$(SED) 's/powerpc/ppc/')
 
 ifneq ($(BR2_TARGET_U_BOOT_CONFIG_BOARD),)
 U_BOOT_INC_CONF_FILE:=$(U_BOOT_DIR)/include/configs/$(subst _config,,$(BR2_TARGET_U_BOOT_CONFIG_BOARD)).h
@@ -104,7 +106,8 @@
 	$(TARGET_CONFIGURE_OPTS) \
 		CFLAGS="$(TARGET_CFLAGS)" \
 		LDFLAGS="$(TARGET_LDFLAGS)" \
-		$(MAKE) -C $(U_BOOT_DIR)
+		$(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" ARCH=$(KERNEL_ARCH) \
+		 -C $(U_BOOT_DIR)
 
 $(BINARIES_DIR)/$(U_BOOT_BIN): $(U_BOOT_DIR)/$(U_BOOT_BIN)
 	cp -dpf $(U_BOOT_DIR)/$(U_BOOT_BIN) $(BINARIES_DIR)

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2008-04-09  7:02 jacmet at uclibc.org
  0 siblings, 0 replies; 69+ messages in thread
From: jacmet at uclibc.org @ 2008-04-09  7:02 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-04-09 00:02:20 -0700 (Wed, 09 Apr 2008)
New Revision: 21678

Log:
u-boot: fix custom patch handling


Modified:
   trunk/buildroot/target/u-boot/Makefile.in


Changeset:
Modified: trunk/buildroot/target/u-boot/Makefile.in
===================================================================
--- trunk/buildroot/target/u-boot/Makefile.in	2008-04-09 07:02:16 UTC (rev 21677)
+++ trunk/buildroot/target/u-boot/Makefile.in	2008-04-09 07:02:20 UTC (rev 21678)
@@ -40,7 +40,7 @@
 ifneq ($(strip $(BR2_TARGET_UBOOT_CUSTOM_PATCH)),"")
 	@mkdir -p $(U_BOOT_PATCH_DIR)
 	cp -dpr $(BR2_TARGET_UBOOT_CUSTOM_PATCH) $(U_BOOT_PATCH_DIR)
-	toolchain/patch-kernel.sh $(U_BOOT_DIR) $(U_BOOT_PATCH_DIR) *.patch
+	toolchain/patch-kernel.sh $(U_BOOT_DIR) $(U_BOOT_PATCH_DIR) \*.patch
 endif
 	touch $@
 

^ permalink raw reply	[flat|nested] 69+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/target/u-boot
@ 2008-04-09  7:02 jacmet at uclibc.org
  0 siblings, 0 replies; 69+ messages in thread
From: jacmet at uclibc.org @ 2008-04-09  7:02 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-04-09 00:02:16 -0700 (Wed, 09 Apr 2008)
New Revision: 21677

Log:
u-boot: bump version


Removed:
   trunk/buildroot/target/u-boot/u-boot-1.3.0-avr32-100-atmel.2.patch

Modified:
   trunk/buildroot/target/u-boot/Makefile.in


Changeset:

Sorry, the patch is too large to include (3196 lines).
Please use ViewCVS to see it!

http://uclibc.org/cgi-bin/viewcvs.cgi?view=rev&root=svn&rev=21677

^ permalink raw reply	[flat|nested] 69+ messages in thread

end of thread, other threads:[~2009-02-10 15:19 UTC | newest]

Thread overview: 69+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-23 13:03 [Buildroot] svn commit: trunk/buildroot/target/u-boot jacmet at uclibc.org
  -- strict thread matches above, loose matches on Subject: below --
2009-02-10 15:19 jacmet at uclibc.org
2009-02-10 15:19 jacmet at uclibc.org
2009-02-10 15:19 jacmet at uclibc.org
2009-02-07  6:57 jacmet at uclibc.org
2009-02-04 23:15 jacmet at uclibc.org
2009-01-26 14:49 jacmet at uclibc.org
2009-01-26 14:49 jacmet at uclibc.org
2009-01-26 14:04 jacmet at uclibc.org
2009-01-26 11:46 ulf at uclibc.org
2009-01-22 18:46 ulf at uclibc.org
2009-01-22 10:15 jacmet at uclibc.org
2009-01-21 15:49 jacmet at uclibc.org
2009-01-20  8:11 ulf at uclibc.org
2009-01-11 21:39 ulf at uclibc.org
2009-01-24  8:21 ` Peter Korsgaard
2009-01-24 10:55   ` Ulf Samuelsson
2009-01-24 11:43     ` Peter Korsgaard
2009-01-24 15:27   ` Dan Lyke
2009-01-08 14:58 jacmet at uclibc.org
2009-01-08 14:58 jacmet at uclibc.org
2009-01-06 14:16 ulf at uclibc.org
2009-01-06 14:26 ` Peter Korsgaard
2009-01-06 16:06   ` Ulf Samuelsson
2009-01-05 16:16 jacmet at uclibc.org
2009-01-05 16:12 jacmet at uclibc.org
2009-01-05 18:12 ` Ulf Samuelsson
2009-01-05 18:16   ` Ulf Samuelsson
2009-01-05 20:14     ` Peter Korsgaard
2009-01-05 20:12   ` Peter Korsgaard
2009-01-06 12:50     ` Ulf Samuelsson
2009-01-06 12:59       ` Peter Korsgaard
2009-01-05 15:52 jacmet at uclibc.org
2009-01-03 15:03 nkukard at uclibc.org
2009-01-03  0:02 ulf at uclibc.org
2009-01-03 20:46 ` Peter Korsgaard
2009-01-03 20:18   ` Ulf Samuelsson
2009-01-03  0:00 ulf at uclibc.org
2009-01-03 20:28 ` Peter Korsgaard
2009-01-03 20:37   ` Ulf Samuelsson
2008-08-20 20:04 jacmet at uclibc.org
2008-08-20 20:04 jacmet at uclibc.org
2008-08-20 20:04 jacmet at uclibc.org
2008-07-08 10:53 jacmet at uclibc.org
2008-07-04 22:18 ulf at uclibc.org
2008-07-07 13:27 ` Peter Korsgaard
2008-06-17  8:04 jacmet at uclibc.org
2008-06-13 13:46 jacmet at uclibc.org
2008-06-12  7:27 jacmet at uclibc.org
2008-06-11 13:07 jacmet at uclibc.org
2008-06-12  5:14 ` Hamish Moffatt
2008-06-12  7:28   ` Peter Korsgaard
2008-04-23 14:52 jacmet at uclibc.org
2008-04-23 14:59 ` Thiago A. Corrêa
2008-04-23 15:20   ` Peter Korsgaard
2008-04-23 16:22   ` Ulf Samuelsson
2008-04-23 17:35     ` Bernhard Fischer
2008-04-23 17:39       ` Ulf Samuelsson
2008-04-23 18:37         ` Bernhard Fischer
2008-04-23 18:29       ` Peter Korsgaard
2008-04-23 14:52 jacmet at uclibc.org
2008-04-23 13:03 jacmet at uclibc.org
2008-04-23 16:09 ` Ulf Samuelsson
2008-04-23 18:05   ` Peter Korsgaard
2008-04-23 18:35     ` Ulf Samuelsson
2008-04-23 13:03 jacmet at uclibc.org
2008-04-23 10:30 jacmet at uclibc.org
2008-04-09  7:02 jacmet at uclibc.org
2008-04-09  7:02 jacmet at uclibc.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox