mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/1] u-boot-tools: Update to version 2014.07
@ 2014-09-29  7:08 Alexander Stein
  2014-10-07 12:24 ` Alexander Stein
  2014-11-13 16:40 ` Michael Olbrich
  0 siblings, 2 replies; 3+ messages in thread
From: Alexander Stein @ 2014-09-29  7:08 UTC (permalink / raw)
  To: ptxdist; +Cc: Alexander Stein

This updates the u-boot tools to 2014.07, where fw_printenv/fw_setenv
also support MMC devices.
The now somewhat changed build system always need a target configured. So
use sandbox as dummy. Now it is not possible to build mkimage for the
target. So remove that from Kconfig.

Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
---
 rules/host-u-boot-tools.make |  2 +-
 rules/u-boot-tools.in        | 10 +---------
 rules/u-boot-tools.make      | 16 +++++-----------
 3 files changed, 7 insertions(+), 21 deletions(-)

diff --git a/rules/host-u-boot-tools.make b/rules/host-u-boot-tools.make
index 27543f9..d786418 100644
--- a/rules/host-u-boot-tools.make
+++ b/rules/host-u-boot-tools.make
@@ -19,7 +19,7 @@ HOST_PACKAGES-$(PTXCONF_HOST_U_BOOT_TOOLS) += host-u-boot-tools
 # ----------------------------------------------------------------------------
 
 HOST_U_BOOT_TOOLS_CONF_TOOL	:= NO
-HOST_U_BOOT_TOOLS_MAKE_OPT	:= tools
+HOST_U_BOOT_TOOLS_MAKE_OPT	:= sandbox_config tools
 
 # ----------------------------------------------------------------------------
 # Install
diff --git a/rules/u-boot-tools.in b/rules/u-boot-tools.in
index b02ded5..76ed28a 100644
--- a/rules/u-boot-tools.in
+++ b/rules/u-boot-tools.in
@@ -5,18 +5,10 @@ menuconfig U_BOOT_TOOLS
 	prompt "u-boot-tools                  "
 	help
 	  some helpful tools from U-Boot project. Most important tool in
-	  this section is mkimage to generate U-Boot boot images.
+	  this section is fw_printenv/fw_setenv to read/write U-Boot settings.
 
 if U_BOOT_TOOLS
 
-config U_BOOT_TOOLS_TOOL_MKIMAGE
-	tristate
-	default y
-	prompt "mkimage"
-	help
-	  the U-Boot mkimage command is used to create boot images for
-	  the U-Boot bootloader.
-
 config U_BOOT_TOOLS_TOOL_ENV
 	tristate
 	default n
diff --git a/rules/u-boot-tools.make b/rules/u-boot-tools.make
index 29a912c..350175a 100644
--- a/rules/u-boot-tools.make
+++ b/rules/u-boot-tools.make
@@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_U_BOOT_TOOLS) += u-boot-tools
 #
 # Paths and names
 #
-U_BOOT_TOOLS_VERSION	:= 2011.12
-U_BOOT_TOOLS_MD5	:= 7f29b9f6da44d6e46e988e7561fd1d5f
+U_BOOT_TOOLS_VERSION	:= 2014.07
+U_BOOT_TOOLS_MD5	:= 36d4bad687edcafa396fee607e505d4e
 U_BOOT_TOOLS		:= u-boot-$(U_BOOT_TOOLS_VERSION)
 U_BOOT_TOOLS_SUFFIX	:= tar.bz2
 U_BOOT_TOOLS_URL	:= http://ftp.denx.de/pub/u-boot/$(U_BOOT_TOOLS).$(U_BOOT_TOOLS_SUFFIX)
@@ -30,10 +30,10 @@ U_BOOT_TOOLS_LICENSE	:= GPLv2
 # ----------------------------------------------------------------------------
 
 U_BOOT_TOOLS_CONF_TOOL	:= NO
+# just pick sandbox as a dummy target config
 U_BOOT_TOOLS_MAKE_OPT	:= \
-	HOSTCC="$(CROSS_CC)" \
-	HOSTSTRIP="$(CROSS_STRIP)" \
-	tools
+	CROSS_COMPILE=$(BOOTLOADER_CROSS_COMPILE) \
+	sandbox_config tools
 
 ifdef PTXCONF_U_BOOT_TOOLS_TOOL_ENV
 U_BOOT_TOOLS_MAKE_OPT	+= env
@@ -45,8 +45,6 @@ endif
 
 $(STATEDIR)/u-boot-tools.install:
 	@$(call targetinfo)
-	install -D $(U_BOOT_TOOLS_DIR)/tools/mkimage \
-		$(U_BOOT_TOOLS_PKGDIR)/usr/bin/mkimage
 ifdef PTXCONF_U_BOOT_TOOLS_TOOL_ENV
 	install -D $(U_BOOT_TOOLS_DIR)/tools/env/fw_printenv \
 		$(U_BOOT_TOOLS_PKGDIR)/usr/sbin/fw_printenv
@@ -67,10 +65,6 @@ $(STATEDIR)/u-boot-tools.targetinstall:
 		"Andreas Bießmann <andreas@biessmann.de>")
 	@$(call install_fixup, u-boot-tools,DESCRIPTION,missing)
 
-ifdef PTXCONF_U_BOOT_TOOLS_TOOL_MKIMAGE
-	@$(call install_copy, u-boot-tools, 0, 0, 0755, -, /usr/bin/mkimage)
-endif
-
 ifdef PTXCONF_U_BOOT_TOOLS_TOOL_ENV
 	@$(call install_copy, u-boot-tools, 0, 0, 0755, -, /usr/sbin/fw_printenv)
 	@$(call install_link, u-boot-tools, fw_printenv, /usr/sbin/fw_setenv)
-- 
1.8.5.5


-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [PATCH 1/1] u-boot-tools: Update to version 2014.07
  2014-09-29  7:08 [ptxdist] [PATCH 1/1] u-boot-tools: Update to version 2014.07 Alexander Stein
@ 2014-10-07 12:24 ` Alexander Stein
  2014-11-13 16:40 ` Michael Olbrich
  1 sibling, 0 replies; 3+ messages in thread
From: Alexander Stein @ 2014-10-07 12:24 UTC (permalink / raw)
  To: ptxdist


Ping?

Alexander

On Monday 29 September 2014 09:08:38, Alexander Stein wrote:
> This updates the u-boot tools to 2014.07, where fw_printenv/fw_setenv
> also support MMC devices.
> The now somewhat changed build system always need a target configured. So
> use sandbox as dummy. Now it is not possible to build mkimage for the
> target. So remove that from Kconfig.
> 
> Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
> ---
>  rules/host-u-boot-tools.make |  2 +-
>  rules/u-boot-tools.in        | 10 +---------
>  rules/u-boot-tools.make      | 16 +++++-----------
>  3 files changed, 7 insertions(+), 21 deletions(-)
> 
> diff --git a/rules/host-u-boot-tools.make b/rules/host-u-boot-tools.make
> index 27543f9..d786418 100644
> --- a/rules/host-u-boot-tools.make
> +++ b/rules/host-u-boot-tools.make
> @@ -19,7 +19,7 @@ HOST_PACKAGES-$(PTXCONF_HOST_U_BOOT_TOOLS) += host-u-boot-tools
>  # ----------------------------------------------------------------------------
>  
>  HOST_U_BOOT_TOOLS_CONF_TOOL	:= NO
> -HOST_U_BOOT_TOOLS_MAKE_OPT	:= tools
> +HOST_U_BOOT_TOOLS_MAKE_OPT	:= sandbox_config tools
>  
>  # ----------------------------------------------------------------------------
>  # Install
> diff --git a/rules/u-boot-tools.in b/rules/u-boot-tools.in
> index b02ded5..76ed28a 100644
> --- a/rules/u-boot-tools.in
> +++ b/rules/u-boot-tools.in
> @@ -5,18 +5,10 @@ menuconfig U_BOOT_TOOLS
>  	prompt "u-boot-tools                  "
>  	help
>  	  some helpful tools from U-Boot project. Most important tool in
> -	  this section is mkimage to generate U-Boot boot images.
> +	  this section is fw_printenv/fw_setenv to read/write U-Boot settings.
>  
>  if U_BOOT_TOOLS
>  
> -config U_BOOT_TOOLS_TOOL_MKIMAGE
> -	tristate
> -	default y
> -	prompt "mkimage"
> -	help
> -	  the U-Boot mkimage command is used to create boot images for
> -	  the U-Boot bootloader.
> -
>  config U_BOOT_TOOLS_TOOL_ENV
>  	tristate
>  	default n
> diff --git a/rules/u-boot-tools.make b/rules/u-boot-tools.make
> index 29a912c..350175a 100644
> --- a/rules/u-boot-tools.make
> +++ b/rules/u-boot-tools.make
> @@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_U_BOOT_TOOLS) += u-boot-tools
>  #
>  # Paths and names
>  #
> -U_BOOT_TOOLS_VERSION	:= 2011.12
> -U_BOOT_TOOLS_MD5	:= 7f29b9f6da44d6e46e988e7561fd1d5f
> +U_BOOT_TOOLS_VERSION	:= 2014.07
> +U_BOOT_TOOLS_MD5	:= 36d4bad687edcafa396fee607e505d4e
>  U_BOOT_TOOLS		:= u-boot-$(U_BOOT_TOOLS_VERSION)
>  U_BOOT_TOOLS_SUFFIX	:= tar.bz2
>  U_BOOT_TOOLS_URL	:= http://ftp.denx.de/pub/u-boot/$(U_BOOT_TOOLS).$(U_BOOT_TOOLS_SUFFIX)
> @@ -30,10 +30,10 @@ U_BOOT_TOOLS_LICENSE	:= GPLv2
>  # ----------------------------------------------------------------------------
>  
>  U_BOOT_TOOLS_CONF_TOOL	:= NO
> +# just pick sandbox as a dummy target config
>  U_BOOT_TOOLS_MAKE_OPT	:= \
> -	HOSTCC="$(CROSS_CC)" \
> -	HOSTSTRIP="$(CROSS_STRIP)" \
> -	tools
> +	CROSS_COMPILE=$(BOOTLOADER_CROSS_COMPILE) \
> +	sandbox_config tools
>  
>  ifdef PTXCONF_U_BOOT_TOOLS_TOOL_ENV
>  U_BOOT_TOOLS_MAKE_OPT	+= env
> @@ -45,8 +45,6 @@ endif
>  
>  $(STATEDIR)/u-boot-tools.install:
>  	@$(call targetinfo)
> -	install -D $(U_BOOT_TOOLS_DIR)/tools/mkimage \
> -		$(U_BOOT_TOOLS_PKGDIR)/usr/bin/mkimage
>  ifdef PTXCONF_U_BOOT_TOOLS_TOOL_ENV
>  	install -D $(U_BOOT_TOOLS_DIR)/tools/env/fw_printenv \
>  		$(U_BOOT_TOOLS_PKGDIR)/usr/sbin/fw_printenv
> @@ -67,10 +65,6 @@ $(STATEDIR)/u-boot-tools.targetinstall:
>  		"Andreas Bießmann <andreas@biessmann.de>")
>  	@$(call install_fixup, u-boot-tools,DESCRIPTION,missing)
>  
> -ifdef PTXCONF_U_BOOT_TOOLS_TOOL_MKIMAGE
> -	@$(call install_copy, u-boot-tools, 0, 0, 0755, -, /usr/bin/mkimage)
> -endif
> -
>  ifdef PTXCONF_U_BOOT_TOOLS_TOOL_ENV
>  	@$(call install_copy, u-boot-tools, 0, 0, 0755, -, /usr/sbin/fw_printenv)
>  	@$(call install_link, u-boot-tools, fw_printenv, /usr/sbin/fw_setenv)
> 

-- 
Dipl.-Inf. Alexander Stein

SYS TEC electronic GmbH
Am Windrad 2
08468 Heinsdorfergrund
Tel.: 03765 38600-1156
Fax: 03765 38600-4100
Email: alexander.stein@systec-electronic.com
Website: www.systec-electronic.com
 
Managing Director: Dipl.-Phys. Siegmar Schmidt
Commercial registry: Amtsgericht Chemnitz, HRB 28082


-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [PATCH 1/1] u-boot-tools: Update to version 2014.07
  2014-09-29  7:08 [ptxdist] [PATCH 1/1] u-boot-tools: Update to version 2014.07 Alexander Stein
  2014-10-07 12:24 ` Alexander Stein
@ 2014-11-13 16:40 ` Michael Olbrich
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Olbrich @ 2014-11-13 16:40 UTC (permalink / raw)
  To: ptxdist

On Mon, Sep 29, 2014 at 09:08:38AM +0200, Alexander Stein wrote:
> This updates the u-boot tools to 2014.07, where fw_printenv/fw_setenv
> also support MMC devices.
> The now somewhat changed build system always need a target configured. So
> use sandbox as dummy. Now it is not possible to build mkimage for the
> target. So remove that from Kconfig.
> 
> Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>

Thanks, applied.

Michael

> ---
>  rules/host-u-boot-tools.make |  2 +-
>  rules/u-boot-tools.in        | 10 +---------
>  rules/u-boot-tools.make      | 16 +++++-----------
>  3 files changed, 7 insertions(+), 21 deletions(-)
> 
> diff --git a/rules/host-u-boot-tools.make b/rules/host-u-boot-tools.make
> index 27543f9..d786418 100644
> --- a/rules/host-u-boot-tools.make
> +++ b/rules/host-u-boot-tools.make
> @@ -19,7 +19,7 @@ HOST_PACKAGES-$(PTXCONF_HOST_U_BOOT_TOOLS) += host-u-boot-tools
>  # ----------------------------------------------------------------------------
>  
>  HOST_U_BOOT_TOOLS_CONF_TOOL	:= NO
> -HOST_U_BOOT_TOOLS_MAKE_OPT	:= tools
> +HOST_U_BOOT_TOOLS_MAKE_OPT	:= sandbox_config tools
>  
>  # ----------------------------------------------------------------------------
>  # Install
> diff --git a/rules/u-boot-tools.in b/rules/u-boot-tools.in
> index b02ded5..76ed28a 100644
> --- a/rules/u-boot-tools.in
> +++ b/rules/u-boot-tools.in
> @@ -5,18 +5,10 @@ menuconfig U_BOOT_TOOLS
>  	prompt "u-boot-tools                  "
>  	help
>  	  some helpful tools from U-Boot project. Most important tool in
> -	  this section is mkimage to generate U-Boot boot images.
> +	  this section is fw_printenv/fw_setenv to read/write U-Boot settings.
>  
>  if U_BOOT_TOOLS
>  
> -config U_BOOT_TOOLS_TOOL_MKIMAGE
> -	tristate
> -	default y
> -	prompt "mkimage"
> -	help
> -	  the U-Boot mkimage command is used to create boot images for
> -	  the U-Boot bootloader.
> -
>  config U_BOOT_TOOLS_TOOL_ENV
>  	tristate
>  	default n
> diff --git a/rules/u-boot-tools.make b/rules/u-boot-tools.make
> index 29a912c..350175a 100644
> --- a/rules/u-boot-tools.make
> +++ b/rules/u-boot-tools.make
> @@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_U_BOOT_TOOLS) += u-boot-tools
>  #
>  # Paths and names
>  #
> -U_BOOT_TOOLS_VERSION	:= 2011.12
> -U_BOOT_TOOLS_MD5	:= 7f29b9f6da44d6e46e988e7561fd1d5f
> +U_BOOT_TOOLS_VERSION	:= 2014.07
> +U_BOOT_TOOLS_MD5	:= 36d4bad687edcafa396fee607e505d4e
>  U_BOOT_TOOLS		:= u-boot-$(U_BOOT_TOOLS_VERSION)
>  U_BOOT_TOOLS_SUFFIX	:= tar.bz2
>  U_BOOT_TOOLS_URL	:= http://ftp.denx.de/pub/u-boot/$(U_BOOT_TOOLS).$(U_BOOT_TOOLS_SUFFIX)
> @@ -30,10 +30,10 @@ U_BOOT_TOOLS_LICENSE	:= GPLv2
>  # ----------------------------------------------------------------------------
>  
>  U_BOOT_TOOLS_CONF_TOOL	:= NO
> +# just pick sandbox as a dummy target config
>  U_BOOT_TOOLS_MAKE_OPT	:= \
> -	HOSTCC="$(CROSS_CC)" \
> -	HOSTSTRIP="$(CROSS_STRIP)" \
> -	tools
> +	CROSS_COMPILE=$(BOOTLOADER_CROSS_COMPILE) \
> +	sandbox_config tools
>  
>  ifdef PTXCONF_U_BOOT_TOOLS_TOOL_ENV
>  U_BOOT_TOOLS_MAKE_OPT	+= env
> @@ -45,8 +45,6 @@ endif
>  
>  $(STATEDIR)/u-boot-tools.install:
>  	@$(call targetinfo)
> -	install -D $(U_BOOT_TOOLS_DIR)/tools/mkimage \
> -		$(U_BOOT_TOOLS_PKGDIR)/usr/bin/mkimage
>  ifdef PTXCONF_U_BOOT_TOOLS_TOOL_ENV
>  	install -D $(U_BOOT_TOOLS_DIR)/tools/env/fw_printenv \
>  		$(U_BOOT_TOOLS_PKGDIR)/usr/sbin/fw_printenv
> @@ -67,10 +65,6 @@ $(STATEDIR)/u-boot-tools.targetinstall:
>  		"Andreas Bießmann <andreas@biessmann.de>")
>  	@$(call install_fixup, u-boot-tools,DESCRIPTION,missing)
>  
> -ifdef PTXCONF_U_BOOT_TOOLS_TOOL_MKIMAGE
> -	@$(call install_copy, u-boot-tools, 0, 0, 0755, -, /usr/bin/mkimage)
> -endif
> -
>  ifdef PTXCONF_U_BOOT_TOOLS_TOOL_ENV
>  	@$(call install_copy, u-boot-tools, 0, 0, 0755, -, /usr/sbin/fw_printenv)
>  	@$(call install_link, u-boot-tools, fw_printenv, /usr/sbin/fw_setenv)
> -- 
> 1.8.5.5
> 
> 
> -- 
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2014-11-13 16:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-29  7:08 [ptxdist] [PATCH 1/1] u-boot-tools: Update to version 2014.07 Alexander Stein
2014-10-07 12:24 ` Alexander Stein
2014-11-13 16:40 ` Michael Olbrich

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